From: Anthony Talarico Date: Wed, 9 May 2018 18:49:11 +0000 (-0400) Subject: changing base theme to the access parallax X-Git-Tag: v1.0.0~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=0fcfc231232febf53b750fc1ea294bf2552f77ee;p=WP-Themes%2Flaurium.git changing base theme to the access parallax --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bc1733d --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules +release-builds +dist +bower_components diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..b009dfb --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +lts/* diff --git a/404.php b/404.php new file mode 100644 index 0000000..1169577 --- /dev/null +++ b/404.php @@ -0,0 +1,25 @@ + +
+
+
+ +
+ + + +
+ +
+
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + +
+
+ + +
+.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:before,:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive,.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:400;line-height:1;color:#999}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-muted{color:#999}.text-primary{color:#428bca}a.text-primary:hover{color:#3071a9}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#428bca}a.bg-primary:hover{background-color:#3071a9}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.42857143;color:#999}blockquote footer:before,blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}.blockquote-reverse footer:before,blockquote.pull-right footer:before,.blockquote-reverse small:before,blockquote.pull-right small:before,.blockquote-reverse .small:before,blockquote.pull-right .small:before{content:''}.blockquote-reverse footer:after,blockquote.pull-right footer:after,.blockquote-reverse small:after,blockquote.pull-right small:after,.blockquote-reverse .small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;white-space:nowrap;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.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}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:0}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:0}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=radio],input[type=checkbox]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=radio]:focus,input[type=checkbox]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}input[type=date]{line-height:34px}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;margin-top:10px;margin-bottom:10px;padding-left:20px}.radio label,.checkbox label{display:inline;font-weight:400;cursor:pointer}.radio input[type=radio],.radio-inline input[type=radio],.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type=radio][disabled],input[type=checkbox][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type=radio],fieldset[disabled] input[type=checkbox],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm,select[multiple].input-sm{height:auto}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:46px;line-height:46px}textarea.input-lg,select[multiple].input-lg{height:auto}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.has-feedback .form-control-feedback{position:absolute;top:25px;right:0;display:block;width:34px;height:34px;line-height:34px;text-align:center}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.has-success .form-control-feedback{color:#3c763d}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.has-error .form-control-feedback{color:#a94442}.form-control-static{margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0;vertical-align:middle}.form-inline .radio input[type=radio],.form-inline .checkbox input[type=checkbox]{float:none;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.form-horizontal .has-feedback .form-control-feedback{top:0;right:15px}.btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn:active:focus,.btn.active:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-primary .badge{color:#428bca;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{color:#428bca;font-weight:400;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm,.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs,.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}.glyphicon{position:relative;top:1px;display:inline-block;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#262626;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#428bca}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#999}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-bottom-left-radius:4px;border-top-right-radius:0;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}[data-toggle=buttons]>.btn>input[type=radio],[data-toggle=buttons]>.btn>input[type=checkbox]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn,select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn,select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=radio],.input-group-addon input[type=checkbox]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{max-height:340px;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}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.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-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-left:0;padding-right:0}}.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px;height:50px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{margin-left:-15px;margin-right:-15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);margin-top:8px;margin-bottom:8px}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0;vertical-align:middle}.navbar-form .radio input[type=radio],.navbar-form .checkbox input[type=checkbox]{float:none;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:#e7e7e7;color:#555}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:#080808;color:#fff}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#ccc}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;line-height:1.42857143;text-decoration:none;color:#428bca;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{color:#2a6496;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;background-color:#fff;border-color:#ddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:20px 0;list-style:none;text-align:center}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;background-color:#fff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:gray}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;color:#fff;line-height:1;vertical-align:baseline;white-space:nowrap;text-align:center;background-color:#999;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron h1,.jumbotron .h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.container .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-left:60px;padding-right:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-left:auto;margin-right:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}a.list-group-item.active .list-group-item-heading,a.list-group-item.active:hover .list-group-item-heading,a.list-group-item.active:focus .list-group-item-heading{color:inherit}a.list-group-item.active .list-group-item-text,a.list-group-item.active:hover .list-group-item-text,a.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,a.list-group-item-success:focus{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:hover,a.list-group-item-success.active:focus{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,a.list-group-item-info:focus{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:hover,a.list-group-item-info.active:focus{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,a.list-group-item-warning:focus{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,a.list-group-item-danger:focus{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:3px;border-top-left-radius:3px}.panel>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px;overflow:hidden}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:auto;overflow-y:scroll;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5;min-height:16.42857143px}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:20px}.modal-footer{margin-top:15px;padding:19px 20px 20px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1030;display:block;visibility:visible;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;right:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);white-space:normal}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,.25);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,.25)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px}.carousel{position:relative}.carousel-inner{position:relative;overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:15%;opacity:.5;filter:alpha(opacity=50);font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.carousel-control.right{left:auto;right:0;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.carousel-control:hover,.carousel-control:focus{outline:0;color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid #fff;border-radius:10px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0)}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#fff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.clearfix:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}}@media print{.hidden-print{display:none!important}} - -/* - * Lightbox for Bootstrap 3 by @ashleydw - * https://github.com/ashleydw/lightbox - * - * License: https://github.com/ashleydw/lightbox/blob/master/LICENSE - */ -.modal-backdrop.in{-webkit-opacity:.95;-moz-opacity:.95;opacity:.95;background-color:#333}.ekko-lightbox .modal-content{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border:none;background-color:transparent}.ekko-lightbox .modal-header{border:0;padding-left:0;padding-right:0}.ekko-lightbox .modal-header .close{-webkit-opacity:.5;-moz-opacity:.5;opacity:.5;color:#fff;text-shadow:0;font-weight:100;margin-top:5px}.ekko-lightbox .modal-header .close:hover{-webkit-opacity:1;-moz-opacity:1;opacity:1}.ekko-lightbox .modal-header h4.modal-title{font-weight:100;color:#fff;padding:0}.ekko-lightbox .modal-body{padding:0}.ekko-lightbox .modal-footer{-webkit-opacity:.9;-moz-opacity:.9;opacity:.9;border:0;color:#fff;font-weight:100;padding:0}.ekko-lightbox-nav-overlay a{-webkit-opacity:.9;-moz-opacity:.9;opacity:.9;text-shadow:none} - -.ekko-lightbox-container{position:relative}.ekko-lightbox-nav-overlay{position:absolute;top:0;left:0;z-index:100;width:100%;height:100%}.ekko-lightbox-nav-overlay a{z-index:100;display:block;width:49%;height:100%;padding-top:45%;font-size:30px;color:#fff;text-shadow:2px 2px 4px #000;opacity:0;filter:dropshadow(color=#000000,offx=2,offy=2);-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.ekko-lightbox-nav-overlay a:empty{width:49%}.ekko-lightbox a:hover{text-decoration:none;opacity:1}.ekko-lightbox .glyphicons.chevron-left{left:0;float:left;padding-left:15px;text-align:left}.ekko-lightbox .glyphicons.chevron-right{right:0;float:right;padding-right:15px;text-align:right}.ekko-lightbox .modal-footer{text-align:left} - -/* - * jQuery FlexSlider v2.2.0 - * http://www.woothemes.com/flexslider/ - * - * Copyright 2012 WooThemes - * Free to use under the GPLv2 license. - * http://www.gnu.org/licenses/gpl-2.0.html - * - * Contributing author: Tyler Smith (@mbmufffin) - */ -.flex-container a:active,.flex-container a:focus,.flexslider a:active,.flexslider a:focus{outline:0}.flex-control-nav,.flex-direction-nav,.slides{margin:0;padding:0;list-style:none}@font-face{font-family:flexslider-icon;src:url(../fonts/flexslider-icon.eot);src:url(../fonts/flexslider-icon.eot?#iefix) format('embedded-opentype'),url(../fonts/flexslider-icon.woff) format('woff'),url(../fonts/flexslider-icon.ttf) format('truetype'),url(../fonts/flexslider-icon.svg#flexslider-icon) format('svg');font-weight:400;font-style:normal}.flexslider{margin:0;padding:0}.flexslider .slides>li{display:none;-webkit-backface-visibility:hidden}.flexslider .slides img{width:100%;display:block}.flex-pauseplay span{text-transform:capitalize}.slides:after{content:"\0020";display:block;clear:both;visibility:hidden;line-height:0;height:0}html[xmlns] .slides{display:block}* html .slides{height:1%}.no-js .slides>li:first-child{display:block}.flexslider{position:relative;zoom:1}.flex-viewport{max-height:2000px;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;transition:all 1s ease}.loading .flex-viewport{max-height:300px}.flexslider .slides{zoom:1}.carousel li{margin-right:5px}.flex-direction-nav a{text-decoration:none;display:block;width:40px;height:40px;margin:-20px 0 0;position:absolute;top:50%;z-index:10;overflow:hidden;opacity:0;cursor:pointer;color:rgba(255,255,255,1);-webkit-transition:all .3s ease;-moz-transition:all .3s ease;transition:all .3s ease}.flex-direction-nav .flex-prev{left:-50px}.flex-direction-nav .flex-next{right:-50px;text-align:right}.flexslider:hover .flex-prev{opacity:.7;left:10px}.flexslider:hover .flex-next{opacity:.7;right:10px}.flexslider:hover .flex-next:hover,.flexslider:hover .flex-prev:hover{opacity:1}.flex-direction-nav .flex-disabled{opacity:0!important;filter:alpha(opacity=0);cursor:default}.flex-direction-nav a:before{font-family:flexslider-icon;font-size:40px;line-height:40px;display:inline-block;content:'\f001'}.flex-direction-nav a.flex-next:before{content:'\f002'}.flex-pauseplay a{display:block;width:20px;height:20px;position:absolute;bottom:5px;left:10px;opacity:.8;z-index:10;overflow:hidden;cursor:pointer;color:#000}.flex-pauseplay a:before{font-family:flexslider-icon;font-size:20px;display:inline-block;content:'\f004'}.flex-pauseplay a:hover{opacity:1}.flex-pauseplay a.flex-play:before{content:'\f003'}.flex-control-nav{width:100%;position:absolute;bottom:-40px;text-align:center}.flex-control-nav li{margin:0 6px;display:inline-block;zoom:1}.flex-control-paging li a{width:11px;height:11px;display:block;background:#666;background:rgba(0,0,0,.5);cursor:pointer;text-indent:-9999px;-webkit-border-radius:20px;-moz-border-radius:20px;-o-border-radius:20px;border-radius:20px;-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,.3);-moz-box-shadow:inset 0 0 3px rgba(0,0,0,.3);-o-box-shadow:inset 0 0 3px rgba(0,0,0,.3);box-shadow:inset 0 0 3px rgba(0,0,0,.3)}.flex-control-paging li a:hover{background:#333;background:rgba(0,0,0,.7)}.flex-control-paging li a.flex-active{background:#000;background:rgba(0,0,0,.9);cursor:default}.flex-control-thumbs{margin:5px 0 0;position:static;overflow:hidden}.flex-control-thumbs li{width:25%;float:left;margin:0}.flex-control-thumbs img{width:100%;display:block;opacity:.7;cursor:pointer}.flex-control-thumbs img:hover{opacity:1}.flex-control-thumbs .flex-active{opacity:1;cursor:default}@media screen and (max-width:860px){.flex-direction-nav .flex-prev{opacity:1;left:10px}.flex-direction-nav .flex-next{opacity:1;right:10px}} - - - -/* ========================================================================== - Base - ========================================================================== */ - -html {font-size:100%} - -body { - /*background:#fbfcfd;*/ - background:#f4f6f2; - font-family:"Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - color:#5c5c5c; - -webkit-font-smoothing:antialiased; - -moz-osx-font-smoothing:grayscale; - overflow-x:hidden; -} - -#boxed { - background:#fbfcfd; - margin:0 auto; -} - -@font-face { - font-family: "themovation-icons"; - src:url("../fonts/themovation-icons.eot"); - src:url("../fonts/themovation-icons.eot?#iefix") format("embedded-opentype"), - url("../fonts/themovation-icons.woff") format("woff"), - url("../fonts/themovation-icons.ttf") format("truetype"), - url("../fonts/themovation-icons.svg#themovation-icons") format("svg"); - font-weight: normal; - font-style: normal; -} -.th-icon:before { - font-family: "themovation-icons" !important; - font-style: normal !important; - font-weight: normal !important; - font-variant: normal !important; - text-transform: none !important; - speak: none; - line-height: 1; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -.th-i-prev:before {content:"a"} -.th-i-gallery:before {content:"b"} -.th-i-next:before {content:"c"} -.th-i-up:before {content:"d"} -.th-i-down:before {content:"e"} -.th-i-cart:before {content:"f"} -.th-i-card:before {content:"g";} -.th-i-card2:before {content:"h";} -.th-i-card, .th-i-card2{font-size:24px} -.th-i-cart2:before {content:"i"} -.th-i-cart3:before {content:"j"} - - -/* Responsive Images */ - -img { - max-width:100%; - height:auto !important; -} - - -/* ============================================================================= - Header - ========================================================================== */ - -.banner {z-index:20;} - -.navbar { - background-color:#fff; - margin-bottom:0; -} - -#logo { - float:left; - display:block; - margin:25px 0; -} -#logo .logo-trans {display:none} - -.navbar .navbar-nav { - float:right; - text-align:right; - margin:12px 0 0 0; -} - -.navbar .navbar-nav > li > a { - position:relative; - color:#5d5d5d; - font-size:14px; - font-weight:400; - padding:15px 0; - margin:0 15px; - -webkit-transition:all 0.1s linear; - -moz-transition:all 0.1s linear; - transition:all 0.1s linear; -} - -.navbar .navbar-nav > li > a:after { - position:absolute; - bottom:12px; - left:0; - content:''; - width:2px; - height:0; - background-color:#fff; - -webkit-transition:all 0.2s linear; - -moz-transition:all 0.2s linear; - transition:all 0.2s linear; -} - -.navbar .navbar-nav > li > a:hover {color:#5d5d5d} - -.navbar .navbar-nav > li > a:hover:after, -.navbar .navbar-nav > li.active > a:after, -.navbar .navbar-nav > li.active > a:hover:after, -.navbar .navbar-nav > li.active > a:focus:after { - width:100%; - height:1px; - background-color:#3A3B74; -} - - -.navbar-nav > li + li {margin-left:2px} -.navbar .navbar-nav > li.active > a, -.navbar .navbar-nav > li.active > a:hover, -.navbar .navbar-nav > li.active > a:focus { - color:#5d5d5d; - background-color:transparent; -} -.navbar .navbar-nav .dropdown-menu { - background-color:#353c40; - border-radius:0 !important; -} - -.navbar .navbar-nav .dropdown-menu li a { - position:relative; - font-size:14px; -} - -.navbar .navbar-nav .dropdown-menu li.active a { - background-color:transparent; - color:#3A3B74; -} - -.navbar .navbar-nav .dropdown-menu li a:hover, -.navbar .navbar-nav .dropdown-menu li.active a:hover { - color:#3A3B74; - background-color:transparent; -} - -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus {background-color:transparent !important} - -.navbar-collapse {max-height:none} -.navbar-collapse ul {margin-bottom:10px} - -.navbar-default .navbar-nav> .open > a, .navbar-default .navbar-nav> .open > a:hover, .navbar-default .navbar-nav> .open > a:focus, -.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {background-color:transparent} - -.navbar .navbar-nav .th-anchor.active a:after {width:0} - - -/* Top Navigation */ - -.top-nav { - background:rgba(0,0,0,0.03); - padding:5px 0; -} - -.top-nav-text {float:left} - -.top-nav-icon-blocks {float:right} - -.top-nav-icon-blocks .icon-block { - display:inline-block; - padding: 0 10px; - text-align: right; -} - -.top-nav-icon-blocks .icon-block:last-child { - padding: 0 0 0 10px; -} - -.top-nav-icon-blocks .icon-block a:hover { - text-decoration: none; -} -.top-nav-icon-blocks .icon-block i { - padding-right: 6px; -} - -.top-nav-icon-blocks .icon-block p, .top-nav-icon-blocks .icon-block a, -.top-nav-text p, .top-nav-text a { - font-size:12px; - line-height:26px; - margin:0; - color:#5d5d5d; -} - -.top-nav-icon-blocks .icon-block i { - font-size:13px; -} - - -/* Transparent Header */ - -.banner[data-transparent-header="true"] { - width:100%; - top:0; - left:0; - position:absolute; - overflow:visible !important; - z-index:9998; - background-color:transparent; - box-shadow:none; - -webkit-box-shadow:none; - -moz-box-shadow:none; - -o-box-shadow:none; - border-bottom:0; -} - -.boxed-mode .banner[data-transparent-header="true"] { - left:0; right:0; margin:0 auto; -} - -.banner[data-transparent-header="true"] #logo .logo-trans {display:inline} -.banner[data-transparent-header="true"] #logo .logo-main {display:none} - -.banner[data-transparent-header="true"] .navbar-nav > li > a, -.banner[data-transparent-header="true"] .navbar-nav > li.active > a {color:#fff} -.banner[data-transparent-header="true"] .navbar-nav > li > a:hover, -.banner[data-transparent-header="true"] .navbar-nav > li.active > a:hover {color:#fff} - -.banner[data-transparent-header="true"] .navbar-nav > li > a:hover:after, -.banner[data-transparent-header="true"] .navbar-nav > li.active > a:after, -.banner[data-transparent-header="true"] .navbar-nav > li.active > a:hover:after, -.banner[data-transparent-header="true"] .navbar-nav > li.active > a:focus:after {background-color:#fff} - -.banner[data-transparent-header="true"] .top-nav-icon-blocks .icon-block p, -.banner[data-transparent-header="true"] .top-nav-icon-blocks .icon-block a, -.banner[data-transparent-header="true"] .top-nav-text p, -.banner[data-transparent-header="true"] .top-nav-text a {color:#fff} - -.banner[data-transparent-header="true"] .top-nav {background: rgba(255,255,255,0.1)} - - -/* ========================================================================== - General - ========================================================================== */ - -.page-title {margin:0 15px} - -body.blog .page-title, body.single .page-title, -body.search .page-title, body.archive .page-title, -body.error404 .page-title {border-bottom:1px solid #e6e6e6} - -.page-title.centered {padding:60px 10%} -.page-title.left {padding:60px 10% 60px 0} -.page-title.right { - padding:60px 0 60px 10%; - text-align:right; -} - -.page-title .header-icon { - font-size:28px; - margin-bottom:20px; - color:#a3a3a3; -} - -.page-title h1 { - margin:0; - color:#3A3B74; -} - -.page-title h4 { - font-size:18px; - font-weight:400; - line-height:150%; - margin:0; - padding:10px 0 0; -} - -.full-header-img { - background:#f2f3f7; - background-size:cover; -} -.preloader .page-title {border-bottom:0} - -.page-title .page-title-button {margin:30px 0 0} - -.page-title .btn-standard, -.page-title .btn-ghost, -.page-title .a2c-btn a.button {font-size:18px} - -.page-title .th-btn { - margin-top:5px; - margin-bottom:5px; -} - -.page-title.left .th-btn {margin-right:8px} -.page-title.left .th-btn + .th-btn {margin-right:0} - -.page-title.centered .th-btn { - margin-left:4px; - margin-right:4px; -} - -.page-title.right .th-btn + .th-btn {margin-left:8px} - - -.inner-container > h1.entry-title { - width: calc(100% - 60px); - max-width:1140px; - color:#3A3B74; - padding:60px 0; - margin:0 auto; - border-bottom:1px solid #e6e6e6; -} - -.clear {clear:both} - -.circle { - -webkit-border-radius: 50em !important; - -moz-border-radius: 50em !important; - border-radius: 50em !important; -} - -.accent {color:#3A3B74} - -.centered {text-align:center} - -.th-circle { - -webkit-border-radius: 50em !important; - -moz-border-radius: 50em !important; - border-radius: 50em !important; -} - -/* Small Icons */ - -.th-icon-size-sm .elementor-icon, -.th-icon-size-sm i {font-size:36px} - -/* Medium Icons */ - -.th-icon-size-md .elementor-icon, -.th-icon-size-md i {font-size:44px} - -/* Large Icons */ - -.th-icon-size-lg .elementor-icon, -.th-icon-size-lg i {font-size:54px} - -/* Extra Large Icons */ - -.th-icon-size-xl .elementor-icon, -.th-icon-size-xl i {font-size:66px} - - -/* FontAwesome */ -/* -.elementor-view-framed .elementor-icon i.fa, -.elementor-view-stacked .elementor-icon i.fa { - width:1.28571429em; - height:1.28571429em; - line-height:1.28571429em; - text-align:center; -} */ - -/* Travel Pack */ - -.elementor-icon i.th-trip { - line-height:0.98; -} - -/* Linea */ - -.elementor-icon i.th-linea:before {vertical-align:bottom} - - - -/* Flexible iFrame */ - -.flexible-container { - position:relative; - padding-bottom:56.25%; - padding-top:30px; - height:0; - overflow:hidden; -} -.flexible-container iframe, -.flexible-container object, -.flexible-container embed { - position:absolute; - top:0; - left:0; - width:100%; - height:100%; -} - - -/* Page Comments */ - -body.page .comment-respond {margin-bottom:50px} - - -/* Misc */ - -.float-left {float:left} -.float-right {float:right} - -.panel, .panel-group .panel { - border-radius:5px; - box-shadow:0 0 0; -} - -label {font-weight:600} - -section.th-parallax:not(.th-mobile) { - background: none !important; -} - - -/* ========================================================================== - Primary Content - ========================================================================== */ - -.meta-border { - margin:0 auto; - border-bottom:1px solid #e6e6e6; -} - -.standard-blog .page {padding-top:45px} -.standard-blog .page:first-child {padding-top:0} -.standard-blog .page .post-title {margin-top:0} - -.container { - width: calc(100% - 30px); - max-width:1170px !important; /* override default Bootstrap media queries */ -} - -.content-width { - width: calc(100% - 60px); - max-width:1140px; -} - -.inner-container > .content-editor { - width: calc(100% - 30px); - max-width:1170px; - margin:0 auto; - padding:40px 15px; -} - -.error-404 { - padding-top:40px; - padding-bottom:40px; -} - -body.elementor-page .inner-container > .content-editor, -body.elementor-editor-active .inner-container > .content-editor, -body.elementor-editor-preview .inner-container > .content-editor { - width:auto !important; - max-width:none; - margin:0; - padding:0; -} - -.elementor-section-boxed .elementor-container { - width: calc(100% - 60px); -} - -.elementor-section-boxed .elementor-column-gap-default .elementor-row { - width: calc(100% + 20px); - margin-left: -10px; - margin-right: -10px; -} -.elementor-section-boxed .elementor-column-gap-narrow .elementor-row { - width: calc(100% + 10px); - margin-left: -5px; - margin-right: -5px; -} -.elementor-section-boxed .elementor-column-gap-extended .elementor-row { - width: calc(100% + 30px); - margin-left: -15px; - margin-right: -15px; -} -.elementor-section-boxed .elementor-column-gap-wide .elementor-row { - width: calc(100% + 40px); - margin-left: -20px; - margin-right: -20px; -} -.elementor-section-boxed .elementor-column-gap-wider .elementor-row { - width: calc(100% + 60px); - margin-left: -30px; - margin-right: -30px; -} - - -/* ========================================================================== - Preloader - ========================================================================== */ - -#loader-wrapper { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 1000; - background: #fff; - transition: all 0.4s ease-out; -} -#loader { - display: block; - position: relative; - left: 50%; - top: 50%; - width: 80px; - height: 80px; - margin: -40px 0 0 -40px; - border-radius: 50%; - border: 3px solid transparent; - border-top-color: /*#3498db */ #969696; - - -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */ - animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ - z-index: 1001; -} - -#loader:before { - content: ""; - position: absolute; - top: 5px; - left: 5px; - right: 5px; - bottom: 5px; - border-radius: 50%; - border: 3px solid transparent; - border-top-color: /*#e74c3c*/ #9f9f9f; - - -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */ - animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ -} - -#loader:after { - content: ""; - position: absolute; - top: 15px; - left: 15px; - right: 15px; - bottom: 15px; - border-radius: 50%; - border: 3px solid transparent; - border-top-color: /*#f9c922*/ #c6c6c6; - - -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */ - animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ -} - -@-webkit-keyframes spin { - 0% { - -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */ - -ms-transform: rotate(0deg); /* IE 9 */ - transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ - } - 100% { - -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */ - -ms-transform: rotate(360deg); /* IE 9 */ - transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ - } -} -@keyframes spin { - 0% { - -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */ - -ms-transform: rotate(0deg); /* IE 9 */ - transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ - } - 100% { - -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */ - -ms-transform: rotate(360deg); /* IE 9 */ - transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ - } -} - -#loader-wrapper .loader-section { - position: fixed; - top: 0; - width: 51%; - height: 100%; - /*background: #222;*/ - background: #fff; - z-index: 1000; -} - -#loader-wrapper .loader-section.section-left { - left: 0; - display:none; -} -#loader-wrapper .loader-section.section-right { - right: 0; - display:none; -} - -/* Loaded styles */ -.loaded #loader-wrapper .loader-section.section-left { - background: transparent; - transition: all 0.9s ease-out; - - /*-webkit-transform: translateX(-100%); /* Chrome, Opera 15+, Safari 3.1+ */ - /*-ms-transform: translateX(-100%); /* IE 9 */ - /*transform: translateX(-100%); /* Firefox 16+, IE 10+, Opera */ - - /*-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6 */ - /*transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); /* Chrome 26, Firefox 16+, iOS 7+, IE 10+, Opera, Safari 6.1+ */ -} -.loaded #loader-wrapper .loader-section.section-right { - background: transparent; - transition: all 0.9s ease-out; - - /*-webkit-transform: translateX(100%); /* Chrome, Opera 15+, Safari 3.1+ */ - /*-ms-transform: translateX(100%); /* IE 9 */ - /*transform: translateX(100%); /* Firefox 16+, IE 10+, Opera */ - - /*-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6 */ - /*transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); /* Chrome 26, Firefox 16+, iOS 7+, IE 10+, Opera, Safari 6.1+ */ -} -.loaded #loader { - opacity: 0; - - /*-webkit-transition: all 0.3s ease-out; /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6 */ - /*transition: all 0.3s ease-out; /* Chrome 26, Firefox 16+, iOS 7+, IE 10+, Opera, Safari 6.1+ */ - -} -.loaded #loader-wrapper { - background: transparent; - visibility: hidden; - - /*-webkit-transform: translateY(-100%); /* Chrome, Opera 15+, Safari 3.1+ */ - /*-ms-transform: translateY(-100%); /* IE 9 */ - /*transform: translateY(-100%); /* Firefox 16+, IE 10+, Opera */ - - /*-webkit-transition: all 0.3s 1s ease-out; /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6 */ - /*transition: all 0.3s 1s ease-out; /* Chrome 26, Firefox 16+, iOS 7+, IE 10+, Opera, Safari 6.1+ */ -} - - -/* ========================================================================== - Audio, Video, Media - ========================================================================== */ - -.video-container, .wp-hosted-video { - position:relative; - padding-bottom:56.25%; - height:0; - overflow:hidden; -} -.video-container {padding-top:30px} - -.video-container iframe, -.video-container object, -.video-container embed, -.wp-hosted-video iframe, -.wp-hosted-video object, -.wp-hosted-video embed { - position:absolute; - top:0; - left:0; - width:100%; - height:100%; -} - -audio, -canvas, -video {display:inline-block} - -audio:not([controls]) { - display:none; - height:0; -} - -embed, -iframe, -object, -video {max-width:100%} - -.wp-video-shortcode .mejs-controls, -.wp-audio-shortcode .mejs-controls {background:#1d1d1d !important} - - -/* ========================================================================== - Typography - ========================================================================== */ - -p, li { - font-size:15px; - line-height:165%; -} - -p { - font-family:"Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight:normal; - color:#5c5c5c; - -webkit-font-smoothing:antialiased; -} - -a { - color:#3A3B74; - -webkit-transition:all 0.2s ease-in-out; - -moz-transition:all 0.2s ease-in-out; - transition:all 0.2s ease-in-out; -} -a:hover {color:#5c5c5c} - - -/* Standard Headings */ - -h1, h2, h3, h4, h5, h6 { - font-family:"Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight:600; - line-height:1.1; - color:#515151; - -webkit-font-smoothing:antialiased; -} - -h1 { - font-size:56px; -} - -h2 { - font-size:35px; - margin-bottom:15px; -} - -h3 {font-size:30px} - -h4 {font-size:25px} - -h5 {font-size:22px} - -h6 {font-size:18px} - -.single-post h1 {font-size:48px} - -@media (max-width:991px) { - h1:not(.product_title) {font-size:56px} - .single-post h1 {font-size:44px} -} - -@media (max-width:767px) { - h1:not(.product_title) {font-size:48px} - .single-post h1 {font-size:40px} -} - -@media (max-width:479px) { - h1 {font-size:40px} - h2 {font-size:30px} - h3 {font-size:27px} - h4 {font-size:23px} - h5 {font-size:20px} - h6 {font-size:17px} -} - -h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, -h1 a:focus, h2 a:focus, h3 a:focus, h4 a:focus, h5 a:focus, h6 a:focus {text-decoration:none} - - -/* Bundled Font Headings */ - -.th-bundled-font h1:not(.product_title), -.th-bundled-font .th-header-wrap h2 { - font-family:"ludicrous"; - line-height:110%; - text-transform:uppercase; - letter-spacing:0.05em; -} - -.th-bundled-font h1:not(.product_title) { - font-size:76px; -} -.th-bundled-font.single-post h1 {font-size:58px} - -.th-bundled-font .th-header-wrap h2 { - font-size:42px; -} - -@media (max-width:991px) { - .th-bundled-font h1:not(.product_title) {font-size:64px} - .th-bundled-font.single-post h1 {font-size:58px} -} - -@media (max-width:767px) { - .th-bundled-font h1:not(.product_title) {font-size:58px} - .th-bundled-font.single-post h1 {font-size:48px} -} - - -/* ========================================================================== - Buttons - ========================================================================== */ - -.btn { - font-size:15px; - font-weight:600; - padding:10px 30px; - border-radius:50px; - white-space:normal; - -webkit-transition: all 0.2s linear; - -moz-transition: all 0.2s linear; - transition: all 0.2s linear; -} -.btn:focus {color:#fff} - -.btn-standard-primary { - color:#fff; - background-color:#3A3B74; - border-color:#3A3B74; -} - -.btn-standard-accent { - color:#fff; - background-color:#F5BE58; - border-color:#F5BE58; -} - -.btn-standard-light { - color:#1b1b1b; - background-color:#fff; - border-color:#fff; -} - -.btn-standard-dark { - color:#fff; - background-color:#1b1b1b; - border-color:#1b1b1b; -} - -.btn-standard-primary:hover, -.btn-standard-accent:hover, -.btn-standard-dark:hover { - color:#fff; - opacity:0.85; -} -.btn-standard-light:hover, -.btn-standard-light:focus { - color:#1b1b1b; - opacity:0.85; -} - -.btn-standard-primary, .btn-standard-accent, -.btn-standard-light, .btn-standard-dark, -.btn-ghost-primary, .btn-ghost-accent, -.btn-ghost-light, .btn-ghost-dark {border-width:2px} - -.btn-ghost-primary { - color:#3A3B74; - background-color:transparent; - border-color:#3A3B74; -} -.btn-ghost-primary:hover { - color:#fff; - background-color:#3A3B74; - border-color:#3A3B74; -} - -.btn-ghost-accent { - color:#F5BE58; - background-color:transparent; - border-color:#F5BE58; -} -.btn-ghost-accent:hover { - color:#fff; - background-color:#F5BE58; - border-color:#F5BE58; -} - -.btn-ghost-light { - color:#fff; - background-color:transparent; - border-color:#fff; -} -.btn-ghost-light:hover, -.btn-ghost-light:focus { - color:#1b1b1b; - background-color:#fff; - border-color:#fff; -} - -.btn-ghost-dark { - color:#1b1b1b; - background-color:transparent; - border-color:#1b1b1b; -} -.btn-ghost-dark:hover { - color:#fff; - background-color:#1b1b1b; - border-color:#1b1b1b; -} - -.btn-cta-primary, -.btn-cta-accent { - display:inline-block; - padding:14px 60px; - font-size:18px; - font-weight:600; - text-transform:uppercase; - color:#fff; - white-space:nowrap; - border:0; - border-bottom:3px solid rgba(0, 0, 0, 0.15); - border-radius:50px; -} -.btn-cta-primary {background-color:#3A3B74;} -.btn-cta-accent {background-color:#F5BE58;} - -.btn-cta-primary:hover, -.btn-cta-accent:hover { - text-decoration:none; - color:#fff; - opacity:0.85; -} - -.btn:active, -.btn.active { - background-image:none; - outline:0; - box-shadow:0 0 0; -} - -.th-btn i, -.th-btn span { - margin-top:2px; - margin-left:8px; -} - -.th-btn-align-left {text-align:left} -.th-btn-align-center {text-align:center} -.th-btn-align-right {text-align:right} - -a:focus, .button:focus, .btn:focus {outline:none} - -.th-btn.btn-image img { - max-height:50px; - width:auto; -} - - -/* Bootstrap Buttons */ - -.btn-lg, .btn-large, -.btn-group-lg > .btn, -.btn-group-large > .btn {font-size:18px} - -.btn-sm, -.btn-group-sm > .btn { - padding:8px 20px; - font-size:12px; - line-height:1.5; - border-radius:50px; -} -.btn-xs, -.btn-group-xs > .btn { - padding:3px 8px; - font-size:12px; - line-height:1.5; - border-radius:50px; -} - -.btn.dropdown-toggle, .btn-group .btn, -#main-flex-slider .btn.dropdown-toggle, -#main-flex-slider .dropdown-menu li a {margin-bottom:0} - -.btn-group .dropdown-menu li a {text-align:left} - -.navbar-toggle { - border:0; - padding:10px 0; -} -.navbar-default .navbar-toggle:hover, -.navbar-default .navbar-toggle:focus {background-color:transparent} - - -/* ========================================================================== - Forms - ========================================================================== */ - -/* General */ - -form input, .frm_forms form label, .with_frm_style label.frm_primary_label, -.with_frm_style.frm_login_form label, .frm_forms form input, -.frm_forms form textarea, .with_frm_style input[type=text], -.with_frm_style input[type=password], .with_frm_style input[type=email], -.with_frm_style input[type=number], .with_frm_style input[type=url], -.with_frm_style input[type=tel], .with_frm_style select, -.frm_style_formidable-style.with_frm_style select, -.with_frm_style textarea, .frm_style_formidable-style.with_frm_style textarea, -#content .with_frm_style input:not([type=submit]):not([type=button]), -#content .with_frm_style select, #content .with_frm_style textarea, -.with_frm_style .chzn-container, .with_frm_style input[type=file], -.with_frm_style .frm_submit input[type=submit], -.with_frm_style .frm_submit input[type=button], .frm_form_submit_style, -.with_frm_style.frm_login_form input[type=submit], a.frm_save_draft, -.with_frm_style #frm_field_cptch_number_container, -.with_frm_style .frm_radio label, .with_frm_style .frm_checkbox label, -.frm_forms .frm_description, .with_frm_style p.description, -.with_frm_style div.description, .with_frm_style div.frm_description, -.frm_style_formidable-style.with_frm_style .frm_error { - font-family:"Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - box-shadow:0 0 0 !important; -} - -input[type=text], input[type=email], input[type=url], input[type=password], -input[type=number], input[type=tel], textarea { - color:#5c5c5c !important; - -webkit-appearance:none; -} - -.radio, .checkbox {padding-left:0} - -.with_frm_style .form-field, -.with_frm_style .frm_form_field, -.frm_style_formidable-style.with_frm_style .form-field {margin-bottom:15px} - -.frm_forms form input[type=text], .frm_forms form input[type=email], -.frm_forms form input[type=url], .frm_forms form input[type=password], -.frm_forms form input[type=number], .frm_forms form input[type=tel], -.frm_style_formidable-style.with_frm_style input[type=text], -.frm_style_formidable-style.with_frm_style input[type=password], -.frm_style_formidable-style.with_frm_style input[type=email], -.frm_style_formidable-style.with_frm_style input[type=number], -.frm_style_formidable-style.with_frm_style input[type=url], -.frm_style_formidable-style.with_frm_style input[type=tel], -.frm_style_formidable-style.with_frm_style input[type=file], -.frm_style_formidable-style.with_frm_style input[type=search] { - font-family:"Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size:13px; - height:46px; - margin-bottom:0; - padding:0 15px; - -webkit-border-radius:5px; - -moz-border-radius:5px; - border-radius:5px; -} - -.frm_forms form input, .frm_forms form textarea, -.frm_style_formidable-style.with_frm_style textarea { - font-size:13px; - margin-bottom:0; - border:1px solid #d3d3d3; - -webkit-border-radius:5px; - -moz-border-radius:5px; - border-radius:5px; - -webkit-transition: all 0.15s linear; - -moz-transition: all 0.15s linear; - transition: all 0.15s linear; -} - -.frm_forms form textarea, -.frm_style_formidable-style.with_frm_style textarea { - padding:20px !important; -} - -.frm_forms form label, -.with_frm_style label.frm_primary_label, -.with_frm_style.frm_login_form label, -.frm_style_formidable-style.with_frm_style label.frm_primary_label, -.frm_style_formidable-style.with_frm_style.frm_login_form label, -.frm_style_formidable-style.with_frm_style .frm_radio label, -.frm_style_formidable-style.with_frm_style .frm_checkbox label { - font-family:"Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - color:#5d5d5d; - font-size:14px; - font-weight:normal; - margin:20px 0 6px; -} - -.with_frm_style .frm_radio label, .frm_radio label, -.with_frm_style .frm_checkbox label, .frm_checkbox label {font-size:12px} - -form select:focus, -form textarea:focus, -form input:focus { - border:1px solid #3A3B74 !important; - outline:0 !important; -} - -.frm_forms form select, -.frm_style_formidable-style.with_frm_style select { - font-size:13px; - height:46px; - padding:0 12px !important; - color:#6c6c6c; - border:1px solid #d3d3d3; - border-radius:5px; -} - -form input[type=submit], -.with_frm_style .frm_submit input[type=submit], -.with_frm_style .frm_submit input[type=button], -.frm_form_submit_style, .with_frm_style.frm_login_form input[type=submit] { - background:#3A3B74; - color:#fff; - padding:10px 30px; - margin-top:0; - border:0; - opacity:1; - -webkit-border-radius:50px; - -moz-border-radius:50px; - border-radius:50px; -} -form input[type=submit]:hover, -.with_frm_style .frm_submit input[type=submit]:hover, -.with_frm_style .frm_submit input[type=button]:hover, -.frm_form_submit_style:hover, .with_frm_style.frm_login_form input[type=submit]:hover { - background:#3A3B74; - color:#fff; - opacity:0.9; -} - -.frm_forms .frm_none_container label.frm_primary_label, -.frm_forms .frm_pos_none {display:none} - -.frm_forms .frm_description {font-size:14px !important} - -.with_frm_style .frm_error_style, -.with_frm_style .frm_message, -.frm_success_style { - line-height:1.4; - -webkit-border-radius:5px; - -moz-border-radius:5px; - border-radius:5px; -} - -.ui-datepicker-header, .ui-widget-header { - background:#ccc !important; - border-color:#aaa !important; -} -.ui-datepicker select {color:#333} - -.ui-datepicker-header .ui-datepicker-prev:hover, -.ui-datepicker-header .ui-datepicker-next:hover { - background:#ddd; - border-color:#999; -} - -.ui-datepicker .ui-state-default.ui-state-highlight { - background:#eee; - border-color:#eee; - color:#737373; -} - -.ui-datepicker .ui-state-default.ui-state-active { - background:#eee; - border-color:#999; - color:#363636; -} - -.ui-datepicker .ui-state-default:hover { - background:#ccc; - border-color:#999; - color:#363636; -} - - -/* reCaptcha */ - -#recaptcha_area input { - height:auto; - border-radius:0; -} - -#recaptcha_privacy a {color:#666} - - -/* Widget Forms */ - -.th-widget-area .widget .frm_forms {padding-top:4px} - -.th-widget-area .widget .frm_style_formidable-style.with_frm_style fieldset {padding-bottom:0} - -.th-widget-area .widget .frm_style_formidable-style.with_frm_style .form-field {margin-bottom:15px;} - -.th-widget-area .widget input[type=text], .th-widget-area .widget input[type=email], -.th-widget-area .widget input[type=url], .th-widget-area .widget input[type=password], -.th-widget-area .widget input[type=number], .th-widget-area .widget input[type=tel], -.th-widget-area .widget textarea, .th-widget-area .widget select, .th-widget-area .widget input[type=submit] { - width:100% !important; - max-width:450px !important; -} -.th-widget-area .widget input {height:50px !important} - -.th-widget-area .widget input[type=checkbox], -.th-widget-area .widget input[type=radio] {height:auto !important} - -.th-widget-area .widget input[type=submit], -.th-widget-area .widget .frm_style_formidable-style.with_frm_style input[type=submit] { - padding:12px !important; - margin:0; - box-sizing:border-box !important; - -moz-border-radius:50px; - -webkit-border-radius:50px; - border-radius:50px; -} - -.footer input[type=text], .footer input[type=email], -.footer input[type=url], .footer input[type=password], -.footer input[type=number], .footer input[type=tel], -.footer textarea, .footer select { - max-width:450px; - color:#fff !important; - background:transparent !important; - border:1px solid #fff !important; -} -.footer select {color:#9f9f9f !important} - -.footer .frm_forms .frm_message p, -.footer .with_frm_style .frm_message p {color:#468847 !important} - -.footer .frm_forms input[type=submit], -.footer .frm_forms input[type=submit]:hover {border: 1px solid transparent} - -.footer #recaptcha_area input { - background:#fff !important; -} - -.footer label, .footer .frm_forms .frm_description {color:#c6c6c6 !important} - - -/* MailChimp */ - -#mc_signup input { - height:46px; - padding:10px 20px; - border:1px solid #d3d3d3; - border-radius:2px; -} -#mc_signup input[type=submit] {border:0} - - -/* Password Protected Posts */ - -.post-password-form input[type=password] {border:1px solid #999} - - -/* ========================================================================== - Blog - ========================================================================== */ - -/* General */ - -.elementor-editor-active .th-no-sidebar #elementor-add-section, -.th-no-sidebar .elementor-section-boxed > .elementor-container { - max-width:800px; - margin:0 auto; -} -.th-no-sidebar > .standard-blog .container, -body:not(.elementor-page):not(.elementor-editor-active):not(.elementor-editor-preview) .th-no-sidebar .container, -body:not(.elementor-page):not(.elementor-editor-active):not(.elementor-editor-preview) .th-no-sidebar > .content-editor { - max-width:830px !important; - margin:0 auto !important; -} -.th-no-sidebar > h1.entry-title {max-width:800px !important} -.th-no-sidebar .page-title { - padding-left:0; - padding-right:0; -} - -a img.wp-post-image { - opacity:1; - -webkit-transition:all 0.2s ease-in-out; - -moz-transition:all 0.2s ease-in-out; - transition:all 0.2s ease-in-out; -} - -.page-title, -.post-title {word-wrap:break-word} - -.post-meta, .date-meta, .entry-meta { - font-size:13px; - color:#8b8b8b; -} - -.entry-content a {white-space:nowrap} - -.post-meta a {white-space:nowrap} - -.pager { - padding-left:15px; - padding-right:15px; -} -.pager li > a, -.pager li > span { - background-color:transparent; - border: 1px solid #cecece; - font-weight:400; - border-radius:50px; - padding:10px 35px; - -webkit-transition: all 0.2s linear; - -moz-transition: all 0.2s linear; - transition: all 0.2s linear; -} -.pager li > a:hover, -.pager li > span:hover { - background-color:#3A3B74; - border:1px solid #3A3B74; - color:#fff; -} - -.is-sticky {display:none} -.sticky .is-sticky {display:inline} -.th-masonry-blog .sticky time.published, .sticky .show-date {display:none} - -body.elementor-page .th-pagination {display:none} - - -/* Standard Blog */ - -.standard-blog {padding:40px 0} - -.standard-blog .post {padding-top:50px} -.standard-blog .post:first-child {padding-top:0} - -.standard-blog .entry-content {padding:20px 0 0} -.standard-blog .post-excerpt p {margin-bottom:0} - -.standard-blog .post-inner { - padding-bottom:50px; - border-bottom:1px solid #dedede; -} - -.standard-blog .meta-tags {margin-top:20px} - -.standard-blog .pager {padding-top:30px} - - -/* Masonry Blog */ - -.th-masonry-blog { - padding-top:40px; - padding-bottom:40px; -} - -.mas-blog:after { - content:''; - display:block; - clear:both; -} - -.mas-blog-post-sizer {float:none} - -.mas-blog-post { - margin-bottom:30px; - /*padding-left:0; - padding-right:0; */ -} - -@media (max-width:699px) { - .mas-blog-post-sizer, - .mas-blog-post {width:100%} -} -@media (min-width:700px) and (max-width:767px) { - .mas-blog-post-sizer, - .mas-blog-post {width:50%} -} - -.mas-blog-post .post-inner { - padding:15px; - background:#fff; - border:1px solid #e1e1e1; - /*border-top:3px solid #3A3B74;*/ -} -.mas-blog-post .post-title { - font-size:20px; - margin-top:0; -} -.mas-blog-post .post-meta { - padding-bottom:10px; -} -.mas-blog-post .date-meta { - border-top:1px solid #e1e1e1; - padding-top:20px; - margin-top:20px; -} - -.mas-blog-post .date-meta i.xs-icon { - display:none; - /*font-size:16px; - margin-right:5px; - color:rgba(0,0,0,0.4);*/ -} - - -/* Blog Single Page */ - -body.single .post-inner { - padding-bottom:50px; - border-bottom:1px solid #dedede; -} - -body.single .post-inner .entry-content:before, -body.single .post-inner .entry-content:after { - content: " "; - display: table; -} -body.single .post-inner .entry-content:after {clear:both} - -#themo_single_post_layout_content { - padding:40px 0; -} - -body.single .wp-post-image {margin-bottom:20px} -body.single .entry-content { - padding:30px 0 20px; -} - - -/* Comments */ - -.comments-title {margin:50px 0 30px} - -#comments li.comment .avatar { - margin:10px 15px 0 0; - border-radius:50em; -} - -#comments .bypostauthor {} - -#comments h4.media-heading { - margin-top:20px; - font-weight:normal; -} -#comments .pingback h4.media-heading {margin-top:5px} - -#comments .post-meta {margin-bottom:15px} - -#comments .comment-reply { - font-size:13px; - padding:10px 0 20px; - border-bottom:1px solid #e2e2e2; -} - -#comments .pager { - padding:0; - margin:40px 0 10px; -} - -#comments .comment-awaiting { - font-style:italic; - margin:0 0 15px; -} - -.comment-reply-title {margin:50px 0 5px} - -#respond .comment-info {margin:10px 0 30px} - -.form-control { - height:46px; - border:1px solid #d3d3d3; - border-radius:5px; - -webkit-box-shadow:inset 0 0 0, 0 0 0; - box-shadow:inset 0 0 0, 0 0 0; -} -.form-control:focus { - border-color:#ccc; - -webkit-box-shadow:inset 0 0 0, 0 0 0; - box-shadow:inset 0 0 0, 0 0 0; -} - -#respond .form-group label {margin:4px 0} - -.form-allowed-tags {font-size:14px} -.form-allowed-tags code {white-space:normal} - -#respond input[type=submit] { - padding:8px 30px; - border-radius:50px; -} - -.comments-closed { - font-style:italic; - margin:50px 0 10px; -} - -.required-fields {white-space:nowrap} - - -/* Standard Format */ - -.standard-blog .format-standard .wp-post-image {margin-bottom:20px} -.standard-blog .format-standard .post-title {margin-top:0} - - -/* Aside Format */ - -.standard-blog .format-aside .entry-content {padding-top:0} -.standard-blog .format-aside .post-meta {margin:20px 0 0} - -.th-masonry-blog .format-aside .date-meta {margin-top:10px} - -body.single .format-aside .post-meta {padding-top:20px} -body.single .format-aside .entry-content {padding:0} - - -/* Audio Format */ - -.th-masonry-blog .format-audio .audio-embed {padding-bottom:15px} - -body.single .format-audio .audio-embed {padding-bottom:20px} - - -/* Image Format */ - -.standard-blog .format-image .post-meta {margin-top:20px} - -.th-masonry-blog .format-image .date-meta {margin-top:10px} - - -/* Video Format */ - -.format-video iframe {border:0} - -body.single .video-container, body.single .wp-hosted-video {margin-bottom:20px} - -.th-masonry-blog .format-video .wp-hosted-video {margin-bottom:-1px} - - -/* Gallery Format */ - -.th-masonry-blog .format-gallery .flex-control-nav {display:none} - -.th-masonry-blog .format-gallery .flex-direction-nav a:before { - font-size:16px; - line-height:50px; -} -.th-masonry-blog .format-gallery .flex-direction-nav a { - width:50px; - height:50px; - margin-top:-25px; -} - -body.single .flexslider {margin-bottom:20px} - - -/* Quote Format */ - -.standard-blog .format-quote .post-inner, -body.single .format-quote .post-inner { - position:relative; - padding-bottom:35px; -} - -.format-quote blockquote {border:0} -.format-quote blockquote p { - position:relative; - font-style:italic; - z-index:10 !important; -} -.format-quote blockquote:before, -.format-quote blockquote:after { - position:absolute; - font-family:Georgia, "Times New Roman", Times, serif; - font-size:136px; - color:#d3d3d3; - opacity:0.4; -} -.format-quote blockquote:before { - content:"\201C"; - top:-30px; - left:15px; -} -.format-quote blockquote:after { - content:"\201D"; - bottom:-45px; - right:15px; -} -.format-quote blockquote {padding:35px 20px 22px} -.format-quote blockquote footer {margin-top:20px} - -.format-quote blockquote p { - font-size:26px; - font-weight:300; - line-height:110%; - color:#656565; -} - -.standard-blog .format-quote blockquote, -body.single .format-quote blockquote { - max-width:900px; - width:auto; - margin:0 auto; -} - -.th-masonry-blog .format-quote blockquote:before {top:-20px; left:30px} -.th-masonry-blog .format-quote blockquote:after {bottom:-10px; right:30px} -.th-masonry-blog .format-quote blockquote {padding:26px 20px 20px} -.th-masonry-blog .format-quote blockquote p { - font-size:22px; - font-weight:300; - line-height:120%; - color:#656565; -} -.th-masonry-blog .format-quote blockquote footer {margin-top:15px} - - -/* Link Format */ - -.link-icon {font-size:18px} - -.format-link i {margin-right:5px} -.format-link .post-meta { - margin-bottom:20px; - display:none; -} - -.standard-blog .link-icon {font-size:20px} -.standard-blog .format-link .link-title {margin-top:0} -.standard-blog .format-link .link-text {margin-bottom:0} -.standard-blog .format-link .link-text a {font-size:16px} - -.th-masonry-blog .format-link .link-text {margin-bottom:30px} -.th-masonry-blog .format-link .link-title { - font-size:22px; - margin-top:15px; -} -.th-masonry-blog .format-link .link-icon { - font-size:18px; - position:relative; - top:2px; -} -.th-masonry-blog .format-link .date-meta {margin-top:10px} -.th-masonry-blog .format-link .entry-content p {margin-top:10px} - -body.single .format-link .link-text a {font-size:20px} -body.single .link-icon {font-size:24px} - - -/* Archives */ - -body.blog .pager, body.archive .pager, -body.search-results .pager { - padding-left:0; - padding-right:0; -} - - -/* Blog Templates */ - -.page-template-blog-standard .content-editor, -.page-template-blog-masonry .content-editor, -.page-template-blog-masonry-wide .content-editor {padding-bottom:0} - -.th-editor-empty {display:none} - - -/* Masonry Blog Template */ - -@media (min-width:768px) and (max-width:991px) { - .page-template-blog-masonry .main.col-sm-8 .mas-blog-post-sizer, - .page-template-blog-masonry .main.col-sm-8 .mas-blog-post, - .page-template-blog-masonry-wide .main.col-sm-8 .mas-blog-post-sizer, - .page-template-blog-masonry-wide .main.col-sm-8 .mas-blog-post {width:100%} -} - - -/* Masonry Blog FW Template */ - -.page-template-blog-masonry-wide .inner-container .container:last-child { - max-width:none !important; - width:100% !important; -} - -@media (min-width:1300px) { - .page-template-blog-masonry-wide .inner-container > .th-masonry-blog .container .col-sm-6 {width:25%} -} -@media (min-width:1600px) { - .page-template-blog-masonry-wide .inner-container > .th-masonry-blog .container .col-sm-6 {width:20%} -} - - -/* Masonry Blog Widget */ - -.elementor-widget-container .th-masonry-blog { - padding:0; -} - -.elementor-widget-container .th-masonry-blog .container { - max-width:none !important; - width:100% !important; - padding-left:0; - padding-right:0; -} - -@media (min-width:1300px) { - .elementor-section-full_width .th-blog-4-col .col-sm-6, - .elementor-section-full_width .th-blog-5-col .col-sm-6 {width:25%;} -} -@media (min-width:1600px) { - .elementor-section-full_width .th-blog-5-col .col-sm-6 {width:20%;} -} - - -/* ========================================================================== - Room Grid - ========================================================================== */ - -/* Index / Widget */ - -.th-portfolio-filters { - padding:0 0 30px; - text-align:center; - font-size:15px; -} -.th-portfolio-filters span { - font-weight:600; - margin-right:15px; -} -.th-portfolio-filters a { - display:inline-block; - margin:5px 15px; - padding:1px 0; - color:#8d9093; - text-decoration:none; - -webkit-transition:all 0.1s linear; - -moz-transition:all 0.1s linear; - transition:all 0.1s linear; -} -.th-portfolio-filters a:hover {color:#414141} - -.th-portfolio-filters a.current { - color:#3A3B74; - border:0; - border-bottom:1px solid #3A3B74; -} - -.th-light-text .th-portfolio-filters span, -.th-light-text .th-portfolio-filters a { - color:#fff; - opacity:0.6; -} -.th-light-text .th-portfolio-filters a:hover, -.th-light-text .th-portfolio-filters a.current { - color:#fff; - opacity:1; -} -.th-light-text .th-portfolio-filters a.current { - border-bottom:1px solid #fff; -} - -#th-portfolio-row { - margin-left:0; - margin-right:0; -} - -.th-portfolio .th-portfolio-item { - padding:0; - overflow:hidden; -} - -.th-port-gutter .th-portfolio-item {border:5px solid transparent} - -.th-port-img { - width:100%; - -webkit-transition:all 0.25s linear; - -moz-transition:all 0.25s linear; - transition:all 0.25s linear; -} -.th-portfolio-item:hover .th-port-img { - transform:scale(1.05,1.05) -} - -.th-port-overlay { - width:100%; - height:100%; - position:absolute; - top:0; - left:0; - background-color:none; - -webkit-transition:all 0.1s linear; - -moz-transition:all 0.1s linear; - transition:all 0.1s linear; -} -.th-portfolio-item:hover .th-port-overlay { - background-color:rgba(4,80,137,0.8); -} - -.th-port-inner { - width:100%; - height:100%; - position:absolute; - top:0; - left:0; - display:flex; - align-items:center; - justify-content:center; -} - -.th-port-top-text { - position:absolute; - top:5%; - width:100%; - text-align:center; -} - -.th-port-center { - flex: 1; - padding: 30px; - text-align: center; -} - -.th-port-top-text, -.th-port-center{ - opacity:0; - -webkit-transform:translateY(8px); - -ms-transform:translateY(8px); - transform:translateY(8px); - -webkit-transition:all 0.2s linear; - -moz-transition:all 0.2s linear; - transition:all 0.2s linear; -} -.th-portfolio-item:hover .th-port-top-text, -.th-portfolio-item:hover .th-port-center { - opacity:1; - -webkit-transform:translateY(0); - -ms-transform:translateY(0); - transform:translateY(0); -} - -.th-port-icon, .th-port-top-text, .th-port-title, .th-port-sub, .th-port-btn {color:#fff} - -.th-port-title { - font-size:28px; - font-weight:normal; - line-height:120%; - text-transform:uppercase; - margin:8px 0 0; -} - -.th-port-sub { - line-height:130%; - margin:8px 0 0; -} - -.th-port-btn { - display:inline-block; - margin:20px 0 0; - padding:8px 22px; - border:2px solid #fff; - font-weight:600; - border-radius:50px; -} - -.th-port-link { - display:block; - width:100%; - height:100%; - position:absolute; - top:0; - left:0; -} - -.th-port-center .th-pricing-cost { - color:#fff; - padding-bottom: 0px; - font-size: 36px; - margin-top: 5px; -} - -.th_missing_img{ - min-height:200px; -} -/* Four Columns */ - -@media (min-width:992px) and (max-width:1199px) { - - .th-portfolio-item.col-lg-3 .th-port-icon {font-size: 30px} - - .th-portfolio-item.col-lg-3 .th-port-title { - font-size: 16px; - margin-top: 5px; - } - - .th-portfolio-item.col-lg-3 .th-port-sub { - font-size: 13px; - margin-top: 5px; - } -} - -/* Five Columns */ - -@media (min-width:992px) { - - .five-columns .th-portfolio-item {width:33%} - - .five-columns .th-port-icon {font-size:30px} - - .five-columns .th-port-title { - font-size:16px; - margin-top:5px; - } - - .five-columns .th-port-sub { - font-size:13px; - margin-top:5px; - } - - .five-columns .th-port-btn { - font-size:13px; - padding:6px 16px; - } -} - -@media (min-width:1200px) { - - .five-columns .th-portfolio-item {width:20%} -} - -@media (min-width:1600px) { - - .elementor-section-full_width .five-columns .th-port-title {font-size:20px} - - .elementor-section-full_width .five-columns .th-port-sub {font-size:14px} - - .elementor-section-full_width .five-columns .th-port-btn { - font-size:14px; - padding:8px 20px; - } -} - -/* Room Single Page */ - -body.single-themo_room #respond {margin-bottom:50px} - -body.single-themo_room .comments-closed {display:none} - - -/* ========================================================================== - Booked Plugin - ========================================================================== */ - -/* General */ - -body table.booked-calendar th, -body table.booked-calendar td { - font-family:"Work Sans", sans-serif; -} - -body table.booked-calendar td {color:#656565} - - -/* Custom Tooltip */ - -.th-cal-tooltip { - position:relative; - margin:0 auto 6px; - padding:20px 10px; - text-align:center; - background-color:#353c40; - z-index:10; -} - -.th-cal-tooltip:after { - content:''; - position:absolute; - top:100%; - left:50%; - margin-left:-12px; - width:0; - height:0; - border-top:12px solid #353c40; - border-right:12px solid transparent; - border-left:12px solid transparent; -} - -.th-cal-tooltip h3 { - font-size:18px; - font-weight:normal; - color:#fff; - line-height:120%; - margin:0; -} - - -/* Buttons */ - -body #booked-profile-page input[type=submit], -body #booked-profile-page button, -body table.booked-calendar input[type=submit], -body table.booked-calendar button, -body .booked-modal input[type=submit], -body .booked-modal button {border-radius:50px} - - -/* Calendar Styles */ - -body table.booked-calendar { - background-color:#fff; - border:1px solid #ddd; - border-bottom:0; -} - -body table.booked-calendar thead, -body table.booked-calendar tr.days {text-transform:none} - -body table.booked-calendar thead th {letter-spacing:normal !important;} - -body table.booked-calendar .monthName {color:#353c40} -body table.booked-calendar .monthName .backToMonth {color:#353c40; opacity:0.6} -body table.booked-calendar .monthName .backToMonth:hover {color:#353c40; opacity:1} - -body table.booked-calendar tr.days th {color:#8d9093 !important} - -body table.booked-calendar td { - /* max-height:94px !important; */ - border:1px solid #ddd; - border-left:0 !important; - border-right:0 !important; -} - -body table.booked-calendar td:hover .date {background:#fff} -body table.booked-calendar td:hover .date .number { - color:#000; - background:#f9f9f9; -} - -body table.booked-calendar td.prev-date .date, -body table.booked-calendar td.prev-date:hover .date, -body table.booked-calendar td.blur .date, -body table.booked-calendar td.blur:hover .date, -body table.booked-calendar td.next-month .date, -body table.booked-calendar td.next-month:hover .date, -body table.booked-calendar td.prev-month .date, -body table.booked-calendar td.prev-month:hover .date {background:#fff !important} - -body table.booked-calendar td.next-month:hover .date .number, -body table.booked-calendar td.prev-month:hover .date .number {color:#000} - -body table.booked-calendar td.blur:hover .date .number, -body table.booked-calendar td.prev-date:hover .date .number {background:transparent !important} - -body table.booked-calendar td.prev-date .date, -body table.booked-calendar td.prev-date:hover .date {color:#d0d0d0} - -body table.booked-calendar td.blur .date, -body table.booked-calendar td.blur:hover .date {color:#e4e4e4} - -body table.booked-calendar td.today .date { - background:#fff; -} -body table.booked-calendar td.today:hover .date { - background:#fff; - color:#333; -} -body table.booked-calendar td.today .date .number, -body table.booked-calendar td.today.prev-date .date .number { - color:#6c6c6c !important; - background:#e3f2f9; - border:0; -} -body table.booked-calendar td.today:hover .date .number { - background:#d4edf8 !important; - color:#000 !important; -} -body table.booked-calendar td.today.prev-date:hover .date {color:#6c6c6c} - -body table.booked-calendar td.booked .date, -body table.booked-calendar td.booked:hover .date { - background:#fff !important; -} -body table.booked-calendar td.booked .date .number, -body table.booked-calendar td.booked:hover .date .number {background:#ffefed !important} - -body table.booked-calendar td.today.booked .date {color:#f0b1a1} - - -/* Small Calendar */ - -body .booked-calendar-wrap.small table.booked-calendar td:hover .date {background:#fff} -body .booked-calendar-wrap.small table.booked-calendar td:hover .date .number {background:#f9f9f9} - -body .booked-calendar-wrap.small table.booked-calendar td.prev-date .date, -body .booked-calendar-wrap.small table.booked-calendar td.prev-date:hover .date, -body .booked-calendar-wrap.small table.booked-calendar td.blur .date, -body .booked-calendar-wrap.small table.booked-calendar td.blur:hover .date {background:#fff} - -body .booked-calendar-wrap.small table.booked-calendar td.blur:hover .date .number, -body .booked-calendar-wrap.small table.booked-calendar td.prev-date:hover .date .number {background:transparent} - -body .booked-calendar-wrap.small table.booked-calendar td.today .date { - background:#fff; - color:#6c6c6c; -} -body .booked-calendar-wrap.small table.booked-calendar td.today:hover .date { - background:#fff; - color:#333; -} -body .booked-calendar-wrap.small table.booked-calendar td.today .date .number {background:#e3f2f9} -body .booked-calendar-wrap.small table.booked-calendar td.today:hover .date .number { background:#e3f2f9} -body .booked-calendar-wrap.small table.booked-calendar td.today.prev-date:hover .date {color:#6c6c6c} - -body .booked-calendar-wrap.small table.booked-calendar td.booked .date { - background:#fff; -} -body .booked-calendar-wrap.small table.booked-calendar td.booked:hover .date {background:#fff} -body .booked-calendar-wrap.small table.booked-calendar td.booked .date .number {background:#ffeae7} -body .booked-calendar-wrap.small table.booked-calendar td.booked:hover .date .number { background:#ffeae7} - -body .booked-calendar-wrap.small table.booked-calendar td.today.booked .date {color:#f0b1a1} - - -/* Custom */ -/* -body .booked-calendar-wrap.small table.booked-calendar td .date .number { - width:25px; - height:25px; - line-height:25px; - -moz-border-radius:25px; - -webkit-border-radius:25px; - border-radius:25px; -} */ - -body table.booked-calendar .fa.fa-arrow-right, -body table.booked-calendar .fa.fa-arrow-left, -body table.booked-calendar .booked-icon-arrow-right, -body table.booked-calendar .booked-icon-arrow-left { - font-family:"themovation-icons" !important; - font-style:normal !important; - font-weight:normal !important; - font-variant:normal !important; - text-transform:none !important; - speak:none; - line-height:1; - -webkit-font-smoothing:antialiased; - -moz-osx-font-smoothing:grayscale; - color:#353c40; -} -body table.booked-calendar .fa.fa-arrow-left:before, -body table.booked-calendar .booked-icon-arrow-left:before {content:"a"} - -body table.booked-calendar .fa.fa-arrow-right:before, -body table.booked-calendar .booked-icon-arrow-right:before {content:"c"} - -body table.booked-calendar .fa.fa-spin, -body table.booked-calendar .booked-icon-spin {color:#6f6f6f} - -body .booked-calendarSwitcher.calendar { - background:#e5e7e9 !important; - color:#414141 !important; - margin-bottom:1px; - border:1px solid #ddd; - border-bottom:0; - -moz-border-radius:3px 3px 0 0; - -webkit-border-radius:3px 3px 0 0; - border-radius:3px 3px 0 0; -} -body .booked-calendarSwitcher.calendar p i.fa, -body .booked-calendarSwitcher.calendar p i.booked-icon-calendar {color:#414141 !important} -body .booked-calendarSwitcher.calendar select {background:#e5e7e9 !important; color:#414141 !important; -moz-appearance: none;} - -body .booked-calendarSwitcher.calendar p {line-height:1.15} - -body .booked-calendarSwitcher.calendar p:before { - top:auto; - bottom:0; - color:#444; - font-size:15px; - z-index:5; -} - -.cal-tooltip + .booked-calendar-shortcode-wrap .booked-calendarSwitcher {margin-top:20px} - - -/**** Default & Custom Color Overrides */ - -/* Light Color */ - -body table.booked-calendar thead, -body table.booked-calendar thead th -{background:#e5e7e9 !important} - -body table.booked-calendar th -{border-color:#e5e7e9 !important} - -body #booked-profile-page input[type=submit].button-primary:hover, -body table.booked-calendar input[type=submit].button-primary:hover, -body .booked-modal input[type=submit].button-primary:hover, -body table.booked-calendar .booked-appt-list .timeslot .timeslot-people button:hover, -body #booked-profile-page .booked-profile-appt-list .appt-block .google-cal-button .atcb-link, -body #booked-profile-page .booked-profile-header -{background:#434a4d !important} - -body #booked-profile-page input[type=submit].button-primary:hover, -body table.booked-calendar input[type=submit].button-primary:hover, -body .booked-modal input[type=submit].button-primary:hover, -body table.booked-calendar .booked-appt-list .timeslot .timeslot-people button:hover, -body #booked-profile-page .booked-profile-appt-list .appt-block .google-cal-button .atcb-link, -body #booked-profile-page .booked-profile-header -{border-color:#434a4d !important} - - -/* Dark Color */ - -body table.booked-calendar thead tr.days th, -body table.booked-calendar tr.days -{background:#f1f3f4 !important} - -body table.booked-calendar tr.days th -{border-color:#f1f3f4 !important} - - -/* Primary Button Color */ - -body #booked-profile-page input[type=submit].button-primary, -body table.booked-calendar input[type=submit].button-primary, -body .booked-modal input[type=submit].button-primary, -body table.booked-calendar .booked-appt-list .timeslot .timeslot-people button, -body #booked-profile-page .booked-profile-appt-list .appt-block.approved .status-block -{background:#F5BE58 !important} - -body #booked-profile-page input[type=submit].button-primary, -body table.booked-calendar input[type=submit].button-primary, -body .booked-modal input[type=submit].button-primary, -body table.booked-calendar .booked-appt-list .timeslot .timeslot-people button -{border-color:#F5BE58 !important} - -.booked-modal p.booked-title-bar {background:#afafaf !important} - - -/* Custom Color Additions */ - -body table.booked-calendar th {border-color:#ddd !important} - -body table.booked-calendar tr.days {border:1px solid #ddd; border-top:0; border-bottom:0;} - -body table.booked-calendar tr.days th {border:0 !important} - -body table.booked-calendar .booked-appt-list .timeslot .timeslot-people button[disabled], -body table.booked-calendar .booked-appt-list .timeslot .timeslot-people button[disabled]:hover { - background:#eee !important; - border-color:#ddd !important; - color:#aaa !important; -} - -body #booked-profile-page .booked-tabs { - border-color:#ccc !important; - background-color:#ddd !important; -} - -body #booked-profile-page .booked-tabs li a { - background:#eee; - color:#888; -} -body #booked-profile-page .booked-tabs li a:hover { - background:#f5f5f5; - color:#555; -} - -body #booked-profile-page .booked-tabs li.active a, -body #booked-profile-page .booked-tabs li.active a:hover { - background-color:#fff !important; - color:#555 !important; -} - -body #booked-profile-page .booked-logout-button {color:#bbb} - - -/**** END Custom Color Theme */ - - -/* Booked Form Styling */ - -.bookedClearFix input, .bookedClearFix textarea { - -webkit-border-radius:5px; - -moz-border-radius:5px; - border-radius:5px; -} - -.bookedClearFix label { - margin-bottom:0; -} - - -/* Modal */ - -.booked-modal .checkbox-radio-block input {height:auto} -.booked-modal .checkbox-radio-block label {margin:inherit} - -body .booked-modal .bm-window p i.fa {color:#888 !important} - - -/* Media Queries */ - -@media screen and (max-width:720px) { - body table.booked-calendar td .date .number { - width:30px; - height:30px; - line-height:30px; - -moz-border-radius:25px; - -webkit-border-radius:25px; - border-radius:25px; - } - - body table.booked-calendar tbody td, body table.booked-calendar tr.days, - body table.booked-calendar thead th { - border-collapse:separate !important; - border-bottom: 1px solid #ddd !important; - } -} - -@media screen and (max-width:480px) { - body table.booked-calendar td .date .number { - width:25px; - height:25px; - line-height:25px; - } -} - -@media screen and (min-width:768px) and (max-width:991px) { - body .booked-calendar-wrap.small table.booked-calendar .booked-appt-list .timeslot .timeslot-people button .button-timeslot { - font-size:11px; - } -} - - -/* ========================================================================== - WooCommerce Plugin - ========================================================================== */ - -/* General */ - -body.woocommerce-page .preloader .page-title {border-bottom:0} - -html .woocommerce a.button, -html .woocommerce a.button.alt, -html .woocommerce button.button.alt, -html .woocommerce input.button.alt, -html .woocommerce #respond input#submit.alt, -html .woocommerce #content input.button.alt, -html .woocommerce-page a.button.alt, -html .woocommerce-page button.button.alt, -html .woocommerce-page input.button.alt, -html .woocommerce-page #respond input#submit.alt, -html .woocommerce-page #content input.button.alt, -html .woocommerce button.button, -html .woocommerce input.button, -html .woocommerce #respond input#submit, -html .woocommerce #content input.button, -html .woocommerce-page a.button, -html .woocommerce-page button.button, -html .woocommerce-page input.button, -html .woocommerce-page #respond input#submit, -html .woocommerce-page #content input.button { - font-weight:normal; -} - -html .woocommerce a.button:hover, -html .woocommerce button.button:hover, -html .woocommerce input.button:hover, -html .woocommerce #respond input#submit:hover, -html .woocommerce #content input.button:hover, -html .woocommerce-page a.button:hover, -html .woocommerce-page button.button:hover, -html .woocommerce-page input.button:hover, -html .woocommerce-page #respond input#submit:hover, -html .woocommerce-page #content input.button:hover { - font-weight:normal; - -webkit-transition: all 0.2s linear; - -moz-transition: all 0.2s linear; - transition: all 0.2s linear; -} - -html .woocommerce a.button, -html .woocommerce-page a.button, -html .woocommerce a.button.alt, -.woocommerce #respond input#submit.alt, -html .woocommerce-page a.button.alt, -.woocommerce button.button.alt, -.woocommerce input.button.alt, -.woocommerce #respond input#submit.alt:hover, -.woocommerce a.button.alt:hover, -.woocommerce button.button.alt:hover, -.woocommerce input.button.alt:hover { - background-color:#3A3B74; - color:#fff; - padding:10px 24px; -} - -html .woocommerce a.button:hover, -html .woocommerce a.button.alt:hover, -html .woocommerce button.button.alt:hover, -html .woocommerce input.button.alt:hover, -.woocommerce #respond input#submit.alt:hover, -.woocommerce a.button.alt:hover, -.woocommerce button.button.alt:hover, -.woocommerce input.button.alt:hover {opacity:0.85} - -.woocommerce #respond input#submit.disabled, .woocommerce #respond input#submit:disabled, -.woocommerce #respond input#submit:disabled[disabled], .woocommerce a.button.disabled, -.woocommerce a.button:disabled, .woocommerce a.button:disabled[disabled], -.woocommerce button.button.disabled, .woocommerce button.button:disabled, -.woocommerce button.button:disabled[disabled], .woocommerce input.button.disabled, -.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled], -.woocommerce #respond input#submit.disabled:hover, .woocommerce #respond input#submit:disabled:hover, -.woocommerce #respond input#submit:disabled[disabled]:hover, .woocommerce a.button.disabled:hover, -.woocommerce a.button:disabled:hover, .woocommerce a.button:disabled[disabled]:hover, -.woocommerce button.button.disabled:hover, .woocommerce button.button:disabled:hover, -.woocommerce button.button:disabled[disabled]:hover, .woocommerce input.button.disabled:hover, -.woocommerce input.button:disabled:hover, .woocommerce input.button:disabled[disabled]:hover, -.woocommerce #respond input#submit.alt.disabled, .woocommerce #respond input#submit.alt.disabled:hover, -.woocommerce #respond input#submit.alt:disabled, .woocommerce #respond input#submit.alt:disabled:hover, -.woocommerce #respond input#submit.alt:disabled[disabled], .woocommerce #respond input#submit.alt:disabled[disabled]:hover, -.woocommerce a.button.alt.disabled, .woocommerce a.button.alt.disabled:hover, -.woocommerce a.button.alt:disabled, .woocommerce a.button.alt:disabled:hover, .woocommerce a.button.alt:disabled[disabled], -.woocommerce a.button.alt:disabled[disabled]:hover, .woocommerce button.button.alt.disabled, -.woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:disabled, -.woocommerce button.button.alt:disabled:hover, .woocommerce button.button.alt:disabled[disabled], -.woocommerce button.button.alt:disabled[disabled]:hover, .woocommerce input.button.alt.disabled, -.woocommerce input.button.alt.disabled:hover, .woocommerce input.button.alt:disabled, -.woocommerce input.button.alt:disabled:hover, .woocommerce input.button.alt:disabled[disabled], -.woocommerce input.button.alt:disabled[disabled]:hover { - background-color:#3A3B74; - color:#fff; - cursor:default; - opacity:1; - padding-left:24px; - padding-right:24px; -} - -.woocommerce form input[type=text], .woocommerce form input[type=password], -.woocommerce form input[type=email], .woocommerce form input[type=number], -.woocommerce form input[type=url], .woocommerce form input[type=tel], -.woocommerce form input[type=file], .woocommerce form input[type=search] { - font-family:"Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size:13px; - height:40px; - margin-bottom:0; - padding:0 15px; - border:1px solid #d3d3d3; - -webkit-border-radius:5px; - -moz-border-radius:5px; - border-radius:5px; -} - -.woocommerce form textarea { - font-size:13px; - border:1px solid #d3d3d3; - padding:10px; - -webkit-border-radius:5px; - -moz-border-radius:5px; - border-radius:5px; - -webkit-transition: all 0.15s linear; - -moz-transition: all 0.15s linear; - transition: all 0.15s linear; -} - -.woocommerce form select, -.woocommerce-cart select { - font-size:13px; - height:40px; - padding:0 12px !important; - color:#6c6c6c; - border:1px solid #d3d3d3; - -webkit-border-radius:5px; - -moz-border-radius:5px; - border-radius:5px; -} - -.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { - font-size:14px; - padding:10px 24px; - -webkit-border-radius:50px; - -moz-border-radius:50px; - border-radius:50px; -} - -.woocommerce .woocommerce-message { - margin-top:30px !important; - border-radius:5px; -} - -.woocommerce .woocommerce-message, -.woocommerce .woocommerce-info {border-top-color:#ebe9eb} - -p.demo_store { - background-color:#3A3B74; - padding:10px 20px; - box-shadow:0 0 0; -} - - -/* Product Index Page */ - -.woocommerce .woocommerce-ordering, -.woocommerce .woocommerce-result-count {margin-bottom:0} - -.woocommerce .woocommerce-ordering {margin-top:4px} - -.woocommerce .woocommerce-result-count { - font-size:15px; - margin-top:12px; -} - -.products mark.count { - color:#515151; - background-color:transparent; -} - -.woocommerce .products ul, .woocommerce ul.products {padding-top:45px} - -.woocommerce ul.products li.product {text-align:center} - -@media (max-width:479px) { - .woocommerce ul.products li.product, - .woocommerce-page ul.products li.product {width:100% !important} -} - -@media (max-width:767px) { - .woocommerce .woocommerce-ordering, - .woocommerce .woocommerce-result-count {float:none; text-align:center} - - .woocommerce .woocommerce-result-count {margin-top:30px} - - .woocommerce .woocommerce-ordering {margin-top:20px} - - .woocommerce .products ul, .woocommerce ul.products {padding-top:35px} -} - -@media (min-width:768px) { - .woocommerce ul.products li.product, - .woocommerce-page.columns-3 ul.products li.product, - .woocommerce.columns-3 ul.products li.product { - width:30.66%; - margin-right:4%; - } - - .woocommerce ul.products li.first, .woocommerce ul.products li.last {clear:none} - - .woocommerce ul.products li.last, .woocommerce-page ul.products li.last {margin-right:4%} - - .woocommerce ul.products li:nth-child(3n+3), - .woocommerce-page.columns-3 ul.products li:nth-child(3n+3) {margin-right:0 !important} - .woocommerce ul.products li:nth-child(3n-8) {clear:left} -} - -.woocommerce ul.products a img.wp-post-image:hover {opacity:1} - -.woocommerce ul.products li.product .woocommerce-loop-category__title, -.woocommerce ul.products li.product .woocommerce-loop-product__title, -.woocommerce ul.products li.product h3 {font-size:18px} - -.woocommerce ul.products li.product .price { - font-size:16px; - color:#3A3B74; -} -.woocommerce ul.products li.product .price del { - color:#3A3B74; - display:inline; -} -.woocommerce ul.products li.product .price ins {text-decoration:none;} - -.woocommerce ul.products li.product .star-rating { - color:#444; - margin-left:auto; - margin-right:auto; -} - -.woocommerce span.onsale { - padding:0; - font-weight:normal; - background-color:#ff4c4c; -} - -.woocommerce .products .product .button.add_to_cart_button { - /* background: transparent !important; - color:#393939; - font-weight:600; - text-transform:uppercase; */ -} - -.woocommerce .products a.added_to_cart {display:block} - -.woocommerce nav.woocommerce-pagination ul {border:0} - -.woocommerce nav.woocommerce-pagination ul li { - margin:0 4px; - border:1px solid #d3ced2; - border-radius:2px; -} - - -/* Product Single Page */ - -.woocommerce .product .images img {opacity:1} - -.woocommerce.single-product .product .attachment-shop_single, -.woocommerce .single-product .product .attachment-shop_single {margin-bottom:2%} - -.woocommerce div.product div.images .flex-control-thumbs li { - width: 23.5%; - margin:0 2% 2% 0 ; -} -.woocommerce div.product div.images .flex-control-thumbs li:nth-child(4n) {margin-right:0} - -.woocommerce.single-product .page-title {border:0} - -@media (min-width:480px) { - .woocommerce.single-product h1.product_title {font-size:42px} -} - -.woocommerce .single-product .product {margin-top:10px} -.woocommerce.single-product .product {margin-top:50px} - -.woocommerce .single-product .product .price, -.woocommerce.single-product .product .price { - font-size:26px; - color:#3A3B74; -} - -.woocommerce .single-product .product .price ins, -.woocommerce.single-product .product .price ins { - color:#3A3B74; - text-decoration:none; - font-weight:inherit; -} - -.woocommerce .single-product .product .price del, -.woocommerce.single-product .product .price del {color:#aaa} - -.woocommerce .single-product div[itemprop~="description"], -.woocommerce.single-product div[itemprop~="description"] {margin-bottom:30px} - -.woocommerce .quantity .qty {padding:0} - -.woocommerce div.product form.cart, -.woocommerce div.product p.cart { - margin-bottom:30px; -} - -.woocommerce div.product form.cart .button { - height:40px; - border-radius:50px; -} - -.single_variation_wrap .single_variation {margin:5px 0 15px} - -.single-product div.product table.variations td, -.single-product div.product table.variations th { - display:list-item; - list-style:none; - padding:0; - text-align:left; - background-color:transparent; -} - -.woocommerce .product .summary .variations td.label { - font-size:14px; - font-weight:600; - color:#5c5c5c; - margin-top:10px; -} -.woocommerce .product .summary .variations td.value select {margin-bottom:6px} - -.woocommerce .product-type-grouped .group_table {margin-bottom:15px} - -.woocommerce .product-type-grouped .group_table .label, -.woocommerce .product-type-grouped .group_table .price { - display:table-cell; - vertical-align:middle !important; -} - -.woocommerce .product-type-grouped .group_table .label { - font-size:15px; - color:#5c5c5c; - text-align:left; - font-weight:normal; - white-space:normal; -} -.woocommerce .product-type-grouped .group_table .label label {font-weight:normal;} - -.woocommerce .product-type-grouped .group_table .price { - font-size:15px; - font-weight:600; -} - -.woocommerce .single-product .product_meta .sku_wrapper, -.woocommerce .single-product .product_meta .posted_in, -.woocommerce .single-product .product_meta .tagged_as, -.woocommerce.single-product .product_meta .sku_wrapper, -.woocommerce.single-product .product_meta .posted_in, -.woocommerce.single-product .product_meta .tagged_as { - display:block; - padding:10px 0; - border-bottom:1px solid #e3e3e3; -} - -@media screen and (max-width:767px) { - .woocommerce. single-product .product_meta .sku_wrapper, - .woocommerce. single-product .product_meta .posted_in, - .woocommerce. single-product .product_meta .tagged_as, - .woocommerce.single-product .product_meta .sku_wrapper, - .woocommerce.single-product .product_meta .posted_in, - .woocommerce.single-product .product_meta .tagged_as { - border:0; - padding:5px 0; - } -} - -.woocommerce .single-product .product_meta span:last-child, -.woocommerce.single-product .product_meta span:last-child {border-bottom:0} - -.woocommerce div.product .woocommerce-tabs ul.tabs {padding:0} - -.woocommerce div.product .woocommerce-tabs ul.tabs:before { - width:0; - border-bottom:0; -} - -.woocommerce div.product .woocommerce-tabs ul.tabs li {padding:0} - -.woocommerce div.product .woocommerce-tabs ul.tabs li:before { - width:0; - height:0; - border:0; -} -.woocommerce div.product .woocommerce-tabs ul.tabs li:after { - width:0; - height:0; -} - -.woocommerce div.product .woocommerce-tabs ul.tabs li, -.woocommerce div.product .woocommerce-tabs ul.tabs li.active { - display:block; - background-color:transparent; - margin:0; - border:0; - border-bottom:1px solid rgba(0,0,0,0.1) -} - -.woocommerce div.product .woocommerce-tabs ul.tabs li a { - width:100%; - color:#888; -} -.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {color:#333} - -.woocommerce-tabs .panel {background-color:transparent} - -@media screen and (max-width:767px) { - .woocommerce div.product .woocommerce-tabs ul.tabs li {text-align:center} -} - -@media screen and (min-width:768px) { - .single-product div.product .woocommerce-tabs { - clear:both; - border-top:1px solid #e3e3e3; - padding-top:40px; - } - - .woocommerce-tabs ul.tabs { - width:29.4117647059%; - float:left; - margin-right:5.8823529412%; - text-align:left - } - - .woocommerce div.product .woocommerce-tabs ul.tabs li a {padding:12px 0} - - .woocommerce div.product .woocommerce-tabs ul.tabs li.active:after { - font-family:"themovation-icons"; - content:"c"; - width:20px; - height:auto; - font-size:14px; - color:#888; - top:12px; - border:0; - box-shadow:0 0 0; - } - - .woocommerce-tabs .panel { - width:64.7058823529%; - float:right; - margin-right:0; - margin-top:0 - } - - .woocommerce-tabs .panel h2 {margin-top:8px} - - .woocommerce-tabs:after { - clear:both; - display:table; - content:""; - } -} - -.woocommerce .wc-tab h2, .woocommerce .wc-tab h3, -.woocommerce .wc-tab h4, .woocommerce .wc-tab h5 {font-weight:normal} - -.woocommerce .wc-tab h2 {font-size:24px} - -.woocommerce .wc-tab .shop_attributes { - margin-top:25px; - border-top:0; -} - -.woocommerce table.shop_attributes td, -.woocommerce table.shop_attributes th, -.woocommerce table.shop_attributes .alt td, -.woocommerce table.shop_attributes .alt th { - background:transparent; - border:0; -} -.woocommerce table.shop_attributes th { - width:110px; - padding-left:0; -} - -.woocommerce #reviews h3 {margin:10px 0} - -.woocommerce #reviews .commentlist {padding:10px 0 0 0} - -.woocommerce #reviews #commentform .comment-form-author input, -.woocommerce #reviews #commentform .comment-form-email input {width:100%} - -.woocommerce #reviews #commentform label {font-weight:600} - -@media screen and (min-width:992px) { - .woocommerce #reviews #commentform .comment-form-author, - .woocommerce #reviews #commentform .comment-form-email { - width:48%; - float:left; - } - .woocommerce #reviews #commentform .comment-form-author {margin-right:4%} -} - -.woocommerce-tabs + .upsells.products, -.woocommerce-tabs + .related.products { - padding-top:30px; - margin-top:30px; - border-top:1px solid #e3e3e3; -} - -.upsells.products h2, .related.products h2 {text-align:center} - - -/* Show product title on homepage Woo Shortcode */ -.woocommerce div.product .product_title { - display:inherit; -} - - -/* Cart Page */ - -.woocommerce .shop_table.cart {border:0} - -@media screen and (min-width:992px) { - .woocommerce table.cart .product-thumbnail, - .woocommerce-cart table.cart .product-thumbnail {width:10%} -} - -.woocommerce .shop_table.cart thead th { - text-transform:uppercase; - font-size:13px; - padding:9px 0; -} - -.woocommerce .shop_table.cart td {padding:20px 0} - -.woocommerce table.cart .product-thumbnail img, -.woocommerce-cart table.cart img { - width:80px; - opacity:1; -} - -@media screen and (max-width:767px) { - .woocommerce .shop_table.cart thead tr th.product-price, - .woocommerce .shop_table.cart thead tr th.product-quantity {visibility:hidden} - - .woocommerce .shop_table.cart td.product-price { - padding-left:10px; - padding-right:10px; - } - - .woocommerce .shop_table.cart .cart_item .product-name, - .woocommerce .shop_table.cart .cart_item .product-name .variation dt, - .woocommerce .shop_table.cart .cart_item .product-name .variation dd, - .woocommerce .shop_table.cart .cart_item .product-name .variation dd p, - .woocommerce .shop_table.cart .cart_item .product-price, - .woocommerce .shop_table.cart .cart_item .product-subtotal { - font-size:13px; - } -} - -@media screen and (min-width:768px) { - .woocommerce .shop_table.cart .cart_item .product-name, - .woocommerce .shop_table.cart .cart_item .product-price, - .woocommerce .shop_table.cart .cart_item .product-subtotal { - font-size:16px - } -} - -.woocommerce .shop_table.cart .cart_item .product-name, -.woocommerce .shop_table.cart .cart_item .product-subtotal {font-weight:600} - -.woocommerce .shop_table.cart .cart_item .product-name .variation dt, -.woocommerce .shop_table.cart .cart_item .product-name .variation dd, -.woocommerce .shop_table.cart .cart_item .product-name .variation dd p { - font-size:14px; - line-height:130%; - padding-bottom:0; - margin-bottom:0; -} - -.woocommerce .shop_table.cart .cart_item .product-remove .remove { - float:right; - font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; -} - -.woocommerce .shop_table.cart td.actions .coupon .input-text { - height:auto; - padding:6px; - line-height:inherit; -} - -@media screen and (min-width:768px) { - .woocommerce .shop_table.cart td.actions .coupon .input-text {width:160px} - - .woocommerce .cart-collaterals .cart_totals, - .woocommerce-page .cart-collaterals .cart_totals { - float:right; - width:36%; - } -} - -.woocommerce .cart-collaterals .cart_totals h2, -.woocommerce .cart-collaterals .cross-sells h2 {font-size:22px} - -.woocommerce .cart-collaterals .cross-sells .products {padding-top:16px} - -.woocommerce .cart-collaterals .cross-sells ul.products li, -.woocommerce-page .cart-collaterals .cross-sells ul.products li {width:46%} - -.cart-collaterals .cart_totals table { - width:100%; - margin:0 0 6px; - border:0; -} - -.woocommerce .cart-collaterals .cart_totals table td, -.woocommerce .cart-collaterals .cart_totals table th { - vertical-align: top; - border-left: 0; - border-right: 0; - padding: 6px 0; - line-height: 2em; - background:transparent !important; -} - -.woocommerce .cart-collaterals .cart_totals table td {text-align:right} - -.woocommerce .cart-collaterals .cart_totals table tr td, -.woocommerce .cart-collaterals .cart_totals table tr th { - border-top: 1px solid #ebe9eb; -} -.woocommerce .cart-collaterals .cart_totals table tr:first-child td, -.woocommerce .cart-collaterals .cart_totals table tr:first-child th { - border-top: 0; -} - -/*.cart-collaterals .cart_totals th {font-weight:normal}*/ -.cart-collaterals .cart_totals .cart-subtotal .amount {font-size:16px} -.cart-collaterals .cart_totals .order-total .amount {font-size:20px} - -.cart-collaterals .cart_totals .order-total .includes_tax {display:block; font-size:90%} -.cart-collaterals .cart_totals .order-total .includes_tax .amount {font-size:inherit} - -.woocommerce ul#shipping_method li {text-indent:4px} - -.woocommerce .cart-collaterals .cart_totals table select, -.woocommerce-cart .cart-collaterals .cart_totals table select {width:auto} - -.woocommerce .cart-collaterals .cart_totals tr.shipping td > p, -.woocommerce-cart .cart-collaterals .cart_totals tr.shipping td > p {font-size:14px} - -.woocommerce .cart-collaterals p.wc-cart-shipping-notice small {font-size:90%} - -.woocommerce .wc-proceed-to-checkout {padding:1em 0} - -.woocommerce .wc-proceed-to-checkout a.checkout-button { - display:block; - text-align:center; - margin-bottom:1em; -} - -html .woocommerce .wc-proceed-to-checkout a.button { - padding-top:15px !important; - padding-bottom:15px !important; -} - - -/* Checkout Page */ - -.woocommerce .woocommerce-info { - padding:14px 20px !important; - border-radius:5px; -} -.woocommerce .woocommerce-info:before {display:none} - -.woocommerce .woocommerce-info a:link, -.woocommerce .woocommerce-info a:hover, -.woocommerce .woocommerce-info a:active {text-decoration:none} - -.woocommerce form.checkout_coupon, -.woocommerce form.login, .woocommerce form.register { - border:2px solid #e3e3e3; - border-radius:5px; -} - -.woocommerce form.login .form-row-first, .woocommerce form.login .form-row-last, -.woocommerce form.checkout_coupon .form-row-first, .woocommerce form.checkout_coupon .form-row-last { - max-width:320px; - float:left; -} - -.woocommerce form.checkout_coupon .form-row-first, -.woocommerce form.checkout_coupon .form-row-last {margin-bottom:0;} - -.woocommerce form.login .button { - margin:8px 14px 8px 0; -} - -.woocommerce form.login p {font-size:14px} - -.woocommerce-checkout .content-editor > .woocommerce:before, -.woocommerce-checkout .content-editor > .woocommerce:after { - display:table; - content:" "; -} -.woocommerce-checkout .content-editor > .woocommerce:after {clear: both} - -@media screen and (min-width:768px) { - - .woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1, - .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 { - width:100%; - float:none; - } - - .woocommerce .col2-set, .woocommerce-page .col2-set { - width:52.9411764706%; - float:left; - margin-right:5.8823529412% - } - - .woocommerce form.login .form-row-last {margin-left:40px} - - .woocommerce form.checkout_coupon input.button {height:40px; margin-left:12px} - - #order_review, #order_review_heading { - width:41.1764705882%; - float:right; - } - - .page-template-template-fullwidth-php.woocommerce-order-pay #order_review, - .woocommerce-order-pay #order_review { - border-width:3px; - width:100%; - float:none - } - - .page-template-template-fullwidth-php.woocommerce-order-pay #order_review #payment h3, - .woocommerce-order-pay #order_review #payment h3 { - padding-left:1em; - padding-top:1em; - } - - .page-template-template-fullwidth-php.woocommerce-order-pay #order_review #payment .form-row, - .page-template-template-fullwidth-php.woocommerce-order-pay #order_review .payment_methods+.form-row, - .woocommerce-order-pay #order_review #payment .form-row, - .woocommerce-order-pay #order_review .payment_methods+.form-row {padding:1em} - - .page-template-template-fullwidth-php.woocommerce-order-pay #order_review .button#place_order, - .woocommerce-order-pay #order_review .button#place_order { - display:block; - width:100%; - font-size:1.387em - } - - #wc_checkout_add_ons { - width:41.1764705882%; - float:left; - margin-right:5.8823529412% - } - -} - -@media screen and (max-width:767px) { - .woocommerce form .form-row-first, .woocommerce-page form .form-row-first - .woocommerce form .form-row-last, .woocommerce-page form .form-row-last { - width:100%; - float:none; - } -} - -.select2-container .select2-choice, -.select2-container .select2-selection--single { - height:40px; - font-size:13px; - line-height:1; - padding:0 15px; -} - -.select2-container--default .select2-selection--single .select2-selection__rendered { - line-height:38px; - padding-left:0; -} - -.select2-container--default .select2-selection--single .select2-selection__arrow {height:38px} - -.select2-container--default .select2-search--dropdown .select2-search__field:focus {outline:none} - -.select2-dropdown .select2-results li { - font-size:13px; - color:#5c5c5c; -} - -#order_review, #order_review_heading { - margin-right:0; - border:3px solid #e3e3e3; - clear:right; - padding-left:26px; - padding-right:26px; -} - -#order_review_heading { - margin-bottom:0; - padding-bottom:20px; - padding-top:26px; - border-width:3px 3px 0; -} - -#order_review {border-width:0 3px 3px} - -.woocommerce #order_review table.shop_table { - border:0; - border-radius:0 -} - -.woocommerce #order_review table.shop_table th, -.woocommerce #order_review table.shop_table td { - width:48%; - padding:14px 0; -} - -.woocommerce #order_review table.shop_table td.product-name dl.variation {display:none} - -.woocommerce #order_review table.shop_table thead th { - font-size:13px; - text-transform:uppercase; - padding:8px 0 -} - -.woocommerce #order_review table.shop_table .product-total, -.woocommerce #order_review table.shop_table .cart-subtotal td, -.woocommerce #order_review table.shop_table .shipping td, -.woocommerce #order_review table.shop_table .tax-rate td, -.woocommerce #order_review table.shop_table .order-total td {text-align:right} - -.woocommerce #order_review table.shop_table .shipping p { - font-size:13px; - margin-bottom:0; -} - -.woocommerce-checkout #payment { - background:transparent; - border-radius:0; -} - -.woocommerce-checkout #payment ul.payment_methods { - padding:0; - border:0; -} - -.woocommerce-checkout #payment ul.payment_methods li input { - margin:0 6px 0 0; -} - -.woocommerce-checkout #payment div.payment_box { - width:100%; - padding:12px 18px; - background-color:#edf7ff; - color:#666; - border-radius:5px; - border:1px solid #49aff5; - margin:0 0 16px; -} -.woocommerce-checkout #payment div.payment_box:before, -.woocommerce-checkout #payment div.payment_box:after {border:0} - -.woocommerce-checkout #payment div.payment_box p {font-size:13px} - -.woocommerce-checkout #payment .about_paypal {margin-left:10px} - -.woocommerce-checkout #payment div.form-row { - padding:14px 0 20px; -} - -.woocommerce-checkout #payment #place_order { - width:100%; - padding-top:15px; - padding-bottom:15px; -} - -.woocommerce #ship-to-different-address label { - display:inline; - padding-left:0; - font-weight:600; -} - -.woocommerce #ship-to-different-address-checkbox {margin-left:12px} - -.woocommerce form textarea#order_comments {height:90px} - -.woocommerce .order_details { - margin:25px 0; - padding-left:0; -} - - -/* Order Received Page */ - -body.woocommerce-order-received .woocommerce h2 {margin-top:40px} - -body.woocommerce-order-received .woocommerce table.shop_table {border-radius:0;} - -body.woocommerce-order-received table.shop_table dl.variation dd {margin-bottom:0} - -body.woocommerce-order-received table.shop_table dl.variation p { - font-size:inherit; - line-height:inherit; -} - -body.woocommerce-order-received table.shop_table th, -body.woocommerce-order-received table.shop_table td {padding:10px 12px;} - -body.woocommerce-order-received .order_details { - margin:25px 0 5px; - padding-left:0; -} - -body.woocommerce-order-received .order_details li {margin-bottom:20px} - - -/* My Account Page */ - -@media (max-width:767px) { - body.woocommerce-account .woocommerce-MyAccount-navigation, - body.woocommerce-account .woocommerce-MyAccount-content { - float:none; - width:100%; - } - .woocommerce-MyAccount-navigation {margin-bottom:40px} -} - - -/* Price Filter Widget */ - -.woocommerce.widget_price_filter .price_slider_amount, -.woocommerce.widget_price_filter .price_slider_amount .button {font-size:1em} - -.woocommerce.widget_price_filter .price_slider_amount { - margin-top:20px; - text-align:left; -} - -.woocommerce.widget_price_filter .price_slider_amount .button {float:right} - -.woocommerce.widget_price_filter .ui-slider .ui-slider-handle {background-color:#3A3B74} - -.woocommerce.widget_price_filter .price_slider_wrapper .ui-widget-content {background-color:#7d7d7d} - - -/* Shopping Cart Widget */ - -.woocommerce .widget_shopping_cart .cart_list li, -.woocommerce.widget_shopping_cart .cart_list li {padding:16px 0} - -.woocommerce.widget_shopping_cart .cart_list li:first-child {} - -.woocommerce ul.cart_list li a { - line-height:134%; - margin:0 22px 2px 0; -} - -.woocommerce ul.cart_list li img, -.woocommerce ul.product_list_widget li img { - width:56px; - float:left; - margin-left:0; - margin-right:15px; - opacity:1; -} - -.woocommerce .widget_shopping_cart .cart_list li a.remove, -.woocommerce.widget_shopping_cart .cart_list li a.remove { - font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; - top:16px; - left:auto; - right:0; - line-height:1; - margin:0; -} - -.woocommerce ul.cart_list li dl.variation {display:none} - -.woocommerce ul.cart_list li dl, -.woocommerce ul.product_list_widget li dl, -.woocommerce ul.cart_list li dl dt, -.woocommerce ul.product_list_widget li dl dt, -.woocommerce ul.cart_list li dl dd, -.woocommerce ul.product_list_widget li dl dd, -.woocommerce ul.cart_list li dl dd p, -.woocommerce ul.product_list_widget li dl dd p { - float:left; - font-size:13px; - line-height:130%; - padding:0; - border:0; - margin:0; -} -.woocommerce ul.cart_list li dl dt, -.woocommerce ul.product_list_widget li dl dt{ - margin-right:4px; -} - -.woocommerce ul.cart_list li .quantity { - font-size:14px; - float:none -} - -.woocommerce.widget_shopping_cart .total, -.woocommerce.widget_shopping_cart .buttons {text-align:right} - -.woocommerce .widget_shopping_cart .total, -.woocommerce.widget_shopping_cart .total { - margin-top:6px; - border-top:0; -} - - -/* Product Category Widget */ - -.widget.woocommerce.widget_product_categories ul li { - border-bottom:0; - padding:0; -} - -.widget.woocommerce.widget_product_categories li a { - padding:8px 0; - display:block; - border-bottom:1px solid #e6e6e6; -} - -.footer .widget.woocommerce.widget_product_categories li a { - border-bottom: 1px solid rgba(255,255,255,0.05); -} - -/*.widget.woocommerce.widget_product_categories ul.product-categories > li:first-child a {padding-top:0}*/ - - -/* Add to Cart Button */ - -.a2c-btn {display:inline-block} - -.a2c-btn a.button { - font-weight:400; - text-align:center; - padding:10px 45px; - margin-bottom:0; - border:1px solid transparent; - font-size:14px; - line-height:1.42857143; - vertical-align:middle; - cursor:pointer; - -webkit-transition:all 0.2s linear; - -moz-transition:all 0.2s linear; - transition:all 0.2s linear; -} -.a2c-btn a.button:hover {opacity:0.85} - -.a2c-ghost.woocommerce a.button { - color:#3A3B74; - background-color:transparent; - border-color:#3A3B74; -} -.a2c-ghost.woocommerce a.button:hover { - color:#fff; - background-color:#3A3B74; - border-color:#3A3B74; - opacity:1; -} - -.a2c-cta.woocommerce a.button { - display:inline-block; - background-color:#F5BE58; - padding:14px 60px; - font-size:18px; - font-weight:600; - text-transform:uppercase; - color:#fff; - white-space:nowrap; - border:0; - border-bottom:3px solid rgba(0, 0, 0, 0.15); - border-radius:50px; -} -.a2c-cta.woocommerce a.button:hover { - text-decoration:none; - background-color:#F5BE58; - font-weight:600; - color:#fff; - opacity:0.85; -} - -/* Cart indicator */ - -.themo_cart_icon { - position:relative; - float:right; - font-size:22px; - padding-left:22px; - margin-top:27px; - margin-left:12px; - border-left:1px solid rgba(0,0,0,0.1); -} -.headhesive--clone .themo_cart_icon { - margin-top:17px; -} - -.headhesive--clone.themo_cart_icon, -.headhesive--clone.banner[data-transparent-header="true"] .themo_cart_icon { - border-left:1px solid rgba(0,0,0,0.1); -} - -.themo_cart_icon a, -.themo_cart_icon a:link, -.themo_cart_icon a:hover, -.themo_cart_icon a:focus {text-decoration:none;} - -.themo_cart_icon a i, -.headhesive--clone.themo_cart_icon a i, -.headhesive--clone.banner[data-transparent-header="true"] .themo_cart_icon a i { - color:#5d5d5d; -} - -.themo_cart_icon span { - vertical-align: super; - font-size:10px; - line-height: 0; - top: -.5em; - color:#fff; - - background: #4da8e5; - border-radius: 25px; - position: absolute; - height: 14px; - text-align: center; - width: 14px; - right: -5px; - padding-top: 6px; -} - -.dark-header .themo_cart_icon a i, -.banner[data-transparent-header="true"] .themo_cart_icon a i, -.dark-header.headhesive--clone.banner[data-transparent-header="true"] .themo_cart_icon a i { - color:#fff; -} - -.dark-header .themo_cart_icon, -.banner[data-transparent-header="true"] .themo_cart_icon, -.dark-header.headhesive--clone.banner[data-transparent-header="true"] .themo_cart_icon { - border-left:1px solid rgba(255,255,255,0.1); -} - - -@media (max-width:767px) { - .themo_cart_icon {display:none} -} - -@media (min-width:768px) { - .themo_cart_icon + .navbar-collapse .navbar-nav li:last-child.th-accent {margin-right:10px} -} - - -/* ========================================================================== - Booked Calendar Widget - ========================================================================== */ - -.th-book-cal-large {max-width:700px} - -.th-book-cal-small {max-width:400px} - -.th-book-cal-large, -.th-book-cal-small { - margin-left:auto; - margin-right:auto; -} - -.th-book-cal-large.th-left, -.th-book-cal-small.th-left {margin-left:0} - -.th-book-cal-large.th-right, -.th-book-cal-small.th-right {margin-right:0} - -@media (min-width:1100px) { - body table.booked-calendar th .monthName {font-size:20px} -} - - -/* Calendar in Column */ - -@media screen and (min-width:721px){ - body .th-book-cal-small table.booked-calendar .booked-appt-list { max-height:190px; overflow-y: scroll; overflow-x: hidden; padding:15px 20px 10px; } - body .th-book-cal-small table.booked-calendar .booked-appt-list h2 { text-align:center; margin:0 0 15px; font-size:16px; } - body .th-book-cal-small table.booked-calendar .booked-appt-list h2 span { display:none } - body .th-book-cal-small table.booked-calendar .booked-appt-list .timeslot { border-top:0; margin:0 0 6px; } - body .th-book-cal-small table.booked-calendar .booked-appt-list .timeslot .timeslot-time, - body .th-book-cal-small table.booked-calendar .booked-appt-list .timeslot .timeslot-count { display:none; } - body .th-book-cal-small table.booked-calendar .booked-appt-list .timeslot .timeslot-people { width:100%; padding:0; height:auto; } - body .th-book-cal-small table.booked-calendar .booked-appt-list .timeslot .timeslot-people button { float:none; margin:0; width:100%; text-align:center; } - - body .th-book-cal-small table.booked-calendar .booked-appt-list .timeslot .timeslot-people button .button-timeslot { display:block; font-weight:600; font-size:13px; } - body .th-book-cal-small table.booked-calendar .booked-appt-list .timeslot .timeslot-people button .button-text { display:none; } -} - -/* Calendar on Page w/ Sidebar */ - -@media screen and (min-width:721px) and (max-width:991px) { - body .main.col-sm-8 table.booked-calendar .booked-appt-list h2 { text-align:center; margin:0 0 15px; font-size:16px; } - body .main.col-sm-8 table.booked-calendar .booked-appt-list h2 span { display:none } - body .main.col-sm-8 table.booked-calendar .booked-appt-list .timeslot { border-top:0; margin:0 0 6px; } - body .main.col-sm-8 table.booked-calendar .booked-appt-list .timeslot .timeslot-time, - body .main.col-sm-8 table.booked-calendar .booked-appt-list .timeslot .timeslot-count { display:none; } - body .main.col-sm-8 table.booked-calendar .booked-appt-list .timeslot .timeslot-people { width:100%; padding:0; height:auto; } - body .main.col-sm-8 table.booked-calendar .booked-appt-list .timeslot .timeslot-people button { float:none; margin:0; width:100%; text-align:center; } - - body .main.col-sm-8 table.booked-calendar .booked-appt-list .timeslot .timeslot-people button .button-timeslot { display:block; font-weight:600; font-size:13px; } - body .main.col-sm-8 table.booked-calendar .booked-appt-list .timeslot .timeslot-people button .button-text { display:none; } -} - -@media screen and (min-width:1200px) { - body .main.col-sm-8 table.booked-calendar .booked-appt-list .timeslot .timeslot-time {width:35%} - body .main.col-sm-8 table.booked-calendar .booked-appt-list .timeslot .timeslot-count {width:35%} -} - -/* Full Calendar at Smaller Screen Sizes */ - -@media screen and (min-width:721px) and (max-width:767px) { - body .th-book-cal-large table.booked-calendar .booked-appt-list { max-height:190px; overflow-y: scroll; overflow-x: hidden; padding:15px 20px 10px; } - body .th-book-cal-large table.booked-calendar .booked-appt-list h2 { text-align:center; margin:0 0 15px; font-size:16px; } - body .th-book-cal-large table.booked-calendar .booked-appt-list h2 span { display:none } - body .th-book-cal-large table.booked-calendar .booked-appt-list .timeslot { border-top:0; margin:0 0 6px; } - body .th-book-cal-large table.booked-calendar .booked-appt-list .timeslot .timeslot-time, - body .th-book-cal-large table.booked-calendar .booked-appt-list .timeslot .timeslot-count { display:none; } - body .th-book-cal-large table.booked-calendar .booked-appt-list .timeslot .timeslot-people { width:100%; padding:0; height:auto; } - body .th-book-cal-large table.booked-calendar .booked-appt-list .timeslot .timeslot-people button { float:none; margin:0; width:100%; text-align:center; } - - body .th-book-cal-large table.booked-calendar .booked-appt-list .timeslot .timeslot-people button .button-timeslot { display:block; font-weight:600; font-size:13px; } - body .th-book-cal-large table.booked-calendar .booked-appt-list .timeslot .timeslot-people button .button-text { display:none; } -} - -@media screen and (min-width:768px) and (max-width:991px) { - body .th-book-cal-large table.booked-calendar .booked-appt-list .timeslot .timeslot-time {font-size:14px} -} - - -/* ========================================================================== - Button Widget - ========================================================================== */ - -.elementor-widget-themo-button .th-btn { - margin-top:5px; - margin-bottom:5px; -} -.elementor-widget-themo-button .btn-image {display:inline-block} - -.elementor-widget-themo-button .btn-1 {margin-right:6px} - -.elementor-widget-themo-button.th-btn-align-center .th-btn { - margin-left:3px; - margin-right:3px; -} - -.elementor-widget-themo-button.th-btn-align-right .btn-1 {margin-right:0} -.elementor-widget-themo-button.th-btn-align-right .btn-2 {margin-left:6px} - - -/* ========================================================================== - Call To Action Widget - ========================================================================== */ - -.th-cta {text-align:center} - -.th-cta .th-cta-text, -.th-cta .th-cta-btn {display:inline-block} - -.th-cta .th-cta-text span { - font-size:24px; - color:#3A3B74; - margin-left:15px; - margin-right:15px; -} - -.th-cta .th-cta-btn {margin:10px 15px} - -.th-cta .btn-cta, -.th-cta .a2c-cta a.button {margin:5px 5px 8px} - -.th-cta .th-btn { - font-size:18px; - padding:12px 45px; - margin:5px 5px 10px; -} - -.th-cta .btn-image { - display:inline-block; - padding:0 !important; -} - - -/* ========================================================================== - FAQ Widget - ========================================================================== */ - -.th-faq {} - -.th-faq dl dt { - padding-top:20px; - color:#515151; - font-size:18px; - font-weight:600; -} - -.th-faq dl dd { - padding:10px 0 20px 0; - border-bottom:1px solid #e2e3e4; - color:#5c5c5c; - line-height:24px; -} - -.th-light-text .th-faq dl dt, -.th-light-text .th-faq dl dd {color:#fff} - - -/* ========================================================================== - Formidable Forms Widget - ========================================================================== */ - -/* General */ - -.th-fo-form {margin:0 auto} - -.th-fo-form.th-left {margin-left:0} -.th-fo-form.th-right {margin-right:0} - - -/* Inline Form Style */ - -.th-conversion { - padding-top:10px; - text-align:center; -} - -.th-conversion .frm_forms.with_frm_style {max-width:100% !important} - -.th-conversion .with_frm_style form {text-align:center} - -.th-conversion .frm_form_field {position:relative} - -.th-conversion form input { - width:225px !important; - height:56px !important; - /*border-radius:5px !important; */ - margin:5px 10px !important; - border:1px solid #d3d3d3; - padding:0 20px; -} -.th-conversion form input[type=submit], -.th-conversion .with_frm_style input[type=submit] { - width:225px; - height:56px; - padding:0; - background-color:#3A3B74; - color:#fff; - box-sizing:border-box !important; - /*border-radius:50px !important; - border:0 !important; - border-bottom:3px solid rgba(0, 0, 0, 0.1) !important; */ -} -.th-conversion form input[type=submit]:hover, -.th-conversion form input[type=submit]:active, -.th-conversion form input[type=submit]:focus, -.th-conversion .with_frm_style input[type=submit]:hover, -.th-conversion .with_frm_style input[type=submit]:active, -.th-conversion .with_frm_style input[type=submit]:focus { - opacity:0.85; -/* border:0 !important; - border-bottom:3px solid rgba(0, 0, 0, 0.1) !important; */ -} - -#frm_submit_entry {text-align:center} - -.th-conversion fieldset, -.th-conversion div, -.th-conversion .frm_form_field, -.th-conversion .frm_submit {display:inline-block !important} - -.th-conversion .frm_form_fields {display:block !important} - -.th-conversion form .frm_top_container label { - display:block !important; - text-align:left; - margin-left:10px !important; -} - -.th-conversion .frm_error { - position:absolute; - left:10px; - bottom:-12px; - line-height:1.4; -} - -.th-conversion .frm_ajax_loading {display:none} - -.th-conversion.th-left, -.th-conversion.th-left .with_frm_style form {text-align:left} - -.th-conversion.th-right, -.th-conversion.th-right .with_frm_style form {text-align:right} - -.th-conversion.th-left form input {margin:5px 20px 5px 0 !important} -.th-conversion.th-right form input {margin:5px 0 5px 20px !important} - -.th-conversion.th-left .frm_error {left:0} -.th-conversion.th-right .frm_error {left:20px} - - -/* Stacked Form Style */ - -.th-form-stacked { - width:100%; - padding:25px; -} - -.th-form-stacked.th-form-bg.th-light-bg {background:rgba(255,255,255,0.3)} -.th-form-stacked.th-form-bg.th-dark-bg {background:rgba(0,0,0,0.2)} - -.th-form-stacked.th-form-bg fieldset {padding-bottom:0 !important} - -.th-form-stacked form input { - height:56px !important; -} - -.th-form-stacked form input[type=submit], -.th-form-stacked .with_frm_style input[type=submit] { - height:56px; - /*border:0 !important; - border-bottom:3px solid rgba(0, 0, 0, 0.1) !important; */ -} - -.th-form-stacked form, -.th-form-stacked form input, -.th-form-stacked form textarea, -.th-form-stacked form .frm_submit, -.th-form-stacked .frm_error_style { - /* width:400px !important; */ - width:100% !important; - margin-left:0 !important; - margin-right:0 !important; -} - -.th-form-stacked form input {margin:0 !important} -.th-form-stacked form textarea {margin-bottom:-5px !important} - -.th-form-stacked .with_frm_style form {text-align:left} -.th-form-stacked .frm_error { - position:relative; - left:0; - bottom:0; -} - -.th-form-stacked .frm_submit .frm_ajax_loading {display:none} - -/* Button Styles */ - -/* -.th-btn-form .frm_submit input[type=submit] { - font-size:15px; - font-weight:600; - padding:10px 30px; - border-radius:50px; - white-space:normal; - -webkit-transition: all 0.2s linear; - -moz-transition: all 0.2s linear; - transition: all 0.2s linear; -} -.th-btn-form .frm_submit input[type=submit]:focus {color:#fff} */ - -.btn-standard-primary-form form .frm_submit input[type=submit], -.btn-standard-primary-form form .frm_submit input[type=submit]:hover { - color:#fff; - background-color:#3A3B74; - border-color:#3A3B74; -} - -.btn-standard-accent-form form .frm_submit input[type=submit], -.btn-standard-accent-form form .frm_submit input[type=submit]:hover { - color:#fff; - background-color:#F5BE58; - border-color:#F5BE58; -} - -.btn-standard-light-form form .frm_submit input[type=submit], -.btn-standard-light-form form .frm_submit input[type=submit]:hover { - color:#1b1b1b; - background-color:#fff; - border-color:#fff; -} - -.btn-standard-dark-form form .frm_submit input[type=submit], -.btn-standard-dark-form form .frm_submit input[type=submit]:hover { - color:#fff; - background-color:#1b1b1b; - border-color:#1b1b1b; -} - -.btn-standard-primary-form form .frm_submit input[type=submit]:hover, -.btn-standard-accent-form form .frm_submit input[type=submit]:hover, -.btn-standard-dark-form form .frm_submit input[type=submit]:hover { - color:#fff; - opacity:0.85; -} -.btn-standard-light-form form .frm_submit input[type=submit]:hover, -.btn-standard-light-form form .frm_submit input[type=submit]:focus { - color:#1b1b1b; - opacity:0.85; -} - -.btn-ghost-primary-form form .frm_submit input[type=submit], -.btn-ghost-accent-form form .frm_submit input[type=submit], -.btn-ghost-light-form form .frm_submit input[type=submit], -.btn-ghost-dark-form form .frm_submit input[type=submit] {border-width:2px; border-style:solid} - -.btn-ghost-primary-form form .frm_submit input[type=submit] { - color:#3A3B74; - background-color:transparent; - border-color:#3A3B74; -} -.btn-ghost-primary-form form .frm_submit input[type=submit]:hover { - color:#fff; - background-color:#3A3B74; - border-color:#3A3B74; -} - -.btn-ghost-accent-form form .frm_submit input[type=submit] { - color:#F5BE58; - background-color:transparent; - border-color:#F5BE58; -} -.btn-ghost-accent-form form .frm_submit input[type=submit]:hover { - color:#fff; - background-color:#F5BE58; - border-color:#F5BE58; -} - -.btn-ghost-light-form form .frm_submit input[type=submit] { - color:#fff; - background-color:transparent; - border-color:#fff; -} -.btn-ghost-light-form form .frm_submit input[type=submit]:hover, -.btn-ghost-light-form form .frm_submit input[type=submit]:focus { - color:#1b1b1b; - background-color:#fff; - border-color:#fff; -} - -.btn-ghost-dark-form form .frm_submit input[type=submit] { - color:#1b1b1b; - background-color:transparent; - border-color:#1b1b1b; -} -.btn-ghost-dark-form form .frm_submit input[type=submit]:hover { - color:#fff; - background-color:#1b1b1b; - border-color:#1b1b1b; -} - -.btn-cta-primary-form form .frm_submit input[type=submit], -.btn-cta-accent-form form .frm_submit input[type=submit] { - display:inline-block; - padding:14px 60px; - font-size:18px; - font-weight:600; - text-transform:uppercase; - color:#fff; - white-space:nowrap; - border:0; - border-bottom:3px solid rgba(0, 0, 0, 0.15); -} -.btn-cta-primary-form form .frm_submit input[type=submit] {background-color:#3A3B74;} -.btn-cta-accent-form form .frm_submit input[type=submit] {background-color:#F5BE58;} - -.btn-cta-primary-form form .frm_submit input[type=submit]:hover, -.btn-cta-accent-form form .frm_submit input[type=submit]:hover { - text-decoration:none; - color:#fff; - opacity:0.85; - border-bottom:3px solid rgba(0, 0, 0, 0.15); -} - -.btn-cta-primary-form form .frm_submit input[type=submit]:hover {background-color:#3A3B74;} -.btn-cta-accent-form form .frm_submit input[type=submit]:hover {background-color:#F5BE58;} - - -/* ========================================================================== - Header Widget - ========================================================================== */ - -/* General */ - -.th-header-wrap .elementor-icon-box-title, -.th-header-wrap .elementor-icon-box-description { - margin-left:5px; - margin-right:5px; -} - -.th-header-wrap .elementor-icon-box-title {margin-top:0} - -.elementor-widget-themo-header .th-header-wrap .elementor-icon-box-title {color:#3A3B74} - -.th-header-wrap .th-header-divider { - height:0; - display:inline-block; - border:1px solid #1e8190; - margin-left:5px; - margin-right:5px; - margin-bottom:18px; -} - -.th-header-wrap h1 + .th-header-divider {width:60px; margin-top:2px} - -.th-header-wrap h2 + .th-header-divider {width:54px;} - -.th-header-wrap h3 + .th-header-divider {width:50px; margin-bottom:14px} - -.th-header-wrap h4 + .th-header-divider {width:44px; margin-bottom:14px} - -.th-header-wrap h5 + .th-header-divider {width:42px; margin-bottom:10px} - -.th-header-wrap h6 + .th-header-divider {width:30px; margin-bottom:10px} - -.elementor-widget-themo-header .elementor-icon-box-content h1 ~ p {font-size:18px} - -.elementor-widget-themo-header .th-btn-wrap {margin-top:32px} - -.elementor-widget-themo-header .th-btn-wrap .th-btn {margin:0 5px 10px 5px} - -@media (min-width:480px) { - .elementor-widget-themo-header .elementor-icon-box-content h1 ~ .th-btn-wrap .th-btn { - font-size: 17px; - padding: 12px 38px; - } -} - -.elementor-widget-themo-header .th-btn-wrap .btn-image {padding:0 !important} - -.th-header-wrap .elementor-icon-box-description {white-space:pre-line} - -/* Default icon */ - -.elementor-widget-themo-header .th-header-wrap .elementor-icon, -.elementor-widget-themo-header.elementor-view-default .th-header-wrap .elementor-icon {color:#F5BE58} - -/* Framed */ - -.elementor-widget-themo-header.elementor-view-framed .th-header-wrap .elementor-icon { - padding:0.65em; - color:#F5BE58; - border-color:#F5BE58; -} - -/* Filled */ - -.elementor-widget-themo-header.elementor-view-stacked .th-header-wrap .elementor-icon { - padding:0.65em; - color:#fff; - background-color:#F5BE58; -} - -/* Icon Positioned Top */ - -.elementor-widget-themo-header .th-header-wrap .elementor-icon-box-icon {margin-bottom:15px} - -/* Icon Positioned Left / Right */ - -.elementor-widget-themo-header.elementor-position-left .th-header-wrap .elementor-icon-box-wrapper.th-show-icon { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - text-align: left; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; -} - -.elementor-widget-themo-header.elementor-position-right .th-header-wrap .elementor-icon-box-wrapper.th-show-icon { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - text-align: right; - -webkit-box-orient: horizontal; - -webkit-box-direction: reverse; - -ms-flex-direction: row-reverse; - flex-direction: row-reverse; -} - -.elementor-widget-themo-header.elementor-position-left .th-header-wrap .elementor-icon-box-icon, -.elementor-widget-themo-header.elementor-position-right .th-header-wrap .elementor-icon-box-icon { - -webkit-box-flex: 0; - -ms-flex: 0 0 auto; - flex: 0 0 auto; -} - -.elementor-widget-themo-header.elementor-position-left .th-header-wrap .elementor-icon-box-icon {margin-right:15px; margin-bottom:0} - -.elementor-widget-themo-header.elementor-position-right .th-header-wrap .elementor-icon-box-icon {margin-left:15px; margin-bottom:0} - - -/* ========================================================================== - Image Gallery Widget - ========================================================================== */ - -.elementor-section-full_width .elementor-image-gallery .gallery { - width: calc(100% - 30px); - margin:0 auto; -} - -.row.gallery-row {padding:15px 0} - -.gallery .img-thumbnail { - padding:0; - border:0; - border-radius:0; - margin:0 auto; -} - -.gallery a.img-thumbnail { - -webkit-transition:all 0.25s linear; - -moz-transition:all 0.25s linear; - transition:all 0.25s linear; -} -.gallery a.img-thumbnail:hover {opacity:0.7} - -.gallery .gallery-text { - text-align:center; - overflow:hidden; - background:#fff; - padding:20px 20px 10px; - border:1px solid #e4e4e4; - border-top:0; -} - -.gallery .image-title { - color:#515151; - font-size:18px; - font-weight:600; - margin-bottom:10px; -} -.gallery .caption { - color:#5c5c5c; - margin-bottom:10px; -} - -@media (max-width:767px) { - .row.gallery-row {padding:0} - - .row.gallery-row > div {margin:15px auto} -} - - -/* ========================================================================== - Info Card Widget - ========================================================================== */ - -.elementor-widget-themo-info-card .th-info-card-wrap { - padding:40px; - border-radius:5px; - box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.24), 0 0 8px 0 rgba(0, 0, 0, 0.12); -} - -.elementor-widget-themo-info-card .th-info-card-wrap .elementor-icon-box-title { - font-size:28px; - color:#3A3B74; - margin:0 0 20px; -} - -.elementor-widget-themo-info-card .th-info-card-wrap .elementor-icon-box-description { - color:#5c5c5c; - white-space:pre-line; -} - -.elementor-widget-themo-info-card .th-info-card-wrap .th-btn-wrap { - margin-top:25px; -} - -.elementor-widget-themo-info-card .th-info-card-wrap .th-btn-wrap a { - display:block; - color:#6772e5; - font-weight:600; - text-transform:uppercase; - text-decoration:none; -} -.elementor-widget-themo-info-card .th-info-card-wrap .th-btn-wrap a:after { - font: normal normal normal 14px/1 FontAwesome; - content:"\f061"; - margin-left:5px; -} -.elementor-widget-themo-info-card .th-info-card-wrap .th-btn-wrap a:hover {opacity:0.7} - -.elementor-widget-themo-info-card .th-info-card-wrap .th-btn-wrap .th-btn-2 {margin-top:6px} - - -@media (max-width:767px) { - .elementor-widget-themo-info-card .th-info-card-wrap {padding:30px} -} - - -/* ========================================================================== - Itinerary Widget - ========================================================================== */ - -.th-itin-narrow {max-width:450px} -.th-itin-med {max-width:700px} -.th-itin-fw {max-width:none} - -.th-itin-center {margin:0 auto} - -.th-itin-single { - margin-bottom:10px; - position:relative; -} - -.th-itin-icon { - position:absolute; - top:3px; - font-size:22px; - color:rgba(35,35,35,1); -} - -.th-itin-title { - padding-left:42px; - font-size:18px; - cursor: pointer; -} - -.th-itin-content { - padding:8px 0 28px 30px; - margin:10px 0 0 8px; - font-size:15px; - border-left:2px solid rgba(35,35,35,0.25); -} - -.th-itin-inactive .th-itin-content {display:none} - - -/* ========================================================================== - Map Widget - ========================================================================== */ - -.th-google-map { - background-repeat:no-repeat; - background-size:cover; - background-position:center; -} - -.map-info { - position:absolute; - top:50px; - left:50px; - z-index:2; - min-width:290px; - background:#fff; - padding:25px; - border-radius:5px; - box-shadow:0 8px 8px 0 rgba(0, 0, 0, 0.24), 0 0 8px 0 rgba(0, 0, 0, 0.12); -} - -.map-info h3 { - font-size:22px; - color:#3A3B74; - margin:0 0 20px; -} - -.map-info a { - color:#6772e5; - font-weight:600; - text-transform:uppercase; - text-decoration:none; - margin-top:5px; -} -.map-info a:last-child { - padding-left:20px; -} - -@media (max-width:400px) { - .map-info { - top:20px; - left:20px; - min-width:0; - } -} - - -/* ========================================================================== - Package Widget - ========================================================================== */ - -.th-package { - max-width:560px; - position:relative; -} -.elementor-section-full_width .th-package {max-width:680px} - -.th-package a.th-pkg-click { - position:absolute; - top:0; - right:0; - bottom:0; - left:0; - display:block; - width:100%; - height:100%; - z-index:20; -} - -.th-pkg-info { - position:absolute; - top:20px; - right:20px; - padding:12px; - text-align:center; - background:rgba(0,0,0,0.2); - border-radius:4px; -} - -.th-pkg-info h4, -.th-pkg-info span { - line-height:100%; - margin:0; -} - -.th-pkg-content { - font-size:15px; - padding:28px; - margin-top:-1px; - background-color: #f1f1f1; -} - -.th-pkg-content h3 { - font-size:22px; - color:#3A3B74; - margin:0 0 10px; -} - -.th-package-pre-title { - font-size:13px; - margin-bottom:7px; - text-transform:uppercase; -} - -.th-pkg-img img {border-radius:5px 5px 0 0} -.th-pkg-content {border-radius:0 0 5px 5px} - -@media (max-width:767px) { - .th-package {margin:0 auto} -} - - -/* ========================================================================== - Price List Widget - ========================================================================== */ - -.th-plist-item:before, -.th-plist-item:after { - content:" "; - display:table; -} - -.th-plist-item:after { - clear:both; -} - -.th-plist-item {margin-bottom:10px} - -.th-price-list.th-show-divider .th-plist-item { - padding-bottom:10px; - border-bottom:1px solid #DEDEDE; - margin-bottom:15px; -} - -.th-plist-item:last-child, -.th-price-list.th-show-divider .th-plist-item:last-child { - border-bottom:0; - margin-bottom:0; -} - -.th-plist-title { - display:block; - font-size:20px; -} - -.th-plist-subtitle {font-size:14px} - -.th-plist-content { - width:70%; - float:left; - padding:0 15px 0 0; -} - -.th-plist-description { - padding-top:10px; - font-size:14px; -} - -.th-plist-price { - width:30%; - float:left; - text-align:right; -} - -.th-plist-price-number { - display:block; - font-size:34px; -} - -.th-plist-price-text {font-size:13px} - - -/* ========================================================================== - Pricing Plans Widget - ========================================================================== */ - -.th-pricing-table { - padding:30px 15px; -} - -.th-pricing-column { - text-align:center; - padding:40px 30px; - border:1px solid #e4e4e4; - border-left:0; - background-color:#fff; -} -.th-pricing-column:first-child {border-left:1px solid #e4e4e4} - -.th-pricing-column.th-highlight { - position:relative; - z-index:100; - margin:-20px -1px 0 -1px; - padding:60px 30px; - background-color:#3A3B74; - border:0; -} -.th-pricing-column.th-highlight .th-pricing-cost, -.th-pricing-column.th-highlight .th-pricing-title, -.th-pricing-column.th-highlight .th-pricing-sub-title, -.th-pricing-column.th-highlight ul li { - border-color:rgba(255,255,255,0.2); - color:#fff; -} - -.th-one-col .th-pricing-column.th-highlight { - margin-left:25%; - margin-right:25%; -} - -.th-pricing-title { - font-size:24px; - color:#515151; - font-weight:600; - margin-bottom:2px; -} - -.th-pricing-cost { - font-size:46px; - color:#3A3B74; - font-weight:600; - margin:25px 0 5px; -} -.th-pricing-cost span { - font-size:20px; - font-weight:400; -} - -.th-pricing-table ul, .th-pricing-table ul li { - list-style:none; - margin:0; - padding:0; -} -.th-pricing-table ul { - padding-bottom:20px; - margin-bottom:15px; -} -.th-pricing-table ul li { - font-size:15px; - color:#5c5c5c; - padding:16px 0; - border-bottom:1px solid #e7e7e7; -} - -.th-pricing-table .th-btn { - margin:15px 5px 0; -} - -.th-pricing-table p.a2c-btn {margin-bottom:0} - -.th-pricing-footer { - text-align:center; - font-size:13px; - padding-top:20px; -} - - -/* ========================================================================== - Service Block Widget - ========================================================================== */ - -/* General */ - -.th-service-block-w .elementor-icon-box-title {margin-top:0} - -.elementor-widget-themo-service-block .th-service-block-w .elementor-icon-box-title {color:#3A3B74} - -.th-service-block-w .elementor-icon-box-description {white-space:pre-line} - -.th-service-block-w a.elementor-icon, -.th-service-block-w a.elementor-icon:hover {text-decoration:none} - -.th-service-block-w .elementor-icon-box-title a {color: inherit;} - -/* Default icon */ - -.elementor-widget-themo-service-block .th-service-block-w .elementor-icon, -.elementor-widget-themo-service-block.elementor-view-default .th-service-block-w .elementor-icon {color:#F5BE58} - -/* Framed */ - -.elementor-widget-themo-service-block.elementor-view-framed .th-service-block-w .elementor-icon { - padding:0.65em; - color:#F5BE58; - border-color:#F5BE58; -} - -/* Filled */ - -.elementor-widget-themo-service-block.elementor-view-stacked .th-service-block-w .elementor-icon { - padding:0.65em; - color:#fff; - background-color:#F5BE58; -} - -/* Icon Positioned Top */ - -.elementor-widget-themo-service-block.elementor-position-top .th-service-block-w .elementor-icon-box-wrapper {text-align:center} - -.elementor-widget-themo-service-block .th-service-block-w .elementor-icon-box-icon {margin-bottom:12px} - -/* Icon Positioned Left / Right */ - -.elementor-widget-themo-service-block.elementor-position-left .th-service-block-w .elementor-icon-box-wrapper.th-show-icon { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - text-align: left; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; -} - -.elementor-widget-themo-service-block.elementor-position-right .th-service-block-w .elementor-icon-box-wrapper.th-show-icon { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - text-align: right; - -webkit-box-orient: horizontal; - -webkit-box-direction: reverse; - -ms-flex-direction: row-reverse; - flex-direction: row-reverse; -} - -.elementor-widget-themo-service-block.elementor-position-left .th-service-block-w .elementor-icon-box-icon, -.elementor-widget-themo-service-block.elementor-position-right .th-service-block-w .elementor-icon-box-icon { - -webkit-box-flex: 0; - -ms-flex: 0 0 auto; - flex: 0 0 auto; -} - -.elementor-widget-themo-service-block.elementor-position-left .th-service-block-w .elementor-icon-box-icon {margin-right:15px; margin-bottom:0} - -.elementor-widget-themo-service-block.elementor-position-right .th-service-block-w .elementor-icon-box-icon {margin-left:15px; margin-bottom:0} - - -/* ========================================================================== - Slider Widget - ========================================================================== */ - -#main-flex-slider { - background:transparent; -} - -#main-flex-slider .slider-bg {display:flex; flex-direction: column;} - -#main-flex-slider .th-slide-wrap, -#main-flex-slider .th-slider-overlay, -#main-flex-slider .has-image-bg { - position:absolute; - width:100%; - height:100%; -} - -#main-flex-slider .th-slide-inner { - height:100%; - flex:1 0 100%; -} - -#main-flex-slider .th-slide-inner { - display:flex; - padding:40px; -} - -#main-flex-slider .th-slide-content {width:100%} - -.th-slide-inner.th-left {text-align:left} -.th-slide-inner.th-centered {text-align:center} -.th-slide-inner.th-right {text-align:right} - -#main-flex-slider .slides img { - width:auto; - max-width:100%; -} - -#main-flex-slider .slides h1 { - font-size:44px; - font-weight:300; - color:#3A3B74; - margin-bottom:20px; -} - -#main-flex-slider .slider-subtitle p { - font-size:22px; - font-weight:300; - color:#2e2e2e; - margin-bottom:30px; -} - -#main-flex-slider .th-btn {margin:8px 5px;} - -#main-flex-slider .th-btn:not(.btn-cta-primary):not(.btn-cta-accent) { - font-size:17px; - padding:12px 38px; -} -#main-flex-slider .btn-cta-primary, -#main-flex-slider .btn-cta-accent {padding:12px 50px} - -#main-flex-slider .slides .btn-image img {display:inline} - -#main-flex-slider .slides .btn-image { - display:inline-block; - padding:0 !important; -} - -#main-flex-slider .slides .hero {margin:20px auto} - -#main-flex-slider .th-left .hero {margin-left:0} -#main-flex-slider .th-right .hero {margin-right:0} - -.flex-direction-nav a { - width:60px; - height:60px; - background-color:#111; - padding:0 !important; - margin-top:-30px; - overflow:visible; - border-radius:5px; -} -.flex-direction-nav a:before { - font-family: "themovation-icons" !important; - font-size:22px; - line-height:60px; -} -.flexslider:hover .flex-next:hover, -.flexslider:hover .flex-prev:hover {opacity:0.65; color:#fff} - -.flex-direction-nav .flex-next:before {content:"c" !important} -.flex-direction-nav .flex-prev:before {content:"a" !important} - -.flex-direction-nav .flex-prev { - opacity:0.1; - left:0; - text-align:center; - border-bottom-left-radius:0; - border-top-left-radius:0; -} -.flexslider:hover .flex-prev { - opacity:0.35; - left:0; -} - -.flex-direction-nav .flex-next { - opacity:0.1; - right:0; - text-align:center; - border-bottom-right-radius:0; - border-top-right-radius:0; -} -.flexslider:hover .flex-next { - opacity:0.35; - right:0; -} - -#main-flex-slider .flex-control-nav { - bottom:20px; - z-index:5; -} - -#main-flex-slider .slider-scroll-down + .flex-control-nav { - text-align:right; - padding-right:20px; -} -#main-flex-slider .slider-scroll-down + .flex-control-nav li a {color:transparent} - - -/* Slider Scroll Down Arrow */ - -a.slider-scroll-down { - width:50px; - height:50px; - position:absolute; - bottom:10px; - left:50%; - display:block; - margin-left:-25px; - color:#fff; - font-size:25px; - line-height:54px; - text-align:center; - text-decoration:none; - opacity:0.6; - border-radius:50em; - z-index:1000; - transition:all 0.2s ease-in-out; -} -.slider-scroll-down:hover { - color:#fff; - opacity:1; - text-decoration:none; - transform: translate(0,8px); -} - - -/* Slider Form - Inline */ - -#main-flex-slider .th-conversion { - padding-top:40px; - padding-bottom:20px; -} - -#main-flex-slider .th-conversion form input {border-color:#ababab} - -#main-flex-slider .th-conversion form input[type=submit], -#main-flex-slider .th-conversion .with_frm_style input[type=submit] {border-color:rgba(0, 0, 0, 0.1)} - -#main-flex-slider .th-conversion .frm_message p { - font-size:14px; - color:#468847; - margin-bottom:0; -} - -.th-left .th-conversion, -.th-left .th-conversion .with_frm_style form {text-align:left} - -.th-right .th-conversion, -.th-right .th-conversion .with_frm_style form {text-align:right} - -.th-left .th-conversion form input {margin:5px 20px 5px 0 !important} -.th-right .th-conversion form input {margin:5px 0 5px 20px !important} - -.th-left .th-conversion .frm_error {left:0} -.th-right .th-conversion .frm_error {left:20px} - -/* Slider Form - Stacked */ - -#main-flex-slider .th-form-stacked { - width:100%; - padding:25px; - margin:20px auto 0; -} -#main-flex-slider .th-form-bg.th-light-bg .th-form-stacked {background:rgba(255,255,255,0.3)} -#main-flex-slider .th-form-bg.th-dark-bg .th-form-stacked {background:rgba(0,0,0,0.2)} - -#main-flex-slider .th-form-bg .th-form-stacked fieldset {padding-bottom:0 !important} - -#main-flex-slider .th-form-stacked form, -#main-flex-slider .th-form-stacked form input, -#main-flex-slider .th-form-stacked form textarea, -#main-flex-slider .th-form-stacked form .frm_submit, -#main-flex-slider .th-form-stacked .frm_error_style { - /* width:400px !important; */ - width:100% !important; - margin-left:0 !important; - margin-right:0 !important; -} - -#main-flex-slider .th-form-stacked form input {margin:0 !important} -#main-flex-slider .th-form-stacked form textarea {margin-bottom:-5px !important} - -#main-flex-slider .th-form-stacked .with_frm_style form {text-align:left} -#main-flex-slider .th-form-stacked .frm_error { - position:relative; - left:0; - bottom:0; -} - - -/* Slider Booked Calendar */ - -#main-flex-slider .booked-cal-sm { - max-width:400px; - margin:35px auto 0; -} - -#main-flex-slider .slider-title + .booked-cal-sm {margin-top:50px} - -#main-flex-slider .booked-calendarSwitcher p { - line-height:1; - font-size:14px; - margin-top:2px; - margin-bottom:0 !important; - font-weight:normal; -} - - -/* ========================================================================== - Team Member Widget - ========================================================================== */ - -.th-team-member { - max-width:560px; - background-color:#f1f1f1; -} -.elementor-section-full_width .th-team-member {max-width:680px} - -.th-team-member a:hover {text-decoration:none} - -.th-team-member-content { - padding:25px; -} - -.th-team-member-name { - font-size:22px; - margin:0 0 5px; -} - -.th-team-member-title { - font-size:16px; - font-weight:normal; - margin:5px 0; -} - -.th-team-member-text { - margin-top:15px; - white-space:pre-line; -} - -.th-team-member-social {margin:6px 0 0} - -.th-team-member-social i { - font-size:16px; - color:#000; - opacity:0.3; - margin:8px 8px 0 0; -} -.th-team-member-social a i:hover { - color:#3A3B74; - opacity:1; -} - - -/* ========================================================================== - Testimonial Widget - ========================================================================== */ - -.th-testimonial-w.th-txt-sm .elementor-testimonial-content { - font-size:18px; -} -.th-testimonial-w.th-txt-md .elementor-testimonial-content { - font-size:22px; -} -.th-testimonial-w.th-txt-lg .elementor-testimonial-content { - font-size:26px; -} - -.th-testimonial-w .elementor-testimonial-name { - color:#6d6d6d; - font-size:18px; -} - -.th-testimonial-w .elementor-testimonial-job { - color:#868686; - font-size:14px; -} - -.elementor-testimonial-image img { - width:60px !important; - height:60px !important; -} - -.th-testimonial-w .th-star-rating { - margin-bottom:20px; -} -.th-testimonial-w .th-star-rating span { - font-size:18px; -} -.th-testimonial-w .th-star-rating span:before { - content:"\f006"; -} - -.th-testimonial-w .th-star-05 .th-star-1:before, -.th-testimonial-w .th-star-15 .th-star-2:before, -.th-testimonial-w .th-star-25 .th-star-3:before, -.th-testimonial-w .th-star-35 .th-star-4:before, -.th-testimonial-w .th-star-45 .th-star-5:before { - content:"\f123"; -} - -.th-testimonial-w .th-star-10 .th-star-1:before, -.th-testimonial-w .th-star-15 .th-star-1:before, -.th-testimonial-w .th-star-20 .th-star-1:before, -.th-testimonial-w .th-star-20 .th-star-2:before, -.th-testimonial-w .th-star-25 .th-star-1:before, -.th-testimonial-w .th-star-25 .th-star-2:before, -.th-testimonial-w .th-star-30 .th-star-1:before, -.th-testimonial-w .th-star-30 .th-star-2:before, -.th-testimonial-w .th-star-30 .th-star-3:before, -.th-testimonial-w .th-star-35 .th-star-1:before, -.th-testimonial-w .th-star-35 .th-star-2:before, -.th-testimonial-w .th-star-35 .th-star-3:before, -.th-testimonial-w .th-star-40 .th-star-1:before, -.th-testimonial-w .th-star-40 .th-star-2:before, -.th-testimonial-w .th-star-40 .th-star-3:before, -.th-testimonial-w .th-star-40 .th-star-4:before, -.th-testimonial-w .th-star-45 .th-star-1:before, -.th-testimonial-w .th-star-45 .th-star-2:before, -.th-testimonial-w .th-star-45 .th-star-3:before, -.th-testimonial-w .th-star-45 .th-star-4:before, -.th-testimonial-w .th-star-50 .th-star-1:before, -.th-testimonial-w .th-star-50 .th-star-2:before, -.th-testimonial-w .th-star-50 .th-star-3:before, -.th-testimonial-w .th-star-50 .th-star-4:before, -.th-testimonial-w .th-star-50 .th-star-5:before { - content:"\f005"; -} - - -/* ========================================================================== - Text Editor Widget - ========================================================================== */ - -.elementor-text-editor, -.elementor-text-editor h1, .elementor-text-editor h2, .elementor-text-editor h3, -.elementor-text-editor h4, .elementor-text-editor h5, .elementor-text-editor h6, -.elementor-text-editor p { - font-family:inherit; - font-weight:inherit; - font-style:inherit; - color:inherit; - line-height:inherit; -} - -.elementor-text-editor p {font-size:inherit} - - -/* ========================================================================== - Thumbnail Slider Widget - ========================================================================== */ - -/* .thumb-slider { - padding-top:40px; - padding-bottom:40px; -} */ - -.th-thumb-flex-slider { -/* padding-left:15px; - padding-right:15px; */ -} - -.th-thumb-flex-slider .slides img {display:none} - -.th-thumb-flex-slider .slides {text-align:center} - -.th-thumb-flex-slider .slides > li {margin-right:40px} - -.th-thumb-flex-slider a img { - -webkit-transition:all 0.25s linear; - -moz-transition:all 0.25s linear; - transition:all 0.25s linear; -} -.th-thumb-flex-slider a img:hover {opacity:0.85} - -.th-thumb-flex-slider .th-thumb-title { - font-size:18px; - font-weight:600; - color:#515151; - margin:10px auto 0; -} -.th-thumb-flex-slider .th-thumb-title a {text-decoration:none} - -.th-thumb-flex-slider .th-thumb-title span { - font-size:14px; - font-weight:normal; - color:#5c5c5c; - display:block; -} - -.flexslider a.img-thumbnail {background:transparent !important} - -.th-thumb-flex-slider .flex-direction-nav a:before { - font-size:16px; - line-height:50px; -} -.th-thumb-flex-slider .flex-direction-nav a { - color:#fff; - opacity:0.5; - height:50px; - width:50px; -} - -.th-thumb-flex-slider.flex-landscape .flex-direction-nav a { - top:60px; - margin-top:0; -} - -.th-thumb-flex-slider .flex-direction-nav .flex-prev {left:0} -.th-thumb-flex-slider .flex-direction-nav .flex-next {right:0} - -.th-thumb-flex-slider.flexslider:hover .flex-prev, -.th-thumb-flex-slider.flexslider:hover .flex-next {opacity:0.6} - -.th-thumb-flex-slider.flexslider .flex-prev:hover, -.th-thumb-flex-slider.flexslider .flex-next:hover {opacity:0.8} - -.th-light-text .th-thumb-flex-slider .th-thumb-title {color:#fff} -.th-light-text .th-thumb-flex-slider span {color:rgba(255,255,255,0.8)} - - -/* General FlexSlider */ - -.flex-control-nav { - bottom:5px; - z-index:5; -} - -.flex-control-paging li a { - background:#e8e8e8; - background:rgba(255,255,255,0.5); - -webkit-box-shadow:0 0 0; - -moz-box-shadow:0 0 0; - -o-box-shadow:0 0 0; - box-shadow:0 0 0; -} -.flex-control-paging li a:hover {background:#fff} -.flex-control-paging li a.flex-active {background:#fff} - - -/* ========================================================================== - Timeline Widget - ========================================================================== */ - -.th-image-carousel-timeline .slick-slide { - opacity:0.3; - transform: scale(0.90, 0.90); - transition:all 0.8s ease; -} - -.th-image-carousel-timeline .slick-slide.slick-current { - opacity:1; - transform: scale(1.0, 1.0); -} - -.th-image-carousel-timeline .slick-slide figcaption { - padding-top:14px; - opacity:0; - transition:all 0.8s ease; -} -.th-image-carousel-timeline .slick-current figcaption {opacity:1} - -.th-image-carousel-timeline .slick-slide figcaption .th-timeline-title { - font-size:20px; - display:block; -} -.th-image-carousel-timeline .slick-slide figcaption .th-timeline-caption { - font-size:15px; -} - - -/* ========================================================================== - Toggle Widget - ========================================================================== */ - -.elementor-widget-toggle .elementor-toggle .elementor-toggle-title, -.elementor-widget-toggle .elementor-toggle .elementor-toggle-title.active, -.elementor-widget-toggle .elementor-toggle .elementor-toggle-icon {color:#3A3B74} - -.elementor-toggle .elementor-toggle-title { - font-size:18px; - font-weight:500; - padding:20px; - transition: all 0.25s linear; -} -.elementor-toggle .elementor-toggle-title.active {padding-bottom:10px} - -.elementor-toggle .elementor-toggle-title .elementor-toggle-icon { - float:right; - width:auto; - font-size:14px; - margin-top:3px; -} -.elementor-toggle .elementor-toggle-title .elementor-toggle-icon i.fa:before {content:"\f067"} -.elementor-toggle .elementor-toggle-title.active .elementor-toggle-icon i.fa:before {content:"\f068"} - -.elementor-toggle .elementor-toggle-content { - padding:0 40px 20px 20px -} - - -/* ========================================================================== - Room Info Bar Widget - ========================================================================== */ - -.th-tour-nav { - width:100%; - display:flex; - justify-content:space-between; - align-items:center; - padding:24px 0; -} - -.th-tour-nav-price, -.th-tour-nav-items { - color:#1b1b1b; -} - -.th-tour-nav-price { - order:1; - font-size:32px; -} -.th-tour-nav-price span { - font-size:22px; -} - -.th-tour-nav-btn { - order:3; -} - -.th-tour-nav-items { - order:2; - text-align:center; -} - -.th-tour-nav-item { - display:inline-block; - font-size:20px; - margin:5px 18px; -} -.th-tour-nav-item i { - position:relative; - font-size:24px; - margin-right:4px; -} -.th-tour-nav-item .fa, -.th-tour-nav-item .th-trip {top:2px} -.th-tour-nav-item .travelpack-person-plus {font-size:28px; top:5px;} -.th-tour-nav-item .th-linea {top:5px} - -@media (max-width:767px) { - .th-tour-nav { - display:block; - text-align:center; - } - - .th-tour-nav-price { - display:inline; - margin:0 5px; - } - - .th-tour-nav-btn { - display:inline; - margin:0 5px; - } - .th-tour-nav-btn .btn {margin-bottom:10px} - - .th-tour-nav-items {display:block} - - .th-tour-nav-item { - font-size:18px; - margin:5px 12px; - } - .th-tour-nav-item .fa, - .th-tour-nav-item .th-trip {top:3px} - .th-tour-nav-item .th-linea {top:6px} -} - - -/* ========================================================================== - Default & Custom Widgets - ========================================================================== */ - -/* List style widgets */ - -.th-widget-area .widget ul { - margin:0; - padding:0; -} -.th-widget-area .widget ul li { - padding:8px 0; - list-style:none; - border-bottom:1px solid #e2e2e2; -} -.th-widget-area .widget ul li:first-child {padding-top:0} -.th-widget-area .widget ul li ul li {margin-left:20px} -.th-widget-area .widget ul li a:hover {text-decoration:none} - -.th-widget-area .widget.widget_categories ul li, -.th-widget-area .widget.widget_pages ul li, -.th-widget-area .widget.widget_nav_menu ul li { - border-bottom:0; - padding:0; -} - -.th-widget-area .widget.widget_categories li a, -.th-widget-area .widget.widget_pages li a, -.th-widget-area .widget.widget_nav_menu li a { - padding:8px 0; - display:block; - border-bottom:1px solid #e6e6e6; -} - -.th-widget-area .widget .post-date { - display:block; - font-size:12px; - color:#848484; -} - - -/* Dropdowns */ - -.th-widget-area .widget select { - display:block; - width:100%; - padding:10px; - color:#6d6d6d; - border:1px solid #d3d3d3; - border-radius:5px; - -webkit-transition:all 0.15s linear; - -moz-transition:all 0.15s linear; - transition:all 0.15s linear; -} -.th-widget-area .widget select:focus { - border:1px solid #3A3B74; - outline:0; -} - - -/* Custom Menus */ - -.th-widget-area .widget .dropdown .caret {display:none} -.th-widget-area .widget .dropdown-menu { - position:static; - display:block; - float:none; - min-width:0; - border:none; - background-color:transparent; - box-shadow:0 0 0; -} - -.th-widget-area .widget ul.menu li.th-accent { - border:0; - margin-top:0; -} - -/* Calendar Widget */ - -#wp-calendar {width:100%} -#wp-calendar caption { - text-align:right; - font-size:12px; - margin:0 0 15px 0; -} -#wp-calendar thead {font-size:10px} -#wp-calendar thead th { - text-align:center; - padding-bottom:10px; -} -#wp-calendar tbody td { - text-align:center; - padding:8px; - font-size:12px; - background:#f5f5f5; - border:1px solid #fbfcfd; - -webkit-transition:all 0.15s linear; - -moz-transition:all 0.15s linear; - transition:all 0.15s linear; -} -#wp-calendar tbody td a:link, -#wp-calendar tbody td a { - font-weight:600; - text-decoration:underline; -} -#wp-calendar tfoot #next { - font-size:10px; - text-transform:uppercase; - text-align:right; -} -#wp-calendar tfoot #prev { - font-size:10px; - text-transform:uppercase; - padding-top:10px; -} - -#wp-calendar tbody .pad {background:transparent} -#wp-calendar tbody td:hover {background:transparent} -#wp-calendar thead th, -#wp-calendar caption, -#wp-calendar tbody {color:#2a2a2a} - - -/* Search */ - -.search-form input, .search-submit { - height:50px; - border-top-left-radius:50px; - border:1px solid #e2e2e2; - box-shadow:0 0 0; -} -.search-form input { - border-right:0 !important; - border-top-left-radius:50px !important; - border-bottom-left-radius:50px !important; -} - -.search-form .input-group .search-field { - border-bottom-right-radius:0 !important; - border-top-right-radius:0 !important; -} - -.search-form input:focus {border:1px solid #3A3B74} -.search-form input[type=search] {padding:6px 20px 6px 25px} -.search-submit { - padding:14px 20px; - color:#fff; - background-color:#3A3B74; - opacity:1; - border:0; - margin-left:0 !important; -} -.search-submit:hover { - color:#fff; - background-color:#3A3B74; - opacity:0.9; - box-shadow:0 0 0; -} - - -/* Tag Cloud */ - -.widget .tagcloud {padding-top:2px} - -.widget .tagcloud a { - text-align:center; - font-size:13px !important; - padding:6px 8px; - line-height:34px; - background-color:#f1f3f4; - white-space:nowrap; - border-radius:4px; - -webkit-transition:all 0.15s linear; - -moz-transition:all 0.15s linear; - transition:all 0.15s linear; -} -.widget .tagcloud a:hover { - background-color:#3A3B74; - color:#fff; - text-decoration:none; -} - - -/* Social Icons Widget */ - -.soc-widget i, -.soc-widget a i { - font-size:32px; - margin:0; - padding:0 10px 10px 0 !important; -} - - -/* Payment Types Widget */ - -.th-payments-widget img { - margin:0 8px 14px 0; - width:auto; - height:auto; - max-height:40px; -} - -span.th-payment-no-img { - margin:0 8px 14px 0; - padding:6px 8px; - border:1px #eee solid; - border-radius:1px; -} - - -/* Contact Info Widget */ - -.th-contact-info-widget .icon-blocks { - text-align: inherit; - padding: 0; -} - -.th-contact-info-widget .icon-block {padding:0} - -.th-contact-info-widget .icon-blocks p { - padding: 0; - line-height: 195%; -} - -.th-contact-info-widget .icon-block i { - padding-right: 10px; - vertical-align: -1px; -} - - -/* ========================================================================== - Sidebar - ========================================================================== */ - -.sidebar {padding:40px 15px 40px 40px} -.sidebar.side-left {padding:40px 40px 40px 15px} - -.sidebar .widget {margin-bottom:50px} - -.sidebar .widget-title { - position:relative; - font-size:20px; - font-weight:normal; - color:#6d6d6d; - padding-bottom:12px; - margin-bottom:22px; - border-bottom:1px solid #e2e2e2; -} - -.sidebar #wp-calendar tbody td a:link {font-weight:600} -.sidebar #wp-calendar tbody td a:hover {background-color:transparent} - - -/* Widget Sidebar */ - -.th-sidebar-widget {padding:10px} - - -/* ========================================================================== - Footer - ========================================================================== */ - -.footer { - background:#292e31; - color:#d2d2d2; - padding:70px 0 0; - margin-top:-1px; -} -.footer-btm-bar { - background:#23272a; - padding:30px 0 20px -} - -.footer-widgets.row {margin-bottom:30px} - -.footer .widget { - text-align:left; - margin-bottom:40px; -} - -.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {color:#fff} - -.footer p, .footer a {color:#d2d2d2} - -.footer a:hover { - color:#fff; - text-decoration:none; -} - -.footer .footer-copyright {text-align:center} - -.footer .widget-title { - position:relative; - font-size:18px; - font-weight:400; - margin-top:0; - padding-bottom:20px; - margin-bottom:26px; - border-bottom:1px solid rgba(255,255,255,0.1); -} - -.footer .meta-border { - margin-top:20px; - margin-bottom:25px; -} - -.footer .meta-border, .footer ul li, .footer .widget ul li {border-bottom:1px solid rgba(255,255,255,0.05)} - -.footer .widget.widget_categories ul li, -.footer .widget.widget_pages ul li, -.footer .widget.widget_nav_menu ul li { - border-bottom:0; - box-shadow:0 0 0; -} - -.footer .widget.widget_categories li a, -.footer .widget.widget_pages li a, -.footer .widget.widget_nav_menu li a {border-bottom:1px solid rgba(255,255,255,0.05)} - -.footer #wp-calendar tbody .pad {background:#292e31} -.footer #wp-calendar tbody td { - background:#464a4d; - border:1px solid #292e31; -} -.footer #wp-calendar tbody td:hover {background:#292e31} - -.footer #wp-calendar thead th, -.footer #wp-calendar caption {color:#fff} -.footer #wp-calendar tbody {color:#fff} -.footer #wp-calendar #prev {text-align:left} - -.footer .tagcloud a {background-color:#464a4d} -.footer .tagcloud a:hover { - background-color:#3A3B74; - color:#fff; - text-decoration:none; -} - -.footer .search-form input {border:0} -.footer .search-form input:focus { - border:0; - box-shadow:0 0 0; -} - -.footer .widget select {border:0} - -.footer .widget select:focus { - border:0; - box-shadow:0 0 0; -} - -.footer .soc-widget i {color:#4f5356} -.footer .soc-widget i:hover {color:#8e979d} - -.footer .widget .dropdown-menu a, -.footer .widget .dropdown-menu > .active > a { - color:#d2d2d2; - background-color:transparent; -} -.footer .widget .dropdown-menu a:hover, -.footer .widget .dropdown-menu > .active > a:hover, -.footer .widget .dropdown-menu > .active > a:focus {color:#fff} - -.footer .widget ul li ul li {margin-left:0} - -.footer .icon-blocks p {font-size:15px} - - -/* ========================================================================== - Shortcodes - ========================================================================== */ - -/* Alerts */ - -.alert {border-radius:5px} - - -/* Blockquotes */ - -.blockquote-space {margin-left:10px} - -.light-text blockquote footer {color:#eaeaea} - - -/* Drop Caps */ - -span.dropcap { - display:block; - float:left; - font-size:36px; - line-height:30px; - margin:6px 8px 0 0; -} -.dropcap.dropcap-box { - background:-moz-linear-gradient(center bottom, #f7f7f7 0%, #fff 100%) repeat scroll 0 0 #f9f9f9; - box-shadow:0 1px 1px 0 rgba(180, 180, 180, 0.2); - font-size:24px; - width:36px; - height:36px; - line-height:36px; - margin:6px 12px 0 0; - padding:0; - text-align:center; - border:1px solid #ddd; - -webkit-border-radius:2px; - -moz-border-radius:2px; - -ms-border-radius:2px; - -o-border-radius:2px; - border-radius:2px; -} -.dropcap.dropcap-circle { - background:-moz-linear-gradient(center bottom, #f7f7f7 0%, #fff 100%) repeat scroll 0 0 #f9f9f9; - box-shadow:0 1px 1px 0 rgba(180, 180, 180, 0.2); - font-size:24px; - height:36px; - line-height:36px; - margin:6px 12px 0 0; - padding:0; - text-align:center; - width:36px; - border:1px solid #ddd; - -webkit-border-radius:50%; - -moz-border-radius:50%; - -ms-border-radius:50%; - -o-border-radius:50%; - border-radius:50%; -} -.dropcap.dropcap-book { - line-height:30px; - margin:6px 8px 0 0; -} - - -/* Google Map */ - -.googlemap { - position:relative; - max-width:inherit; -} -.googlemap .map_canvas { - width:100%; - height:100%; -} -.googlemap .map_canvas h3 { - margin:0 0 10px; - font-size:14px; -} -.map_canvas img { - max-width:none !important; -} - - -/* Jumbotron */ - -.jumbotron h1, -.jumbotron h2, -.jumbotron h3, -.jumbotron h4, -.jumbotron p {color:#555} - - -/* Progress Bars */ - -.progress {border-radius:5px} - - -/* Tabs */ - -.nav-tabs {margin-top:20px} - -.nav-tabs > li > a {border-radius:5px 5px 0 0} - -.nav-tabs > li > a:hover { - background-color:transparent; - border-color:transparent; -} - -.nav-tabs > li.active > a, -.nav-tabs > li.active > a:hover, -.nav-tabs > li.active > a:focus {background-color:#fbfcfd} - -.tab-content {padding:20px 0} - - -/* Bootstrap Modified Colors */ - -.bg-success {background-color:#d6e9c6} -.alert-success { - color:#3c763d; - background-color:#d6e9c6; - border-color:#d6e9c6; -} -.panel-success > .panel-heading { - color:#3c763d; - background-color:#d6e9c6; - border-color:#d6e9c6; -} - -.bg-info {background-color:#bce8f1} -.alert-info { - color:#31708f; - background-color:#bce8f1; - border-color:#bce8f1; -} -.panel-info > .panel-heading { - color:#31708f; - background-color:#bce8f1; - border-color:#bce8f1; -} - -.bg-warning {background-color:#faebcc} -.alert-warning { - color:#8a6d3b; - background-color:#faebcc; - border-color:#faebcc; -} -.panel-warning > .panel-heading { - color:#8a6d3b; - background-color:#faebcc; - border-color:#faebcc; -} - -.bg-danger {background-color:#ebccd1} -.alert-danger { - color:#a94442; - background-color:#ebccd1; - border-color:#ebccd1; -} -.panel-danger > .panel-heading { - color:#a94442; - background-color:#ebccd1; - border-color:#ebccd1; -} - - -/* Video Lightbox Shortcode */ -.icon-light { - color: #fff; -} -.icon-large{ - font-size: 90px; -} - - -/* ========================================================================== - Scroll Up - ========================================================================== */ - -#scrollUp:before { - font-family: "themovation-icons" !important; - font-style: normal !important; - font-weight: normal !important; - font-variant: normal !important; - text-transform: none !important; - speak: none; - line-height: 1; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -#scrollUp:before {content:"d"} - -#scrollUp { - width:50px; - height:50px; - bottom:18px; - right:18px; - color:#fff; - font-size:18px; - line-height:50px; - text-align:center; - text-decoration:none; - background-color:rgba(000,000,000,0.3); - opacity:0.6; - border-radius:5px; -} -#scrollUp:hover { - opacity:1; - background-color:rgba(000,000,000,0.5); -} - - -/* ========================================================================== - Headhesive - ========================================================================== */ - -.headhesive--clone { - width:100%; - position:fixed !important; - top:0; - left:0; - background-color:#fff !important; - z-index:120; - box-shadow:0 0 0; - -webkit-transform:translateY(-100%); - -ms-transform:translateY(-100%); - transform:translateY(-100%); - -webkit-transition:transform 0.2s ease-in-out; - -moz-transition:transform 0.2s ease-in-out; - transition:transform 0.2s ease-in-out; -} -.headhesive--stick { - -webkit-transform:translateY(0%); - -ms-transform:translateY(0%); - transform:translateY(0%); -} - -.boxed-mode .headhesive--clone { - left:0; right:0; margin:0 auto; -} - -.headhesive--clone #logo { - margin-top:16px; - margin-bottom:16px; -} -.headhesive--clone #logo img { - max-height:30px !important; - width:auto; -} -.headhesive--clone #logo .logo-trans {display:none !important} -.headhesive--clone #logo .logo-main {display:inline !important} -.headhesive--clone .navbar-nav {margin-top:5px !important} -.headhesive--clone .navbar-toggle {top:6px !important} - -.headhesive--clone .navbar-nav > li > a {color:#5d5d5d !important} - -.headhesive--clone .navbar-nav > li > a:hover:after, -.headhesive--clone .navbar-nav > li.active > a:after, -.headhesive--clone .navbar-nav > li.active > a:hover:after, -.headhesive--clone .navbar-nav > li.active > a:focus:after { - bottom:12px; - background-color:#045089 !important; -} - -.headhesive--clone .navbar-nav .dropdown-menu {margin-top:-2px} - -.headhesive--clone .top-nav { - background: rgba(0,0,0,0.03) !important; -} - -.headhesive--clone .top-nav-icon-blocks .icon-block p, -.headhesive--clone .top-nav-icon-blocks .icon-block a, -.headhesive--clone .top-nav-text p, -.headhesive--clone .top-nav-text a { - color: #5d5d5d !important; -} - -.headhesive--clone.headhesive--stick[data-transparent-header="true"], -.headhesive--clone.headhesive--unstick[data-transparent-header="true"] {z-index:10000} - - -/* ========================================================================== - Animation Adjustments - ========================================================================== */ - -/* Fade In */ - -@-webkit-keyframes fadeInDown { - from { - opacity: 0; - -webkit-transform: translate3d(0, -40%, 0); - transform: translate3d(0, -40%, 0); - } - to { - opacity: 1; - -webkit-transform: none; - transform: none; - } -} -@keyframes fadeInDown { - from { - opacity: 0; - -webkit-transform: translate3d(0, -40%, 0); - transform: translate3d(0, -40%, 0); - } - to { - opacity: 1; - -webkit-transform: none; - transform: none; - } -} - -@-webkit-keyframes fadeInLeft { - from { - opacity: 0; - -webkit-transform: translate3d(-20%, 0, 0); - transform: translate3d(-20%, 0, 0); - } - to { - opacity: 1; - -webkit-transform: none; - transform: none; - } -} -@keyframes fadeInLeft { - from { - opacity: 0; - -webkit-transform: translate3d(-20%, 0, 0); - transform: translate3d(-20%, 0, 0); - } - to { - opacity: 1; - -webkit-transform: none; - transform: none; - } -} - -@-webkit-keyframes fadeInRight { - from { - opacity: 0; - -webkit-transform: translate3d(20%, 0, 0); - transform: translate3d(20%, 0, 0); - } - to { - opacity: 1; - -webkit-transform: none; - transform: none; - } -} -@keyframes fadeInRight { - from { - opacity: 0; - -webkit-transform: translate3d(20%, 0, 0); - transform: translate3d(20%, 0, 0); - } - to { - opacity: 1; - -webkit-transform: none; - transform: none; - } -} - -@-webkit-keyframes fadeInUp { - from { - opacity: 0; - -webkit-transform: translate3d(0, 40%, 0); - transform: translate3d(0, 40%, 0); - } - to { - opacity: 1; - -webkit-transform: none; - transform: none; - } -} -@keyframes fadeInUp { - from { - opacity: 0; - -webkit-transform: translate3d(0, 40%, 0); - transform: translate3d(0, 40%, 0); - } - to { - opacity: 1; - -webkit-transform: none; - transform: none; - } -} - - -/* Slide In */ - -@-webkit-keyframes slideInDown { - from { - -webkit-transform: translate3d(0, -40%, 0); - transform: translate3d(0, -40%, 0); - visibility: visible; - } - to { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - } -} -@keyframes slideInDown { - from { - -webkit-transform: translate3d(0, -40%, 0); - transform: translate3d(0, -40%, 0); - visibility: visible; - } - to { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - } -} - -@-webkit-keyframes slideInLeft { - from { - -webkit-transform: translate3d(-20%, 0, 0); - transform: translate3d(-20%, 0, 0); - visibility: visible; - } - to { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - } -} -@keyframes slideInLeft { - from { - -webkit-transform: translate3d(-20%, 0, 0); - transform: translate3d(-20%, 0, 0); - visibility: visible; - } - to { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - } -} - -@-webkit-keyframes slideInRight { - from { - -webkit-transform: translate3d(20%, 0, 0); - transform: translate3d(20%, 0, 0); - visibility: visible; - } - to { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - } -} -@keyframes slideInRight { - from { - -webkit-transform: translate3d(20%, 0, 0); - transform: translate3d(20%, 0, 0); - visibility: visible; - } - to { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - } -} - -@-webkit-keyframes slideInUp { - from { - -webkit-transform: translate3d(0, 40%, 0); - transform: translate3d(0, 40%, 0); - visibility: visible; - } - to { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - } -} -@keyframes slideInUp { - from { - -webkit-transform: translate3d(0, 40%, 0); - transform: translate3d(0, 40%, 0); - visibility: visible; - } - to { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - } -} - - -/* ========================================================================== - Navigation & Header Additions - ========================================================================== */ - -/* Navigation Accent Button */ - -.th-accent, .headhesive--clone.banner[data-transparent-header="true"] .th-accent { - border: 1px solid rgba(0,0,0,0.4); - padding: 8px 18px; - margin-top: 6px; - border-radius:50px; - -webkit-transition: all 0.2s linear; - -moz-transition: all 0.2s linear; - transition: all 0.2s linear; -} - -.banner[data-transparent-header="true"] .th-accent { - border: 1px solid rgba(255,255,255,0.5); -} - -.navbar .navbar-nav > li.th-accent > a { - padding:0; - margin:0; -} - -.navbar .navbar-nav > li.th-accent:hover, .banner[data-transparent-header="true"].headhesive--clone.navbar .navbar-nav > li.th-accent:hover { - border-color: rgba(0,0,0,0.6); - background: none; -} - -.banner[data-transparent-header="true"].navbar .navbar-nav > li.th-accent:hover { - border: 1px solid rgba(255, 255, 255,0.7); - background: rgba(0,0,0,0.2); -} - -.navbar .navbar-nav > li.th-accent > a:after, -.navbar .navbar-nav > li.th-accent > a:hover:after, -.navbar .navbar-nav > li.th-accent.active > a:after, -.navbar .navbar-nav > li.th-accent.active > a:hover:after, -.navbar .navbar-nav > li.th-accent.active > a:focus:after { - background: none !important; -} - -.headhesive--clone .navbar-nav > li.th-accent > a:hover:after, -.headhesive--clone .navbar-nav > li.th-accent.active > a:after, -.headhesive--clone .navbar-nav > li.th-accent.active > a:hover:after, -.headhesive--clone .navbar-nav > li.th-accent.active > a:focus:after { - background: none !important; -} - - -/* Dark Header */ - -header.dark-header { - background-color:#252b2d; - border-color:transparent; - border-bottom:0; -} - -.headhesive--clone.dark-header {background-color:#252b2d !important;} - -header.dark-header .navbar-nav > li > a, -header.dark-header .navbar-nav > li > a:hover, -.headhesive--clone.dark-header .navbar-nav > li > a, -.headhesive--clone.dark-header .navbar-nav > li > a:hover {color:#fff !important;} - -header.dark-header .navbar-nav > li.active > a, -header.dark-header .navbar-nav > li.active > a:hover, -header.dark-header .navbar-nav > li.active > a:focus {color:#fff;} - -header.dark-header .top-nav {background: rgba(255,255,255,0.04)} - -.headhesive--clone.dark-header .top-nav {background: rgba(255,255,255,0.04) !important;} - -header.dark-header .top-nav-icon-blocks .icon-block p, -header.dark-header .top-nav-icon-blocks .icon-block a, -header.dark-header .top-nav-text p, .top-nav-text a, -.headhesive--clone.dark-header .top-nav-icon-blocks .icon-block p, -.headhesive--clone.dark-header .top-nav-icon-blocks .icon-block a, -.headhesive--clone.dark-header .top-nav-text p, -.headhesive--clone.dark-header .top-nav-text a {color: #fff !important;} - -header.dark-header .navbar-nav > li > a:hover:after, -header.dark-header .navbar-nav > li.active > a:after, -header.dark-header .navbar-nav > li.active > a:hover:after {background-color: #fff !important;} - -header.dark-header .navbar-collapse {box-shadow:0 0 0} - -header.dark-header .navbar-nav > li.th-accent, -header.dark-header.headhesive--clone[data-transparent-header="true"] .navbar-nav > li.th-accent {border: 1px solid rgba(255,255,255,0.65);} - -header.dark-header .navbar-nav > li.th-accent:hover, -header.dark-header.headhesive--clone[data-transparent-header="true"] .navbar-nav > li.th-accent:hover {border: 1px solid rgba(255,255,255,0.9) !important;} - -@media (max-width: 767px) { - header.dark-header .navbar-nav .open .dropdown-toggle {background-color: #1c2022 !important;} - header.dark-header .navbar-nav .dropdown-menu {background-color: #1f2426 !important;} - header.dark-header .navbar-nav .open .dropdown-menu > li > a, - header.dark-header .navbar-nav .open .dropdown-menu > .active > a, - header.dark-header .navbar-nav .open .dropdown-menu > .active > a:focus {color: #a2a7a9;} - header.dark-header .navbar-nav .open .dropdown-menu > li > a:hover, - header.dark-header .navbar-nav .open .dropdown-menu > .active > a:hover {color: #fff;} - - header.dark-header .navbar-toggle .icon-bar {background-color:#acacac;} -} - - -/* Transparent Header - Dark Content Style */ - -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .navbar-nav > li > a, -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .navbar-nav > li > a:hover, -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .navbar-nav > li.active > a, -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .themo_cart_icon a i -{color:#000 !important} - -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .navbar-nav > li > a:after, -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .navbar-nav > li.active > a:after, -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .navbar-nav > li.active > a:hover:after, -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .navbar-nav > li > a:hover:after -{background-color:#000 !important} - -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .themo_cart_icon -{border-color:rgba(0,0,0,0.2)} - -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .navbar-nav > li.th-accent, -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .navbar-nav > li.th-accent:hover -{border: 1px solid rgba(0,0,0,0.65) !important} - -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .navbar-nav > li.th-accent a:after, -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .navbar-nav > li.th-accent a:hover:after -{height:0 !important} - -/*.th-dark-tr.banner[data-transparent-header="true"] .top-nav {background: rgba(255,255,255,0.04)}*/ - -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .top-nav-icon-blocks .icon-block p, -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .top-nav-icon-blocks .icon-block a, -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .top-nav-text p, -.th-dark-tr.banner[data-transparent-header="true"]:not(.headhesive--clone) .top-nav-text a -{color:#000 !important} - - -/* Third Level Navigation */ - -@media (max-width:767px) { - .navbar .navbar-nav .dropdown-menu > li > a {white-space:normal} - - .navbar-nav > li + li {margin-left:0} - - .navbar .navbar-nav .dropdown-submenu .dropdown-menu {background-color:#eaeaea; margin-bottom:5px} - - .dark-header.navbar .navbar-nav .dropdown-submenu .dropdown-menu {background-color:#1d1f22 !important} - - .navbar .navbar-nav .dropdown-submenu .dropdown-menu li {padding-left:10px} - - .navbar .navbar-nav .dropdown-submenu:not(.open) .dropdown-toggle {background-color:transparent !important} - - .dropdown-toggle .caret {margin-left:4px} - - .dark-header .dropdown-submenu.open > a.dropdown-toggle {color:#fff !important} -} - -@media (min-width:768px) { - .navbar .navbar-nav .dropdown .dropdown-menu .dropdown-menu {display:none !important} - - .navbar .navbar-nav .dropdown-menu .dropdown:hover .dropdown-menu { - display:block !important; - position:absolute; - top:-14px; - left:100%; - } - .headhesive--clone .navbar-nav .dropdown-menu .dropdown:hover .dropdown-menu {top:-10px} - - .navbar .navbar-nav li:last-child .dropdown-menu .dropdown:hover .dropdown-menu { - right:100%; - left:auto !important; - } -} - - -/* ========================================================================== - Misc - ========================================================================== */ - -/* Lightbox */ - -.modal-backdrop.in {z-index:10000 !important} -.ekko-lightbox, .modal {z-index:50000 !important} - -.ekko-lightbox-container .flex-direction-nav a {opacity:0.5} -.ekko-lightbox-container .flex-direction-nav a:hover { - color:#fff !important; - opacity:0.8; -} - - -/* Attachment Page */ - -.attachment .img-thumbnail { - padding:0; - border:0; - border-radius:0; -} - - -/* WordPress Generated Classes */ - -.aligncenter { - display:block; - margin:0 auto; -} -.alignleft { - float:left; - margin:0 15px 15px 0; -} -.alignright { - float:right; - margin:0 0 15px 15px; -} -figure.alignnone { - margin-left:0; - margin-right:0; -} - -.wp-caption { - max-width:100%; - height:auto; -} - -.wp-caption, .wp-caption-text, .gallery-caption {color:#5c5c5c} - -.screen-reader-text { - clip: rect(1px, 1px, 1px, 1px); - position: absolute !important; - height: 1px; - width: 1px; - overflow: hidden; -} - - -/* Additional Classes */ - -.alignleft-40 { - float:left; - margin:0 40px 40px 0; -} -.alignright-40 { - float:right; - margin:0 0 40px 40px; -} - -.alignleft-60 { - float:left; - margin:0 60px 60px 0; -} -.alignright-60 { - float:right; - margin:0 0 60px 60px; -} - - -/* WP Admin Bar */ - -#wpadminbar { - z-index:1000000 !important; -} - - -/* Responsive Images */ - -.th-pkg-img img, a img.wp-post-image, -img.th-img-stretch, .th-image-stretch img { - width:100%; - height:auto; -} - - -/* Elementor Editor Styling */ /* - -.elementor-editor-active .elementor.elementor-edit-mode .elementor-editor-widget-settings, -.elementor-editor-active .elementor.elementor-edit-mode .elementor-editor-column-settings {z-index:105} - -.elementor-editor-active .elementor-inner {margin-top:0} -.elementor-editor-active .elementor-section-wrap .elementor-top-section:first-of-type {padding-top:30px !important; } - -.elementor-editor-element-settings a:hover, -.elementor-editor-element-settings a:focus {text-decoration:none} */ - - -.elementor-editor-active .banner[data-transparent-header="true"]:not(.headhesive--clone) { - top:25px; -} - - -/* ========================================================================== - Media Queries - ========================================================================== */ - -@media (max-width:479px) { - #boxed {width:auto} - .boxed-mode .headhesive--clone, - .boxed-mode .banner[data-transparent-header="true"] {max-width:330px} - - /* Header */ - #logo {max-width:230px} - - /*#main-flex-slider .slides h1, - #main-flex-slider .lrg-txt h1 { - font-size:34px; - line-height:36px; - }*/ - - section#themo_page_header_1 { - padding-top:40px !important; - padding-bottom:40px !important; - } - - /* Top Navigation */ - .top-nav-text + .top-nav-icon-blocks {margin-top:4px} - - .top-nav-text, .top-nav-icon-blocks { - float:none; - text-align:center; - } - - .top-nav-icon-blocks .icon-block p { - font-size:14px; - line-height: 100%; - } - - /* Buttons */ - .btn-standard, .btn-ghost, .btn-default {padding:10px 25px} - .btn-cta {padding:14px 30px} - - /* Main Slider */ - #main-flex-slider p, - #main-flex-slider .lrg-txt p { - font-size:20px; - line-height:22px; - } - #main-flex-slider .slides p {margin-bottom:20px} - #main-flex-slider .slides a {margin-bottom:10px} - #main-flex-slider .th-conversion { - padding-top:20px; - padding-bottom:10px; - } - #main-flex-slider .flex-direction-nav {display:none} - - /*#main-flex-slider .col-sm-6 .th-conversion/*.th-form-bg {padding:20px}*/ - - /* Blog - .mas-blog-post {width:300px} */ -} - -@media (min-width:480px) and (max-width:767px) { - #boxed {width:420px} - .boxed-mode .headhesive--clone, - .boxed-mode .banner[data-transparent-header="true"] {max-width:420px} - - /* Header */ - #logo {max-width:310px} - - /* Blog - .mas-blog-post {width:390px} */ -} - -@media (max-width:767px) { - /* Top Navigation */ - .top-nav {background:rgba(0, 0, 0, 0.02)} - - .top-nav-icon-blocks .icon-block p, .top-nav-icon-blocks .icon-block a, - .top-nav-text p, .top-nav-text a {color:#5d5d5d} - - .top-nav-icon-blocks .icon-block p {font-size:13px} - - .top-nav-icon-blocks .icon-block {padding:0 4px} - .top-nav-icon-blocks .icon-block:last-child {padding:0 0 0 4px} - - .top-nav-icon-blocks .icon-block span {display:none} - - /* Header */ - #logo {margin-left:15px} - - .navbar-default .navbar-collapse {border:0} - - .navbar .navbar-nav { - float:none; - text-align:left; - margin:0 0 10px; - padding-top:15px; - border-top:1px solid #e7e7e7 !important - } - .navbar .navbar-nav > li > a { - padding:10px 15px; - margin-left:0; - margin-right:0; - } - - .navbar .navbar-nav > li > a:after, - .navbar .navbar-nav > li > a:hover:after {height:0 !important} - - .navbar .navbar-nav .open .dropdown-toggle {background-color:#eee !important} - - .navbar .navbar-nav .dropdown-menu {background-color:#f4f4f4} - - .navbar .navbar-nav .dropdown-menu li a {line-height:200%} - - .navbar .navbar-nav .dropdown-menu li.active a {background-color:transparent !important} - - .sidebar, .sidebar.side-left {padding:40px 15px} - - .page-title.centered { - padding-left:0; - padding-right:0; - } - - /* Blog */ - #comments li.comment .avatar { - height:45px; - width:45px; - margin:5px 0 0 0; - display:block; - float:none !important; - } - #comments h4.media-heading {margin-top:5px} - #comments ul.comment {margin-left:25px} - - /* CTA - .simple-cta span {margin-right:0} */ - - /* Portfolio */ - .th-portfolio-filters a {margin:5px 8px} - .th-portfolio-filters span {margin-right:8px} - - /* Pricing Table */ - .th-pricing-column { - max-width:520px; - margin:10px auto; - border-left:1px solid #dfe7eb; - } - .th-pricing-column.th-highlight { - margin:10px auto; - padding:40px 30px; - } - .th-one-col .th-pricing-column.th-highlight { - margin-left:0; - margin-right:0; - } - - - /* Footer */ - .footer-widgets.row { - margin-bottom:20px; - padding-bottom:10px; - } - .footer .widget {margin-bottom:50px;} - .footer .widget-title { - margin-bottom:18px; - } - -} - -@media (min-width:768px) { - /* Navigation */ - .navbar .navbar-nav .dropdown-menu { - left:-10px; - padding:12px 5px; - border:0; - box-shadow:0 0 5px 0 rgba(0, 0, 0, 0.2); - } - .navbar .navbar-nav .dropdown-menu li a { - font-size:13px; - text-align:left; - padding:8px 20px; - color:#c8c8c8; - } - .navbar .navbar-nav .dropdown-menu li a:hover, - .navbar .navbar-nav .dropdown-menu li.active a {color:#fff !important} - - .navbar .navbar-nav .dropdown:hover .dropdown-menu {display:block} - .navbar .navbar-nav li:last-child .dropdown-menu { - right:-5px; - left:auto; - } - .navbar .caret {display:none} - - .center-table-con { - display:table; - width:100%; - height:100%; - table-layout:fixed; - } - .center-table-cell { - display:table-cell; - vertical-align:middle; - } - /*.center-table-block { - width:90%; - margin:0 auto; - }*/ - -} - -@media (min-width:768px) and (max-width:991px) { - #boxed {max-width:780px} - .boxed-mode .headhesive--clone, - .boxed-mode .banner[data-transparent-header="true"] {max-width:780px} - - .sidebar, .sidebar.side-left {padding:40px 15px;} - - /* Navigation */ - .navbar .navbar-nav > li > a { - margin-left:12px; - margin-right:12px; - } - - /* Five Column Row */ - .th-five-col .col-sm-2 { - width:20%; - } - - /* Blog */ - #comments li.comment .avatar { - height:45px; - width:45px; - margin:10px 10px 0 0; - } - #comments h4.media-heading {margin-top:10px} - - /* Pricing Table */ - .th-pricing-column { - margin-top:10px; - margin-bottom:10px; - } - .th-pricing-column:nth-child(odd) { - border-left:1px solid #dfe7eb; - } - .th-pricing-column.th-highlight { - margin:10px -1px 10px -1px; - padding:40px 30px; - } - - /* Service Blocks */ - .service-block-col {padding-top:0} - .service-block-col .service-block {margin-bottom:20px} - .service-block-col .service-block i {display:none} - .service-block-col .service-block h3, - .service-block-col .service-block p { - margin-left:0 !important; - margin-right:0 !important; - } -} - -@media (max-width:991px) { - /* Home */ - .icon-block {margin-bottom:50px} - .icon-block:last-child {margin-bottom:0} - .icon-blocks h3 {margin-bottom:10px} - - /* Top Navigation */ - .top-nav-icon-blocks .icon-block, - .th-contact-info-widget .icon-block { - margin-bottom:0; - } - - /* Footer */ - .footer-area-3 {clear:left} -} - -@media (min-width:992px) and (max-width:1199px) { - #boxed {max-width:1000px} - .boxed-mode .headhesive--clone, - .boxed-mode .banner[data-transparent-header="true"] {max-width:1000px} - - /* Five Column Row */ - .th-five-col .col-sm-2, .th-five-col .col-md-2 { - width:20%; - } - .pricing-table .th-five-col .btn {padding:10px 30px;} -} - -@media (min-width:992px) { - - /* Top Navigation */ - .top-nav .row { - padding-right:0; - padding-left:0; - margin-left:0; - } -} - -@media (max-width:1199px) { - -} - -@media (min-width:1200px){ - #boxed {max-width:1230px} - .boxed-mode .headhesive--clone, - .boxed-mode .banner[data-transparent-header="true"] {max-width:1230px} - - /* Five Column Row */ - .th-five-col .col-sm-2, .th-five-col .col-md-2, .th-five-col .col-lg-2 { - width:20%; - } - .pricing-table .th-five-col .btn {padding:10px 45px;} -} - -@media (min-width:1450px){ - /* Navigation */ - .navbar .navbar-nav li:last-child .dropdown-menu { - left:-10px; - right:auto; - } -} - - -/* WP Admin Bar Specific */ - -@media (min-width:601px) and (max-width:782px) { - body.admin-bar .headhesive--stick, - body.admin-bar .banner[data-transparent-header="true"] {top:46px} -} -@media (min-width:783px) { - body.admin-bar .headhesive--stick, - body.admin-bar .banner[data-transparent-header="true"] {top:32px} -} - - - -/* ========================================================================== - WP Booking System - ========================================================================== */ - -.wpbs-container{display: none } - -.wpbs-woo-payment-request-mgs .amount { - display: none; -} - -.wpbs-woo-payment-request-mgs a.added_to_cart.wc-forward{ - padding-left: 10px; -} - -.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { - font-weight: normal; -} - - -/* WPBS Widget Styling */ - -.th-book-cal-small {max-width:380px} - -.th-book-cal-small .wpbs-container {width:100%} - -.th-book-cal-small div.wpbs-calendar { - width:100%; - height:auto; - min-height:355px; -} - -.th-book-cal-small div.wpbs-calendar ul li, -.th-book-cal-small li.wpbs-bookable:hover, -.th-book-cal-small li.wpbs-bookable-clicked, -.th-book-cal-small li.wpbs-bookable-clicked:hover, -.th-book-cal-small li.wpbs-bookable-hover, -.th-book-cal-small li.wpbs-bookable-hover:hover, -.th-book-cal-small div.wpbs-calendar ul li.wpbs-bookable-clicked, -.th-book-cal-small div.wpbs-calendar ul li.wpbs-bookable-hover{ - width:14.2857142857% !important; - height:40px !important; -} - -.th-book-cal-small .wpbs-form-form .wpbs-form-item, -.th-book-cal-small .wpbs-form-form input:not([type='checkbox']):not([type='radio']), -.th-book-cal-small .wpbs-form-form select {width:100% !important; max-width:100% !important} - -.th-book-cal-small div.wpbs-calendar ul li .wpbs-day-split-top, -.th-book-cal-small .wpbs-select-status .wpbs-day-split-top { - border-width: 40px 40px 0 0; -} - -.th-book-cal-small div.wpbs-calendar ul li .wpbs-day-split-bottom, -.th-book-cal-small .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 40px 40px; -} - -.th-book-cal-small div.wpbs-calendar ul li.status-2, -.th-book-cal-small div.wpbs-calendar ul li.status-3 {background-color:#DDFFCC} - - -/* Slider Widget WPBS Calendar Styling */ - -.elementor-widget-themo-slider .th-centered .wpbs-container .wpbs-form-item label, -.elementor-widget-themo-slider .th-right .wpbs-container .wpbs-form-item label { - text-align:left; -} diff --git a/assets/css/bellevue_wpbs.css b/assets/css/bellevue_wpbs.css deleted file mode 100644 index f325c8f..0000000 --- a/assets/css/bellevue_wpbs.css +++ /dev/null @@ -1,1273 +0,0 @@ -/* ========================================================================== - WP Booking System - ========================================================================== */ - -/* Calendar Specific */ - -.wp-booking-calendar-mb { - padding-top:60px; - padding-bottom:60px; -} - -.wp-booking-calendar-mb.cal-center .section-header h2, -.wp-booking-calendar-mb.cal-center .section-header p, -.wp-booking-calendar-mb.cal-center .booked-cal-title, -.wp-booking-calendar-mb.cal-center .booked-cal-content, -.wp-booking-calendar-mb.cal-center .booked-cal-full { - max-width: 835px; -} - - -div.wpbs-calendar{ - border: 1px solid #ddd; - width: auto; - /*height: auto;*/ - height: 342px; - display: inline-block; - padding: 0 !important; - margin-bottom: 15px; -} - -.col-sm-6 div.wpbs-calendar{ - margin-right: 8px; -} - -div.wpbs-calendar div.wpbs-heading{ - border-bottom: none; - width: auto; - height: auto; - float: none; - background-color: #e5e7e9; - padding: 20px 0px; - display: block; -} - -/* Next / Prev */ -div.wpbs-calendar div.wpbs-heading a.wpbs-prev, -div.wpbs-calendar div.wpbs-heading a.wpbs-next, -div.wpbs-calendar div.wpbs-heading span{ - display: inline; - float: none; - height: auto; - width: auto; - text-align: inherit; - color: #515151; -} - - -a.wpbs-prev img,a.wpbs-next img{ - display: none !important; -} - -a.wpbs-prev, a.wpbs-next{ - font-family: "themovation-icons" !important; - font-style: normal !important; - font-weight: normal !important; - font-variant: normal !important; - text-transform: none !important; - speak: none; - line-height: 1; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - color: #353c40; - font-size: 20px !important; - text-rendering: auto; - text-decoration: none; -} - -a.wpbs-prev:before{ - content: "a"; -} - -a.wpbs-next:before{ - content: "c"; -} - -div.wpbs-calendar div.wpbs-heading div.wpbs-select-container{ - display: inline; - float: right; - height: auto; -} - -div.wpbs-calendar div.wpbs-heading a.wpbs-next{ - float: right; - margin-right: 17px; -} - -div.wpbs-calendar div.wpbs-heading a.wpbs-prev{ - float:left !important; - display: inline-block; - margin-left: 17px; - margin-top: 5px; - background: none; -} - -div.wpbs-calendar div.wpbs-heading div.wpbs-select-container{ - float: none; - display: inline-block; -} - -div.wpbs-calendar div.wpbs-heading a.wpbs-next{ - float:right !important; - display: inline-block; - margin-right: 17px; - margin-top: 5px; - background: none; -} - - - -/* Select Dropdown */ - -div.wpbs-calendar div.wpbs-heading div.wpbs-select-container .wpbs-dropdown{ - position: inherit; - height: 28px; -} - -div.wpbs-select-container .wpbs-dropdown{ - background-color: #f1f3f4; - background-position: 148px 10px; - background-repeat: no-repeat; - -} - -div.wpbs-select-container .wpbs-dropdown{ - border:none; -} -div.wpbs-calendar div.wpbs-heading span { - line-height: 200%; - padding-left:5px; -} - -/* Weekdays */ -div.wpbs-calendar ul.wpbs-weekdays{ - background-color: #f1f3f4; -} - -div.wpbs-calendar ul.wpbs-weekdays li { - background: none; - color:#818181; -} - -div.wpbs-calendar ul li { - width: 38px; - height: 38px; - line-height: 38px; - margin: 0 !important; -} - -li.wpbs-bookable:hover, li.wpbs-bookable-clicked, -li.wpbs-bookable-clicked:hover, li.wpbs-bookable-hover, -li.wpbs-bookable-hover:hover, div.wpbs-calendar ul li.wpbs-bookable-clicked, div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 38px !important; - width: 38px !important; - line-height: 38px !important; - border: none !important; - background: #3399cc !important; -} - - -div.wpbs-calendar ul li .wpbs-day-split-top, .wpbs-select-status .wpbs-day-split-top { - border-width: 38px 38px 0 0; -} - -div.wpbs-calendar ul li .wpbs-day-split-bottom, .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 38px 38px; -} - - -div.wpbs-calendar ul{ - border-bottom:1px solid #e5e7e9; -} - -div.wpbs-calendar ul li .wpbs-day-split-day, .wpbs-select-status .wpbs-day-split-day { - color:#6e6e6e; -} - - -div.wpbs-calendar ul li.status-1 .wpbs-day-split-day{ - color:#fbfcfd; -} - - -/* Legend */ -.wpbs-legend .wpbs-legend-color.status-1{ - border: none; - -} - - -/* Booked Cal Small */ - - -.th-book-cal-small.th-large div.wpbs-calendar ul li { - width: 57px !important; - height: 57px !important; - line-height: 57px !important; -} - -.th-book-cal-small.th-large li.wpbs-bookable:hover, .th-book-cal-small.th-large li.wpbs-bookable-clicked, -.th-book-cal-small.th-large li.wpbs-bookable-clicked:hover, .th-book-cal-small.th-large li.wpbs-bookable-hover, -.th-book-cal-small.th-large li.wpbs-bookable-hover:hover, -.th-book-cal-small.th-large div.wpbs-calendar ul li.wpbs-bookable-clicked, .th-book-cal-small.th-large div.wpbs-calendar ul li.wpbs-bookable-hover{ - width: 57px !important; - height: 57px !important; - line-height: 54px !important; -} - -.th-book-cal-small.th-large div.wpbs-calendar ul li .wpbs-day-split-top, -.th-book-cal-small.th-large .wpbs-select-status .wpbs-day-split-top { - border-width: 57px 57px 0 0; -} - -.th-book-cal-small.th-large div.wpbs-calendar ul li .wpbs-day-split-bottom, -.th-book-cal-small.th-large .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 57px 57px; -} - -.th-book-cal-small.th-large div.wpbs-calendar{ - height: 473px; - margin-right:0; - border:none; -} - -/* Booked Cal Large */ - - -.th-book-cal-large.th-large div.wpbs-calendar ul li { - width: 80px !important; - height: 60px !important; - line-height: 60px !important; -} - -.th-book-cal-large.th-large li.wpbs-bookable:hover, .th-book-cal-large.th-large li.wpbs-bookable-clicked, -.th-book-cal-large.th-large li.wpbs-bookable-clicked:hover, .th-book-cal-large.th-large li.wpbs-bookable-hover, -.th-book-cal-large.th-large li.wpbs-bookable-hover:hover, -.th-book-cal-large.th-large div.wpbs-calendar ul li.wpbs-bookable-clicked, .th-book-cal-large.th-large div.wpbs-calendar ul li.wpbs-bookable-hover{ - width: 80px !important; - height: 60px !important; - line-height: 54px !important; -} - -.th-book-cal-large.th-large div.wpbs-calendar ul li .wpbs-day-split-top, -.th-book-cal-large.th-large .wpbs-select-status .wpbs-day-split-top { - border-width: 80px 60px 0 0; -} - -.th-book-cal-large.th-large div.wpbs-calendar ul li .wpbs-day-split-bottom, -.th-book-cal-large.th-large .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 80px 60px; -} - -.th-book-cal-large.th-large div.wpbs-calendar{ - height: 495px; - margin-right:0; - border:none; -} - -/* Slider Cal */ - -.slider-content.col-sm-6 div.wpbs-calendar ul li { - width: 54px !important; - height: 54px !important; - line-height: 54px !important; -} - -.slider-content.col-sm-6 li.wpbs-bookable:hover, .slider-content.col-sm-6 li.wpbs-bookable-clicked, -.slider-content.col-sm-6 li.wpbs-bookable-clicked:hover, .slider-content.col-sm-6 li.wpbs-bookable-hover, -.slider-content.col-sm-6 li.wpbs-bookable-hover:hover, -.slider-content.col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-clicked, .slider-content.col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 54px !important; - width: 54px !important; - line-height: 54px !important; -} - -.slider-content.col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-top, -.slider-content.col-sm-6 .wpbs-select-status .wpbs-day-split-top { - border-width: 54px 54px 0 0; -} - -.slider-content.col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-bottom, -.slider-content.col-sm-6 .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 54px 54px; -} - -.slider-content.col-sm-6 div.wpbs-calendar{ - height: 458px; -} - -/* SLIDER Header */ -.slider-content div.wpbs-calendar div.wpbs-heading a.wpbs-prev{ - float:left !important; - display: inline-block; - margin-left: 17px; - margin-top: 5px; -} - -.slider-content div.wpbs-calendar div.wpbs-heading div.wpbs-select-container{ - float: none; - display: inline-block; -} - -.slider-content div.wpbs-calendar div.wpbs-heading a.wpbs-next{ - float:right !important; - display: inline-block; - margin-right: 17px; - margin-top: 5px; -} - -#main-flex-slider .slides div.wpbs-calendar div.wpbs-heading a{ - margin-bottom: 0; -} - -.slider-content div.wpbs-calendar div.wpbs-heading{ - line-height: normal; -} - -.slider-content .wpbs-legend .wpbs-legend-item p{ - line-height: 30px !important; - padding: 0 !important; - font-size: 14px !important; - margin: 0 10px 0 5px !important; -} - -/* Forms */ -/* -div.wpbs-calendar div.wpbs-heading select, .wpbs-select-container{ - height:30px !important; -} - -div.wpbs-calendar div.wpbs-heading span{ - line-height: 28px; -} - -margin-top: -4px !important; - -border-radius:2px !important; - margin:5px 10px 5px 0 !important; - border:1px solid #d3d3d3 !important; - padding:0 20px !important; -*/ - -.wpbs-form { - padding-top:10px; -} - -.wpbs-form .frm_forms.with_frm_style {max-width:100% !important} - -.wpbs-form .frm_form_field {position:relative} - -.wpbs-form-form input, .wpbs-form-form select{ - width:250px !important; - height:56px !important; - border-radius:4px !important; - border:1px solid #d3d3d3 !important; - padding:0 20px !important; -} - -.wpbs-form-form textarea{ - width:250px !important; - border-radius:4px !important; - border:1px solid #d3d3d3 !important; - padding:20px !important; -} - - -.wpbs-form-form select { - font-size:13px; - height:46px; - padding:0 12px !important; - color:#6c6c6c; - border:1px solid #d3d3d3; - border-radius:4px; -} - - - -.wpbs-form-form .wpbs-form-submit:hover, -.wpbs-form-form .wpbs-form-submit:active, -.wpbs-form-form .wpbs-form-submit:focus{ - padding:0 !important; - opacity:0.85 ; - border:0 !important; - border-bottom:3px solid rgba(0, 0, 0, 0.1) !important; - background-color:#1e8190 !important; - margin:30px 10px 5px 0 !important; - -} - - -/*.wpbs-form fieldset, -.wpbs-form div, -.wpbs-form .frm_form_field,*/ -.wpbs-form-form .wpbs-form-submit, -.wpbs-form-form .wpbs-form-item, -.wpbs-form-form textarea { - /*display:inline-block !important; - float: inherit !important; RL EDIT */ - display:inline !important; - clear: none !important; - /*width: auto !important;*/ - margin:0px 20px 5px 0 !important; -} - - - - -.wpbs-form-form .wpbs-form-submit{ - /*width:250px !important; RL EDIT*/ - height:56px !important; - padding:0 !important; - background-color:#1e8190 !important; - color:#fff !important; - box-sizing:border-box !important; - border:0 !important; - border-bottom:3px solid rgba(0, 0, 0, 0.1) !important; - margin:30px 10px 5px 0 !important; - -webkit-border-radius:50px !important; - -moz-border-radius:50px !important; - border-radius:50px !important; - width: 250px !important; - -} - -.wpbs-form-form .wpbs-form-error-msg { - display: block !important; - float: none !important; -} - -.wpbs-form-error{ - -} - -.wpbs-form-form form .frm_top_container label { - display:block !important; - text-align:left; - margin-left:10px !important; -} - -/*.wpbs-form-form label {display: none !important;}*/ - -/* -.wpbs-form .frm_error { - position:absolute; - left:10px; - bottom:-12px; -} - -.wpbs-form .frm_ajax_loading {display:none} - -.light-text .wpbs-form input {color:#5c5c5c} -.light-text .wpbs-form input::-moz-placeholder {color:#797979} - -.light-text .wpbs-form .frm_error {color:#fff !important; font-weight:normal} -*/ - - -/* WIDGET Sidebar */ - -.sidebar .wpbs-form-form .wpbs-form-item{ - - margin-right: 0px !important; -} - -.sidebar div.wpbs-calendar ul li { - width: 46px; - height: 46px; - line-height: 46px; -} - -.sidebar li.wpbs-bookable:hover, .sidebar li.wpbs-bookable-clicked, -.sidebar li.wpbs-bookable-clicked:hover, .sidebar li.wpbs-bookable-hover, -.sidebar li.wpbs-bookable-hover:hover, -.sidebar div.wpbs-calendar ul li.wpbs-bookable-clicked, .sidebar div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 46px !important; - width: 46px !important; - line-height: 46px !important; -} - -.sidebar div.wpbs-calendar ul li .wpbs-day-split-top, -.sidebar .wpbs-select-status .wpbs-day-split-top { - border-width: 46px 46px 0 0; -} - -.sidebar div.wpbs-calendar ul li .wpbs-day-split-bottom, -.sidebar .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 46px 46px; -} - -.sidebar div.wpbs-calendar{ - height: 398px; - margin-right: 0; -} - -.sidebar div.wpbs-calendar div.wpbs-heading div.wpbs-select-container{ - width: 168px; -} - - -.sidebar .wpbs-form-form .wpbs-form-item { - width: 315px !important; -} - -.sidebar .wpbs-form-form textarea{ - width: 315px !important; - max-width: 315px !important; -} - -.sidebar .wpbs-form-form .wpbs-form-submit{ - width: 315px !important; -} - - -/* WIDGET Sidebar Responsive 1200 */ -@media (min-width:991px) and (max-width:1200px){ - .sidebar div.wpbs-calendar ul li { - width: 36px; - height: 36px; - line-height: 36px; - } - - .sidebar li.wpbs-bookable:hover, .sidebar li.wpbs-bookable-clicked, - .sidebar li.wpbs-bookable-clicked:hover, .sidebar li.wpbs-bookable-hover, - .sidebar li.wpbs-bookable-hover:hover, - .sidebar div.wpbs-calendar ul li.wpbs-bookable-clicked, .sidebar div.wpbs-calendar ul li.wpbs-bookable-hover - { - height: 36px !important; - width: 36px !important; - line-height: 36px !important; - } - - .sidebar div.wpbs-calendar ul li .wpbs-day-split-top, - .sidebar .wpbs-select-status .wpbs-day-split-top { - border-width: 36px 36px 0 0; - } - - .sidebar div.wpbs-calendar ul li .wpbs-day-split-bottom, - .sidebar .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 36px 36px; - } - - .sidebar div.wpbs-calendar{ - height: 328px; - margin-right: 0; - } - .sidebar div.wpbs-calendar div.wpbs-heading div.wpbs-select-container{ - width: 164px; - } - - .sidebar .wpbs-form-form .wpbs-form-item { - width: 250px !important; - } - - .sidebar .wpbs-form-form textarea{ - width: 250px !important; - max-width: 250px !important; - } - - .sidebar .wpbs-form-form .wpbs-form-submit{ - width: 250px !important; - } - -} -/* WIDGET Sidebar Responsive 991 */ -@media (min-width:767px) and (max-width:991px) { - - - - .sidebar div.wpbs-calendar ul li { - width: 29px; - height: 29px; - line-height: 29px; - } - - .sidebar li.wpbs-bookable:hover, .sidebar li.wpbs-bookable-clicked, - .sidebar li.wpbs-bookable-clicked:hover, .sidebar li.wpbs-bookable-hover, - .sidebar li.wpbs-bookable-hover:hover, - .sidebar div.wpbs-calendar ul li.wpbs-bookable-clicked, .sidebar div.wpbs-calendar ul li.wpbs-bookable-hover - { - height: 29px !important; - width: 29px !important; - line-height: 29px !important; - } - - .sidebar div.wpbs-calendar ul li .wpbs-day-split-top, - .sidebar .wpbs-select-status .wpbs-day-split-top { - border-width: 29px 29px 0 0; - } - - .sidebar div.wpbs-calendar ul li .wpbs-day-split-bottom, - .sidebar .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 29px 29px; - } - - .sidebar div.wpbs-calendar{ - height: 275px; - margin-right: 0; - } - .sidebar div.wpbs-calendar div.wpbs-heading div.wpbs-select-container{ - width: 110px; - } - - - .sidebar .wpbs-form-form .wpbs-form-item { - width: auto !important; - } - - .sidebar .wpbs-form-form textarea{ - width: auto !important; - } - - .sidebar .wpbs-form-form .wpbs-form-submit{ - width: 200px !important; - } - - .sidebar .wpbs-form-form .wpbs-form-item{ - - margin-right: 0px !important; - } - - .sidebar div.wpbs-calendar div.wpbs-heading span{ - font-size:12px; - } - -} - -/* WIDGET Sidebar Responsive 450 */ - -@media (max-width:479px) { - .sidebar div.wpbs-calendar ul li { - width: 36px; - height: 36px; - line-height: 36px; - } - - .sidebar li.wpbs-bookable:hover, .sidebar li.wpbs-bookable-clicked, - .sidebar li.wpbs-bookable-clicked:hover, .sidebar li.wpbs-bookable-hover, - .sidebar li.wpbs-bookable-hover:hover, - .sidebar div.wpbs-calendar ul li.wpbs-bookable-clicked, .sidebar div.wpbs-calendar ul li.wpbs-bookable-hover - { - height: 36px !important; - width: 36px !important; - line-height: 36px !important; - } - - .sidebar div.wpbs-calendar ul li .wpbs-day-split-top, - .sidebar .wpbs-select-status .wpbs-day-split-top { - border-width: 36px 36px 0 0; - } - - .sidebar div.wpbs-calendar ul li .wpbs-day-split-bottom, - .sidebar .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 36px 36px; - } - - .sidebar div.wpbs-calendar{ - height: 328px; - margin-right: 0; - } - .sidebar div.wpbs-calendar div.wpbs-heading div.wpbs-select-container{ - width: 164px; - } - - .sidebar .wpbs-form-form .wpbs-form-item { - width: 250px !important; - } - - .sidebar .wpbs-form-form textarea{ - width: 250px !important; - max-width: 250px !important; - } - - .sidebar .wpbs-form-form .wpbs-form-submit{ - width: 250px !important; - } -} - - -/* WIDGET Footer */ - -.footer .wpbs-container p, .footer .wpbs-form-form label{ - color: #fff !important; -} -.footer .wpbs-form-form .wpbs-form-error-msg label { - color: #ff0000 !important; -} - -/* WIDGET Footer 4 Cols */ -.footer .col-md-3.col-sm-6 div.wpbs-calendar ul li { - width: 37px; - height: 37px; - line-height: 37px; -} - -.footer .col-md-3.col-sm-6 li.wpbs-bookable:hover, .footer .col-md-3.col-sm-6 li.wpbs-bookable-clicked, -.footer .col-md-3.col-sm-6 li.wpbs-bookable-clicked:hover, .footer .col-md-3.col-sm-6 li.wpbs-bookable-hover, -.footer .col-md-3.col-sm-6 li.wpbs-bookable-hover:hover, -.footer .col-md-3.col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-clicked, .footer .col-md-3.col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 37px !important; - width: 37px !important; - line-height: 37px !important; -} - -.footer .col-md-3.col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-top, -.footer .col-md-3.col-sm-6 .wpbs-select-status .wpbs-day-split-top { - border-width: 37px 37px 0 0; -} - -.footer .col-md-3.col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-bottom, -.footer .col-md-3.col-sm-6 .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 37px 37px; -} - -.footer .col-md-3.col-sm-6 div.wpbs-calendar{ - height: 335px; - margin-right: 0; -} - -.footer .col-md-3.col-sm-6 div.wpbs-calendar div.wpbs-heading div.wpbs-select-container{ - width: 168px; -} - - -.footer .col-md-3.col-sm-6 .wpbs-form-form .wpbs-form-item { - width: 262px !important; -} - -.footer .col-md-3.col-sm-6 .wpbs-form-form textarea{ - width: 262px !important; - max-width: 262px !important; -} - -.footer .col-md-3.col-sm-6 .wpbs-form-form .wpbs-form-submit{ - width: 262px !important; -} - - -/* WIDGET Footer 3 Cols */ -.footer .col-md-4.col-sm-6 div.wpbs-calendar ul li { - width: 50px; - height: 50px; - line-height: 50px; -} - -.footer .col-md-4.col-sm-6 li.wpbs-bookable:hover, .footer .col-md-4.col-sm-6 li.wpbs-bookable-clicked, -.footer .col-md-4.col-sm-6 li.wpbs-bookable-clicked:hover, .footer .col-md-4.col-sm-6 li.wpbs-bookable-hover, -.footer .col-md-4.col-sm-6 li.wpbs-bookable-hover:hover, -.footer .col-md-4.col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-clicked, .footer .col-md-4.col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 50px !important; - width: 50px !important; - line-height: 50px !important; -} - -.footer .col-md-4.col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-top, -.footer .col-md-4.col-sm-6 .wpbs-select-status .wpbs-day-split-top { - border-width: 50px 50px 0 0; -} - -.footer .col-md-4.col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-bottom, -.footer .col-md-4.col-sm-6 .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 50px 50px; -} - -.footer .col-md-4.col-sm-6 div.wpbs-calendar{ - height: 426px; - margin-right: 0; -} - -.footer .col-md-4.col-sm-6 div.wpbs-calendar div.wpbs-heading div.wpbs-select-container{ - width: 168px; -} - - -.footer .col-md-4.col-sm-6 .wpbs-form-form .wpbs-form-item { - width: 360px !important; -} - -.footer .col-md-4.col-sm-6 .wpbs-form-form textarea{ - width: 360px !important; - max-width: 360px !important; -} - -.footer .col-md-4.col-sm-6 .wpbs-form-form .wpbs-form-submit{ - width: 360px !important; -} - -/* Responsive */ - -@media (max-width:479px) { - div.wpbs-calendar { - margin-right: 0px; - } -} - -@media (max-width:1200px){ - .col-md-12 div.wpbs-calendar ul li { - width: 42px; - height: 42px; - line-height: 42px; - } - - .col-md-12 li.wpbs-bookable:hover, .col-md-12 li.wpbs-bookable-clicked, - .col-md-12 li.wpbs-bookable-clicked:hover, .col-md-12 li.wpbs-bookable-hover, - .col-md-12 li.wpbs-bookable-hover:hover, - .col-md-12 div.wpbs-calendar ul li.wpbs-bookable-clicked, .col-md-12 div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 42px !important; - width: 42px !important; - line-height: 42px !important; - } - - .col-md-12 div.wpbs-calendar ul li .wpbs-day-split-top, .col-md-12 .wpbs-select-status .wpbs-day-split-top { - border-width: 42px 42px 0 0; - } - - .col-md-12 div.wpbs-calendar ul li .wpbs-day-split-bottom, .col-md-12 .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 42px 42px; - } - - .col-md-12 div.wpbs-calendar{ - height: 370px; - } - - .col-sm-6 div.wpbs-calendar ul li { - width: 30px; - height: 30px; - line-height: 30px; - } - - .col-sm-6 li.wpbs-bookable:hover, .col-sm-6 li.wpbs-bookable-clicked, - .col-sm-6 li.wpbs-bookable-clicked:hover, .col-sm-6 li.wpbs-bookable-hover, - .col-sm-6 li.wpbs-bookable-hover:hover, - .col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-clicked, .col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 30px !important; - width: 30px !important; - line-height: 30px !important; - } - - .col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-top, - .col-sm-6 .wpbs-select-status .wpbs-day-split-top { - border-width: 30px 30px 0 0; - } - - .col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-bottom, - .col-sm-6 .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 30px 30px; - } - - .col-sm-6 div.wpbs-calendar{ - height: 286px; - } - - - -} - -@media (max-width:1220px) { - /* Booked Cal Large */ - - - .th-book-cal-large.th-large div.wpbs-calendar ul li { - width: 48px !important; - height: 48px !important; - line-height: 48px !important; - } - - .th-book-cal-large.th-large li.wpbs-bookable:hover, .th-book-cal-large.th-large li.wpbs-bookable-clicked, - .th-book-cal-large.th-large li.wpbs-bookable-clicked:hover, .th-book-cal-large.th-large li.wpbs-bookable-hover, - .th-book-cal-large.th-large li.wpbs-bookable-hover:hover, - .th-book-cal-large.th-large div.wpbs-calendar ul li.wpbs-bookable-clicked, .th-book-cal-large.th-large div.wpbs-calendar ul li.wpbs-bookable-hover{ - width: 48px !important; - height: 48px !important; - line-height: 48px !important; - } - - .th-book-cal-large.th-large div.wpbs-calendar ul li .wpbs-day-split-top, - .th-book-cal-large.th-large .wpbs-select-status .wpbs-day-split-top { - border-width: 48px 48px 0 0; - } - - .th-book-cal-large.th-large div.wpbs-calendar ul li .wpbs-day-split-bottom, - .th-book-cal-large.th-large .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 48px 48px; - } - - .th-book-cal-large.th-large div.wpbs-calendar{ - height: 410px; - margin-right:0; - border:none; - } -} -@media (max-width:898px) { - /* Booked Cal Small */ - - - .th-book-cal-small.th-large div.wpbs-calendar ul li { - width: 47px !important; - height: 4847 !important; - line-height: 47px !important; - } - - .th-book-cal-small.th-large li.wpbs-bookable:hover, .th-book-cal-small.th-large li.wpbs-bookable-clicked, - .th-book-cal-small.th-large li.wpbs-bookable-clicked:hover, .th-book-cal-small.th-large li.wpbs-bookable-hover, - .th-book-cal-small.th-large li.wpbs-bookable-hover:hover, - .th-book-cal-small.th-large div.wpbs-calendar ul li.wpbs-bookable-clicked, .th-book-cal-small.th-large div.wpbs-calendar ul li.wpbs-bookable-hover{ - width: 47px !important; - height: 47px !important; - line-height: 47px !important; - } - - .th-book-cal-small.th-large div.wpbs-calendar ul li .wpbs-day-split-top, - .th-book-cal-small.th-large .wpbs-select-status .wpbs-day-split-top { - border-width: 47px 47px 0 0; - } - - .th-book-cal-small.th-large div.wpbs-calendar ul li .wpbs-day-split-bottom, - .th-book-cal-small.th-large .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 47px 47px; - } - - .th-book-cal-small.th-large div.wpbs-calendar{ - height: 473px; - margin-right:0; - border:none; - } - - -} - -@media (max-width:991px) { - - - - - .col-md-12 div.wpbs-calendar ul li { - width: 48px; - height: 48px; - line-height: 48px; - } - - .col-md-12 li.wpbs-bookable:hover, .col-md-12 li.wpbs-bookable-clicked, - .col-md-12 li.wpbs-bookable-clicked:hover, .col-md-12 li.wpbs-bookable-hover, - .col-md-12 li.wpbs-bookable-hover:hover, - .col-md-12 div.wpbs-calendar ul li.wpbs-bookable-clicked, .col-md-12 div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 48px !important; - width: 48px !important; - line-height: 48px !important; - } - - - .col-md-12 div.wpbs-calendar ul li .wpbs-day-split-top, - .col-md-12 .wpbs-select-status .wpbs-day-split-top { - border-width: 48px 48px 0 0; - } - - .col-md-12 div.wpbs-calendar ul li .wpbs-day-split-bottom, - .col-md-12 .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 48px 48px; - } - - .col-md-12 div.wpbs-calendar{ - height: 412px; - } - - .col-sm-12 div.wpbs-calendar ul li { - width: 48px; - height: 48px; - line-height: 48px; - } - - .col-sm-12 li.wpbs-bookable:hover, .col-sm-12 li.wpbs-bookable-clicked, - .col-sm-12 li.wpbs-bookable-clicked:hover, .col-sm-12 li.wpbs-bookable-hover, - .col-sm-12 li.wpbs-bookable-hover:hover, - .col-sm-12 div.wpbs-calendar ul li.wpbs-bookable-clicked, .col-sm-12 div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 48px !important; - width: 48px !important; - line-height: 48px !important; - } - - - .col-sm-12 div.wpbs-calendar ul li .wpbs-day-split-top, - .col-sm-12 .wpbs-select-status .wpbs-day-split-top { - border-width: 48px 48px 0 0; - } - - .col-sm-12 div.wpbs-calendar ul li .wpbs-day-split-bottom, - .col-sm-12 .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 48px 48px; - } - - .col-sm-12 div.wpbs-calendar{ - height: 412px; - margin-left: 10px; - } - - .col-sm-6 div.wpbs-calendar ul li { - width: 48px; - height: 48px; - line-height: 48px; - } - - .col-sm-6 li.wpbs-bookable:hover, .col-sm-6 li.wpbs-bookable-clicked, - .col-sm-6 li.wpbs-bookable-clicked:hover, .col-sm-6 li.wpbs-bookable-hover, - .col-sm-6 li.wpbs-bookable-hover:hover, - .col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-clicked, .col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 48px !important; - width: 48px !important; - line-height: 48px !important; - } - - .col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-top, - .col-sm-6 .wpbs-select-status .wpbs-day-split-top { - border-width: 48px 48px 0 0; - } - - .col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-bottom, - .col-sm-6 .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 48px 48px; - } - - .col-sm-6 div.wpbs-calendar{ - height: 412px; - margin-right: 0; - } - - - /* Slider Cal */ - - .slider-content.col-sm-6 div.wpbs-calendar ul li { - width: 49px !important; - height: 49px !important; - line-height: 49px !important; - } - - .slider-content.col-sm-6 li.wpbs-bookable:hover, .slider-content.col-sm-6 li.wpbs-bookable-clicked, - .slider-content.col-sm-6 li.wpbs-bookable-clicked:hover, .slider-content.col-sm-6 li.wpbs-bookable-hover, - .slider-content.col-sm-6 li.wpbs-bookable-hover:hover, - .slider-content.col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-clicked, .slider-content.col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 49px !important; - width: 49px !important; - line-height: 49px !important; - } - - .slider-content.col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-top, - .slider-content.col-sm-6 .wpbs-select-status .wpbs-day-split-top { - border-width: 49px 49px 0 0; - } - - .slider-content.col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-bottom, - .slider-content.col-sm-6 .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 49px 49px; - } - - .slider-content.col-sm-6 div.wpbs-calendar{ - height: 423px; - } - -} - - -@media (max-width:767px) { - - /* Booked Cal Large */ - - - .th-book-cal-large.th-large div.wpbs-calendar ul li { - width: 80px !important; - height: 60px !important; - line-height: 60px !important; - } - - .th-book-cal-large.th-large li.wpbs-bookable:hover, .th-book-cal-large.th-large li.wpbs-bookable-clicked, - .th-book-cal-large.th-large li.wpbs-bookable-clicked:hover, .th-book-cal-large.th-large li.wpbs-bookable-hover, - .th-book-cal-large.th-large li.wpbs-bookable-hover:hover, - .th-book-cal-large.th-large div.wpbs-calendar ul li.wpbs-bookable-clicked, .th-book-cal-large.th-large div.wpbs-calendar ul li.wpbs-bookable-hover{ - width: 80px !important; - height: 60px !important; - line-height: 54px !important; - } - - .th-book-cal-large.th-large div.wpbs-calendar ul li .wpbs-day-split-top, - .th-book-cal-large.th-large .wpbs-select-status .wpbs-day-split-top { - border-width: 80px 60px 0 0; - } - - .th-book-cal-large.th-large div.wpbs-calendar ul li .wpbs-day-split-bottom, - .th-book-cal-large.th-large .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 80px 60px; - } - - .th-book-cal-large.th-large div.wpbs-calendar{ - height: 495px; - margin-right:0; - border:none; - } - - .col-sm-6 div.wpbs-calendar{ - margin-left: 10px; - } - - .wpbs-form-form .wpbs-form-submit, - .wpbs-form-form .wpbs-form-item, - .wpbs-form-form textarea { - clear: both !important; - } - - .slider-content .wpbs-form-no-form .wpbs-legend{ - padding-left: 10px !important; - } - -} - -@media (max-width:479px) { - .col-md-12 div.wpbs-calendar ul li { - width: 38px; - height: 38px; - line-height: 38px; - } - - .col-md-12 li.wpbs-bookable:hover, .col-md-12 li.wpbs-bookable-clicked, - .col-md-12 li.wpbs-bookable-clicked:hover, .col-md-12 li.wpbs-bookable-hover, - .col-md-12 li.wpbs-bookable-hover:hover, - .col-md-12 div.wpbs-calendar ul li.wpbs-bookable-clicked, .col-md-12 div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 38px !important; - width: 38px !important; - line-height: 38px !important; - } - - .col-md-12 div.wpbs-calendar ul li .wpbs-day-split-top, - .col-md-12 .wpbs-select-status .wpbs-day-split-top { - border-width: 38px 38px 0 0; - } - - .col-md-12 div.wpbs-calendar ul li .wpbs-day-split-bottom, - .col-md-12 .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 38px 38px; - } - - .col-md-12 div.wpbs-calendar{ - height: 342px; - } - - .col-sm-12 div.wpbs-calendar{ - height: 342px; - margin-left:0; - } - - .col-sm-12 div.wpbs-calendar ul li { - width: 38px; - height: 38px; - line-height: 38px; - } - - .col-sm-12 li.wpbs-bookable:hover, .col-sm-12 li.wpbs-bookable-clicked, - .col-sm-12 li.wpbs-bookable-clicked:hover, .col-sm-12 li.wpbs-bookable-hover, - .col-sm-12 li.wpbs-bookable-hover:hover, - .col-sm-12 div.wpbs-calendar ul li.wpbs-bookable-clicked, .col-sm-12 div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 38px !important; - width: 38px !important; - line-height: 38px !important; - } - - .col-sm-12 div.wpbs-calendar ul li .wpbs-day-split-top, - .col-sm-12 .wpbs-select-status .wpbs-day-split-top { - border-width: 38px 38px 0 0; - } - - .col-sm-12 div.wpbs-calendar ul li .wpbs-day-split-bottom, - .col-sm-12 .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 38px 38px; - } - - .col-sm-12 div.wpbs-calendar{ - height: 342px; - } - - .col-sm-6 div.wpbs-calendar ul li { - width: 38px; - height: 38px; - line-height: 38px; - } - - .col-sm-6 li.wpbs-bookable:hover, .col-sm-6 li.wpbs-bookable-clicked, - .col-sm-6 li.wpbs-bookable-clicked:hover, .col-sm-6 li.wpbs-bookable-hover, - .col-sm-6 li.wpbs-bookable-hover:hover, - .col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-clicked, .col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 38px !important; - width: 38px !important; - line-height: 38px !important; - } - - .col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-top, - .col-sm-6 .wpbs-select-status .wpbs-day-split-top { - border-width: 38px 38px 0 0; - } - - .col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-bottom, - .col-sm-6 .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 38px 38px; - } - - .col-sm-6 div.wpbs-calendar{ - height: 342px; - margin-right: 0; - margin-left: 0; - } - - /* Slider Cal */ - - .slider-content.col-sm-6 div.wpbs-calendar ul li { - width: 38px !important; - height: 38px !important; - line-height: 38px !important; - } - - .slider-content.col-sm-6 li.wpbs-bookable:hover, .slider-content.col-sm-6 li.wpbs-bookable-clicked, - .slider-content.col-sm-6 li.wpbs-bookable-clicked:hover, .slider-content.col-sm-6 li.wpbs-bookable-hover, - .slider-content.col-sm-6 li.wpbs-bookable-hover:hover, - .slider-content.col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-clicked, .slider-content.col-sm-6 div.wpbs-calendar ul li.wpbs-bookable-hover{ - height: 38px !important; - width: 38px !important; - line-height: 38px !important; - } - - .slider-content.col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-top, - .slider-content.col-sm-6 .wpbs-select-status .wpbs-day-split-top { - border-width: 38px 38px 0 0; - } - - .slider-content.col-sm-6 div.wpbs-calendar ul li .wpbs-day-split-bottom, - .slider-content.col-sm-6 .wpbs-select-status .wpbs-day-split-bottom { - border-width: 0 0 38px 38px; - } - - .slider-content.col-sm-6 div.wpbs-calendar{ - height: 342px; - } - - .slider-content .wpbs-form-no-form .wpbs-legend{ - padding-left: inherit !important; - } - -} - -/* reCaptcha */ -.wpbs-form-form textarea.g-recaptcha-response { - display: none !important; -} - -.g-recaptcha{ - clear: none !important; - display: inline !important; - float: left !important; - margin: 32px -34px 0 0; - min-height: 92px; -} - -/* Fix form submit anchor overshoot */ - -a.wpbs-form-start { - display: block; - position: relative; - top: -600px; - visibility: hidden; -} \ No newline at end of file diff --git a/assets/css/glm-dev.css b/assets/css/glm-dev.css new file mode 100644 index 0000000..f036730 --- /dev/null +++ b/assets/css/glm-dev.css @@ -0,0 +1,3 @@ +body footer#colophon.site-footer{position:relative}body footer#colophon.site-footer #footer-overlay{position:absolute;height:100%;width:100%;background:rgba(27,38,80,0.8)}body footer#colophon.site-footer .bottom-footer{background:#1B2650;background-size:cover;padding:2% 0 20px}body footer#colophon.site-footer .bottom-footer .footer-content{position:relative;max-width:325px;margin:0 auto;text-align:center}@media (min-width: 1000px){body .main-navigation{position:relative}}body .main-navigation ul#menu-main li:last-child{background:#1B2650;transition:background 300ms ease-in-out}body .main-navigation ul#menu-main li:last-child a{color:white}body .main-navigation ul#menu-main li:last-child:hover{background:#00D3D1}@media (min-width: 770px){body.page #page #content{padding-top:150px !important}}@media (max-width: 774px){body.page #page #content{padding-top:50px !important}}body.page #page #content .mid-content{background-color:white;box-shadow:5px 5px 25px 0 rgba(46,61,73,0.2);margin-bottom:25px}body.page #page #content .mid-content #primary{width:100%}body #slideshow{position:relative;top:-11px;min-height:350px;max-height:540px;overflow-y:hidden;width:100%;z-index:-1}body #slideshow ul{list-style:none;margin:0}body #slideshow .overlay{position:absolute;width:100%;display:block;bottom:0;height:455px}body #slideshow #caption{background:rgba(0,0,0,0.75);color:white;margin-top:-51px}body #slideshow #caption p{padding:10px 5px;font-size:12px;margin:0;text-align:right} + +/*# sourceMappingURL=glm-dev.css.map */ diff --git a/assets/css/glm-dev.css.map b/assets/css/glm-dev.css.map new file mode 100644 index 0000000..f46ad3e --- /dev/null +++ b/assets/css/glm-dev.css.map @@ -0,0 +1 @@ +{"version":3,"file":"glm-dev.css","sources":["glm-dev.scss","_settings.scss","_body.scss","_slideshow.scss"],"sourcesContent":["@import 'settings';\n@import 'body';\n@import 'slideshow';","$navy : #1B2650;\n$grey : #231F20;\n$blue : #00D3D1;\n$peach: #F28B59;","body{\n footer#colophon.site-footer{\n position: relative;\n #footer-overlay{\n position: absolute;\n height: 100%;\n width: 100%;\n background: rgba($navy, 0.80);\n }\n .bottom-footer{\n background: $navy;\n // background: url(../../assets/footer.jpg) no-repeat center center;\n background-size: cover;\n // backround\n padding: 2% 0 20px;\n .footer-content{\n position: relative;\n max-width: 325px;\n margin: 0 auto;\n text-align: center;\n }\n }\n }\n .main-navigation{\n // margin-right: 75px;\n @media (min-width: 1000px){\n position: relative;\n // top: 30px;\n // margin-left: 200px;\n }\n \n ul#menu-main{\n li:last-child{\n background: $navy;\n transition: background 300ms ease-in-out;\n a {\n color: white;\n }\n &:hover{\n background: $blue;\n }\n }\n }\n }\n}\nbody.page{\n #page{\n #content{\n @media (min-width: 770px){\n padding-top: 150px !important;\n }\n @media (max-width: 774px){\n padding-top: 50px !important;\n }\n .mid-content{\n background-color: white;\n box-shadow: 5px 5px 25px 0 rgba(46,61,73,.2);\n margin-bottom: 25px ;\n #primary{\n width: 100%;\n }\n }\n }\n }\n}","body{\n #slideshow {\n position: relative;\n top: -11px;\n min-height: 350px;\n max-height: 540px;\n overflow-y: hidden;\n width: 100%;\n z-index: -1;\n // @include {\n // position: relative;\n // // z-index: 0;\n // min-height: 200px;\n // }\n ul {\n list-style: none;\n margin: 0;\n }\n .overlay {\n position: absolute;\n width: 100%;\n display: block;\n bottom: 0;\n height: 455px;\n }\n #caption {\n background: rgba(0, 0, 0, 0.75);\n color: white;\n margin-top: -51px;\n p {\n padding: 10px 5px;\n font-size: 12px;\n margin: 0;\n text-align: right;\n }\n }\n }\n}\n"],"mappings":"AEAA,AACmB,IADf,CACA,MAAM,AAAA,SAAS,AAAA,YAAY,AAAA,CACvB,QAAQ,CAAE,QAAS,CAoBtB,AAtBL,AAGQ,IAHJ,CACA,MAAM,AAAA,SAAS,AAAA,YAAY,CAEvB,eAAe,AAAA,CACX,QAAQ,CAAE,QAAS,CACnB,MAAM,CAAE,IAAK,CACb,KAAK,CAAE,IAAK,CACZ,UAAU,CDPd,kBAAO,CCQN,AART,AASQ,IATJ,CACA,MAAM,AAAA,SAAS,AAAA,YAAY,CAQvB,cAAc,AAAA,CACV,UAAU,CDVd,OAAO,CCYH,eAAe,CAAE,KAAM,CAEvB,OAAO,CAAE,SAAU,CAOtB,AArBT,AAeY,IAfR,CACA,MAAM,AAAA,SAAS,AAAA,YAAY,CAQvB,cAAc,CAMV,eAAe,AAAA,CACX,QAAQ,CAAE,QAAS,CACnB,SAAS,CAAE,KAAM,CACjB,MAAM,CAAE,MAAO,CACf,UAAU,CAAE,MAAO,CACtB,AAKL,MAAM,EAAL,SAAS,EAAE,MAAM,EAzB1B,AAuBI,IAvBA,CAuBA,gBAAgB,AAAA,CAGR,QAAQ,CAAE,QAAS,CAiB1B,CA3CL,AAgCc,IAhCV,CAuBA,gBAAgB,CAQZ,EAAE,AAAA,UAAU,CACR,EAAE,AAAA,WAAW,AAAA,CACT,UAAU,CDjClB,OAAO,CCkCC,UAAU,CAAE,4BAA6B,CAO5C,AAzCb,AAmCgB,IAnCZ,CAuBA,gBAAgB,CAQZ,EAAE,AAAA,UAAU,CACR,EAAE,AAAA,WAAW,CAGT,CAAC,AAAC,CACE,KAAK,CAAE,KAAM,CAChB,AArCjB,AAgCc,IAhCV,CAuBA,gBAAgB,CAQZ,EAAE,AAAA,UAAU,CACR,EAAE,AAAA,WAAW,AAMR,MAAM,AAAA,CACH,UAAU,CDrCtB,OAAO,CCsCE,AAQL,MAAM,EAAL,SAAS,EAAE,KAAK,EAH7B,AAEQ,IAFJ,AAAA,KAAK,CACL,KAAK,CACD,QAAQ,AAAA,CAEA,WAAW,CAAE,gBAAiB,CAarC,CAXG,MAAM,EAAL,SAAS,EAAE,KAAK,EAN7B,AAEQ,IAFJ,AAAA,KAAK,CACL,KAAK,CACD,QAAQ,AAAA,CAKA,WAAW,CAAE,eAAgB,CAUpC,CAjBT,AASY,IATR,AAAA,KAAK,CACL,KAAK,CACD,QAAQ,CAOJ,YAAY,AAAA,CACR,gBAAgB,CAAE,KAAM,CACxB,UAAU,CAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,kBAAI,CAC/B,aAAa,CAAE,IAAM,CAIxB,AAhBb,AAagB,IAbZ,AAAA,KAAK,CACL,KAAK,CACD,QAAQ,CAOJ,YAAY,CAIR,QAAQ,AAAA,CACJ,KAAK,CAAE,IAAK,CACf,AC5DjB,AACI,IADA,CACA,UAAU,AAAC,CACP,QAAQ,CAAE,QAAS,CACnB,GAAG,CAAE,KAAM,CACX,UAAU,CAAE,KAAM,CAClB,UAAU,CAAE,KAAM,CAClB,UAAU,CAAE,MAAO,CACnB,KAAK,CAAE,IAAK,CACZ,OAAO,CAAE,EAAG,CA4Bf,AApCL,AAcQ,IAdJ,CACA,UAAU,CAaN,EAAE,AAAC,CACC,UAAU,CAAE,IAAK,CACjB,MAAM,CAAE,CAAE,CACb,AAjBT,AAkBQ,IAlBJ,CACA,UAAU,CAiBN,QAAQ,AAAC,CACL,QAAQ,CAAE,QAAS,CACnB,KAAK,CAAE,IAAK,CACZ,OAAO,CAAE,KAAM,CACf,MAAM,CAAE,CAAE,CACV,MAAM,CAAE,KAAM,CACjB,AAxBT,AAyBQ,IAzBJ,CACA,UAAU,CAwBN,QAAQ,AAAC,CACL,UAAU,CAAE,gBAAI,CAChB,KAAK,CAAE,KAAM,CACb,UAAU,CAAE,KAAM,CAOrB,AAnCT,AA6BY,IA7BR,CACA,UAAU,CAwBN,QAAQ,CAIJ,CAAC,AAAC,CACE,OAAO,CAAE,QAAS,CAClB,SAAS,CAAE,IAAK,CAChB,MAAM,CAAE,CAAE,CACV,UAAU,CAAE,KAAM,CACrB","names":[]} \ No newline at end of file diff --git a/assets/css/unminified/bootstrap.css b/assets/css/unminified/bootstrap.css deleted file mode 100644 index 7f36651..0000000 --- a/assets/css/unminified/bootstrap.css +++ /dev/null @@ -1,5785 +0,0 @@ -/*! - * Bootstrap v3.1.1 (http://getbootstrap.com) - * Copyright 2011-2014 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ - -/*! normalize.css v3.0.0 | MIT License | git.io/normalize */ -html { - font-family: sans-serif; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -body { - margin: 0; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -nav, -section, -summary { - display: block; -} -audio, -canvas, -progress, -video { - display: inline-block; - vertical-align: baseline; -} -audio:not([controls]) { - display: none; - height: 0; -} -[hidden], -template { - display: none; -} -a { - background: transparent; -} -a:active, -a:hover { - outline: 0; -} -abbr[title] { - border-bottom: 1px dotted; -} -b, -strong { - font-weight: bold; -} -dfn { - font-style: italic; -} -h1 { - margin: .67em 0; - font-size: 2em; -} -mark { - color: #000; - background: #ff0; -} -small { - font-size: 80%; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -.5em; -} -sub { - bottom: -.25em; -} -img { - border: 0; -} -svg:not(:root) { - overflow: hidden; -} -figure { - margin: 1em 40px; -} -hr { - height: 0; - -moz-box-sizing: content-box; - box-sizing: content-box; -} -pre { - overflow: auto; -} -code, -kbd, -pre, -samp { - font-family: monospace, monospace; - font-size: 1em; -} -button, -input, -optgroup, -select, -textarea { - margin: 0; - font: inherit; - color: inherit; -} -button { - overflow: visible; -} -button, -select { - text-transform: none; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -button[disabled], -html input[disabled] { - cursor: default; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -input { - line-height: normal; -} -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; - padding: 0; -} -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { - height: auto; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} -fieldset { - padding: .35em .625em .75em; - margin: 0 2px; - border: 1px solid #c0c0c0; -} -legend { - padding: 0; - border: 0; -} -textarea { - overflow: auto; -} -optgroup { - font-weight: bold; -} -table { - border-spacing: 0; - border-collapse: collapse; -} -td, -th { - padding: 0; -} -@media print { - * { - color: #000 !important; - text-shadow: none !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } - select { - background: #fff !important; - } - .navbar { - display: none; - } - .table td, - .table th { - background-color: #fff !important; - } - .btn > .caret, - .dropup > .btn > .caret { - border-top-color: #000 !important; - } - .label { - border: 1px solid #000; - } - .table { - border-collapse: collapse !important; - } - .table-bordered th, - .table-bordered td { - border: 1px solid #ddd !important; - } -} -* { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -*:before, -*:after { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -html { - font-size: 62.5%; - - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -} -body { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; - line-height: 1.42857143; - color: #333; - background-color: #fff; -} -input, -button, -select, -textarea { - font-family: inherit; - font-size: inherit; - line-height: inherit; -} -a { - color: #428bca; - text-decoration: none; -} -a:hover, -a:focus { - color: #2a6496; - text-decoration: underline; -} -a:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -figure { - margin: 0; -} -img { - vertical-align: middle; -} -.img-responsive, -.thumbnail > img, -.thumbnail a > img, -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - max-width: 100%; - height: auto; -} -.img-rounded { - border-radius: 6px; -} -.img-thumbnail { - display: inline-block; - max-width: 100%; - height: auto; - padding: 4px; - line-height: 1.42857143; - background-color: #fff; - border: 1px solid #ddd; - border-radius: 4px; - -webkit-transition: all .2s ease-in-out; - transition: all .2s ease-in-out; -} -.img-circle { - border-radius: 50%; -} -hr { - margin-top: 20px; - margin-bottom: 20px; - border: 0; - border-top: 1px solid #eee; -} -.sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; -} -h1, -h2, -h3, -h4, -h5, -h6, -.h1, -.h2, -.h3, -.h4, -.h5, -.h6 { - font-family: inherit; - font-weight: 500; - line-height: 1.1; - color: inherit; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small, -.h1 small, -.h2 small, -.h3 small, -.h4 small, -.h5 small, -.h6 small, -h1 .small, -h2 .small, -h3 .small, -h4 .small, -h5 .small, -h6 .small, -.h1 .small, -.h2 .small, -.h3 .small, -.h4 .small, -.h5 .small, -.h6 .small { - font-weight: normal; - line-height: 1; - color: #999; -} -h1, -.h1, -h2, -.h2, -h3, -.h3 { - margin-top: 20px; - margin-bottom: 10px; -} -h1 small, -.h1 small, -h2 small, -.h2 small, -h3 small, -.h3 small, -h1 .small, -.h1 .small, -h2 .small, -.h2 .small, -h3 .small, -.h3 .small { - font-size: 65%; -} -h4, -.h4, -h5, -.h5, -h6, -.h6 { - margin-top: 10px; - margin-bottom: 10px; -} -h4 small, -.h4 small, -h5 small, -.h5 small, -h6 small, -.h6 small, -h4 .small, -.h4 .small, -h5 .small, -.h5 .small, -h6 .small, -.h6 .small { - font-size: 75%; -} -h1, -.h1 { - font-size: 36px; -} -h2, -.h2 { - font-size: 30px; -} -h3, -.h3 { - font-size: 24px; -} -h4, -.h4 { - font-size: 18px; -} -h5, -.h5 { - font-size: 14px; -} -h6, -.h6 { - font-size: 12px; -} -p { - margin: 0 0 10px; -} -.lead { - margin-bottom: 20px; - font-size: 16px; - font-weight: 200; - line-height: 1.4; -} -@media (min-width: 768px) { - .lead { - font-size: 21px; - } -} -small, -.small { - font-size: 85%; -} -cite { - font-style: normal; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -.text-justify { - text-align: justify; -} -.text-muted { - color: #999; -} -.text-primary { - color: #428bca; -} -a.text-primary:hover { - color: #3071a9; -} -.text-success { - color: #3c763d; -} -a.text-success:hover { - color: #2b542c; -} -.text-info { - color: #31708f; -} -a.text-info:hover { - color: #245269; -} -.text-warning { - color: #8a6d3b; -} -a.text-warning:hover { - color: #66512c; -} -.text-danger { - color: #a94442; -} -a.text-danger:hover { - color: #843534; -} -.bg-primary { - color: #fff; - background-color: #428bca; -} -a.bg-primary:hover { - background-color: #3071a9; -} -.bg-success { - background-color: #dff0d8; -} -a.bg-success:hover { - background-color: #c1e2b3; -} -.bg-info { - background-color: #d9edf7; -} -a.bg-info:hover { - background-color: #afd9ee; -} -.bg-warning { - background-color: #fcf8e3; -} -a.bg-warning:hover { - background-color: #f7ecb5; -} -.bg-danger { - background-color: #f2dede; -} -a.bg-danger:hover { - background-color: #e4b9b9; -} -.page-header { - padding-bottom: 9px; - margin: 40px 0 20px; - border-bottom: 1px solid #eee; -} -ul, -ol { - margin-top: 0; - margin-bottom: 10px; -} -ul ul, -ol ul, -ul ol, -ol ol { - margin-bottom: 0; -} -.list-unstyled { - padding-left: 0; - list-style: none; -} -.list-inline { - padding-left: 0; - margin-left: -5px; - list-style: none; -} -.list-inline > li { - display: inline-block; - padding-right: 5px; - padding-left: 5px; -} -dl { - margin-top: 0; - margin-bottom: 20px; -} -dt, -dd { - line-height: 1.42857143; -} -dt { - font-weight: bold; -} -dd { - margin-left: 0; -} -@media (min-width: 768px) { - .dl-horizontal dt { - float: left; - width: 160px; - overflow: hidden; - clear: left; - text-align: right; - text-overflow: ellipsis; - white-space: nowrap; - } - .dl-horizontal dd { - margin-left: 180px; - } -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #999; -} -.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 10px 20px; - margin: 0 0 20px; - font-size: 17.5px; - border-left: 5px solid #eee; -} -blockquote p:last-child, -blockquote ul:last-child, -blockquote ol:last-child { - margin-bottom: 0; -} -blockquote footer, -blockquote small, -blockquote .small { - display: block; - font-size: 80%; - line-height: 1.42857143; - color: #999; -} -blockquote footer:before, -blockquote small:before, -blockquote .small:before { - content: '\2014 \00A0'; -} -.blockquote-reverse, -blockquote.pull-right { - padding-right: 15px; - padding-left: 0; - text-align: right; - border-right: 5px solid #eee; - border-left: 0; -} -.blockquote-reverse footer:before, -blockquote.pull-right footer:before, -.blockquote-reverse small:before, -blockquote.pull-right small:before, -.blockquote-reverse .small:before, -blockquote.pull-right .small:before { - content: ''; -} -.blockquote-reverse footer:after, -blockquote.pull-right footer:after, -.blockquote-reverse small:after, -blockquote.pull-right small:after, -.blockquote-reverse .small:after, -blockquote.pull-right .small:after { - content: '\00A0 \2014'; -} -blockquote:before, -blockquote:after { - content: ""; -} -address { - margin-bottom: 20px; - font-style: normal; - line-height: 1.42857143; -} -code, -kbd, -pre, -samp { - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; -} -code { - padding: 2px 4px; - font-size: 90%; - color: #c7254e; - white-space: nowrap; - background-color: #f9f2f4; - border-radius: 4px; -} -kbd { - padding: 2px 4px; - font-size: 90%; - color: #fff; - background-color: #333; - border-radius: 3px; - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); -} -pre { - display: block; - padding: 9.5px; - margin: 0 0 10px; - font-size: 13px; - line-height: 1.42857143; - color: #333; - word-break: break-all; - word-wrap: break-word; - background-color: #f5f5f5; - border: 1px solid #ccc; - border-radius: 4px; -} -pre code { - padding: 0; - font-size: inherit; - color: inherit; - white-space: pre-wrap; - background-color: transparent; - border-radius: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -.container { - padding-right: 15px; - padding-left: 15px; - margin-right: auto; - margin-left: auto; -} -@media (min-width: 768px) { - .container { - width: 750px; - } -} -@media (min-width: 992px) { - .container { - width: 970px; - } -} -@media (min-width: 1200px) { - .container { - width: 1170px; - } -} -.container-fluid { - padding-right: 15px; - padding-left: 15px; - margin-right: auto; - margin-left: auto; -} -.row { - margin-right: -15px; - margin-left: -15px; -} -.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { - position: relative; - min-height: 1px; - padding-right: 15px; - padding-left: 15px; -} -.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { - float: left; -} -.col-xs-12 { - width: 100%; -} -.col-xs-11 { - width: 91.66666667%; -} -.col-xs-10 { - width: 83.33333333%; -} -.col-xs-9 { - width: 75%; -} -.col-xs-8 { - width: 66.66666667%; -} -.col-xs-7 { - width: 58.33333333%; -} -.col-xs-6 { - width: 50%; -} -.col-xs-5 { - width: 41.66666667%; -} -.col-xs-4 { - width: 33.33333333%; -} -.col-xs-3 { - width: 25%; -} -.col-xs-2 { - width: 16.66666667%; -} -.col-xs-1 { - width: 8.33333333%; -} -.col-xs-pull-12 { - right: 100%; -} -.col-xs-pull-11 { - right: 91.66666667%; -} -.col-xs-pull-10 { - right: 83.33333333%; -} -.col-xs-pull-9 { - right: 75%; -} -.col-xs-pull-8 { - right: 66.66666667%; -} -.col-xs-pull-7 { - right: 58.33333333%; -} -.col-xs-pull-6 { - right: 50%; -} -.col-xs-pull-5 { - right: 41.66666667%; -} -.col-xs-pull-4 { - right: 33.33333333%; -} -.col-xs-pull-3 { - right: 25%; -} -.col-xs-pull-2 { - right: 16.66666667%; -} -.col-xs-pull-1 { - right: 8.33333333%; -} -.col-xs-pull-0 { - right: 0; -} -.col-xs-push-12 { - left: 100%; -} -.col-xs-push-11 { - left: 91.66666667%; -} -.col-xs-push-10 { - left: 83.33333333%; -} -.col-xs-push-9 { - left: 75%; -} -.col-xs-push-8 { - left: 66.66666667%; -} -.col-xs-push-7 { - left: 58.33333333%; -} -.col-xs-push-6 { - left: 50%; -} -.col-xs-push-5 { - left: 41.66666667%; -} -.col-xs-push-4 { - left: 33.33333333%; -} -.col-xs-push-3 { - left: 25%; -} -.col-xs-push-2 { - left: 16.66666667%; -} -.col-xs-push-1 { - left: 8.33333333%; -} -.col-xs-push-0 { - left: 0; -} -.col-xs-offset-12 { - margin-left: 100%; -} -.col-xs-offset-11 { - margin-left: 91.66666667%; -} -.col-xs-offset-10 { - margin-left: 83.33333333%; -} -.col-xs-offset-9 { - margin-left: 75%; -} -.col-xs-offset-8 { - margin-left: 66.66666667%; -} -.col-xs-offset-7 { - margin-left: 58.33333333%; -} -.col-xs-offset-6 { - margin-left: 50%; -} -.col-xs-offset-5 { - margin-left: 41.66666667%; -} -.col-xs-offset-4 { - margin-left: 33.33333333%; -} -.col-xs-offset-3 { - margin-left: 25%; -} -.col-xs-offset-2 { - margin-left: 16.66666667%; -} -.col-xs-offset-1 { - margin-left: 8.33333333%; -} -.col-xs-offset-0 { - margin-left: 0; -} -@media (min-width: 768px) { - .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { - float: left; - } - .col-sm-12 { - width: 100%; - } - .col-sm-11 { - width: 91.66666667%; - } - .col-sm-10 { - width: 83.33333333%; - } - .col-sm-9 { - width: 75%; - } - .col-sm-8 { - width: 66.66666667%; - } - .col-sm-7 { - width: 58.33333333%; - } - .col-sm-6 { - width: 50%; - } - .col-sm-5 { - width: 41.66666667%; - } - .col-sm-4 { - width: 33.33333333%; - } - .col-sm-3 { - width: 25%; - } - .col-sm-2 { - width: 16.66666667%; - } - .col-sm-1 { - width: 8.33333333%; - } - .col-sm-pull-12 { - right: 100%; - } - .col-sm-pull-11 { - right: 91.66666667%; - } - .col-sm-pull-10 { - right: 83.33333333%; - } - .col-sm-pull-9 { - right: 75%; - } - .col-sm-pull-8 { - right: 66.66666667%; - } - .col-sm-pull-7 { - right: 58.33333333%; - } - .col-sm-pull-6 { - right: 50%; - } - .col-sm-pull-5 { - right: 41.66666667%; - } - .col-sm-pull-4 { - right: 33.33333333%; - } - .col-sm-pull-3 { - right: 25%; - } - .col-sm-pull-2 { - right: 16.66666667%; - } - .col-sm-pull-1 { - right: 8.33333333%; - } - .col-sm-pull-0 { - right: 0; - } - .col-sm-push-12 { - left: 100%; - } - .col-sm-push-11 { - left: 91.66666667%; - } - .col-sm-push-10 { - left: 83.33333333%; - } - .col-sm-push-9 { - left: 75%; - } - .col-sm-push-8 { - left: 66.66666667%; - } - .col-sm-push-7 { - left: 58.33333333%; - } - .col-sm-push-6 { - left: 50%; - } - .col-sm-push-5 { - left: 41.66666667%; - } - .col-sm-push-4 { - left: 33.33333333%; - } - .col-sm-push-3 { - left: 25%; - } - .col-sm-push-2 { - left: 16.66666667%; - } - .col-sm-push-1 { - left: 8.33333333%; - } - .col-sm-push-0 { - left: 0; - } - .col-sm-offset-12 { - margin-left: 100%; - } - .col-sm-offset-11 { - margin-left: 91.66666667%; - } - .col-sm-offset-10 { - margin-left: 83.33333333%; - } - .col-sm-offset-9 { - margin-left: 75%; - } - .col-sm-offset-8 { - margin-left: 66.66666667%; - } - .col-sm-offset-7 { - margin-left: 58.33333333%; - } - .col-sm-offset-6 { - margin-left: 50%; - } - .col-sm-offset-5 { - margin-left: 41.66666667%; - } - .col-sm-offset-4 { - margin-left: 33.33333333%; - } - .col-sm-offset-3 { - margin-left: 25%; - } - .col-sm-offset-2 { - margin-left: 16.66666667%; - } - .col-sm-offset-1 { - margin-left: 8.33333333%; - } - .col-sm-offset-0 { - margin-left: 0; - } -} -@media (min-width: 992px) { - .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { - float: left; - } - .col-md-12 { - width: 100%; - } - .col-md-11 { - width: 91.66666667%; - } - .col-md-10 { - width: 83.33333333%; - } - .col-md-9 { - width: 75%; - } - .col-md-8 { - width: 66.66666667%; - } - .col-md-7 { - width: 58.33333333%; - } - .col-md-6 { - width: 50%; - } - .col-md-5 { - width: 41.66666667%; - } - .col-md-4 { - width: 33.33333333%; - } - .col-md-3 { - width: 25%; - } - .col-md-2 { - width: 16.66666667%; - } - .col-md-1 { - width: 8.33333333%; - } - .col-md-pull-12 { - right: 100%; - } - .col-md-pull-11 { - right: 91.66666667%; - } - .col-md-pull-10 { - right: 83.33333333%; - } - .col-md-pull-9 { - right: 75%; - } - .col-md-pull-8 { - right: 66.66666667%; - } - .col-md-pull-7 { - right: 58.33333333%; - } - .col-md-pull-6 { - right: 50%; - } - .col-md-pull-5 { - right: 41.66666667%; - } - .col-md-pull-4 { - right: 33.33333333%; - } - .col-md-pull-3 { - right: 25%; - } - .col-md-pull-2 { - right: 16.66666667%; - } - .col-md-pull-1 { - right: 8.33333333%; - } - .col-md-pull-0 { - right: 0; - } - .col-md-push-12 { - left: 100%; - } - .col-md-push-11 { - left: 91.66666667%; - } - .col-md-push-10 { - left: 83.33333333%; - } - .col-md-push-9 { - left: 75%; - } - .col-md-push-8 { - left: 66.66666667%; - } - .col-md-push-7 { - left: 58.33333333%; - } - .col-md-push-6 { - left: 50%; - } - .col-md-push-5 { - left: 41.66666667%; - } - .col-md-push-4 { - left: 33.33333333%; - } - .col-md-push-3 { - left: 25%; - } - .col-md-push-2 { - left: 16.66666667%; - } - .col-md-push-1 { - left: 8.33333333%; - } - .col-md-push-0 { - left: 0; - } - .col-md-offset-12 { - margin-left: 100%; - } - .col-md-offset-11 { - margin-left: 91.66666667%; - } - .col-md-offset-10 { - margin-left: 83.33333333%; - } - .col-md-offset-9 { - margin-left: 75%; - } - .col-md-offset-8 { - margin-left: 66.66666667%; - } - .col-md-offset-7 { - margin-left: 58.33333333%; - } - .col-md-offset-6 { - margin-left: 50%; - } - .col-md-offset-5 { - margin-left: 41.66666667%; - } - .col-md-offset-4 { - margin-left: 33.33333333%; - } - .col-md-offset-3 { - margin-left: 25%; - } - .col-md-offset-2 { - margin-left: 16.66666667%; - } - .col-md-offset-1 { - margin-left: 8.33333333%; - } - .col-md-offset-0 { - margin-left: 0; - } -} -@media (min-width: 1200px) { - .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { - float: left; - } - .col-lg-12 { - width: 100%; - } - .col-lg-11 { - width: 91.66666667%; - } - .col-lg-10 { - width: 83.33333333%; - } - .col-lg-9 { - width: 75%; - } - .col-lg-8 { - width: 66.66666667%; - } - .col-lg-7 { - width: 58.33333333%; - } - .col-lg-6 { - width: 50%; - } - .col-lg-5 { - width: 41.66666667%; - } - .col-lg-4 { - width: 33.33333333%; - } - .col-lg-3 { - width: 25%; - } - .col-lg-2 { - width: 16.66666667%; - } - .col-lg-1 { - width: 8.33333333%; - } - .col-lg-pull-12 { - right: 100%; - } - .col-lg-pull-11 { - right: 91.66666667%; - } - .col-lg-pull-10 { - right: 83.33333333%; - } - .col-lg-pull-9 { - right: 75%; - } - .col-lg-pull-8 { - right: 66.66666667%; - } - .col-lg-pull-7 { - right: 58.33333333%; - } - .col-lg-pull-6 { - right: 50%; - } - .col-lg-pull-5 { - right: 41.66666667%; - } - .col-lg-pull-4 { - right: 33.33333333%; - } - .col-lg-pull-3 { - right: 25%; - } - .col-lg-pull-2 { - right: 16.66666667%; - } - .col-lg-pull-1 { - right: 8.33333333%; - } - .col-lg-pull-0 { - right: 0; - } - .col-lg-push-12 { - left: 100%; - } - .col-lg-push-11 { - left: 91.66666667%; - } - .col-lg-push-10 { - left: 83.33333333%; - } - .col-lg-push-9 { - left: 75%; - } - .col-lg-push-8 { - left: 66.66666667%; - } - .col-lg-push-7 { - left: 58.33333333%; - } - .col-lg-push-6 { - left: 50%; - } - .col-lg-push-5 { - left: 41.66666667%; - } - .col-lg-push-4 { - left: 33.33333333%; - } - .col-lg-push-3 { - left: 25%; - } - .col-lg-push-2 { - left: 16.66666667%; - } - .col-lg-push-1 { - left: 8.33333333%; - } - .col-lg-push-0 { - left: 0; - } - .col-lg-offset-12 { - margin-left: 100%; - } - .col-lg-offset-11 { - margin-left: 91.66666667%; - } - .col-lg-offset-10 { - margin-left: 83.33333333%; - } - .col-lg-offset-9 { - margin-left: 75%; - } - .col-lg-offset-8 { - margin-left: 66.66666667%; - } - .col-lg-offset-7 { - margin-left: 58.33333333%; - } - .col-lg-offset-6 { - margin-left: 50%; - } - .col-lg-offset-5 { - margin-left: 41.66666667%; - } - .col-lg-offset-4 { - margin-left: 33.33333333%; - } - .col-lg-offset-3 { - margin-left: 25%; - } - .col-lg-offset-2 { - margin-left: 16.66666667%; - } - .col-lg-offset-1 { - margin-left: 8.33333333%; - } - .col-lg-offset-0 { - margin-left: 0; - } -} -table { - max-width: 100%; - background-color: transparent; -} -th { - text-align: left; -} -.table { - width: 100%; - margin-bottom: 20px; -} -.table > thead > tr > th, -.table > tbody > tr > th, -.table > tfoot > tr > th, -.table > thead > tr > td, -.table > tbody > tr > td, -.table > tfoot > tr > td { - padding: 8px; - line-height: 1.42857143; - vertical-align: top; - border-top: 1px solid #ddd; -} -.table > thead > tr > th { - vertical-align: bottom; - border-bottom: 2px solid #ddd; -} -.table > caption + thead > tr:first-child > th, -.table > colgroup + thead > tr:first-child > th, -.table > thead:first-child > tr:first-child > th, -.table > caption + thead > tr:first-child > td, -.table > colgroup + thead > tr:first-child > td, -.table > thead:first-child > tr:first-child > td { - border-top: 0; -} -.table > tbody + tbody { - border-top: 2px solid #ddd; -} -.table .table { - background-color: #fff; -} -.table-condensed > thead > tr > th, -.table-condensed > tbody > tr > th, -.table-condensed > tfoot > tr > th, -.table-condensed > thead > tr > td, -.table-condensed > tbody > tr > td, -.table-condensed > tfoot > tr > td { - padding: 5px; -} -.table-bordered { - border: 1px solid #ddd; -} -.table-bordered > thead > tr > th, -.table-bordered > tbody > tr > th, -.table-bordered > tfoot > tr > th, -.table-bordered > thead > tr > td, -.table-bordered > tbody > tr > td, -.table-bordered > tfoot > tr > td { - border: 1px solid #ddd; -} -.table-bordered > thead > tr > th, -.table-bordered > thead > tr > td { - border-bottom-width: 2px; -} -.table-striped > tbody > tr:nth-child(odd) > td, -.table-striped > tbody > tr:nth-child(odd) > th { - background-color: #f9f9f9; -} -.table-hover > tbody > tr:hover > td, -.table-hover > tbody > tr:hover > th { - background-color: #f5f5f5; -} -table col[class*="col-"] { - position: static; - display: table-column; - float: none; -} -table td[class*="col-"], -table th[class*="col-"] { - position: static; - display: table-cell; - float: none; -} -.table > thead > tr > td.active, -.table > tbody > tr > td.active, -.table > tfoot > tr > td.active, -.table > thead > tr > th.active, -.table > tbody > tr > th.active, -.table > tfoot > tr > th.active, -.table > thead > tr.active > td, -.table > tbody > tr.active > td, -.table > tfoot > tr.active > td, -.table > thead > tr.active > th, -.table > tbody > tr.active > th, -.table > tfoot > tr.active > th { - background-color: #f5f5f5; -} -.table-hover > tbody > tr > td.active:hover, -.table-hover > tbody > tr > th.active:hover, -.table-hover > tbody > tr.active:hover > td, -.table-hover > tbody > tr.active:hover > th { - background-color: #e8e8e8; -} -.table > thead > tr > td.success, -.table > tbody > tr > td.success, -.table > tfoot > tr > td.success, -.table > thead > tr > th.success, -.table > tbody > tr > th.success, -.table > tfoot > tr > th.success, -.table > thead > tr.success > td, -.table > tbody > tr.success > td, -.table > tfoot > tr.success > td, -.table > thead > tr.success > th, -.table > tbody > tr.success > th, -.table > tfoot > tr.success > th { - background-color: #dff0d8; -} -.table-hover > tbody > tr > td.success:hover, -.table-hover > tbody > tr > th.success:hover, -.table-hover > tbody > tr.success:hover > td, -.table-hover > tbody > tr.success:hover > th { - background-color: #d0e9c6; -} -.table > thead > tr > td.info, -.table > tbody > tr > td.info, -.table > tfoot > tr > td.info, -.table > thead > tr > th.info, -.table > tbody > tr > th.info, -.table > tfoot > tr > th.info, -.table > thead > tr.info > td, -.table > tbody > tr.info > td, -.table > tfoot > tr.info > td, -.table > thead > tr.info > th, -.table > tbody > tr.info > th, -.table > tfoot > tr.info > th { - background-color: #d9edf7; -} -.table-hover > tbody > tr > td.info:hover, -.table-hover > tbody > tr > th.info:hover, -.table-hover > tbody > tr.info:hover > td, -.table-hover > tbody > tr.info:hover > th { - background-color: #c4e3f3; -} -.table > thead > tr > td.warning, -.table > tbody > tr > td.warning, -.table > tfoot > tr > td.warning, -.table > thead > tr > th.warning, -.table > tbody > tr > th.warning, -.table > tfoot > tr > th.warning, -.table > thead > tr.warning > td, -.table > tbody > tr.warning > td, -.table > tfoot > tr.warning > td, -.table > thead > tr.warning > th, -.table > tbody > tr.warning > th, -.table > tfoot > tr.warning > th { - background-color: #fcf8e3; -} -.table-hover > tbody > tr > td.warning:hover, -.table-hover > tbody > tr > th.warning:hover, -.table-hover > tbody > tr.warning:hover > td, -.table-hover > tbody > tr.warning:hover > th { - background-color: #faf2cc; -} -.table > thead > tr > td.danger, -.table > tbody > tr > td.danger, -.table > tfoot > tr > td.danger, -.table > thead > tr > th.danger, -.table > tbody > tr > th.danger, -.table > tfoot > tr > th.danger, -.table > thead > tr.danger > td, -.table > tbody > tr.danger > td, -.table > tfoot > tr.danger > td, -.table > thead > tr.danger > th, -.table > tbody > tr.danger > th, -.table > tfoot > tr.danger > th { - background-color: #f2dede; -} -.table-hover > tbody > tr > td.danger:hover, -.table-hover > tbody > tr > th.danger:hover, -.table-hover > tbody > tr.danger:hover > td, -.table-hover > tbody > tr.danger:hover > th { - background-color: #ebcccc; -} -@media (max-width: 767px) { - .table-responsive { - width: 100%; - margin-bottom: 15px; - overflow-x: scroll; - overflow-y: hidden; - -webkit-overflow-scrolling: touch; - -ms-overflow-style: -ms-autohiding-scrollbar; - border: 1px solid #ddd; - } - .table-responsive > .table { - margin-bottom: 0; - } - .table-responsive > .table > thead > tr > th, - .table-responsive > .table > tbody > tr > th, - .table-responsive > .table > tfoot > tr > th, - .table-responsive > .table > thead > tr > td, - .table-responsive > .table > tbody > tr > td, - .table-responsive > .table > tfoot > tr > td { - white-space: nowrap; - } - .table-responsive > .table-bordered { - border: 0; - } - .table-responsive > .table-bordered > thead > tr > th:first-child, - .table-responsive > .table-bordered > tbody > tr > th:first-child, - .table-responsive > .table-bordered > tfoot > tr > th:first-child, - .table-responsive > .table-bordered > thead > tr > td:first-child, - .table-responsive > .table-bordered > tbody > tr > td:first-child, - .table-responsive > .table-bordered > tfoot > tr > td:first-child { - border-left: 0; - } - .table-responsive > .table-bordered > thead > tr > th:last-child, - .table-responsive > .table-bordered > tbody > tr > th:last-child, - .table-responsive > .table-bordered > tfoot > tr > th:last-child, - .table-responsive > .table-bordered > thead > tr > td:last-child, - .table-responsive > .table-bordered > tbody > tr > td:last-child, - .table-responsive > .table-bordered > tfoot > tr > td:last-child { - border-right: 0; - } - .table-responsive > .table-bordered > tbody > tr:last-child > th, - .table-responsive > .table-bordered > tfoot > tr:last-child > th, - .table-responsive > .table-bordered > tbody > tr:last-child > td, - .table-responsive > .table-bordered > tfoot > tr:last-child > td { - border-bottom: 0; - } -} -fieldset { - min-width: 0; - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 20px; - font-size: 21px; - line-height: inherit; - color: #333; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -label { - display: inline-block; - margin-bottom: 5px; - font-weight: bold; -} -input[type="search"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - margin-top: 1px \9; - /* IE8-9 */ - line-height: normal; -} -input[type="file"] { - display: block; -} -input[type="range"] { - display: block; - width: 100%; -} -select[multiple], -select[size] { - height: auto; -} -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -output { - display: block; - padding-top: 7px; - font-size: 14px; - line-height: 1.42857143; - color: #555; -} -.form-control { - display: block; - width: 100%; - height: 34px; - padding: 6px 12px; - font-size: 14px; - line-height: 1.42857143; - color: #555; - background-color: #fff; - background-image: none; - border: 1px solid #ccc; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -} -.form-control:focus { - border-color: #66afe9; - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); -} -.form-control::-moz-placeholder { - color: #999; - opacity: 1; -} -.form-control:-ms-input-placeholder { - color: #999; -} -.form-control::-webkit-input-placeholder { - color: #999; -} -.form-control[disabled], -.form-control[readonly], -fieldset[disabled] .form-control { - cursor: not-allowed; - background-color: #eee; - opacity: 1; -} -textarea.form-control { - height: auto; -} -input[type="search"] { - -webkit-appearance: none; -} -input[type="date"] { - line-height: 34px; -} -.form-group { - margin-bottom: 15px; -} -.radio, -.checkbox { - display: block; - min-height: 20px; - padding-left: 20px; - margin-top: 10px; - margin-bottom: 10px; -} -.radio label, -.checkbox label { - display: inline; - font-weight: normal; - cursor: pointer; -} -.radio input[type="radio"], -.radio-inline input[type="radio"], -.checkbox input[type="checkbox"], -.checkbox-inline input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.radio + .radio, -.checkbox + .checkbox { - margin-top: -5px; -} -.radio-inline, -.checkbox-inline { - display: inline-block; - padding-left: 20px; - margin-bottom: 0; - font-weight: normal; - vertical-align: middle; - cursor: pointer; -} -.radio-inline + .radio-inline, -.checkbox-inline + .checkbox-inline { - margin-top: 0; - margin-left: 10px; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -.radio[disabled], -.radio-inline[disabled], -.checkbox[disabled], -.checkbox-inline[disabled], -fieldset[disabled] input[type="radio"], -fieldset[disabled] input[type="checkbox"], -fieldset[disabled] .radio, -fieldset[disabled] .radio-inline, -fieldset[disabled] .checkbox, -fieldset[disabled] .checkbox-inline { - cursor: not-allowed; -} -.input-sm { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.input-sm { - height: 30px; - line-height: 30px; -} -textarea.input-sm, -select[multiple].input-sm { - height: auto; -} -.input-lg { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.33; - border-radius: 6px; -} -select.input-lg { - height: 46px; - line-height: 46px; -} -textarea.input-lg, -select[multiple].input-lg { - height: auto; -} -.has-feedback { - position: relative; -} -.has-feedback .form-control { - padding-right: 42.5px; -} -.has-feedback .form-control-feedback { - position: absolute; - top: 25px; - right: 0; - display: block; - width: 34px; - height: 34px; - line-height: 34px; - text-align: center; -} -.has-success .help-block, -.has-success .control-label, -.has-success .radio, -.has-success .checkbox, -.has-success .radio-inline, -.has-success .checkbox-inline { - color: #3c763d; -} -.has-success .form-control { - border-color: #3c763d; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); -} -.has-success .form-control:focus { - border-color: #2b542c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; -} -.has-success .input-group-addon { - color: #3c763d; - background-color: #dff0d8; - border-color: #3c763d; -} -.has-success .form-control-feedback { - color: #3c763d; -} -.has-warning .help-block, -.has-warning .control-label, -.has-warning .radio, -.has-warning .checkbox, -.has-warning .radio-inline, -.has-warning .checkbox-inline { - color: #8a6d3b; -} -.has-warning .form-control { - border-color: #8a6d3b; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); -} -.has-warning .form-control:focus { - border-color: #66512c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; -} -.has-warning .input-group-addon { - color: #8a6d3b; - background-color: #fcf8e3; - border-color: #8a6d3b; -} -.has-warning .form-control-feedback { - color: #8a6d3b; -} -.has-error .help-block, -.has-error .control-label, -.has-error .radio, -.has-error .checkbox, -.has-error .radio-inline, -.has-error .checkbox-inline { - color: #a94442; -} -.has-error .form-control { - border-color: #a94442; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); -} -.has-error .form-control:focus { - border-color: #843534; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; -} -.has-error .input-group-addon { - color: #a94442; - background-color: #f2dede; - border-color: #a94442; -} -.has-error .form-control-feedback { - color: #a94442; -} -.form-control-static { - margin-bottom: 0; -} -.help-block { - display: block; - margin-top: 5px; - margin-bottom: 10px; - color: #737373; -} -@media (min-width: 768px) { - .form-inline .form-group { - display: inline-block; - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .form-control { - display: inline-block; - width: auto; - vertical-align: middle; - } - .form-inline .input-group > .form-control { - width: 100%; - } - .form-inline .control-label { - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .radio, - .form-inline .checkbox { - display: inline-block; - padding-left: 0; - margin-top: 0; - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .radio input[type="radio"], - .form-inline .checkbox input[type="checkbox"] { - float: none; - margin-left: 0; - } - .form-inline .has-feedback .form-control-feedback { - top: 0; - } -} -.form-horizontal .control-label, -.form-horizontal .radio, -.form-horizontal .checkbox, -.form-horizontal .radio-inline, -.form-horizontal .checkbox-inline { - padding-top: 7px; - margin-top: 0; - margin-bottom: 0; -} -.form-horizontal .radio, -.form-horizontal .checkbox { - min-height: 27px; -} -.form-horizontal .form-group { - margin-right: -15px; - margin-left: -15px; -} -.form-horizontal .form-control-static { - padding-top: 7px; -} -@media (min-width: 768px) { - .form-horizontal .control-label { - text-align: right; - } -} -.form-horizontal .has-feedback .form-control-feedback { - top: 0; - right: 15px; -} -.btn { - display: inline-block; - padding: 6px 12px; - margin-bottom: 0; - font-size: 14px; - font-weight: normal; - line-height: 1.42857143; - text-align: center; - white-space: nowrap; - vertical-align: middle; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - background-image: none; - border: 1px solid transparent; - border-radius: 4px; -} -.btn:focus, -.btn:active:focus, -.btn.active:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn:hover, -.btn:focus { - color: #333; - text-decoration: none; -} -.btn:active, -.btn.active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); -} -.btn.disabled, -.btn[disabled], -fieldset[disabled] .btn { - pointer-events: none; - cursor: not-allowed; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - box-shadow: none; - opacity: .65; -} -.btn-default { - color: #333; - background-color: #fff; - border-color: #ccc; -} -.btn-default:hover, -.btn-default:focus, -.btn-default:active, -.btn-default.active, -.open .dropdown-toggle.btn-default { - color: #333; - background-color: #ebebeb; - border-color: #adadad; -} -.btn-default:active, -.btn-default.active, -.open .dropdown-toggle.btn-default { - background-image: none; -} -.btn-default.disabled, -.btn-default[disabled], -fieldset[disabled] .btn-default, -.btn-default.disabled:hover, -.btn-default[disabled]:hover, -fieldset[disabled] .btn-default:hover, -.btn-default.disabled:focus, -.btn-default[disabled]:focus, -fieldset[disabled] .btn-default:focus, -.btn-default.disabled:active, -.btn-default[disabled]:active, -fieldset[disabled] .btn-default:active, -.btn-default.disabled.active, -.btn-default[disabled].active, -fieldset[disabled] .btn-default.active { - background-color: #fff; - border-color: #ccc; -} -.btn-default .badge { - color: #fff; - background-color: #333; -} -.btn-primary { - color: #fff; - background-color: #428bca; - border-color: #357ebd; -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.open .dropdown-toggle.btn-primary { - color: #fff; - background-color: #3276b1; - border-color: #285e8e; -} -.btn-primary:active, -.btn-primary.active, -.open .dropdown-toggle.btn-primary { - background-image: none; -} -.btn-primary.disabled, -.btn-primary[disabled], -fieldset[disabled] .btn-primary, -.btn-primary.disabled:hover, -.btn-primary[disabled]:hover, -fieldset[disabled] .btn-primary:hover, -.btn-primary.disabled:focus, -.btn-primary[disabled]:focus, -fieldset[disabled] .btn-primary:focus, -.btn-primary.disabled:active, -.btn-primary[disabled]:active, -fieldset[disabled] .btn-primary:active, -.btn-primary.disabled.active, -.btn-primary[disabled].active, -fieldset[disabled] .btn-primary.active { - background-color: #428bca; - border-color: #357ebd; -} -.btn-primary .badge { - color: #428bca; - background-color: #fff; -} -.btn-success { - color: #fff; - background-color: #5cb85c; - border-color: #4cae4c; -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.open .dropdown-toggle.btn-success { - color: #fff; - background-color: #47a447; - border-color: #398439; -} -.btn-success:active, -.btn-success.active, -.open .dropdown-toggle.btn-success { - background-image: none; -} -.btn-success.disabled, -.btn-success[disabled], -fieldset[disabled] .btn-success, -.btn-success.disabled:hover, -.btn-success[disabled]:hover, -fieldset[disabled] .btn-success:hover, -.btn-success.disabled:focus, -.btn-success[disabled]:focus, -fieldset[disabled] .btn-success:focus, -.btn-success.disabled:active, -.btn-success[disabled]:active, -fieldset[disabled] .btn-success:active, -.btn-success.disabled.active, -.btn-success[disabled].active, -fieldset[disabled] .btn-success.active { - background-color: #5cb85c; - border-color: #4cae4c; -} -.btn-success .badge { - color: #5cb85c; - background-color: #fff; -} -.btn-info { - color: #fff; - background-color: #5bc0de; - border-color: #46b8da; -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.open .dropdown-toggle.btn-info { - color: #fff; - background-color: #39b3d7; - border-color: #269abc; -} -.btn-info:active, -.btn-info.active, -.open .dropdown-toggle.btn-info { - background-image: none; -} -.btn-info.disabled, -.btn-info[disabled], -fieldset[disabled] .btn-info, -.btn-info.disabled:hover, -.btn-info[disabled]:hover, -fieldset[disabled] .btn-info:hover, -.btn-info.disabled:focus, -.btn-info[disabled]:focus, -fieldset[disabled] .btn-info:focus, -.btn-info.disabled:active, -.btn-info[disabled]:active, -fieldset[disabled] .btn-info:active, -.btn-info.disabled.active, -.btn-info[disabled].active, -fieldset[disabled] .btn-info.active { - background-color: #5bc0de; - border-color: #46b8da; -} -.btn-info .badge { - color: #5bc0de; - background-color: #fff; -} -.btn-warning { - color: #fff; - background-color: #f0ad4e; - border-color: #eea236; -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.open .dropdown-toggle.btn-warning { - color: #fff; - background-color: #ed9c28; - border-color: #d58512; -} -.btn-warning:active, -.btn-warning.active, -.open .dropdown-toggle.btn-warning { - background-image: none; -} -.btn-warning.disabled, -.btn-warning[disabled], -fieldset[disabled] .btn-warning, -.btn-warning.disabled:hover, -.btn-warning[disabled]:hover, -fieldset[disabled] .btn-warning:hover, -.btn-warning.disabled:focus, -.btn-warning[disabled]:focus, -fieldset[disabled] .btn-warning:focus, -.btn-warning.disabled:active, -.btn-warning[disabled]:active, -fieldset[disabled] .btn-warning:active, -.btn-warning.disabled.active, -.btn-warning[disabled].active, -fieldset[disabled] .btn-warning.active { - background-color: #f0ad4e; - border-color: #eea236; -} -.btn-warning .badge { - color: #f0ad4e; - background-color: #fff; -} -.btn-danger { - color: #fff; - background-color: #d9534f; - border-color: #d43f3a; -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.open .dropdown-toggle.btn-danger { - color: #fff; - background-color: #d2322d; - border-color: #ac2925; -} -.btn-danger:active, -.btn-danger.active, -.open .dropdown-toggle.btn-danger { - background-image: none; -} -.btn-danger.disabled, -.btn-danger[disabled], -fieldset[disabled] .btn-danger, -.btn-danger.disabled:hover, -.btn-danger[disabled]:hover, -fieldset[disabled] .btn-danger:hover, -.btn-danger.disabled:focus, -.btn-danger[disabled]:focus, -fieldset[disabled] .btn-danger:focus, -.btn-danger.disabled:active, -.btn-danger[disabled]:active, -fieldset[disabled] .btn-danger:active, -.btn-danger.disabled.active, -.btn-danger[disabled].active, -fieldset[disabled] .btn-danger.active { - background-color: #d9534f; - border-color: #d43f3a; -} -.btn-danger .badge { - color: #d9534f; - background-color: #fff; -} -.btn-link { - font-weight: normal; - color: #428bca; - cursor: pointer; - border-radius: 0; -} -.btn-link, -.btn-link:active, -.btn-link[disabled], -fieldset[disabled] .btn-link { - background-color: transparent; - -webkit-box-shadow: none; - box-shadow: none; -} -.btn-link, -.btn-link:hover, -.btn-link:focus, -.btn-link:active { - border-color: transparent; -} -.btn-link:hover, -.btn-link:focus { - color: #2a6496; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -fieldset[disabled] .btn-link:hover, -.btn-link[disabled]:focus, -fieldset[disabled] .btn-link:focus { - color: #999; - text-decoration: none; -} -.btn-lg, -.btn-group-lg > .btn { - padding: 10px 16px; - font-size: 18px; - line-height: 1.33; - border-radius: 6px; -} -.btn-sm, -.btn-group-sm > .btn { - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.btn-xs, -.btn-group-xs > .btn { - padding: 1px 5px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; - padding-right: 0; - padding-left: 0; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.fade { - opacity: 0; - -webkit-transition: opacity .15s linear; - transition: opacity .15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - display: none; -} -.collapse.in { - display: block; -} -.collapsing { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height .35s ease; - transition: height .35s ease; -} -@font-face { - font-family: 'Glyphicons Halflings'; - - src: url('../fonts/glyphicons-halflings-regular.eot'); - src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); -} -.glyphicon { - position: relative; - top: 1px; - display: inline-block; - font-family: 'Glyphicons Halflings'; - font-style: normal; - font-weight: normal; - line-height: 1; - - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -.glyphicon-asterisk:before { - content: "\2a"; -} -.glyphicon-plus:before { - content: "\2b"; -} -.glyphicon-euro:before { - content: "\20ac"; -} -.glyphicon-minus:before { - content: "\2212"; -} -.glyphicon-cloud:before { - content: "\2601"; -} -.glyphicon-envelope:before { - content: "\2709"; -} -.glyphicon-pencil:before { - content: "\270f"; -} -.glyphicon-glass:before { - content: "\e001"; -} -.glyphicon-music:before { - content: "\e002"; -} -.glyphicon-search:before { - content: "\e003"; -} -.glyphicon-heart:before { - content: "\e005"; -} -.glyphicon-star:before { - content: "\e006"; -} -.glyphicon-star-empty:before { - content: "\e007"; -} -.glyphicon-user:before { - content: "\e008"; -} -.glyphicon-film:before { - content: "\e009"; -} -.glyphicon-th-large:before { - content: "\e010"; -} -.glyphicon-th:before { - content: "\e011"; -} -.glyphicon-th-list:before { - content: "\e012"; -} -.glyphicon-ok:before { - content: "\e013"; -} -.glyphicon-remove:before { - content: "\e014"; -} -.glyphicon-zoom-in:before { - content: "\e015"; -} -.glyphicon-zoom-out:before { - content: "\e016"; -} -.glyphicon-off:before { - content: "\e017"; -} -.glyphicon-signal:before { - content: "\e018"; -} -.glyphicon-cog:before { - content: "\e019"; -} -.glyphicon-trash:before { - content: "\e020"; -} -.glyphicon-home:before { - content: "\e021"; -} -.glyphicon-file:before { - content: "\e022"; -} -.glyphicon-time:before { - content: "\e023"; -} -.glyphicon-road:before { - content: "\e024"; -} -.glyphicon-download-alt:before { - content: "\e025"; -} -.glyphicon-download:before { - content: "\e026"; -} -.glyphicon-upload:before { - content: "\e027"; -} -.glyphicon-inbox:before { - content: "\e028"; -} -.glyphicon-play-circle:before { - content: "\e029"; -} -.glyphicon-repeat:before { - content: "\e030"; -} -.glyphicon-refresh:before { - content: "\e031"; -} -.glyphicon-list-alt:before { - content: "\e032"; -} -.glyphicon-lock:before { - content: "\e033"; -} -.glyphicon-flag:before { - content: "\e034"; -} -.glyphicon-headphones:before { - content: "\e035"; -} -.glyphicon-volume-off:before { - content: "\e036"; -} -.glyphicon-volume-down:before { - content: "\e037"; -} -.glyphicon-volume-up:before { - content: "\e038"; -} -.glyphicon-qrcode:before { - content: "\e039"; -} -.glyphicon-barcode:before { - content: "\e040"; -} -.glyphicon-tag:before { - content: "\e041"; -} -.glyphicon-tags:before { - content: "\e042"; -} -.glyphicon-book:before { - content: "\e043"; -} -.glyphicon-bookmark:before { - content: "\e044"; -} -.glyphicon-print:before { - content: "\e045"; -} -.glyphicon-camera:before { - content: "\e046"; -} -.glyphicon-font:before { - content: "\e047"; -} -.glyphicon-bold:before { - content: "\e048"; -} -.glyphicon-italic:before { - content: "\e049"; -} -.glyphicon-text-height:before { - content: "\e050"; -} -.glyphicon-text-width:before { - content: "\e051"; -} -.glyphicon-align-left:before { - content: "\e052"; -} -.glyphicon-align-center:before { - content: "\e053"; -} -.glyphicon-align-right:before { - content: "\e054"; -} -.glyphicon-align-justify:before { - content: "\e055"; -} -.glyphicon-list:before { - content: "\e056"; -} -.glyphicon-indent-left:before { - content: "\e057"; -} -.glyphicon-indent-right:before { - content: "\e058"; -} -.glyphicon-facetime-video:before { - content: "\e059"; -} -.glyphicon-picture:before { - content: "\e060"; -} -.glyphicon-map-marker:before { - content: "\e062"; -} -.glyphicon-adjust:before { - content: "\e063"; -} -.glyphicon-tint:before { - content: "\e064"; -} -.glyphicon-edit:before { - content: "\e065"; -} -.glyphicon-share:before { - content: "\e066"; -} -.glyphicon-check:before { - content: "\e067"; -} -.glyphicon-move:before { - content: "\e068"; -} -.glyphicon-step-backward:before { - content: "\e069"; -} -.glyphicon-fast-backward:before { - content: "\e070"; -} -.glyphicon-backward:before { - content: "\e071"; -} -.glyphicon-play:before { - content: "\e072"; -} -.glyphicon-pause:before { - content: "\e073"; -} -.glyphicon-stop:before { - content: "\e074"; -} -.glyphicon-forward:before { - content: "\e075"; -} -.glyphicon-fast-forward:before { - content: "\e076"; -} -.glyphicon-step-forward:before { - content: "\e077"; -} -.glyphicon-eject:before { - content: "\e078"; -} -.glyphicon-chevron-left:before { - content: "\e079"; -} -.glyphicon-chevron-right:before { - content: "\e080"; -} -.glyphicon-plus-sign:before { - content: "\e081"; -} -.glyphicon-minus-sign:before { - content: "\e082"; -} -.glyphicon-remove-sign:before { - content: "\e083"; -} -.glyphicon-ok-sign:before { - content: "\e084"; -} -.glyphicon-question-sign:before { - content: "\e085"; -} -.glyphicon-info-sign:before { - content: "\e086"; -} -.glyphicon-screenshot:before { - content: "\e087"; -} -.glyphicon-remove-circle:before { - content: "\e088"; -} -.glyphicon-ok-circle:before { - content: "\e089"; -} -.glyphicon-ban-circle:before { - content: "\e090"; -} -.glyphicon-arrow-left:before { - content: "\e091"; -} -.glyphicon-arrow-right:before { - content: "\e092"; -} -.glyphicon-arrow-up:before { - content: "\e093"; -} -.glyphicon-arrow-down:before { - content: "\e094"; -} -.glyphicon-share-alt:before { - content: "\e095"; -} -.glyphicon-resize-full:before { - content: "\e096"; -} -.glyphicon-resize-small:before { - content: "\e097"; -} -.glyphicon-exclamation-sign:before { - content: "\e101"; -} -.glyphicon-gift:before { - content: "\e102"; -} -.glyphicon-leaf:before { - content: "\e103"; -} -.glyphicon-fire:before { - content: "\e104"; -} -.glyphicon-eye-open:before { - content: "\e105"; -} -.glyphicon-eye-close:before { - content: "\e106"; -} -.glyphicon-warning-sign:before { - content: "\e107"; -} -.glyphicon-plane:before { - content: "\e108"; -} -.glyphicon-calendar:before { - content: "\e109"; -} -.glyphicon-random:before { - content: "\e110"; -} -.glyphicon-comment:before { - content: "\e111"; -} -.glyphicon-magnet:before { - content: "\e112"; -} -.glyphicon-chevron-up:before { - content: "\e113"; -} -.glyphicon-chevron-down:before { - content: "\e114"; -} -.glyphicon-retweet:before { - content: "\e115"; -} -.glyphicon-shopping-cart:before { - content: "\e116"; -} -.glyphicon-folder-close:before { - content: "\e117"; -} -.glyphicon-folder-open:before { - content: "\e118"; -} -.glyphicon-resize-vertical:before { - content: "\e119"; -} -.glyphicon-resize-horizontal:before { - content: "\e120"; -} -.glyphicon-hdd:before { - content: "\e121"; -} -.glyphicon-bullhorn:before { - content: "\e122"; -} -.glyphicon-bell:before { - content: "\e123"; -} -.glyphicon-certificate:before { - content: "\e124"; -} -.glyphicon-thumbs-up:before { - content: "\e125"; -} -.glyphicon-thumbs-down:before { - content: "\e126"; -} -.glyphicon-hand-right:before { - content: "\e127"; -} -.glyphicon-hand-left:before { - content: "\e128"; -} -.glyphicon-hand-up:before { - content: "\e129"; -} -.glyphicon-hand-down:before { - content: "\e130"; -} -.glyphicon-circle-arrow-right:before { - content: "\e131"; -} -.glyphicon-circle-arrow-left:before { - content: "\e132"; -} -.glyphicon-circle-arrow-up:before { - content: "\e133"; -} -.glyphicon-circle-arrow-down:before { - content: "\e134"; -} -.glyphicon-globe:before { - content: "\e135"; -} -.glyphicon-wrench:before { - content: "\e136"; -} -.glyphicon-tasks:before { - content: "\e137"; -} -.glyphicon-filter:before { - content: "\e138"; -} -.glyphicon-briefcase:before { - content: "\e139"; -} -.glyphicon-fullscreen:before { - content: "\e140"; -} -.glyphicon-dashboard:before { - content: "\e141"; -} -.glyphicon-paperclip:before { - content: "\e142"; -} -.glyphicon-heart-empty:before { - content: "\e143"; -} -.glyphicon-link:before { - content: "\e144"; -} -.glyphicon-phone:before { - content: "\e145"; -} -.glyphicon-pushpin:before { - content: "\e146"; -} -.glyphicon-usd:before { - content: "\e148"; -} -.glyphicon-gbp:before { - content: "\e149"; -} -.glyphicon-sort:before { - content: "\e150"; -} -.glyphicon-sort-by-alphabet:before { - content: "\e151"; -} -.glyphicon-sort-by-alphabet-alt:before { - content: "\e152"; -} -.glyphicon-sort-by-order:before { - content: "\e153"; -} -.glyphicon-sort-by-order-alt:before { - content: "\e154"; -} -.glyphicon-sort-by-attributes:before { - content: "\e155"; -} -.glyphicon-sort-by-attributes-alt:before { - content: "\e156"; -} -.glyphicon-unchecked:before { - content: "\e157"; -} -.glyphicon-expand:before { - content: "\e158"; -} -.glyphicon-collapse-down:before { - content: "\e159"; -} -.glyphicon-collapse-up:before { - content: "\e160"; -} -.glyphicon-log-in:before { - content: "\e161"; -} -.glyphicon-flash:before { - content: "\e162"; -} -.glyphicon-log-out:before { - content: "\e163"; -} -.glyphicon-new-window:before { - content: "\e164"; -} -.glyphicon-record:before { - content: "\e165"; -} -.glyphicon-save:before { - content: "\e166"; -} -.glyphicon-open:before { - content: "\e167"; -} -.glyphicon-saved:before { - content: "\e168"; -} -.glyphicon-import:before { - content: "\e169"; -} -.glyphicon-export:before { - content: "\e170"; -} -.glyphicon-send:before { - content: "\e171"; -} -.glyphicon-floppy-disk:before { - content: "\e172"; -} -.glyphicon-floppy-saved:before { - content: "\e173"; -} -.glyphicon-floppy-remove:before { - content: "\e174"; -} -.glyphicon-floppy-save:before { - content: "\e175"; -} -.glyphicon-floppy-open:before { - content: "\e176"; -} -.glyphicon-credit-card:before { - content: "\e177"; -} -.glyphicon-transfer:before { - content: "\e178"; -} -.glyphicon-cutlery:before { - content: "\e179"; -} -.glyphicon-header:before { - content: "\e180"; -} -.glyphicon-compressed:before { - content: "\e181"; -} -.glyphicon-earphone:before { - content: "\e182"; -} -.glyphicon-phone-alt:before { - content: "\e183"; -} -.glyphicon-tower:before { - content: "\e184"; -} -.glyphicon-stats:before { - content: "\e185"; -} -.glyphicon-sd-video:before { - content: "\e186"; -} -.glyphicon-hd-video:before { - content: "\e187"; -} -.glyphicon-subtitles:before { - content: "\e188"; -} -.glyphicon-sound-stereo:before { - content: "\e189"; -} -.glyphicon-sound-dolby:before { - content: "\e190"; -} -.glyphicon-sound-5-1:before { - content: "\e191"; -} -.glyphicon-sound-6-1:before { - content: "\e192"; -} -.glyphicon-sound-7-1:before { - content: "\e193"; -} -.glyphicon-copyright-mark:before { - content: "\e194"; -} -.glyphicon-registration-mark:before { - content: "\e195"; -} -.glyphicon-cloud-download:before { - content: "\e197"; -} -.glyphicon-cloud-upload:before { - content: "\e198"; -} -.glyphicon-tree-conifer:before { - content: "\e199"; -} -.glyphicon-tree-deciduous:before { - content: "\e200"; -} -.caret { - display: inline-block; - width: 0; - height: 0; - margin-left: 2px; - vertical-align: middle; - border-top: 4px solid; - border-right: 4px solid transparent; - border-left: 4px solid transparent; -} -.dropdown { - position: relative; -} -.dropdown-toggle:focus { - outline: 0; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - font-size: 14px; - list-style: none; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, .15); - border-radius: 4px; - -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); - box-shadow: 0 6px 12px rgba(0, 0, 0, .175); -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - height: 1px; - margin: 9px 0; - overflow: hidden; - background-color: #e5e5e5; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 1.42857143; - color: #333; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus { - color: #262626; - text-decoration: none; - background-color: #f5f5f5; -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #fff; - text-decoration: none; - background-color: #428bca; - outline: 0; -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #999; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - cursor: not-allowed; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.open > .dropdown-menu { - display: block; -} -.open > a { - outline: 0; -} -.dropdown-menu-right { - right: 0; - left: auto; -} -.dropdown-menu-left { - right: auto; - left: 0; -} -.dropdown-header { - display: block; - padding: 3px 20px; - font-size: 12px; - line-height: 1.42857143; - color: #999; -} -.dropdown-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 990; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - content: ""; - border-top: 0; - border-bottom: 4px solid; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -@media (min-width: 768px) { - .navbar-right .dropdown-menu { - right: 0; - left: auto; - } - .navbar-right .dropdown-menu-left { - right: auto; - left: 0; - } -} -.btn-group, -.btn-group-vertical { - position: relative; - display: inline-block; - vertical-align: middle; -} -.btn-group > .btn, -.btn-group-vertical > .btn { - position: relative; - float: left; -} -.btn-group > .btn:hover, -.btn-group-vertical > .btn:hover, -.btn-group > .btn:focus, -.btn-group-vertical > .btn:focus, -.btn-group > .btn:active, -.btn-group-vertical > .btn:active, -.btn-group > .btn.active, -.btn-group-vertical > .btn.active { - z-index: 2; -} -.btn-group > .btn:focus, -.btn-group-vertical > .btn:focus { - outline: none; -} -.btn-group .btn + .btn, -.btn-group .btn + .btn-group, -.btn-group .btn-group + .btn, -.btn-group .btn-group + .btn-group { - margin-left: -1px; -} -.btn-toolbar { - margin-left: -5px; -} -.btn-toolbar .btn-group, -.btn-toolbar .input-group { - float: left; -} -.btn-toolbar > .btn, -.btn-toolbar > .btn-group, -.btn-toolbar > .input-group { - margin-left: 5px; -} -.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { - border-radius: 0; -} -.btn-group > .btn:first-child { - margin-left: 0; -} -.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.btn-group > .btn:last-child:not(:first-child), -.btn-group > .dropdown-toggle:not(:first-child) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group > .btn-group { - float: left; -} -.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { - border-radius: 0; -} -.btn-group > .btn-group:first-child > .btn:last-child, -.btn-group > .btn-group:first-child > .dropdown-toggle { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.btn-group > .btn-group:last-child > .btn:first-child { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-right: 8px; - padding-left: 8px; -} -.btn-group > .btn-lg + .dropdown-toggle { - padding-right: 12px; - padding-left: 12px; -} -.btn-group.open .dropdown-toggle { - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); -} -.btn-group.open .dropdown-toggle.btn-link { - -webkit-box-shadow: none; - box-shadow: none; -} -.btn .caret { - margin-left: 0; -} -.btn-lg .caret { - border-width: 5px 5px 0; - border-bottom-width: 0; -} -.dropup .btn-lg .caret { - border-width: 0 5px 5px; -} -.btn-group-vertical > .btn, -.btn-group-vertical > .btn-group, -.btn-group-vertical > .btn-group > .btn { - display: block; - float: none; - width: 100%; - max-width: 100%; -} -.btn-group-vertical > .btn-group > .btn { - float: none; -} -.btn-group-vertical > .btn + .btn, -.btn-group-vertical > .btn + .btn-group, -.btn-group-vertical > .btn-group + .btn, -.btn-group-vertical > .btn-group + .btn-group { - margin-top: -1px; - margin-left: 0; -} -.btn-group-vertical > .btn:not(:first-child):not(:last-child) { - border-radius: 0; -} -.btn-group-vertical > .btn:first-child:not(:last-child) { - border-top-right-radius: 4px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group-vertical > .btn:last-child:not(:first-child) { - border-top-left-radius: 0; - border-top-right-radius: 0; - border-bottom-left-radius: 4px; -} -.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { - border-radius: 0; -} -.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, -.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.btn-group-justified { - display: table; - width: 100%; - table-layout: fixed; - border-collapse: separate; -} -.btn-group-justified > .btn, -.btn-group-justified > .btn-group { - display: table-cell; - float: none; - width: 1%; -} -.btn-group-justified > .btn-group .btn { - width: 100%; -} -[data-toggle="buttons"] > .btn > input[type="radio"], -[data-toggle="buttons"] > .btn > input[type="checkbox"] { - display: none; -} -.input-group { - position: relative; - display: table; - border-collapse: separate; -} -.input-group[class*="col-"] { - float: none; - padding-right: 0; - padding-left: 0; -} -.input-group .form-control { - position: relative; - z-index: 2; - float: left; - width: 100%; - margin-bottom: 0; -} -.input-group-lg > .form-control, -.input-group-lg > .input-group-addon, -.input-group-lg > .input-group-btn > .btn { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.33; - border-radius: 6px; -} -select.input-group-lg > .form-control, -select.input-group-lg > .input-group-addon, -select.input-group-lg > .input-group-btn > .btn { - height: 46px; - line-height: 46px; -} -textarea.input-group-lg > .form-control, -textarea.input-group-lg > .input-group-addon, -textarea.input-group-lg > .input-group-btn > .btn, -select[multiple].input-group-lg > .form-control, -select[multiple].input-group-lg > .input-group-addon, -select[multiple].input-group-lg > .input-group-btn > .btn { - height: auto; -} -.input-group-sm > .form-control, -.input-group-sm > .input-group-addon, -.input-group-sm > .input-group-btn > .btn { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.input-group-sm > .form-control, -select.input-group-sm > .input-group-addon, -select.input-group-sm > .input-group-btn > .btn { - height: 30px; - line-height: 30px; -} -textarea.input-group-sm > .form-control, -textarea.input-group-sm > .input-group-addon, -textarea.input-group-sm > .input-group-btn > .btn, -select[multiple].input-group-sm > .form-control, -select[multiple].input-group-sm > .input-group-addon, -select[multiple].input-group-sm > .input-group-btn > .btn { - height: auto; -} -.input-group-addon, -.input-group-btn, -.input-group .form-control { - display: table-cell; -} -.input-group-addon:not(:first-child):not(:last-child), -.input-group-btn:not(:first-child):not(:last-child), -.input-group .form-control:not(:first-child):not(:last-child) { - border-radius: 0; -} -.input-group-addon, -.input-group-btn { - width: 1%; - white-space: nowrap; - vertical-align: middle; -} -.input-group-addon { - padding: 6px 12px; - font-size: 14px; - font-weight: normal; - line-height: 1; - color: #555; - text-align: center; - background-color: #eee; - border: 1px solid #ccc; - border-radius: 4px; -} -.input-group-addon.input-sm { - padding: 5px 10px; - font-size: 12px; - border-radius: 3px; -} -.input-group-addon.input-lg { - padding: 10px 16px; - font-size: 18px; - border-radius: 6px; -} -.input-group-addon input[type="radio"], -.input-group-addon input[type="checkbox"] { - margin-top: 0; -} -.input-group .form-control:first-child, -.input-group-addon:first-child, -.input-group-btn:first-child > .btn, -.input-group-btn:first-child > .btn-group > .btn, -.input-group-btn:first-child > .dropdown-toggle, -.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), -.input-group-btn:last-child > .btn-group:not(:last-child) > .btn { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.input-group-addon:first-child { - border-right: 0; -} -.input-group .form-control:last-child, -.input-group-addon:last-child, -.input-group-btn:last-child > .btn, -.input-group-btn:last-child > .btn-group > .btn, -.input-group-btn:last-child > .dropdown-toggle, -.input-group-btn:first-child > .btn:not(:first-child), -.input-group-btn:first-child > .btn-group:not(:first-child) > .btn { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.input-group-addon:last-child { - border-left: 0; -} -.input-group-btn { - position: relative; - font-size: 0; - white-space: nowrap; -} -.input-group-btn > .btn { - position: relative; -} -.input-group-btn > .btn + .btn { - margin-left: -1px; -} -.input-group-btn > .btn:hover, -.input-group-btn > .btn:focus, -.input-group-btn > .btn:active { - z-index: 2; -} -.input-group-btn:first-child > .btn, -.input-group-btn:first-child > .btn-group { - margin-right: -1px; -} -.input-group-btn:last-child > .btn, -.input-group-btn:last-child > .btn-group { - margin-left: -1px; -} -.nav { - padding-left: 0; - margin-bottom: 0; - list-style: none; -} -.nav > li { - position: relative; - display: block; -} -.nav > li > a { - position: relative; - display: block; - padding: 10px 15px; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #eee; -} -.nav > li.disabled > a { - color: #999; -} -.nav > li.disabled > a:hover, -.nav > li.disabled > a:focus { - color: #999; - text-decoration: none; - cursor: not-allowed; - background-color: transparent; -} -.nav .open > a, -.nav .open > a:hover, -.nav .open > a:focus { - background-color: #eee; - border-color: #428bca; -} -.nav .nav-divider { - height: 1px; - margin: 9px 0; - overflow: hidden; - background-color: #e5e5e5; -} -.nav > li > a > img { - max-width: none; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - float: left; - margin-bottom: -1px; -} -.nav-tabs > li > a { - margin-right: 2px; - line-height: 1.42857143; - border: 1px solid transparent; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover { - border-color: #eee #eee #ddd; -} -.nav-tabs > li.active > a, -.nav-tabs > li.active > a:hover, -.nav-tabs > li.active > a:focus { - color: #555; - cursor: default; - background-color: #fff; - border: 1px solid #ddd; - border-bottom-color: transparent; -} -.nav-tabs.nav-justified { - width: 100%; - border-bottom: 0; -} -.nav-tabs.nav-justified > li { - float: none; -} -.nav-tabs.nav-justified > li > a { - margin-bottom: 5px; - text-align: center; -} -.nav-tabs.nav-justified > .dropdown .dropdown-menu { - top: auto; - left: auto; -} -@media (min-width: 768px) { - .nav-tabs.nav-justified > li { - display: table-cell; - width: 1%; - } - .nav-tabs.nav-justified > li > a { - margin-bottom: 0; - } -} -.nav-tabs.nav-justified > li > a { - margin-right: 0; - border-radius: 4px; -} -.nav-tabs.nav-justified > .active > a, -.nav-tabs.nav-justified > .active > a:hover, -.nav-tabs.nav-justified > .active > a:focus { - border: 1px solid #ddd; -} -@media (min-width: 768px) { - .nav-tabs.nav-justified > li > a { - border-bottom: 1px solid #ddd; - border-radius: 4px 4px 0 0; - } - .nav-tabs.nav-justified > .active > a, - .nav-tabs.nav-justified > .active > a:hover, - .nav-tabs.nav-justified > .active > a:focus { - border-bottom-color: #fff; - } -} -.nav-pills > li { - float: left; -} -.nav-pills > li > a { - border-radius: 4px; -} -.nav-pills > li + li { - margin-left: 2px; -} -.nav-pills > li.active > a, -.nav-pills > li.active > a:hover, -.nav-pills > li.active > a:focus { - color: #fff; - background-color: #428bca; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li + li { - margin-top: 2px; - margin-left: 0; -} -.nav-justified { - width: 100%; -} -.nav-justified > li { - float: none; -} -.nav-justified > li > a { - margin-bottom: 5px; - text-align: center; -} -.nav-justified > .dropdown .dropdown-menu { - top: auto; - left: auto; -} -@media (min-width: 768px) { - .nav-justified > li { - display: table-cell; - width: 1%; - } - .nav-justified > li > a { - margin-bottom: 0; - } -} -.nav-tabs-justified { - border-bottom: 0; -} -.nav-tabs-justified > li > a { - margin-right: 0; - border-radius: 4px; -} -.nav-tabs-justified > .active > a, -.nav-tabs-justified > .active > a:hover, -.nav-tabs-justified > .active > a:focus { - border: 1px solid #ddd; -} -@media (min-width: 768px) { - .nav-tabs-justified > li > a { - border-bottom: 1px solid #ddd; - border-radius: 4px 4px 0 0; - } - .nav-tabs-justified > .active > a, - .nav-tabs-justified > .active > a:hover, - .nav-tabs-justified > .active > a:focus { - border-bottom-color: #fff; - } -} -.tab-content > .tab-pane { - display: none; -} -.tab-content > .active { - display: block; -} -.nav-tabs .dropdown-menu { - margin-top: -1px; - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.navbar { - position: relative; - min-height: 50px; - margin-bottom: 20px; - border: 1px solid transparent; -} -@media (min-width: 768px) { - .navbar { - border-radius: 4px; - } -} -@media (min-width: 768px) { - .navbar-header { - float: left; - } -} -.navbar-collapse { - max-height: 340px; - padding-right: 15px; - padding-left: 15px; - overflow-x: visible; - -webkit-overflow-scrolling: touch; - border-top: 1px solid transparent; - box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); -} -.navbar-collapse.in { - overflow-y: auto; -} -@media (min-width: 768px) { - .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-collapse.in { - overflow-y: visible; - } - .navbar-fixed-top .navbar-collapse, - .navbar-static-top .navbar-collapse, - .navbar-fixed-bottom .navbar-collapse { - padding-right: 0; - padding-left: 0; - } -} -.container > .navbar-header, -.container-fluid > .navbar-header, -.container > .navbar-collapse, -.container-fluid > .navbar-collapse { - margin-right: -15px; - margin-left: -15px; -} -@media (min-width: 768px) { - .container > .navbar-header, - .container-fluid > .navbar-header, - .container > .navbar-collapse, - .container-fluid > .navbar-collapse { - margin-right: 0; - margin-left: 0; - } -} -.navbar-static-top { - z-index: 1000; - border-width: 0 0 1px; -} -@media (min-width: 768px) { - .navbar-static-top { - border-radius: 0; - } -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; -} -@media (min-width: 768px) { - .navbar-fixed-top, - .navbar-fixed-bottom { - border-radius: 0; - } -} -.navbar-fixed-top { - top: 0; - border-width: 0 0 1px; -} -.navbar-fixed-bottom { - bottom: 0; - margin-bottom: 0; - border-width: 1px 0 0; -} -.navbar-brand { - float: left; - height: 50px; - padding: 15px 15px; - font-size: 18px; - line-height: 20px; -} -.navbar-brand:hover, -.navbar-brand:focus { - text-decoration: none; -} -@media (min-width: 768px) { - .navbar > .container .navbar-brand, - .navbar > .container-fluid .navbar-brand { - margin-left: -15px; - } -} -.navbar-toggle { - position: relative; - float: right; - padding: 9px 10px; - margin-top: 8px; - margin-right: 15px; - margin-bottom: 8px; - background-color: transparent; - background-image: none; - border: 1px solid transparent; - border-radius: 4px; -} -.navbar-toggle:focus { - outline: none; -} -.navbar-toggle .icon-bar { - display: block; - width: 22px; - height: 2px; - border-radius: 1px; -} -.navbar-toggle .icon-bar + .icon-bar { - margin-top: 4px; -} -@media (min-width: 768px) { - .navbar-toggle { - display: none; - } -} -.navbar-nav { - margin: 7.5px -15px; -} -.navbar-nav > li > a { - padding-top: 10px; - padding-bottom: 10px; - line-height: 20px; -} -@media (max-width: 767px) { - .navbar-nav .open .dropdown-menu { - position: static; - float: none; - width: auto; - margin-top: 0; - background-color: transparent; - border: 0; - box-shadow: none; - } - .navbar-nav .open .dropdown-menu > li > a, - .navbar-nav .open .dropdown-menu .dropdown-header { - padding: 5px 15px 5px 25px; - } - .navbar-nav .open .dropdown-menu > li > a { - line-height: 20px; - } - .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-nav .open .dropdown-menu > li > a:focus { - background-image: none; - } -} -@media (min-width: 768px) { - .navbar-nav { - float: left; - margin: 0; - } - .navbar-nav > li { - float: left; - } - .navbar-nav > li > a { - padding-top: 15px; - padding-bottom: 15px; - } - .navbar-nav.navbar-right:last-child { - margin-right: -15px; - } -} -@media (min-width: 768px) { - .navbar-left { - float: left !important; - } - .navbar-right { - float: right !important; - } -} -.navbar-form { - padding: 10px 15px; - margin-top: 8px; - margin-right: -15px; - margin-bottom: 8px; - margin-left: -15px; - border-top: 1px solid transparent; - border-bottom: 1px solid transparent; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); -} -@media (min-width: 768px) { - .navbar-form .form-group { - display: inline-block; - margin-bottom: 0; - vertical-align: middle; - } - .navbar-form .form-control { - display: inline-block; - width: auto; - vertical-align: middle; - } - .navbar-form .input-group > .form-control { - width: 100%; - } - .navbar-form .control-label { - margin-bottom: 0; - vertical-align: middle; - } - .navbar-form .radio, - .navbar-form .checkbox { - display: inline-block; - padding-left: 0; - margin-top: 0; - margin-bottom: 0; - vertical-align: middle; - } - .navbar-form .radio input[type="radio"], - .navbar-form .checkbox input[type="checkbox"] { - float: none; - margin-left: 0; - } - .navbar-form .has-feedback .form-control-feedback { - top: 0; - } -} -@media (max-width: 767px) { - .navbar-form .form-group { - margin-bottom: 5px; - } -} -@media (min-width: 768px) { - .navbar-form { - width: auto; - padding-top: 0; - padding-bottom: 0; - margin-right: 0; - margin-left: 0; - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - } - .navbar-form.navbar-right:last-child { - margin-right: -15px; - } -} -.navbar-nav > li > .dropdown-menu { - margin-top: 0; - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.navbar-btn { - margin-top: 8px; - margin-bottom: 8px; -} -.navbar-btn.btn-sm { - margin-top: 10px; - margin-bottom: 10px; -} -.navbar-btn.btn-xs { - margin-top: 14px; - margin-bottom: 14px; -} -.navbar-text { - margin-top: 15px; - margin-bottom: 15px; -} -@media (min-width: 768px) { - .navbar-text { - float: left; - margin-right: 15px; - margin-left: 15px; - } - .navbar-text.navbar-right:last-child { - margin-right: 0; - } -} -.navbar-default { - background-color: #f8f8f8; - border-color: #e7e7e7; -} -.navbar-default .navbar-brand { - color: #777; -} -.navbar-default .navbar-brand:hover, -.navbar-default .navbar-brand:focus { - color: #5e5e5e; - background-color: transparent; -} -.navbar-default .navbar-text { - color: #777; -} -.navbar-default .navbar-nav > li > a { - color: #777; -} -.navbar-default .navbar-nav > li > a:hover, -.navbar-default .navbar-nav > li > a:focus { - color: #333; - background-color: transparent; -} -.navbar-default .navbar-nav > .active > a, -.navbar-default .navbar-nav > .active > a:hover, -.navbar-default .navbar-nav > .active > a:focus { - color: #555; - background-color: #e7e7e7; -} -.navbar-default .navbar-nav > .disabled > a, -.navbar-default .navbar-nav > .disabled > a:hover, -.navbar-default .navbar-nav > .disabled > a:focus { - color: #ccc; - background-color: transparent; -} -.navbar-default .navbar-toggle { - border-color: #ddd; -} -.navbar-default .navbar-toggle:hover, -.navbar-default .navbar-toggle:focus { - background-color: #ddd; -} -.navbar-default .navbar-toggle .icon-bar { - background-color: #888; -} -.navbar-default .navbar-collapse, -.navbar-default .navbar-form { - border-color: #e7e7e7; -} -.navbar-default .navbar-nav > .open > a, -.navbar-default .navbar-nav > .open > a:hover, -.navbar-default .navbar-nav > .open > a:focus { - color: #555; - background-color: #e7e7e7; -} -@media (max-width: 767px) { - .navbar-default .navbar-nav .open .dropdown-menu > li > a { - color: #777; - } - .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { - color: #333; - background-color: transparent; - } - .navbar-default .navbar-nav .open .dropdown-menu > .active > a, - .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { - color: #555; - background-color: #e7e7e7; - } - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { - color: #ccc; - background-color: transparent; - } -} -.navbar-default .navbar-link { - color: #777; -} -.navbar-default .navbar-link:hover { - color: #333; -} -.navbar-inverse { - background-color: #222; - border-color: #080808; -} -.navbar-inverse .navbar-brand { - color: #999; -} -.navbar-inverse .navbar-brand:hover, -.navbar-inverse .navbar-brand:focus { - color: #fff; - background-color: transparent; -} -.navbar-inverse .navbar-text { - color: #999; -} -.navbar-inverse .navbar-nav > li > a { - color: #999; -} -.navbar-inverse .navbar-nav > li > a:hover, -.navbar-inverse .navbar-nav > li > a:focus { - color: #fff; - background-color: transparent; -} -.navbar-inverse .navbar-nav > .active > a, -.navbar-inverse .navbar-nav > .active > a:hover, -.navbar-inverse .navbar-nav > .active > a:focus { - color: #fff; - background-color: #080808; -} -.navbar-inverse .navbar-nav > .disabled > a, -.navbar-inverse .navbar-nav > .disabled > a:hover, -.navbar-inverse .navbar-nav > .disabled > a:focus { - color: #444; - background-color: transparent; -} -.navbar-inverse .navbar-toggle { - border-color: #333; -} -.navbar-inverse .navbar-toggle:hover, -.navbar-inverse .navbar-toggle:focus { - background-color: #333; -} -.navbar-inverse .navbar-toggle .icon-bar { - background-color: #fff; -} -.navbar-inverse .navbar-collapse, -.navbar-inverse .navbar-form { - border-color: #101010; -} -.navbar-inverse .navbar-nav > .open > a, -.navbar-inverse .navbar-nav > .open > a:hover, -.navbar-inverse .navbar-nav > .open > a:focus { - color: #fff; - background-color: #080808; -} -@media (max-width: 767px) { - .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { - border-color: #080808; - } - .navbar-inverse .navbar-nav .open .dropdown-menu .divider { - background-color: #080808; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { - color: #999; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { - color: #fff; - background-color: transparent; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { - color: #fff; - background-color: #080808; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { - color: #444; - background-color: transparent; - } -} -.navbar-inverse .navbar-link { - color: #999; -} -.navbar-inverse .navbar-link:hover { - color: #fff; -} -.breadcrumb { - padding: 8px 15px; - margin-bottom: 20px; - list-style: none; - background-color: #f5f5f5; - border-radius: 4px; -} -.breadcrumb > li { - display: inline-block; -} -.breadcrumb > li + li:before { - padding: 0 5px; - color: #ccc; - content: "/\00a0"; -} -.breadcrumb > .active { - color: #999; -} -.pagination { - display: inline-block; - padding-left: 0; - margin: 20px 0; - border-radius: 4px; -} -.pagination > li { - display: inline; -} -.pagination > li > a, -.pagination > li > span { - position: relative; - float: left; - padding: 6px 12px; - margin-left: -1px; - line-height: 1.42857143; - color: #428bca; - text-decoration: none; - background-color: #fff; - border: 1px solid #ddd; -} -.pagination > li:first-child > a, -.pagination > li:first-child > span { - margin-left: 0; - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; -} -.pagination > li:last-child > a, -.pagination > li:last-child > span { - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; -} -.pagination > li > a:hover, -.pagination > li > span:hover, -.pagination > li > a:focus, -.pagination > li > span:focus { - color: #2a6496; - background-color: #eee; - border-color: #ddd; -} -.pagination > .active > a, -.pagination > .active > span, -.pagination > .active > a:hover, -.pagination > .active > span:hover, -.pagination > .active > a:focus, -.pagination > .active > span:focus { - z-index: 2; - color: #fff; - cursor: default; - background-color: #428bca; - border-color: #428bca; -} -.pagination > .disabled > span, -.pagination > .disabled > span:hover, -.pagination > .disabled > span:focus, -.pagination > .disabled > a, -.pagination > .disabled > a:hover, -.pagination > .disabled > a:focus { - color: #999; - cursor: not-allowed; - background-color: #fff; - border-color: #ddd; -} -.pagination-lg > li > a, -.pagination-lg > li > span { - padding: 10px 16px; - font-size: 18px; -} -.pagination-lg > li:first-child > a, -.pagination-lg > li:first-child > span { - border-top-left-radius: 6px; - border-bottom-left-radius: 6px; -} -.pagination-lg > li:last-child > a, -.pagination-lg > li:last-child > span { - border-top-right-radius: 6px; - border-bottom-right-radius: 6px; -} -.pagination-sm > li > a, -.pagination-sm > li > span { - padding: 5px 10px; - font-size: 12px; -} -.pagination-sm > li:first-child > a, -.pagination-sm > li:first-child > span { - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; -} -.pagination-sm > li:last-child > a, -.pagination-sm > li:last-child > span { - border-top-right-radius: 3px; - border-bottom-right-radius: 3px; -} -.pager { - padding-left: 0; - margin: 20px 0; - text-align: center; - list-style: none; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #eee; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #999; - cursor: not-allowed; - background-color: #fff; -} -.label { - display: inline; - padding: .2em .6em .3em; - font-size: 75%; - font-weight: bold; - line-height: 1; - color: #fff; - text-align: center; - white-space: nowrap; - vertical-align: baseline; - border-radius: .25em; -} -.label[href]:hover, -.label[href]:focus { - color: #fff; - text-decoration: none; - cursor: pointer; -} -.label:empty { - display: none; -} -.btn .label { - position: relative; - top: -1px; -} -.label-default { - background-color: #999; -} -.label-default[href]:hover, -.label-default[href]:focus { - background-color: #808080; -} -.label-primary { - background-color: #428bca; -} -.label-primary[href]:hover, -.label-primary[href]:focus { - background-color: #3071a9; -} -.label-success { - background-color: #5cb85c; -} -.label-success[href]:hover, -.label-success[href]:focus { - background-color: #449d44; -} -.label-info { - background-color: #5bc0de; -} -.label-info[href]:hover, -.label-info[href]:focus { - background-color: #31b0d5; -} -.label-warning { - background-color: #f0ad4e; -} -.label-warning[href]:hover, -.label-warning[href]:focus { - background-color: #ec971f; -} -.label-danger { - background-color: #d9534f; -} -.label-danger[href]:hover, -.label-danger[href]:focus { - background-color: #c9302c; -} -.badge { - display: inline-block; - min-width: 10px; - padding: 3px 7px; - font-size: 12px; - font-weight: bold; - line-height: 1; - color: #fff; - text-align: center; - white-space: nowrap; - vertical-align: baseline; - background-color: #999; - border-radius: 10px; -} -.badge:empty { - display: none; -} -.btn .badge { - position: relative; - top: -1px; -} -.btn-xs .badge { - top: 0; - padding: 1px 5px; -} -a.badge:hover, -a.badge:focus { - color: #fff; - text-decoration: none; - cursor: pointer; -} -a.list-group-item.active > .badge, -.nav-pills > .active > a > .badge { - color: #428bca; - background-color: #fff; -} -.nav-pills > li > a > .badge { - margin-left: 3px; -} -.jumbotron { - padding: 30px; - margin-bottom: 30px; - color: inherit; - background-color: #eee; -} -.jumbotron h1, -.jumbotron .h1 { - color: inherit; -} -.jumbotron p { - margin-bottom: 15px; - font-size: 21px; - font-weight: 200; -} -.container .jumbotron { - border-radius: 6px; -} -.jumbotron .container { - max-width: 100%; -} -@media screen and (min-width: 768px) { - .jumbotron { - padding-top: 48px; - padding-bottom: 48px; - } - .container .jumbotron { - padding-right: 60px; - padding-left: 60px; - } - .jumbotron h1, - .jumbotron .h1 { - font-size: 63px; - } -} -.thumbnail { - display: block; - padding: 4px; - margin-bottom: 20px; - line-height: 1.42857143; - background-color: #fff; - border: 1px solid #ddd; - border-radius: 4px; - -webkit-transition: all .2s ease-in-out; - transition: all .2s ease-in-out; -} -.thumbnail > img, -.thumbnail a > img { - margin-right: auto; - margin-left: auto; -} -a.thumbnail:hover, -a.thumbnail:focus, -a.thumbnail.active { - border-color: #428bca; -} -.thumbnail .caption { - padding: 9px; - color: #333; -} -.alert { - padding: 15px; - margin-bottom: 20px; - border: 1px solid transparent; - border-radius: 4px; -} -.alert h4 { - margin-top: 0; - color: inherit; -} -.alert .alert-link { - font-weight: bold; -} -.alert > p, -.alert > ul { - margin-bottom: 0; -} -.alert > p + p { - margin-top: 5px; -} -.alert-dismissable { - padding-right: 35px; -} -.alert-dismissable .close { - position: relative; - top: -2px; - right: -21px; - color: inherit; -} -.alert-success { - color: #3c763d; - background-color: #dff0d8; - border-color: #d6e9c6; -} -.alert-success hr { - border-top-color: #c9e2b3; -} -.alert-success .alert-link { - color: #2b542c; -} -.alert-info { - color: #31708f; - background-color: #d9edf7; - border-color: #bce8f1; -} -.alert-info hr { - border-top-color: #a6e1ec; -} -.alert-info .alert-link { - color: #245269; -} -.alert-warning { - color: #8a6d3b; - background-color: #fcf8e3; - border-color: #faebcc; -} -.alert-warning hr { - border-top-color: #f7e1b5; -} -.alert-warning .alert-link { - color: #66512c; -} -.alert-danger { - color: #a94442; - background-color: #f2dede; - border-color: #ebccd1; -} -.alert-danger hr { - border-top-color: #e4b9c0; -} -.alert-danger .alert-link { - color: #843534; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - height: 20px; - margin-bottom: 20px; - overflow: hidden; - background-color: #f5f5f5; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); -} -.progress-bar { - float: left; - width: 0; - height: 100%; - font-size: 12px; - line-height: 20px; - color: #fff; - text-align: center; - background-color: #428bca; - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); - -webkit-transition: width .6s ease; - transition: width .6s ease; -} -.progress-striped .progress-bar { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-size: 40px 40px; -} -.progress.active .progress-bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-bar-success { - background-color: #5cb85c; -} -.progress-striped .progress-bar-success { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); -} -.progress-bar-info { - background-color: #5bc0de; -} -.progress-striped .progress-bar-info { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); -} -.progress-bar-warning { - background-color: #f0ad4e; -} -.progress-striped .progress-bar-warning { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); -} -.progress-bar-danger { - background-color: #d9534f; -} -.progress-striped .progress-bar-danger { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); -} -.media, -.media-body { - overflow: hidden; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - padding-left: 0; - list-style: none; -} -.list-group { - padding-left: 0; - margin-bottom: 20px; -} -.list-group-item { - position: relative; - display: block; - padding: 10px 15px; - margin-bottom: -1px; - background-color: #fff; - border: 1px solid #ddd; -} -.list-group-item:first-child { - border-top-left-radius: 4px; - border-top-right-radius: 4px; -} -.list-group-item:last-child { - margin-bottom: 0; - border-bottom-right-radius: 4px; - border-bottom-left-radius: 4px; -} -.list-group-item > .badge { - float: right; -} -.list-group-item > .badge + .badge { - margin-right: 5px; -} -a.list-group-item { - color: #555; -} -a.list-group-item .list-group-item-heading { - color: #333; -} -a.list-group-item:hover, -a.list-group-item:focus { - text-decoration: none; - background-color: #f5f5f5; -} -a.list-group-item.active, -a.list-group-item.active:hover, -a.list-group-item.active:focus { - z-index: 2; - color: #fff; - background-color: #428bca; - border-color: #428bca; -} -a.list-group-item.active .list-group-item-heading, -a.list-group-item.active:hover .list-group-item-heading, -a.list-group-item.active:focus .list-group-item-heading { - color: inherit; -} -a.list-group-item.active .list-group-item-text, -a.list-group-item.active:hover .list-group-item-text, -a.list-group-item.active:focus .list-group-item-text { - color: #e1edf7; -} -.list-group-item-success { - color: #3c763d; - background-color: #dff0d8; -} -a.list-group-item-success { - color: #3c763d; -} -a.list-group-item-success .list-group-item-heading { - color: inherit; -} -a.list-group-item-success:hover, -a.list-group-item-success:focus { - color: #3c763d; - background-color: #d0e9c6; -} -a.list-group-item-success.active, -a.list-group-item-success.active:hover, -a.list-group-item-success.active:focus { - color: #fff; - background-color: #3c763d; - border-color: #3c763d; -} -.list-group-item-info { - color: #31708f; - background-color: #d9edf7; -} -a.list-group-item-info { - color: #31708f; -} -a.list-group-item-info .list-group-item-heading { - color: inherit; -} -a.list-group-item-info:hover, -a.list-group-item-info:focus { - color: #31708f; - background-color: #c4e3f3; -} -a.list-group-item-info.active, -a.list-group-item-info.active:hover, -a.list-group-item-info.active:focus { - color: #fff; - background-color: #31708f; - border-color: #31708f; -} -.list-group-item-warning { - color: #8a6d3b; - background-color: #fcf8e3; -} -a.list-group-item-warning { - color: #8a6d3b; -} -a.list-group-item-warning .list-group-item-heading { - color: inherit; -} -a.list-group-item-warning:hover, -a.list-group-item-warning:focus { - color: #8a6d3b; - background-color: #faf2cc; -} -a.list-group-item-warning.active, -a.list-group-item-warning.active:hover, -a.list-group-item-warning.active:focus { - color: #fff; - background-color: #8a6d3b; - border-color: #8a6d3b; -} -.list-group-item-danger { - color: #a94442; - background-color: #f2dede; -} -a.list-group-item-danger { - color: #a94442; -} -a.list-group-item-danger .list-group-item-heading { - color: inherit; -} -a.list-group-item-danger:hover, -a.list-group-item-danger:focus { - color: #a94442; - background-color: #ebcccc; -} -a.list-group-item-danger.active, -a.list-group-item-danger.active:hover, -a.list-group-item-danger.active:focus { - color: #fff; - background-color: #a94442; - border-color: #a94442; -} -.list-group-item-heading { - margin-top: 0; - margin-bottom: 5px; -} -.list-group-item-text { - margin-bottom: 0; - line-height: 1.3; -} -.panel { - margin-bottom: 20px; - background-color: #fff; - border: 1px solid transparent; - border-radius: 4px; - -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05); - box-shadow: 0 1px 1px rgba(0, 0, 0, .05); -} -.panel-body { - padding: 15px; -} -.panel-heading { - padding: 10px 15px; - border-bottom: 1px solid transparent; - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} -.panel-heading > .dropdown .dropdown-toggle { - color: inherit; -} -.panel-title { - margin-top: 0; - margin-bottom: 0; - font-size: 16px; - color: inherit; -} -.panel-title > a { - color: inherit; -} -.panel-footer { - padding: 10px 15px; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; -} -.panel > .list-group { - margin-bottom: 0; -} -.panel > .list-group .list-group-item { - border-width: 1px 0; - border-radius: 0; -} -.panel > .list-group:first-child .list-group-item:first-child { - border-top: 0; - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} -.panel > .list-group:last-child .list-group-item:last-child { - border-bottom: 0; - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; -} -.panel-heading + .list-group .list-group-item:first-child { - border-top-width: 0; -} -.panel > .table, -.panel > .table-responsive > .table { - margin-bottom: 0; -} -.panel > .table:first-child, -.panel > .table-responsive:first-child > .table:first-child { - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} -.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, -.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, -.panel > .table:first-child > thead:first-child > tr:first-child th:first-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, -.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { - border-top-left-radius: 3px; -} -.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, -.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, -.panel > .table:first-child > thead:first-child > tr:first-child th:last-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, -.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { - border-top-right-radius: 3px; -} -.panel > .table:last-child, -.panel > .table-responsive:last-child > .table:last-child { - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; -} -.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, -.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { - border-bottom-left-radius: 3px; -} -.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, -.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { - border-bottom-right-radius: 3px; -} -.panel > .panel-body + .table, -.panel > .panel-body + .table-responsive { - border-top: 1px solid #ddd; -} -.panel > .table > tbody:first-child > tr:first-child th, -.panel > .table > tbody:first-child > tr:first-child td { - border-top: 0; -} -.panel > .table-bordered, -.panel > .table-responsive > .table-bordered { - border: 0; -} -.panel > .table-bordered > thead > tr > th:first-child, -.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, -.panel > .table-bordered > tbody > tr > th:first-child, -.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, -.panel > .table-bordered > tfoot > tr > th:first-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, -.panel > .table-bordered > thead > tr > td:first-child, -.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, -.panel > .table-bordered > tbody > tr > td:first-child, -.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, -.panel > .table-bordered > tfoot > tr > td:first-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { - border-left: 0; -} -.panel > .table-bordered > thead > tr > th:last-child, -.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, -.panel > .table-bordered > tbody > tr > th:last-child, -.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, -.panel > .table-bordered > tfoot > tr > th:last-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, -.panel > .table-bordered > thead > tr > td:last-child, -.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, -.panel > .table-bordered > tbody > tr > td:last-child, -.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, -.panel > .table-bordered > tfoot > tr > td:last-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { - border-right: 0; -} -.panel > .table-bordered > thead > tr:first-child > td, -.panel > .table-responsive > .table-bordered > thead > tr:first-child > td, -.panel > .table-bordered > tbody > tr:first-child > td, -.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, -.panel > .table-bordered > thead > tr:first-child > th, -.panel > .table-responsive > .table-bordered > thead > tr:first-child > th, -.panel > .table-bordered > tbody > tr:first-child > th, -.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { - border-bottom: 0; -} -.panel > .table-bordered > tbody > tr:last-child > td, -.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, -.panel > .table-bordered > tfoot > tr:last-child > td, -.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, -.panel > .table-bordered > tbody > tr:last-child > th, -.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, -.panel > .table-bordered > tfoot > tr:last-child > th, -.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { - border-bottom: 0; -} -.panel > .table-responsive { - margin-bottom: 0; - border: 0; -} -.panel-group { - margin-bottom: 20px; -} -.panel-group .panel { - margin-bottom: 0; - overflow: hidden; - border-radius: 4px; -} -.panel-group .panel + .panel { - margin-top: 5px; -} -.panel-group .panel-heading { - border-bottom: 0; -} -.panel-group .panel-heading + .panel-collapse .panel-body { - border-top: 1px solid #ddd; -} -.panel-group .panel-footer { - border-top: 0; -} -.panel-group .panel-footer + .panel-collapse .panel-body { - border-bottom: 1px solid #ddd; -} -.panel-default { - border-color: #ddd; -} -.panel-default > .panel-heading { - color: #333; - background-color: #f5f5f5; - border-color: #ddd; -} -.panel-default > .panel-heading + .panel-collapse .panel-body { - border-top-color: #ddd; -} -.panel-default > .panel-footer + .panel-collapse .panel-body { - border-bottom-color: #ddd; -} -.panel-primary { - border-color: #428bca; -} -.panel-primary > .panel-heading { - color: #fff; - background-color: #428bca; - border-color: #428bca; -} -.panel-primary > .panel-heading + .panel-collapse .panel-body { - border-top-color: #428bca; -} -.panel-primary > .panel-footer + .panel-collapse .panel-body { - border-bottom-color: #428bca; -} -.panel-success { - border-color: #d6e9c6; -} -.panel-success > .panel-heading { - color: #3c763d; - background-color: #dff0d8; - border-color: #d6e9c6; -} -.panel-success > .panel-heading + .panel-collapse .panel-body { - border-top-color: #d6e9c6; -} -.panel-success > .panel-footer + .panel-collapse .panel-body { - border-bottom-color: #d6e9c6; -} -.panel-info { - border-color: #bce8f1; -} -.panel-info > .panel-heading { - color: #31708f; - background-color: #d9edf7; - border-color: #bce8f1; -} -.panel-info > .panel-heading + .panel-collapse .panel-body { - border-top-color: #bce8f1; -} -.panel-info > .panel-footer + .panel-collapse .panel-body { - border-bottom-color: #bce8f1; -} -.panel-warning { - border-color: #faebcc; -} -.panel-warning > .panel-heading { - color: #8a6d3b; - background-color: #fcf8e3; - border-color: #faebcc; -} -.panel-warning > .panel-heading + .panel-collapse .panel-body { - border-top-color: #faebcc; -} -.panel-warning > .panel-footer + .panel-collapse .panel-body { - border-bottom-color: #faebcc; -} -.panel-danger { - border-color: #ebccd1; -} -.panel-danger > .panel-heading { - color: #a94442; - background-color: #f2dede; - border-color: #ebccd1; -} -.panel-danger > .panel-heading + .panel-collapse .panel-body { - border-top-color: #ebccd1; -} -.panel-danger > .panel-footer + .panel-collapse .panel-body { - border-bottom-color: #ebccd1; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #f5f5f5; - border: 1px solid #e3e3e3; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, .15); -} -.well-lg { - padding: 24px; - border-radius: 6px; -} -.well-sm { - padding: 9px; - border-radius: 3px; -} -.close { - float: right; - font-size: 21px; - font-weight: bold; - line-height: 1; - color: #000; - text-shadow: 0 1px 0 #fff; - filter: alpha(opacity=20); - opacity: .2; -} -.close:hover, -.close:focus { - color: #000; - text-decoration: none; - cursor: pointer; - filter: alpha(opacity=50); - opacity: .5; -} -button.close { - -webkit-appearance: none; - padding: 0; - cursor: pointer; - background: transparent; - border: 0; -} -.modal-open { - overflow: hidden; -} -.modal { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1050; - display: none; - overflow: auto; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - outline: 0; -} -.modal.fade .modal-dialog { - -webkit-transition: -webkit-transform .3s ease-out; - -moz-transition: -moz-transform .3s ease-out; - -o-transition: -o-transform .3s ease-out; - transition: transform .3s ease-out; - -webkit-transform: translate(0, -25%); - -ms-transform: translate(0, -25%); - transform: translate(0, -25%); -} -.modal.in .modal-dialog { - -webkit-transform: translate(0, 0); - -ms-transform: translate(0, 0); - transform: translate(0, 0); -} -.modal-dialog { - position: relative; - width: auto; - margin: 10px; -} -.modal-content { - position: relative; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, .2); - border-radius: 6px; - outline: none; - -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5); - box-shadow: 0 3px 9px rgba(0, 0, 0, .5); -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000; -} -.modal-backdrop.fade { - filter: alpha(opacity=0); - opacity: 0; -} -.modal-backdrop.in { - filter: alpha(opacity=50); - opacity: .5; -} -.modal-header { - min-height: 16.42857143px; - padding: 15px; - border-bottom: 1px solid #e5e5e5; -} -.modal-header .close { - margin-top: -2px; -} -.modal-title { - margin: 0; - line-height: 1.42857143; -} -.modal-body { - position: relative; - padding: 20px; -} -.modal-footer { - padding: 19px 20px 20px; - margin-top: 15px; - text-align: right; - border-top: 1px solid #e5e5e5; -} -.modal-footer .btn + .btn { - margin-bottom: 0; - margin-left: 5px; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -@media (min-width: 768px) { - .modal-dialog { - width: 600px; - margin: 30px auto; - } - .modal-content { - -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5); - box-shadow: 0 5px 15px rgba(0, 0, 0, .5); - } - .modal-sm { - width: 300px; - } -} -@media (min-width: 992px) { - .modal-lg { - width: 900px; - } -} -.tooltip { - position: absolute; - z-index: 1030; - display: block; - font-size: 12px; - line-height: 1.4; - visibility: visible; - filter: alpha(opacity=0); - opacity: 0; -} -.tooltip.in { - filter: alpha(opacity=90); - opacity: .9; -} -.tooltip.top { - padding: 5px 0; - margin-top: -3px; -} -.tooltip.right { - padding: 0 5px; - margin-left: 3px; -} -.tooltip.bottom { - padding: 5px 0; - margin-top: 3px; -} -.tooltip.left { - padding: 0 5px; - margin-left: -3px; -} -.tooltip-inner { - max-width: 200px; - padding: 3px 8px; - color: #fff; - text-align: center; - text-decoration: none; - background-color: #000; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000; -} -.tooltip.top-left .tooltip-arrow { - bottom: 0; - left: 5px; - border-width: 5px 5px 0; - border-top-color: #000; -} -.tooltip.top-right .tooltip-arrow { - right: 5px; - bottom: 0; - border-width: 5px 5px 0; - border-top-color: #000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000; -} -.tooltip.bottom-left .tooltip-arrow { - top: 0; - left: 5px; - border-width: 0 5px 5px; - border-bottom-color: #000; -} -.tooltip.bottom-right .tooltip-arrow { - top: 0; - right: 5px; - border-width: 0 5px 5px; - border-bottom-color: #000; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - white-space: normal; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, .2); - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2); - box-shadow: 0 5px 10px rgba(0, 0, 0, .2); -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - padding: 8px 14px; - margin: 0; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #f7f7f7; - border-bottom: 1px solid #ebebeb; - border-radius: 5px 5px 0 0; -} -.popover-content { - padding: 9px 14px; -} -.popover > .arrow, -.popover > .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover > .arrow { - border-width: 11px; -} -.popover > .arrow:after { - content: ""; - border-width: 10px; -} -.popover.top > .arrow { - bottom: -11px; - left: 50%; - margin-left: -11px; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, .25); - border-bottom-width: 0; -} -.popover.top > .arrow:after { - bottom: 1px; - margin-left: -10px; - content: " "; - border-top-color: #fff; - border-bottom-width: 0; -} -.popover.right > .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, .25); - border-left-width: 0; -} -.popover.right > .arrow:after { - bottom: -10px; - left: 1px; - content: " "; - border-right-color: #fff; - border-left-width: 0; -} -.popover.bottom > .arrow { - top: -11px; - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, .25); -} -.popover.bottom > .arrow:after { - top: 1px; - margin-left: -10px; - content: " "; - border-top-width: 0; - border-bottom-color: #fff; -} -.popover.left > .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, .25); -} -.popover.left > .arrow:after { - right: 1px; - bottom: -10px; - content: " "; - border-right-width: 0; - border-left-color: #fff; -} -.carousel { - position: relative; -} -.carousel-inner { - position: relative; - width: 100%; - overflow: hidden; -} -.carousel-inner > .item { - position: relative; - display: none; - -webkit-transition: .6s ease-in-out left; - transition: .6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 15%; - font-size: 20px; - color: #fff; - text-align: center; - text-shadow: 0 1px 2px rgba(0, 0, 0, .6); - filter: alpha(opacity=50); - opacity: .5; -} -.carousel-control.left { - background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .5) 0%), color-stop(rgba(0, 0, 0, .0001) 100%)); - background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); - background-repeat: repeat-x; -} -.carousel-control.right { - right: 0; - left: auto; - background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .0001) 0%), color-stop(rgba(0, 0, 0, .5) 100%)); - background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); - background-repeat: repeat-x; -} -.carousel-control:hover, -.carousel-control:focus { - color: #fff; - text-decoration: none; - filter: alpha(opacity=90); - outline: none; - opacity: .9; -} -.carousel-control .icon-prev, -.carousel-control .icon-next, -.carousel-control .glyphicon-chevron-left, -.carousel-control .glyphicon-chevron-right { - position: absolute; - top: 50%; - z-index: 5; - display: inline-block; -} -.carousel-control .icon-prev, -.carousel-control .glyphicon-chevron-left { - left: 50%; -} -.carousel-control .icon-next, -.carousel-control .glyphicon-chevron-right { - right: 50%; -} -.carousel-control .icon-prev, -.carousel-control .icon-next { - width: 20px; - height: 20px; - margin-top: -10px; - margin-left: -10px; - font-family: serif; -} -.carousel-control .icon-prev:before { - content: '\2039'; -} -.carousel-control .icon-next:before { - content: '\203a'; -} -.carousel-indicators { - position: absolute; - bottom: 10px; - left: 50%; - z-index: 15; - width: 60%; - padding-left: 0; - margin-left: -30%; - text-align: center; - list-style: none; -} -.carousel-indicators li { - display: inline-block; - width: 10px; - height: 10px; - margin: 1px; - text-indent: -999px; - cursor: pointer; - background-color: #000 \9; - background-color: rgba(0, 0, 0, 0); - border: 1px solid #fff; - border-radius: 10px; -} -.carousel-indicators .active { - width: 12px; - height: 12px; - margin: 0; - background-color: #fff; -} -.carousel-caption { - position: absolute; - right: 15%; - bottom: 20px; - left: 15%; - z-index: 10; - padding-top: 20px; - padding-bottom: 20px; - color: #fff; - text-align: center; - text-shadow: 0 1px 2px rgba(0, 0, 0, .6); -} -.carousel-caption .btn { - text-shadow: none; -} -@media screen and (min-width: 768px) { - .carousel-control .glyphicon-chevron-left, - .carousel-control .glyphicon-chevron-right, - .carousel-control .icon-prev, - .carousel-control .icon-next { - width: 30px; - height: 30px; - margin-top: -15px; - margin-left: -15px; - font-size: 30px; - } - .carousel-caption { - right: 20%; - left: 20%; - padding-bottom: 30px; - } - .carousel-indicators { - bottom: 20px; - } -} -.clearfix:before, -.clearfix:after, -.container:before, -.container:after, -.container-fluid:before, -.container-fluid:after, -.row:before, -.row:after, -.form-horizontal .form-group:before, -.form-horizontal .form-group:after, -.btn-toolbar:before, -.btn-toolbar:after, -.btn-group-vertical > .btn-group:before, -.btn-group-vertical > .btn-group:after, -.nav:before, -.nav:after, -.navbar:before, -.navbar:after, -.navbar-header:before, -.navbar-header:after, -.navbar-collapse:before, -.navbar-collapse:after, -.pager:before, -.pager:after, -.panel-body:before, -.panel-body:after, -.modal-footer:before, -.modal-footer:after { - display: table; - content: " "; -} -.clearfix:after, -.container:after, -.container-fluid:after, -.row:after, -.form-horizontal .form-group:after, -.btn-toolbar:after, -.btn-group-vertical > .btn-group:after, -.nav:after, -.navbar:after, -.navbar-header:after, -.navbar-collapse:after, -.pager:after, -.panel-body:after, -.modal-footer:after { - clear: both; -} -.center-block { - display: block; - margin-right: auto; - margin-left: auto; -} -.pull-right { - float: right !important; -} -.pull-left { - float: left !important; -} -.hide { - display: none !important; -} -.show { - display: block !important; -} -.invisible { - visibility: hidden; -} -.text-hide { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.hidden { - display: none !important; - visibility: hidden !important; -} -.affix { - position: fixed; -} -@-ms-viewport { - width: device-width; -} -.visible-xs, -.visible-sm, -.visible-md, -.visible-lg { - display: none !important; -} -@media (max-width: 767px) { - .visible-xs { - display: block !important; - } - table.visible-xs { - display: table; - } - tr.visible-xs { - display: table-row !important; - } - th.visible-xs, - td.visible-xs { - display: table-cell !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm { - display: block !important; - } - table.visible-sm { - display: table; - } - tr.visible-sm { - display: table-row !important; - } - th.visible-sm, - td.visible-sm { - display: table-cell !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md { - display: block !important; - } - table.visible-md { - display: table; - } - tr.visible-md { - display: table-row !important; - } - th.visible-md, - td.visible-md { - display: table-cell !important; - } -} -@media (min-width: 1200px) { - .visible-lg { - display: block !important; - } - table.visible-lg { - display: table; - } - tr.visible-lg { - display: table-row !important; - } - th.visible-lg, - td.visible-lg { - display: table-cell !important; - } -} -@media (max-width: 767px) { - .hidden-xs { - display: none !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .hidden-sm { - display: none !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .hidden-md { - display: none !important; - } -} -@media (min-width: 1200px) { - .hidden-lg { - display: none !important; - } -} -.visible-print { - display: none !important; -} -@media print { - .visible-print { - display: block !important; - } - table.visible-print { - display: table; - } - tr.visible-print { - display: table-row !important; - } - th.visible-print, - td.visible-print { - display: table-cell !important; - } -} -@media print { - .hidden-print { - display: none !important; - } -} -/*# sourceMappingURL=bootstrap.css.map */ diff --git a/assets/css/unminified/color.css b/assets/css/unminified/color.css deleted file mode 100644 index ea8a278..0000000 --- a/assets/css/unminified/color.css +++ /dev/null @@ -1,157 +0,0 @@ - - -/* Primary Color */ - - -.btn-cta-primary, -.navbar .navbar-nav > li > a:hover:after, -.navbar .navbar-nav > li.active > a:after, -.navbar .navbar-nav > li.active > a:hover:after, -.navbar .navbar-nav > li.active > a:focus:after, -form input[type=submit], .with_frm_style .frm_submit input[type=submit], -.with_frm_style .frm_submit input[type=button], -.frm_form_submit_style, .with_frm_style.frm_login_form input[type=submit], -form input[type=submit]:hover, -.with_frm_style .frm_submit input[type=submit]:hover, -.with_frm_style .frm_submit input[type=button]:hover, -.frm_form_submit_style:hover, .with_frm_style.frm_login_form input[type=submit]:hover, -html .woocommerce a.button.alt, html .woocommerce-page a.button.alt, -html .woocommerce a.button, html .woocommerce-page a.button, -.woocommerce #respond input#submit.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, -.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, -.woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, -.woocommerce #respond input#submit.disabled, .woocommerce #respond input#submit:disabled, -.woocommerce #respond input#submit:disabled[disabled], .woocommerce a.button.disabled, -.woocommerce a.button:disabled, .woocommerce a.button:disabled[disabled], -.woocommerce button.button.disabled, .woocommerce button.button:disabled, -.woocommerce button.button:disabled[disabled], .woocommerce input.button.disabled, -.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled], -.woocommerce #respond input#submit.disabled:hover, .woocommerce #respond input#submit:disabled:hover, -.woocommerce #respond input#submit:disabled[disabled]:hover, .woocommerce a.button.disabled:hover, -.woocommerce a.button:disabled:hover, .woocommerce a.button:disabled[disabled]:hover, -.woocommerce button.button.disabled:hover, .woocommerce button.button:disabled:hover, -.woocommerce button.button:disabled[disabled]:hover, .woocommerce input.button.disabled:hover, -.woocommerce input.button:disabled:hover, .woocommerce input.button:disabled[disabled]:hover, -.woocommerce #respond input#submit.alt.disabled, .woocommerce #respond input#submit.alt.disabled:hover, -.woocommerce #respond input#submit.alt:disabled, .woocommerce #respond input#submit.alt:disabled:hover, -.woocommerce #respond input#submit.alt:disabled[disabled], .woocommerce #respond input#submit.alt:disabled[disabled]:hover, -.woocommerce a.button.alt.disabled, .woocommerce a.button.alt.disabled:hover, -.woocommerce a.button.alt:disabled, .woocommerce a.button.alt:disabled:hover, .woocommerce a.button.alt:disabled[disabled], -.woocommerce a.button.alt:disabled[disabled]:hover, .woocommerce button.button.alt.disabled, -.woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:disabled, -.woocommerce button.button.alt:disabled:hover, .woocommerce button.button.alt:disabled[disabled], -.woocommerce button.button.alt:disabled[disabled]:hover, .woocommerce input.button.alt.disabled, -.woocommerce input.button.alt.disabled:hover, .woocommerce input.button.alt:disabled, -.woocommerce input.button.alt:disabled:hover, .woocommerce input.button.alt:disabled[disabled], -.woocommerce input.button.alt:disabled[disabled]:hover, p.demo_store, -.woocommerce.widget_price_filter .ui-slider .ui-slider-handle, -.th-conversion form input[type=submit], -.th-conversion .with_frm_style input[type=submit], -.th-pricing-column.th-highlight, -.search-submit, .search-submit:hover, -.widget .tagcloud a:hover, .footer .tagcloud a:hover -{background-color:#3A3B74} - - -a, .accent, -.navbar .navbar-nav .dropdown-menu li.active a, -.navbar .navbar-nav .dropdown-menu li a:hover, -.navbar .navbar-nav .dropdown-menu li.active a:hover, -.page-title h1, .inner-container > h1.entry-title, -.woocommerce ul.products li.product .price, -.woocommerce ul.products li.product .price del, -.woocommerce .single-product .product .price, -.woocommerce.single-product .product .price, -.woocommerce .single-product .product .price ins, -.woocommerce.single-product .product .price ins, -.a2c-ghost.woocommerce a.button, -.th-cta .th-cta-text span, -.elementor-widget-themo-header .th-header-wrap .elementor-icon-box-title, -.elementor-widget-themo-info-card .th-info-card-wrap .elementor-icon-box-title, -.map-info h3, .th-pkg-content h3, .th-pricing-cost, -.elementor-widget-themo-service-block .th-service-block-w .elementor-icon-box-title, -#main-flex-slider .slides h1, -.th-team-member-social a i:hover, -.elementor-widget-toggle .elementor-toggle .elementor-toggle-title, -.elementor-widget-toggle .elementor-toggle .elementor-toggle-title.active, -.elementor-widget-toggle .elementor-toggle .elementor-toggle-icon -{color:#3A3B74} - - -.btn-standard-primary, -.btn-ghost-primary:hover, -.pager li > a:hover, -.pager li > span:hover, -.a2c-ghost.woocommerce a.button:hover { - background-color:#3A3B74; - border-color:#3A3B74; -} - - -.btn-ghost-primary, -.th-portfolio-filters a.current, -.a2c-ghost.woocommerce a.button { - color:#3A3B74; - border-color:#3A3B74; -} - - -form select:focus, -form textarea:focus, -form input:focus, -.th-widget-area .widget select:focus, -.search-form input:focus -{border-color:#3A3B74 !important} - - - - - - - -/* Accent Color */ - - -.elementor-widget-themo-header .th-header-wrap .elementor-icon, -.elementor-widget-themo-header.elementor-view-default .th-header-wrap .elementor-icon, -.elementor-widget-themo-service-block .th-service-block-w .elementor-icon, -.elementor-widget-themo-service-block.elementor-view-default .th-service-block-w .elementor-icon -{color:#F5BE58} - - -.btn-cta-accent, -.a2c-cta.woocommerce a.button, -.a2c-cta.woocommerce a.button:hover, -.elementor-widget-themo-header.elementor-view-stacked .th-header-wrap .elementor-icon, -.elementor-widget-themo-service-block.elementor-view-stacked .th-service-block-w .elementor-icon -{background-color:#F5BE58} - - -body #booked-profile-page input[type=submit].button-primary, -body table.booked-calendar input[type=submit].button-primary, -body .booked-modal input[type=submit].button-primary, -body table.booked-calendar .booked-appt-list .timeslot .timeslot-people button, -body #booked-profile-page .booked-profile-appt-list .appt-block.approved .status-block -{background:#F5BE58 !important} - - -body #booked-profile-page input[type=submit].button-primary, -body table.booked-calendar input[type=submit].button-primary, -body .booked-modal input[type=submit].button-primary, -body table.booked-calendar .booked-appt-list .timeslot .timeslot-people button -{border-color:#F5BE58 !important} - - -.btn-standard-accent, -.btn-ghost-accent:hover { - background-color:#F5BE58; - border-color:#F5BE58; -} - - -.btn-ghost-accent, -.elementor-widget-themo-header.elementor-view-framed .th-header-wrap .elementor-icon, -.elementor-widget-themo-service-block.elementor-view-framed .th-service-block-w .elementor-icon { - color:#F5BE58; - border-color:#F5BE58; -} \ No newline at end of file diff --git a/assets/css/unminified/ekko-dark.css b/assets/css/unminified/ekko-dark.css deleted file mode 100644 index c3ae5a0..0000000 --- a/assets/css/unminified/ekko-dark.css +++ /dev/null @@ -1,58 +0,0 @@ -.modal-backdrop.in { - -webkit-opacity: 0.95; - -moz-opacity: 0.95; - opacity: 0.95; - background-color: #333333; -} -.ekko-lightbox .modal-content { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - border: none; - background-color: transparent; -} -.ekko-lightbox .modal-header { - border: 0; - padding-left: 0; - padding-right: 0; -} -.ekko-lightbox .modal-header .close { - -webkit-opacity: 0.5; - -moz-opacity: 0.5; - opacity: 0.5; - color: #fff; - text-shadow: 0; - font-weight: 100; - margin-top: 5px; -} -.ekko-lightbox .modal-header .close:hover { - -webkit-opacity: 1; - -moz-opacity: 1; - opacity: 1; -} -.ekko-lightbox .modal-header h4.modal-title { - font-weight: 100; - color: #fff; - padding: 0; -} -.ekko-lightbox .modal-body { - padding: 0; -} -.ekko-lightbox .modal-footer { - -webkit-opacity: 0.9; - -moz-opacity: 0.9; - opacity: 0.9; - border: 0; - color: #fff; - font-weight: 100; - padding: 0; -} -.ekko-lightbox-nav-overlay a { - -webkit-opacity: 0.9; - -moz-opacity: 0.9; - opacity: 0.9; - text-shadow: none; -} diff --git a/assets/css/unminified/flexslider.css b/assets/css/unminified/flexslider.css deleted file mode 100644 index d1efe43..0000000 --- a/assets/css/unminified/flexslider.css +++ /dev/null @@ -1,96 +0,0 @@ -/* - * jQuery FlexSlider v2.2.0 - * http://www.woothemes.com/flexslider/ - * - * Copyright 2012 WooThemes - * Free to use under the GPLv2 license. - * http://www.gnu.org/licenses/gpl-2.0.html - * - * Contributing author: Tyler Smith (@mbmufffin) - */ - - -/* Browser Resets -*********************************/ -.flex-container a:active, -.flexslider a:active, -.flex-container a:focus, -.flexslider a:focus {outline: none;} -.slides, -.flex-control-nav, -.flex-direction-nav {margin: 0; padding: 0; list-style: none;} - -/* Icon Fonts -*********************************/ -/* Font-face Icons */ -@font-face { - font-family: 'flexslider-icon'; - src:url('../fonts/flexslider-icon.eot'); - src:url('../fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), - url('../fonts/flexslider-icon.woff') format('woff'), - url('../fonts/flexslider-icon.ttf') format('truetype'), - url('../fonts/flexslider-icon.svg#flexslider-icon') format('svg'); - font-weight: normal; - font-style: normal; -} - -/* FlexSlider Necessary Styles -*********************************/ -.flexslider {margin: 0; padding: 0;} -.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */ -.flexslider .slides img {width: 100%; display: block;} -.flex-pauseplay span {text-transform: capitalize;} - -/* Clearfix for the .slides element */ -.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} -html[xmlns] .slides {display: block;} -* html .slides {height: 1%;} - -/* No JavaScript Fallback */ -/* If you are not using another script, such as Modernizr, make sure you - * include js that eliminates this class on page load */ -.no-js .slides > li:first-child {display: block;} - -/* FlexSlider Default Theme -*********************************/ -.flexslider { /*margin: 0 0 60px;*/ position: relative; /*background: #fff; border: 4px solid #fff; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); box-shadow: 0 1px 4px rgba(0,0,0,.2);*/ zoom: 1; } -.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; } -.loading .flex-viewport { max-height: 300px; } -.flexslider .slides { zoom: 1; } -.carousel li { margin-right: 5px; } - -/* Direction Nav */ -.flex-direction-nav {*height: 0;} -.flex-direction-nav a { text-decoration:none; display: block; width: 40px; height: 40px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; color: rgba(255,255,255,1); /*text-shadow: 1px 1px 0 rgba(255,255,255,0.3);*/ -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; } -.flex-direction-nav .flex-prev { left: -50px; } -.flex-direction-nav .flex-next { right: -50px; text-align: right; } -.flexslider:hover .flex-prev { opacity: 0.7; left: 10px; } -.flexslider:hover .flex-next { opacity: 0.7; right: 10px; } -.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; } -.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; } -.flex-direction-nav a:before { font-family: "flexslider-icon"; font-size: 40px; line-height:40px; display: inline-block; content: '\f001'; } -.flex-direction-nav a.flex-next:before { content:'\f002'; /* content:"\E224" */} - -/* Pause/Play */ -.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; } -.flex-pauseplay a:before { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; } -.flex-pauseplay a:hover { opacity: 1; } -.flex-pauseplay a.flex-play:before { content: '\f003'; } - -/* Control Nav */ -.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;} -.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;} -.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); } -.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); } -.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; } - -.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;} -.flex-control-thumbs li {width: 25%; float: left; margin: 0;} -.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;} -.flex-control-thumbs img:hover {opacity: 1;} -.flex-control-thumbs .flex-active {opacity: 1; cursor: default;} - -@media screen and (max-width: 860px) { - .flex-direction-nav .flex-prev { opacity: 1; left: 10px;} - .flex-direction-nav .flex-next { opacity: 1; right: 10px;} -} diff --git a/assets/fonts/flexslider-icon.eot b/assets/fonts/flexslider-icon.eot deleted file mode 100644 index 97c4196..0000000 Binary files a/assets/fonts/flexslider-icon.eot and /dev/null differ diff --git a/assets/fonts/flexslider-icon.svg b/assets/fonts/flexslider-icon.svg deleted file mode 100644 index 89fd1ab..0000000 --- a/assets/fonts/flexslider-icon.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - -This is a custom SVG font generated by IcoMoon. - - - - - - - - - - - - - - \ No newline at end of file diff --git a/assets/fonts/flexslider-icon.ttf b/assets/fonts/flexslider-icon.ttf deleted file mode 100644 index 0543298..0000000 Binary files a/assets/fonts/flexslider-icon.ttf and /dev/null differ diff --git a/assets/fonts/flexslider-icon.woff b/assets/fonts/flexslider-icon.woff deleted file mode 100644 index 10c4eeb..0000000 Binary files a/assets/fonts/flexslider-icon.woff and /dev/null differ diff --git a/assets/fonts/ludicrous.woff b/assets/fonts/ludicrous.woff deleted file mode 100644 index 5090934..0000000 Binary files a/assets/fonts/ludicrous.woff and /dev/null differ diff --git a/assets/fonts/ludicrous.woff2 b/assets/fonts/ludicrous.woff2 deleted file mode 100644 index bd4683c..0000000 Binary files a/assets/fonts/ludicrous.woff2 and /dev/null differ diff --git a/assets/fonts/themovation-icons.eot b/assets/fonts/themovation-icons.eot deleted file mode 100644 index 235c8bc..0000000 Binary files a/assets/fonts/themovation-icons.eot and /dev/null differ diff --git a/assets/fonts/themovation-icons.svg b/assets/fonts/themovation-icons.svg deleted file mode 100644 index fcb92aa..0000000 --- a/assets/fonts/themovation-icons.svg +++ /dev/null @@ -1,20 +0,0 @@ - - - -Generated by Fontastic.me - - - - - - - - - - - - - - - - diff --git a/assets/fonts/themovation-icons.ttf b/assets/fonts/themovation-icons.ttf deleted file mode 100644 index 53df502..0000000 Binary files a/assets/fonts/themovation-icons.ttf and /dev/null differ diff --git a/assets/fonts/themovation-icons.woff b/assets/fonts/themovation-icons.woff deleted file mode 100644 index 7fb794f..0000000 Binary files a/assets/fonts/themovation-icons.woff and /dev/null differ diff --git a/assets/footer.jpg b/assets/footer.jpg new file mode 100644 index 0000000..0b28dc8 Binary files /dev/null and b/assets/footer.jpg differ diff --git a/assets/images/bellevue_setup_logo.png b/assets/images/bellevue_setup_logo.png deleted file mode 100644 index 90057a3..0000000 Binary files a/assets/images/bellevue_setup_logo.png and /dev/null differ diff --git a/assets/images/ico_loading.gif b/assets/images/ico_loading.gif deleted file mode 100644 index 09d621e..0000000 Binary files a/assets/images/ico_loading.gif and /dev/null differ diff --git a/assets/images/logo.png b/assets/images/logo.png deleted file mode 100644 index d36199f..0000000 Binary files a/assets/images/logo.png and /dev/null differ diff --git a/assets/images/logo@2x.png b/assets/images/logo@2x.png deleted file mode 100644 index 7749c2e..0000000 Binary files a/assets/images/logo@2x.png and /dev/null differ diff --git a/assets/images/logo_white.png b/assets/images/logo_white.png deleted file mode 100644 index 57da832..0000000 Binary files a/assets/images/logo_white.png and /dev/null differ diff --git a/assets/images/logo_white@2x.png b/assets/images/logo_white@2x.png deleted file mode 100644 index 0edaf22..0000000 Binary files a/assets/images/logo_white@2x.png and /dev/null differ diff --git a/assets/interior-bg.jpg b/assets/interior-bg.jpg new file mode 100644 index 0000000..a0d46d2 Binary files /dev/null and b/assets/interior-bg.jpg differ diff --git a/assets/js/glm-dev.js b/assets/js/glm-dev.js new file mode 100644 index 0000000..1da16fe --- /dev/null +++ b/assets/js/glm-dev.js @@ -0,0 +1 @@ +jQuery(function(n){}); \ No newline at end of file diff --git a/assets/js/main.js b/assets/js/main.js deleted file mode 100644 index ed0f946..0000000 --- a/assets/js/main.js +++ /dev/null @@ -1,509 +0,0 @@ -"use strict"; -/** - * General Custom JS Functions - * - * @author Themovation - * @copyright 2014 Themovation INC. - * @license http://themeforest.net/licenses/regular - * @version 1.2 - */ - -/* - # Helper Functions - # On Window Resize - # On Window Load - */ - -//====================================================================== -// Helper Functions -//====================================================================== - -function UpdateQueryString(key, value, url) { - if (!url) url = window.location.href; - var re = new RegExp("([?&])" + key + "=.*?(&|#|$)(.*)", "gi"), - hash; - - if (re.test(url)) { - if (typeof value !== 'undefined' && value !== null) - return url.replace(re, '$1' + key + "=" + value + '$2$3'); - else { - hash = url.split('#'); - url = hash[0].replace(re, '$1$3').replace(/(&|\?)$/, ''); - if (typeof hash[1] !== 'undefined' && hash[1] !== null) - url += '#' + hash[1]; - return url; - } - } - else { - if (typeof value !== 'undefined' && value !== null) { - var separator = url.indexOf('?') !== -1 ? '&' : '?'; - hash = url.split('#'); - url = hash[0] + separator + key + '=' + value; - if (typeof hash[1] !== 'undefined' && hash[1] !== null) - url += '#' + hash[1]; - return url; - } - else - return url; - } -} - -//----------------------------------------------------- -// NAVIGATION - Adds support for Mobile Navigation -// Detect screen size, add / subtract data-toggle -// for mobile dropdown menu. -//----------------------------------------------------- -function themo_support_mobile_navigation(){ - - // If mobile navigation is active, add data attributes for mobile touch / toggle - if (Modernizr.mq('(max-width: 767px)')) { - //console.log('Adding data-toggle, data-target'); - jQuery("li.dropdown .dropdown-toggle").attr("data-toggle", "dropdown"); - jQuery("li.dropdown .dropdown-toggle").attr("data-target", "#"); - } - - // If mobile navigation is NOT active, remove data attributes for mobile touch / toggle - if (Modernizr.mq('(min-width:768px)')) { - //console.log('Removing data-toggle, data-target'); - jQuery("li.dropdown .dropdown-toggle").removeAttr("data-toggle", "dropdown"); - jQuery("li.dropdown .dropdown-toggle").removeAttr("data-target", "#"); - } -} - - -//----------------------------------------------------- -// Detect if touch device via modernizr, return true -//----------------------------------------------------- -function themo_is_touch_device(checkScreenSize){ - - if (typeof checkScreenSize === "undefined" || checkScreenSize === null) { - checkScreenSize = true; - } - - var deviceAgent = navigator.userAgent.toLowerCase(); - - - var isTouch = (deviceAgent.match(/(iphone|ipod|ipad)/) || - deviceAgent.match(/(android)/) || - deviceAgent.match(/iphone/i) || - deviceAgent.match(/ipad/i) || - deviceAgent.match(/ipod/i) || - deviceAgent.match(/blackberry/i)); - - if(checkScreenSize){ - var isMobileSize = Modernizr.mq('(max-width:767px)'); - }else{ - var isMobileSize = false; - } - - if(isTouch || isMobileSize ){ - return true; - } - - return false; -} - - -//----------------------------------------------------- -// Disable Transparent Header for Mobile -//----------------------------------------------------- -function themo_no_transparent_header_for_mobile(isTouch){ - - if (jQuery(".navbar[data-transparent-header]").length) { - if(isTouch){ - jQuery('.navbar').attr("data-transparent-header", "false"); - } - else{ - jQuery('.navbar').attr("data-transparent-header", "true"); - } - } -} - - - - - -//----------------------------------------------------- -// Scroll Up -//----------------------------------------------------- -function themo_start_scrollup() { - - jQuery.scrollUp({ - animationSpeed: 200, - animation: 'fade', - scrollSpeed: 500, - scrollImg: { active: true, type: 'background', src: '../../images/top.png' } - }); -} - - - -var nice = false; - -/** - * Protect window.console method calls, e.g. console is not defined on IE - * unless dev tools are open, and IE doesn't define console.debug - */ -(function() { - - if (!window.console) { - window.console = {}; - } - // union of Chrome, FF, IE, and Safari console methods - var m = [ - "log", "info", "warn", "error", "debug", "trace", "dir", "group", - "groupCollapsed", "groupEnd", "time", "timeEnd", "profile", "profileEnd", - "dirxml", "assert", "count", "markTimeline", "timeStamp", "clear" - ]; - // define undefined methods as noops to prevent errors - for (var i = 0; i < m.length; i++) { - if (!window.console[m[i]]) { - window.console[m[i]] = function() {}; - } - } -})(); - -//====================================================================== -// Executes when HTML-Document is loaded and DOM is ready -//====================================================================== -jQuery(document).ready(function($) { - "use strict"; - - // Add class for WPBS to fix anchor overshoot - jQuery(".wpbs-form-and-legend").each(function(){ - // or you can also add a class - jQuery(this).find('a[name=wpbs-form-start]').addClass("wpbs-form-start"); - }); - - // Get and set the default colour for WPBS. - - var wpbs_color = jQuery('.th-book-cal-small .wpbs-calendar-1 .status-default').css("background-color"); - - console.log('color:'+wpbs_color); - - jQuery('.th-book-cal-small div.wpbs-calendar ul li.status-2, .th-book-cal-small div.wpbs-calendar ul li.status-3 ').css('background-color', wpbs_color); - - // Preloader : Is really only used for the flexslider but is added to the body tag. - // If flex is detected, we put a timeout on it (5s( so it does not get stuck spinning. - // If no flex, then disable. - if (jQuery("#main-flex-slider")[0]){ - // Do nothing / flex will figure it out. - setTimeout(function(){ - jQuery('body').addClass('loaded'); - }, 10000); - }else{ - jQuery('body').addClass('loaded'); - } - - // add body class for touch devices. - if (themo_is_touch_device()) { - jQuery('body').addClass('th-touch'); - } - - // Add support for mobile navigation - themo_support_mobile_navigation($); - - // Support for sub menu navigation / also works with sticky header. - - jQuery("body").on("click", "ul.dropdown-menu .dropdown-submenu > a", function(event){ - //console.log($(this).text()); - event.preventDefault(); - event.stopPropagation(); - jQuery(this).parents('ul.dropdown-menu .dropdown-submenu').toggleClass('open'); - }); - - // Sticky Header - Set options - var options = { - // Scroll offset. Accepts Number or "String" (for class/ID) - offset: 125, // OR — offset: '.classToActivateAt', - - classes: { - clone: 'headhesive--clone', - stick: 'headhesive--stick', - unstick: 'headhesive--unstick' - } - }; - try - { - // Initialise with options - var banner = new Headhesive('body.th-sticky-header .banner', options); - jQuery('body.th-sticky-header').addClass('headhesive'); - } - catch (err) { - console.log('Sticky header deactivated. WP Dash / Appearance / Customize / Theme Options / Menu & Header'); - } - - /** - * Check a href for an anchor. If exists, and in document, scroll to it. - * If href argument ommited, assumes context (this) is HTML Element, - * which will be the case when invoked by jQuery after an event - */ - function scroll_if_anchor(href) { - href = typeof(href) == "string" ? href : jQuery(this).attr("href"); - - var fromTop = 0; - if (jQuery("header").hasClass("headhesive--clone")) { - fromTop = jQuery(".headhesive--clone").height() ; - } - - // You could easily calculate this dynamically if you prefer - //var fromTop = 50; - - // If our Href points to a valid, non-empty anchor, and is on the same page (e.g. #foo) - // Legacy jQuery and IE7 may have issues: http://stackoverflow.com/q/1593174 - if(href.indexOf("#") == 0) { - var $target = jQuery(href); - - // Older browser without pushState might flicker here, as they momentarily - // jump to the wrong position (IE < 10) - if($target.length) { - //console.log('STRATUS Anchor detected - Scroll ' + $target.offset().top); - //console.log('STRATUS Anchor detected - Offset ' + fromTop); - jQuery('html, body').animate({ scrollTop: $target.offset().top - fromTop }, 500, 'linear', function() { - //alert("Finished animating"); - }); - if(history && "pushState" in history) { - history.pushState({}, document.title, window.location.pathname + href); - return false; - } - } - } - } - - // When our page loads, check to see if it contains and anchor - scroll_if_anchor(window.location.hash); - - - // Detect and set isTouch for touch screens - // var isTouch = themo_is_touch_device(); - - // Set off set for waypoints - //if(!isTouch){ - //Setup waypoints plugin - - var th_offset = 0; - if (jQuery("header").hasClass("headhesive--clone")) { - th_offset = jQuery(".headhesive--clone").height() ; - } - - // Add space for Elementor Menu Anchor link - jQuery( window ).on( 'elementor/frontend/init', function() { - elementorFrontend.hooks.addFilter( 'frontend/handlers/menu_anchor/scroll_top_distance', function( scrollTop ) { - //console.log('ELEM HOOK - Scroll offset ' + th_offset); - return scrollTop - th_offset; - } ); - } ); - //} - - - if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) { - console.log('Smooth Scroll Off (Safari).'); - }else{ - try - { - // Initialise with options - nice = jQuery("html").niceScroll({ - zindex:20000, - scrollspeed:60, - mousescrollstep:60, - cursorborderradius: '10px', // Scroll cursor radius - cursorborder: '1px solid rgba(255, 255, 255, 0.4)', - cursorcolor: 'rgba(0, 0, 0, 0.6)', // Scroll cursor color - //autohidemode: 'true', // Do not hide scrollbar when mouse out - cursorwidth: '10px', // Scroll cursor width - autohidemode: false, - - }); - } - catch (err) { - console.log('Smooth Scroll Off.'); - } - } - - - -}); - -// WP Booking system show -jQuery( ".wpbs-container" ).show('fast','swing'); - -// WP Booking system Error message. -jQuery( document ).ajaxComplete(function() { - var $error_msg_div = jQuery(".wpbs-form-item").filter(function() { return !(jQuery(this).find('*').is(':input')); }) - jQuery($error_msg_div.addClass('wpbs-form-error-msg')); - -}); - -//====================================================================== -// On Window Load - executes when complete page is fully loaded, including all frames, objects and images -//====================================================================== - jQuery(window).load(function($) { - "use strict"; - - // Detect and set isTouch for touch screens - var isTouch = themo_is_touch_device(); - - // Disable Transparent Header for Mobile / touch - themo_no_transparent_header_for_mobile(isTouch); - - // Start Scroll Up - themo_start_scrollup(); - - - - -}); - -//====================================================================== -// On Window Resize -//====================================================================== - jQuery(window).resize(function($){ - "use strict"; - // Detect and set isTouch for touch screens - var isTouch = themo_is_touch_device(); - - // Add support for mobile navigation - themo_support_mobile_navigation(); - - // Disable Transparent Header for Mobile / touch - themo_no_transparent_header_for_mobile(isTouch); -}); - - -/* - * Hook ajaxcomplete for WP Booking System. - * Hijack success message and tag along our buy button. - * - * */ -jQuery( document ).ajaxComplete(function( event, xhr, settings ) { - - // Check if success message is active / exists, if not exit. - if (jQuery('.wpbs-woo-payment-request-mgs').length){ - //console.log(settings.data); - //console.log(xhr.responseText); - - //if( xhr.responseText.toString.call(settings.data) == '[object String]' ) { - if (xhr.responseText.indexOf("wpbs_clear_selection") >= 0) { - - // pull date from, date to value from query string. - var getQueryString = function ( field, url ) { - var href = url ? url : window.location.href; - var reg = new RegExp( '[?&]' + field + '=([^&#]*)', 'i' ); - var string = reg.exec(href); - return string ? string[1] : null; - }; - - var date_now = getQueryString('wpbs-form-start-date',settings.data); // returns 'start date' - var date_future = getQueryString('wpbs-form-end-date',settings.data); // returns 'end date' - - // If date_future is less than the date now, swap them because the user has selected cal dates in reverse :( - if(date_future < date_now){ - var date_future = getQueryString('wpbs-form-start-date',settings.data); // returns 'start date' - var date_now = getQueryString('wpbs-form-end-date',settings.data); // returns 'end date' - } - - var wpbs_id = getQueryString('wpbs-form-calendar-ID',settings.data); // returns 'cal id' - - // make new date objects. - date_now = new Date(date_now*1000); - date_future = new Date(date_future*1000); - - - var monthNames = [ - 'January', 'February', 'March', - 'April', 'May', 'June', 'July', - 'August', 'September', 'October', - 'November', 'December' - ]; - - - var day = date_now.getDate(); - var monthIndex = date_now.getMonth(); - var year = date_now.getFullYear(); - - var checkin = monthNames[monthIndex] +' '+ day +', '+ year; - - var day = date_future.getDate(); - var monthIndex = date_future.getMonth(); - var year = date_future.getFullYear(); - - var checkout = monthNames[monthIndex] +' '+ day +', '+ year; - - // days inbetween. - var seconds = Math.floor((date_future - (date_now))/1000); - var minutes = Math.floor(seconds/60); - var hours = Math.floor(minutes/60); - var days = Math.floor(hours/24); - - if (days > 0) { - var daystobook = days; - }else{ - var daystobook = 1; - } - // Find a way to stuff the quantity into the button. - - //console.log(daystobook); - //console.log(wpbs_id); - - var bookingCount = 0; - - jQuery(".wpbs-calendar-"+wpbs_id+" .wpbs-form-form").each(function() { - - if ( jQuery( ".wpbs-ID-"+wpbs_id+" .button.ajax_add_to_cart" ).length ) { - - // Update the quantity - jQuery(".wpbs-ID-"+wpbs_id+" .button.ajax_add_to_cart:eq("+bookingCount+")").attr("href", UpdateQueryString("quantity", daystobook, jQuery(".wpbs-ID-"+wpbs_id+" .button.ajax_add_to_cart:eq("+bookingCount+")").attr("href"))); - - // Up the quantity - jQuery(".wpbs-ID-"+wpbs_id+" .button.ajax_add_to_cart:eq("+bookingCount+")").attr( "data-quantity", daystobook ); - - // Check-in - jQuery(".wpbs-ID-"+wpbs_id+" .button.ajax_add_to_cart:eq("+bookingCount+")").attr( 'data-checkin', checkin); - - // Check-out - jQuery(".wpbs-ID-"+wpbs_id+" .button.ajax_add_to_cart:eq("+bookingCount+")").attr( 'data-checkout', checkout); - - }else{ - - // Update the quantity - jQuery(".wpbs-ID-"+wpbs_id+" .add_to_cart_button:eq("+bookingCount+")").attr("href", UpdateQueryString("quantity", daystobook, jQuery(".wpbs-ID-"+wpbs_id+" .add_to_cart_button:eq("+bookingCount+")").attr("href"))); - - // Up the quantity - jQuery(".wpbs-ID-"+wpbs_id+" .add_to_cart_button:eq("+bookingCount+")").attr( "data-quantity", daystobook ); - - // Check-in - jQuery(".wpbs-ID-"+wpbs_id+" .add_to_cart_button:eq("+bookingCount+")").attr( 'data-checkin', checkin); - - // Check-out - jQuery(".wpbs-ID-"+wpbs_id+" .add_to_cart_button:eq("+bookingCount+")").attr( 'data-checkout', checkout); - - } - - // show button - jQuery(this).append(jQuery(".wpbs-woo-payment-request.wpbs-woo-pay-req-ID-"+wpbs_id+":eq("+bookingCount+")").html()); - - - bookingCount=bookingCount+1; - - - }); - - } - // } - - /* - // Check if setting.data is a string. - if( Object.prototype.toString.call(settings.data) == '[object String]' ) { - // check if settings.data contains wpbs form id key. - if (settings.data.indexOf("wpbs-form-id") >= 0) { - // If the rsponse does not contain the wpbs-form-id attribute - // print out success message. - if (xhr.responseText.indexOf("wpbs_clear_selection") >= 0) { - jQuery(".wpbs-form-form").append(jQuery(".wpbs-woo-payment-request").html()); - } - - } - }*/ - } - -}); \ No newline at end of file diff --git a/assets/js/th_single_product_page.js b/assets/js/th_single_product_page.js deleted file mode 100644 index c2b2456..0000000 --- a/assets/js/th_single_product_page.js +++ /dev/null @@ -1,50 +0,0 @@ -"use strict"; -jQuery(document).ready(function(){ - //code to add validation on "Add to Cart" button - - jQuery( ".ajax_add_to_cart" ).live( "click", function() { - - console.log('ajax add to cart click'); - //code to add validation, if any - //If all values are proper, then send AJAX request - - var custom_data_1 = false; - var custom_data_2 = false; - var custom_data_3 = false; - var custom_data_4 = false; - var custom_data_5 = false; - - if (jQuery(this).attr('data-checkin')) { - custom_data_1 = jQuery(this).attr('data-checkin') - } - - if (jQuery(this).attr('data-checkout')) { - custom_data_2 = jQuery(this).attr('data-checkout') - } - - - jQuery.ajax({ - url: th_ajax.ajaxurl, //AJAX file path - admin_url('admin-ajax.php') - type: "POST", - data: { - //action name - action:'wdm_add_user_custom_data_options', - custom_data_1 : custom_data_1, - custom_data_2 : custom_data_2, - custom_data_3 : custom_data_3, - custom_data_4 : custom_data_4, - custom_data_5 : custom_data_5 - - }, - async : false, - success: function(data){ - //Code, that need to be executed when data arrives after - // successful AJAX request execution - } - }); - }); -}); - - - - diff --git a/assets/js/vendor/html5shiv.min.js b/assets/js/vendor/html5shiv.min.js deleted file mode 100644 index 92f741f..0000000 --- a/assets/js/vendor/html5shiv.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** -* @preserve HTML5 Shiv 3.7.3-pre | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed -*/ -!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.3-pre",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b),"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:this,document); \ No newline at end of file diff --git a/assets/js/vendor/jquery.nicescroll.min.js b/assets/js/vendor/jquery.nicescroll.min.js deleted file mode 100644 index 33f1a31..0000000 --- a/assets/js/vendor/jquery.nicescroll.min.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";function h(){var a=document.getElementsByTagName("script"),b=a.length?a[a.length-1].src.split("?")[0]:"";return b.split("/").length>0?b.split("/").slice(0,-1).join("/")+"/":""}function w(a,b,c){for(var d=0;d=11,e.isieedge12=navigator.userAgent.match(/Edge\/12\./),e.isieedge="msOverflowStyle"in a,e.ismodernie=e.isie11||e.isieedge,e.isie9mobile=/iemobile.9/i.test(c),e.isie9mobile&&(e.isie9=!1),e.isie7mobile=!e.isie9mobile&&e.isie7&&/iemobile/i.test(c),e.ismozilla="MozAppearance"in b,e.iswebkit="WebkitAppearance"in b,e.ischrome="chrome"in window,e.ischrome38=e.ischrome&&"touchAction"in b,e.ischrome22=!e.ischrome38&&e.ischrome&&e.haspointerlock,e.ischrome26=!e.ischrome38&&e.ischrome&&"transition"in b,e.cantouch="ontouchstart"in document.documentElement||"ontouchstart"in window,e.hasw3ctouch=(window.PointerEvent||!1)&&(navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0),e.hasmstouch=!e.hasw3ctouch&&(window.MSPointerEvent||!1),e.ismac=/^mac$/i.test(d),e.isios=e.cantouch&&/iphone|ipad|ipod/i.test(d),e.isios4=e.isios&&!("seal"in Object),e.isios7=e.isios&&"webkitHidden"in document,e.isios8=e.isios&&"hidden"in document,e.isandroid=/android/i.test(c),e.haseventlistener="addEventListener"in a,e.trstyle=!1,e.hastransform=!1,e.hastranslate3d=!1,e.transitionstyle=!1,e.hastransition=!1,e.transitionend=!1;var f,g=["transform","msTransform","webkitTransform","MozTransform","OTransform"];for(f=0;f0;){if(9==a[0].nodeType)return!1;var b=a.css("zIndex");if(!isNaN(b)&&0!=b)return parseInt(b);a=a.parent()}return!1}function z(a,b,c){var d=a.css(b),e=parseFloat(d);if(isNaN(e)){e=y[d]||0;var f=3==e?c?i.win.outerHeight()-i.win.innerHeight():i.win.outerWidth()-i.win.innerWidth():1;return i.isie8&&e&&(e+=1),f?e:0}return e}function A(a,b,c,d){i._bind(a,b,function(d){var d=d?d:window.event,e={original:d,target:d.target||d.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"==d.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){return d.preventDefault?d.preventDefault():d.returnValue=!1,!1},stopImmediatePropagation:function(){d.stopImmediatePropagation?d.stopImmediatePropagation():d.cancelBubble=!0}};return"mousewheel"==b?(d.wheelDeltaX&&(e.deltaX=-1/40*d.wheelDeltaX),d.wheelDeltaY&&(e.deltaY=-1/40*d.wheelDeltaY),!e.deltaY&&!e.deltaX&&(e.deltaY=-1/40*d.wheelDelta)):e.deltaY=d.detail,c.call(a,e)},d)}function B(a,b,c){var d,e;if(0==a.deltaMode?(d=-Math.floor(a.deltaX*(i.opt.mousescrollstep/54)),e=-Math.floor(a.deltaY*(i.opt.mousescrollstep/54))):1==a.deltaMode&&(d=-Math.floor(a.deltaX*i.opt.mousescrollstep),e=-Math.floor(a.deltaY*i.opt.mousescrollstep)),b&&i.opt.oneaxismousemode&&0==d&&e&&(d=e,e=0,c)){var f=0>d?i.getScrollLeft()>=i.page.maxw:i.getScrollLeft()<=0;f&&(e=d,d=0)}if(i.isrtlmode&&(d=-d),d&&(i.scrollmom&&i.scrollmom.stop(),i.lastdeltax+=d,i.debounced("mousewheelx",function(){var a=i.lastdeltax;i.lastdeltax=0,i.rail.drag||i.doScrollLeftBy(a)},15)),e){if(i.opt.nativeparentscrolling&&c&&!i.ispage&&!i.zoomactive)if(0>e){if(i.getScrollTop()>=i.page.maxh)return!0}else if(i.getScrollTop()<=0)return!0;i.scrollmom&&i.scrollmom.stop(),i.lastdeltay+=e,i.synched("mousewheely",function(){var a=i.lastdeltay;i.lastdeltay=0,i.rail.drag||i.doScrollBy(a)},15)}return a.stopImmediatePropagation(),a.preventDefault()}var i=this;if(this.version="3.6.8",this.name="nicescroll",this.me=h,this.opt={doc:g("body"),win:!1},g.extend(this.opt,o),this.opt.snapbackspeed=80,a)for(var l in i.opt)void 0!==a[l]&&(i.opt[l]=a[l]);if(i.opt.disablemutationobserver&&(n=!1),this.doc=i.opt.doc,this.iddoc=this.doc&&this.doc[0]?this.doc[0].id||"":"",this.ispage=/^BODY|HTML/.test(i.opt.win?i.opt.win[0].nodeName:this.doc[0].nodeName),this.haswrapper=i.opt.win!==!1,this.win=i.opt.win||(this.ispage?g(window):this.doc),this.docscroll=this.ispage&&!this.haswrapper?g(window):this.win,this.body=g("body"),this.viewport=!1,this.isfixed=!1,this.iframe=!1,this.isiframe="IFRAME"==this.doc[0].nodeName&&"IFRAME"==this.win[0].nodeName,this.istextarea="TEXTAREA"==this.win[0].nodeName,this.forcescreen=!1,this.canshowonmouseevent="scroll"!=i.opt.autohidemode,this.onmousedown=!1,this.onmouseup=!1,this.onmousemove=!1,this.onmousewheel=!1,this.onkeypress=!1,this.ongesturezoom=!1,this.onclick=!1,this.onscrollstart=!1,this.onscrollend=!1,this.onscrollcancel=!1,this.onzoomin=!1,this.onzoomout=!1,this.view=!1,this.page=!1,this.scroll={x:0,y:0},this.scrollratio={x:0,y:0},this.cursorheight=20,this.scrollvaluemax=0,"auto"==this.opt.rtlmode){var m=this.win[0]==window?this.body:this.win,p=m.css("writing-mode")||m.css("-webkit-writing-mode")||m.css("-ms-writing-mode")||m.css("-moz-writing-mode");"horizontal-tb"==p||"lr-tb"==p||""==p?(this.isrtlmode="rtl"==m.css("direction"),this.isvertical=!1):(this.isrtlmode="vertical-rl"==p||"tb"==p||"tb-rl"==p||"rl-tb"==p,this.isvertical="vertical-rl"==p||"tb"==p||"tb-rl"==p)}else this.isrtlmode=this.opt.rtlmode===!0,this.isvertical=!1;this.scrollrunning=!1,this.scrollmom=!1,this.observer=!1,this.observerremover=!1,this.observerbody=!1;do this.id="ascrail"+e++;while(document.getElementById(this.id));this.rail=!1,this.cursor=!1,this.cursorfreezed=!1,this.selectiondrag=!1,this.zoom=!1,this.zoomactive=!1,this.hasfocus=!1,this.hasmousefocus=!1,this.visibility=!0,this.railslocked=!1,this.locked=!1,this.hidden=!1,this.cursoractive=!0,this.wheelprevented=!1,this.overflowx=i.opt.overflowx,this.overflowy=i.opt.overflowy,this.nativescrollingarea=!1,this.checkarea=0,this.events=[],this.saved={},this.delaylist={},this.synclist={},this.lastdeltax=0,this.lastdeltay=0,this.detected=q();var r=g.extend({},this.detected);this.canhwscroll=r.hastransform&&i.opt.hwacceleration,this.ishwscroll=this.canhwscroll&&i.haswrapper,this.isrtlmode?this.isvertical?this.hasreversehr=!(r.iswebkit||r.isie||r.isie11):this.hasreversehr=!(r.iswebkit||r.isie&&!r.isie10&&!r.isie11):this.hasreversehr=!1,this.istouchcapable=!1,r.cantouch||!r.hasw3ctouch&&!r.hasmstouch?!r.cantouch||r.isios||r.isandroid||!r.iswebkit&&!r.ismozilla||(this.istouchcapable=!0):this.istouchcapable=!0,i.opt.enablemouselockapi||(r.hasmousecapture=!1,r.haspointerlock=!1),this.debounced=function(a,b,c){if(i){var d=i.delaylist[a]||!1;d||(b.call(i),i.delaylist[a]={h:j(function(){i.delaylist[a].fn.call(i),i.delaylist[a]=!1},c)}),i.delaylist[a].fn=b}};var t=!1;this.synched=function(a,b){function c(){t||(j(function(){if(i){t=!1;for(var a in i.synclist){var b=i.synclist[a];b&&b.call(i),i.synclist[a]=!1}}}),t=!0)}return i.synclist[a]=b,c(),a},this.unsynched=function(a){i.synclist[a]&&(i.synclist[a]=!1)},this.css=function(a,b){for(var c in b)i.saved.css.push([a,c,a.css(c)]),a.css(c,b[c])},this.scrollTop=function(a){return void 0===a?i.getScrollTop():i.setScrollTop(a)},this.scrollLeft=function(a){return void 0===a?i.getScrollLeft():i.setScrollLeft(a)};var u=function(a,b,c,d,e,f,g){this.st=a,this.ed=b,this.spd=c,this.p1=d||0,this.p2=e||1,this.p3=f||0,this.p4=g||1,this.ts=(new Date).getTime(),this.df=this.ed-this.st};if(u.prototype={B2:function(a){return 3*a*a*(1-a)},B3:function(a){return 3*a*(1-a)*(1-a)},B4:function(a){return(1-a)*(1-a)*(1-a)},getNow:function(){var a=(new Date).getTime(),b=1-(a-this.ts)/this.spd,c=this.B2(b)+this.B3(b)+this.B4(b);return 0>b?this.ed:this.st+Math.round(this.df*c)},update:function(a,b){return this.st=this.getNow(),this.ed=a,this.spd=b,this.ts=(new Date).getTime(),this.df=this.ed-this.st,this}},this.ishwscroll){this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"},r.hastranslate3d&&r.isios&&this.doc.css("-webkit-backface-visibility","hidden"),this.getScrollTop=function(a){if(!a){var b=v();if(b)return 16==b.length?-b[13]:-b[5];if(i.timerscroll&&i.timerscroll.bz)return i.timerscroll.bz.getNow()}return i.doc.translate.y},this.getScrollLeft=function(a){if(!a){var b=v();if(b)return 16==b.length?-b[12]:-b[4];if(i.timerscroll&&i.timerscroll.bh)return i.timerscroll.bh.getNow()}return i.doc.translate.x},this.notifyScrollEvent=function(a){var b=document.createEvent("UIEvents");b.initUIEvent("scroll",!1,!0,window,1),b.niceevent=!0,a.dispatchEvent(b)};var w=this.isrtlmode?1:-1;r.hastranslate3d&&i.opt.enabletranslate3d?(this.setScrollTop=function(a,b){i.doc.translate.y=a,i.doc.translate.ty=-1*a+"px",i.doc.css(r.trstyle,"translate3d("+i.doc.translate.tx+","+i.doc.translate.ty+",0px)"),b||i.notifyScrollEvent(i.win[0])},this.setScrollLeft=function(a,b){i.doc.translate.x=a,i.doc.translate.tx=a*w+"px",i.doc.css(r.trstyle,"translate3d("+i.doc.translate.tx+","+i.doc.translate.ty+",0px)"),b||i.notifyScrollEvent(i.win[0])}):(this.setScrollTop=function(a,b){i.doc.translate.y=a,i.doc.translate.ty=-1*a+"px",i.doc.css(r.trstyle,"translate("+i.doc.translate.tx+","+i.doc.translate.ty+")"),b||i.notifyScrollEvent(i.win[0])},this.setScrollLeft=function(a,b){i.doc.translate.x=a,i.doc.translate.tx=a*w+"px",i.doc.css(r.trstyle,"translate("+i.doc.translate.tx+","+i.doc.translate.ty+")"),b||i.notifyScrollEvent(i.win[0])})}else this.getScrollTop=function(){return i.docscroll.scrollTop()},this.setScrollTop=function(a){return setTimeout(function(){i&&i.docscroll.scrollTop(a)},1)},this.getScrollLeft=function(){var a;return a=i.hasreversehr?i.detected.ismozilla?i.page.maxw-Math.abs(i.docscroll.scrollLeft()):i.page.maxw-i.docscroll.scrollLeft():i.docscroll.scrollLeft()},this.setScrollLeft=function(a){return setTimeout(function(){return i?(i.hasreversehr&&(a=i.detected.ismozilla?-(i.page.maxw-a):i.page.maxw-a),i.docscroll.scrollLeft(a)):void 0},1)};this.getTarget=function(a){return a?a.target?a.target:a.srcElement?a.srcElement:!1:!1},this.hasParent=function(a,b){if(!a)return!1;for(var c=a.target||a.srcElement||a||!1;c&&c.id!=b;)c=c.parentNode||!1;return c!==!1};var y={thin:1,medium:3,thick:5};this.getDocumentScrollOffset=function(){return{top:window.pageYOffset||document.documentElement.scrollTop,left:window.pageXOffset||document.documentElement.scrollLeft}},this.getOffset=function(){if(i.isfixed){var a=i.win.offset(),b=i.getDocumentScrollOffset();return a.top-=b.top,a.left-=b.left,a}var c=i.win.offset();if(!i.viewport)return c;var d=i.viewport.offset();return{top:c.top-d.top,left:c.left-d.left}},this.updateScrollBar=function(a){var b,c;if(i.ishwscroll)i.rail.css({height:i.win.innerHeight()-(i.opt.railpadding.top+i.opt.railpadding.bottom)}),i.railh&&i.railh.css({width:i.win.innerWidth()-(i.opt.railpadding.left+i.opt.railpadding.right)});else{var d=i.getOffset();if(b={top:d.top,left:d.left-(i.opt.railpadding.left+i.opt.railpadding.right)},b.top+=z(i.win,"border-top-width",!0),b.left+=i.rail.align?i.win.outerWidth()-z(i.win,"border-right-width")-i.rail.width:z(i.win,"border-left-width"),c=i.opt.railoffset,c&&(c.top&&(b.top+=c.top),c.left&&(b.left+=c.left)),i.railslocked||i.rail.css({top:b.top,left:b.left,height:(a?a.h:i.win.innerHeight())-(i.opt.railpadding.top+i.opt.railpadding.bottom)}),i.zoom&&i.zoom.css({top:b.top+1,left:1==i.rail.align?b.left-20:b.left+i.rail.width+4}),i.railh&&!i.railslocked){b={top:d.top,left:d.left},c=i.opt.railhoffset,c&&(c.top&&(b.top+=c.top),c.left&&(b.left+=c.left));var e=i.railh.align?b.top+z(i.win,"border-top-width",!0)+i.win.innerHeight()-i.railh.height:b.top+z(i.win,"border-top-width",!0),f=b.left+z(i.win,"border-left-width");i.railh.css({top:e-(i.opt.railpadding.top+i.opt.railpadding.bottom),left:f,width:i.railh.width})}}},this.doRailClick=function(a,b,c){var d,e,f,g;i.railslocked||(i.cancelEvent(a),b?(d=c?i.doScrollLeft:i.doScrollTop,f=c?(a.pageX-i.railh.offset().left-i.cursorwidth/2)*i.scrollratio.x:(a.pageY-i.rail.offset().top-i.cursorheight/2)*i.scrollratio.y,d(f)):(d=c?i.doScrollLeftBy:i.doScrollBy,f=c?i.scroll.x:i.scroll.y,g=c?a.pageX-i.railh.offset().left:a.pageY-i.rail.offset().top,e=c?i.view.w:i.view.h,d(f>=g?e:-e)))},i.hasanimationframe=j,i.hascancelanimationframe=k,i.hasanimationframe?i.hascancelanimationframe||(k=function(){i.cancelAnimationFrame=!0}):(j=function(a){return setTimeout(a,15-Math.floor(+new Date/1e3)%16)},k=clearTimeout),this.init=function(){if(i.saved.css=[],r.isie7mobile)return!0;if(r.isoperamini)return!0;r.isie10?"-ms-touch-action":"touch-action";r.hasmstouch&&i.css(i.ispage?g("html"):i.win,{_touchaction:"none"});var e=r.ismodernie||r.isie10?{"-ms-overflow-style":"none"}:{"overflow-y":"hidden"};if(i.zindex="auto",i.ispage||"auto"!=i.opt.zindex?i.zindex=i.opt.zindex:i.zindex=x()||"auto",!i.ispage&&"auto"!=i.zindex&&i.zindex>f&&(f=i.zindex),i.isie&&0==i.zindex&&"auto"==i.opt.zindex&&(i.zindex="auto"),!i.ispage||!r.cantouch&&!r.isieold&&!r.isie9mobile){var h=i.docscroll;i.ispage&&(h=i.haswrapper?i.win:i.doc),r.isie9mobile||i.css(h,e),i.ispage&&r.isie7&&("BODY"==i.doc[0].nodeName?i.css(g("html"),{"overflow-y":"hidden"}):"HTML"==i.doc[0].nodeName&&i.css(g("body"),e)),!r.isios||i.ispage||i.haswrapper||i.css(g("body"),{"-webkit-overflow-scrolling":"touch"});var j=g(document.createElement("div"));j.css({position:"relative",top:0,"float":"right",width:i.opt.cursorwidth,height:0,"background-color":i.opt.cursorcolor,border:i.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":i.opt.cursorborderradius,"-moz-border-radius":i.opt.cursorborderradius,"border-radius":i.opt.cursorborderradius}),j.hborder=parseFloat(j.outerHeight()-j.innerHeight()),j.addClass("nicescroll-cursors"),i.cursor=j;var k=g(document.createElement("div"));k.attr("id",i.id),k.addClass("nicescroll-rails nicescroll-rails-vr");var l,m,o=["left","right","top","bottom"];for(var p in o)m=o[p],l=i.opt.railpadding[m],l?k.css("padding-"+m,l+"px"):i.opt.railpadding[m]=0;k.append(j),k.width=Math.max(parseFloat(i.opt.cursorwidth),j.outerWidth()),k.css({width:k.width+"px",zIndex:i.zindex,background:i.opt.background,cursor:"default"}),k.visibility=!0,k.scrollable=!0,k.align="left"==i.opt.railalign?0:1,i.rail=k,i.rail.drag=!1;var q=!1;!i.opt.boxzoom||i.ispage||r.isieold||(q=document.createElement("div"),i.bind(q,"click",i.doZoom),i.bind(q,"mouseenter",function(){i.zoom.css("opacity",i.opt.cursoropacitymax)}),i.bind(q,"mouseleave",function(){i.zoom.css("opacity",i.opt.cursoropacitymin)}),i.zoom=g(q),i.zoom.css({cursor:"pointer",zIndex:i.zindex,backgroundImage:"url("+i.opt.scriptpath+"zoomico.png)",height:18,width:18,backgroundPosition:"0px 0px"}),i.opt.dblclickzoom&&i.bind(i.win,"dblclick",i.doZoom),r.cantouch&&i.opt.gesturezoom&&(i.ongesturezoom=function(a){return a.scale>1.5&&i.doZoomIn(a),a.scale<.8&&i.doZoomOut(a),i.cancelEvent(a)},i.bind(i.win,"gestureend",i.ongesturezoom))),i.railh=!1;var t;if(i.opt.horizrailenabled){i.css(h,{overflowX:"hidden"});var j=g(document.createElement("div"));j.css({position:"absolute",top:0,height:i.opt.cursorwidth,width:0,backgroundColor:i.opt.cursorcolor,border:i.opt.cursorborder,backgroundClip:"padding-box","-webkit-border-radius":i.opt.cursorborderradius,"-moz-border-radius":i.opt.cursorborderradius,"border-radius":i.opt.cursorborderradius}),r.isieold&&j.css("overflow","hidden"),j.wborder=parseFloat(j.outerWidth()-j.innerWidth()),j.addClass("nicescroll-cursors"),i.cursorh=j,t=g(document.createElement("div")),t.attr("id",i.id+"-hr"),t.addClass("nicescroll-rails nicescroll-rails-hr"),t.height=Math.max(parseFloat(i.opt.cursorwidth),j.outerHeight()),t.css({height:t.height+"px",zIndex:i.zindex,background:i.opt.background}),t.append(j),t.visibility=!0,t.scrollable=!0,t.align="top"==i.opt.railvalign?0:1,i.railh=t,i.railh.drag=!1}if(i.ispage)k.css({position:"fixed",top:0,height:"100%"}),k.align?k.css({right:0}):k.css({left:0}),i.body.append(k),i.railh&&(t.css({position:"fixed",left:0,width:"100%"}),t.align?t.css({bottom:0}):t.css({top:0}),i.body.append(t));else{if(i.ishwscroll){"static"==i.win.css("position")&&i.css(i.win,{position:"relative"});var u="HTML"==i.win[0].nodeName?i.body:i.win;g(u).scrollTop(0).scrollLeft(0),i.zoom&&(i.zoom.css({position:"absolute",top:1,right:0,"margin-right":k.width+4}),u.append(i.zoom)),k.css({position:"absolute",top:0}),k.align?k.css({right:0}):k.css({left:0}),u.append(k),t&&(t.css({position:"absolute",left:0,bottom:0}),t.align?t.css({bottom:0}):t.css({top:0}),u.append(t))}else{i.isfixed="fixed"==i.win.css("position");var v=i.isfixed?"fixed":"absolute";i.isfixed||(i.viewport=i.getViewport(i.win[0])),i.viewport&&(i.body=i.viewport,0==/fixed|absolute/.test(i.viewport.css("position"))&&i.css(i.viewport,{position:"relative"})),k.css({position:v}),i.zoom&&i.zoom.css({position:v}),i.updateScrollBar(),i.body.append(k),i.zoom&&i.body.append(i.zoom),i.railh&&(t.css({position:v}),i.body.append(t))}r.isios&&i.css(i.win,{"-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-touch-callout":"none"}),r.isie&&i.opt.disableoutline&&i.win.attr("hideFocus","true"),r.iswebkit&&i.opt.disableoutline&&i.win.css("outline","none")}if(i.opt.autohidemode===!1?(i.autohidedom=!1,i.rail.css({opacity:i.opt.cursoropacitymax}),i.railh&&i.railh.css({opacity:i.opt.cursoropacitymax})):i.opt.autohidemode===!0||"leave"===i.opt.autohidemode?(i.autohidedom=g().add(i.rail),r.isie8&&(i.autohidedom=i.autohidedom.add(i.cursor)),i.railh&&(i.autohidedom=i.autohidedom.add(i.railh)),i.railh&&r.isie8&&(i.autohidedom=i.autohidedom.add(i.cursorh))):"scroll"==i.opt.autohidemode?(i.autohidedom=g().add(i.rail),i.railh&&(i.autohidedom=i.autohidedom.add(i.railh))):"cursor"==i.opt.autohidemode?(i.autohidedom=g().add(i.cursor),i.railh&&(i.autohidedom=i.autohidedom.add(i.cursorh))):"hidden"==i.opt.autohidemode&&(i.autohidedom=!1,i.hide(),i.railslocked=!1),r.isie9mobile){i.scrollmom=new s(i),i.onmangotouch=function(){var a=i.getScrollTop(),b=i.getScrollLeft();if(a==i.scrollmom.lastscrolly&&b==i.scrollmom.lastscrollx)return!0;var c=a-i.mangotouch.sy,d=b-i.mangotouch.sx,e=Math.round(Math.sqrt(Math.pow(d,2)+Math.pow(c,2)));if(0!=e){var f=0>c?-1:1,g=0>d?-1:1,h=+new Date;if(i.mangotouch.lazy&&clearTimeout(i.mangotouch.lazy),h-i.mangotouch.tm>80||i.mangotouch.dry!=f||i.mangotouch.drx!=g)i.scrollmom.stop(),i.scrollmom.reset(b,a),i.mangotouch.sy=a,i.mangotouch.ly=a,i.mangotouch.sx=b,i.mangotouch.lx=b,i.mangotouch.dry=f,i.mangotouch.drx=g,i.mangotouch.tm=h;else{i.scrollmom.stop(),i.scrollmom.update(i.mangotouch.sx-d,i.mangotouch.sy-c),i.mangotouch.tm=h;var j=Math.max(Math.abs(i.mangotouch.ly-a),Math.abs(i.mangotouch.lx-b));i.mangotouch.ly=a,i.mangotouch.lx=b,j>2&&(i.mangotouch.lazy=setTimeout(function(){i.mangotouch.lazy=!1,i.mangotouch.dry=0,i.mangotouch.drx=0,i.mangotouch.tm=0,i.scrollmom.doMomentum(30)},100))}}};var w=i.getScrollTop(),y=i.getScrollLeft();i.mangotouch={sy:w,ly:w,dry:0,sx:y,lx:y,drx:0,lazy:!1,tm:0},i.bind(i.docscroll,"scroll",i.onmangotouch)}else{if(r.cantouch||i.istouchcapable||i.opt.touchbehavior||r.hasmstouch){i.scrollmom=new s(i),i.ontouchstart=function(a){if(a.pointerType&&2!=a.pointerType&&"touch"!=a.pointerType)return!1;if(i.hasmoving=!1,!i.railslocked){var b;if(r.hasmstouch)for(b=a.target?a.target:!1;b;){var c=g(b).getNiceScroll();if(c.length>0&&c[0].me==i.me)break;if(c.length>0)return!1;if("DIV"==b.nodeName&&b.id==i.id)break;b=b.parentNode?b.parentNode:!1}if(i.cancelScroll(),b=i.getTarget(a)){var d=/INPUT/i.test(b.nodeName)&&/range/i.test(b.type);if(d)return i.stopPropagation(a)}if(!("clientX"in a)&&"changedTouches"in a&&(a.clientX=a.changedTouches[0].clientX,a.clientY=a.changedTouches[0].clientY),i.forcescreen){var e=a;a={original:a.original?a.original:a},a.clientX=e.screenX,a.clientY=e.screenY}if(i.rail.drag={x:a.clientX,y:a.clientY,sx:i.scroll.x,sy:i.scroll.y,st:i.getScrollTop(),sl:i.getScrollLeft(),pt:2,dl:!1},i.ispage||!i.opt.directionlockdeadzone)i.rail.drag.dl="f";else{var f={w:g(window).width(),h:g(window).height()},h={w:Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),h:Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},j=Math.max(0,h.h-f.h),k=Math.max(0,h.w-f.w);!i.rail.scrollable&&i.railh.scrollable?i.rail.drag.ck=j>0?"v":!1:i.rail.scrollable&&!i.railh.scrollable?i.rail.drag.ck=k>0?"h":!1:i.rail.drag.ck=!1,i.rail.drag.ck||(i.rail.drag.dl="f")}if(i.opt.touchbehavior&&i.isiframe&&r.isie){var l=i.win.position();i.rail.drag.x+=l.left,i.rail.drag.y+=l.top}if(i.hasmoving=!1,i.lastmouseup=!1,i.scrollmom.reset(a.clientX,a.clientY),!r.cantouch&&!this.istouchcapable&&!a.pointerType){var m=b?/INPUT|SELECT|TEXTAREA/i.test(b.nodeName):!1;if(!m)return!i.ispage&&r.hasmousecapture&&b.setCapture(),i.opt.touchbehavior?(b.onclick&&!b._onclick&&(b._onclick=b.onclick,b.onclick=function(a){return i.hasmoving?!1:void b._onclick.call(this,a)}),i.cancelEvent(a)):i.stopPropagation(a);/SUBMIT|CANCEL|BUTTON/i.test(g(b).attr("type"))&&(pc={tg:b,click:!1},i.preventclick=pc)}}},i.ontouchend=function(a){if(!i.rail.drag)return!0;if(2==i.rail.drag.pt){if(a.pointerType&&2!=a.pointerType&&"touch"!=a.pointerType)return!1;if(i.scrollmom.doMomentum(),i.rail.drag=!1,i.hasmoving&&(i.lastmouseup=!0,i.hideCursor(),r.hasmousecapture&&document.releaseCapture(),!r.cantouch))return i.cancelEvent(a)}else if(1==i.rail.drag.pt)return i.onmouseup(a)};var z=i.opt.touchbehavior&&i.isiframe&&!r.hasmousecapture;i.ontouchmove=function(a,b){if(!i.rail.drag)return!1;if(a.targetTouches&&i.opt.preventmultitouchscrolling&&a.targetTouches.length>1)return!1;if(a.pointerType&&2!=a.pointerType&&"touch"!=a.pointerType)return!1;if(2==i.rail.drag.pt){if(r.cantouch&&r.isios&&void 0===a.original)return!0;i.hasmoving=!0,i.preventclick&&!i.preventclick.click&&(i.preventclick.click=i.preventclick.tg.onclick||!1,i.preventclick.tg.onclick=i.onpreventclick);var c=g.extend({original:a},a);if(a=c,"changedTouches"in a&&(a.clientX=a.changedTouches[0].clientX,a.clientY=a.changedTouches[0].clientY),i.forcescreen){var d=a;a={original:a.original?a.original:a},a.clientX=d.screenX,a.clientY=d.screenY}var e,f;if(f=e=0,z&&!b){var h=i.win.position();f=-h.left,e=-h.top}var j=a.clientY+e,k=j-i.rail.drag.y,l=a.clientX+f,m=l-i.rail.drag.x,n=i.rail.drag.st-k;i.ishwscroll&&i.opt.bouncescroll?0>n?n=Math.round(n/2):n>i.page.maxh&&(n=i.page.maxh+Math.round((n-i.page.maxh)/2)):(0>n&&(n=0,j=0),n>i.page.maxh&&(n=i.page.maxh,j=0));var o;i.railh&&i.railh.scrollable&&(o=i.isrtlmode?m-i.rail.drag.sl:i.rail.drag.sl-m,i.ishwscroll&&i.opt.bouncescroll?0>o?o=Math.round(o/2):o>i.page.maxw&&(o=i.page.maxw+Math.round((o-i.page.maxw)/2)):(0>o&&(o=0,l=0),o>i.page.maxw&&(o=i.page.maxw,l=0)));var p=!1;if(i.rail.drag.dl)p=!0,"v"==i.rail.drag.dl?o=i.rail.drag.sl:"h"==i.rail.drag.dl&&(n=i.rail.drag.st);else{var q=Math.abs(k),s=Math.abs(m),t=i.opt.directionlockdeadzone;if("v"==i.rail.drag.ck){if(q>t&&.3*q>=s)return i.rail.drag=!1,!0;s>t&&(i.rail.drag.dl="f",g("body").scrollTop(g("body").scrollTop()))}else if("h"==i.rail.drag.ck){if(s>t&&.3*s>=q)return i.rail.drag=!1,!0;q>t&&(i.rail.drag.dl="f",g("body").scrollLeft(g("body").scrollLeft()))}}if(i.synched("touchmove",function(){i.rail.drag&&2==i.rail.drag.pt&&(i.prepareTransition&&i.prepareTransition(0),i.rail.scrollable&&i.setScrollTop(n),i.scrollmom.update(l,j),i.railh&&i.railh.scrollable?(i.setScrollLeft(o),i.showCursor(n,o)):i.showCursor(n),r.isie10&&document.selection.clear())}),r.ischrome&&i.istouchcapable&&(p=!1),p)return i.cancelEvent(a)}else if(1==i.rail.drag.pt)return i.onmousemove(a)}}if(i.onmousedown=function(a,b){if(!i.rail.drag||1==i.rail.drag.pt){if(i.railslocked)return i.cancelEvent(a);i.cancelScroll(),i.rail.drag={x:a.clientX,y:a.clientY,sx:i.scroll.x,sy:i.scroll.y,pt:1,hr:!!b};var c=i.getTarget(a);return!i.ispage&&r.hasmousecapture&&c.setCapture(),i.isiframe&&!r.hasmousecapture&&(i.saved.csspointerevents=i.doc.css("pointer-events"),i.css(i.doc,{"pointer-events":"none"})),i.hasmoving=!1,i.cancelEvent(a)}},i.onmouseup=function(a){return i.rail.drag?1!=i.rail.drag.pt?!0:(r.hasmousecapture&&document.releaseCapture(),i.isiframe&&!r.hasmousecapture&&i.doc.css("pointer-events",i.saved.csspointerevents),i.rail.drag=!1,i.hasmoving&&i.triggerScrollEnd(),i.cancelEvent(a)):void 0},i.onmousemove=function(a){if(i.rail.drag){if(1!=i.rail.drag.pt)return;if(r.ischrome&&0==a.which)return i.onmouseup(a);if(i.cursorfreezed=!0,i.hasmoving=!0,i.rail.drag.hr){i.scroll.x=i.rail.drag.sx+(a.clientX-i.rail.drag.x),i.scroll.x<0&&(i.scroll.x=0);var b=i.scrollvaluemaxw;i.scroll.x>b&&(i.scroll.x=b)}else{i.scroll.y=i.rail.drag.sy+(a.clientY-i.rail.drag.y),i.scroll.y<0&&(i.scroll.y=0);var c=i.scrollvaluemax;i.scroll.y>c&&(i.scroll.y=c)}return i.synched("mousemove",function(){i.rail.drag&&1==i.rail.drag.pt&&(i.showCursor(),i.rail.drag.hr?i.hasreversehr?i.doScrollLeft(i.scrollvaluemaxw-Math.round(i.scroll.x*i.scrollratio.x),i.opt.cursordragspeed):i.doScrollLeft(Math.round(i.scroll.x*i.scrollratio.x),i.opt.cursordragspeed):i.doScrollTop(Math.round(i.scroll.y*i.scrollratio.y),i.opt.cursordragspeed))}),i.cancelEvent(a)}i.checkarea=0},r.cantouch||i.opt.touchbehavior)i.onpreventclick=function(a){return i.preventclick?(i.preventclick.tg.onclick=i.preventclick.click,i.preventclick=!1,i.cancelEvent(a)):void 0},i.bind(i.win,"mousedown",i.ontouchstart),i.onclick=r.isios?!1:function(a){return i.lastmouseup?(i.lastmouseup=!1,i.cancelEvent(a)):!0},i.opt.grabcursorenabled&&r.cursorgrabvalue&&(i.css(i.ispage?i.doc:i.win,{cursor:r.cursorgrabvalue}),i.css(i.rail,{cursor:r.cursorgrabvalue}));else{var A=function(a){if(i.selectiondrag){if(a){var b=i.win.outerHeight(),c=a.pageY-i.selectiondrag.top;c>0&&b>c&&(c=0),c>=b&&(c-=b),i.selectiondrag.df=c}if(0!=i.selectiondrag.df){var d=2*-Math.floor(i.selectiondrag.df/6);i.doScrollBy(d),i.debounced("doselectionscroll",function(){A()},50)}}};"getSelection"in document?i.hasTextSelected=function(){return document.getSelection().rangeCount>0}:"selection"in document?i.hasTextSelected=function(){return"None"!=document.selection.type}:i.hasTextSelected=function(){return!1},i.onselectionstart=function(a){i.ispage||(i.selectiondrag=i.win.offset())},i.onselectionend=function(a){i.selectiondrag=!1},i.onselectiondrag=function(a){i.selectiondrag&&i.hasTextSelected()&&i.debounced("selectionscroll",function(){A(a)},250)}}r.hasw3ctouch?(i.css(i.rail,{"touch-action":"none"}),i.css(i.cursor,{"touch-action":"none"}),i.bind(i.win,"pointerdown",i.ontouchstart),i.bind(document,"pointerup",i.ontouchend),i.bind(document,"pointermove",i.ontouchmove)):r.hasmstouch?(i.css(i.rail,{"-ms-touch-action":"none"}),i.css(i.cursor,{"-ms-touch-action":"none"}),i.bind(i.win,"MSPointerDown",i.ontouchstart),i.bind(document,"MSPointerUp",i.ontouchend),i.bind(document,"MSPointerMove",i.ontouchmove),i.bind(i.cursor,"MSGestureHold",function(a){a.preventDefault()}),i.bind(i.cursor,"contextmenu",function(a){a.preventDefault()})):this.istouchcapable&&(i.bind(i.win,"touchstart",i.ontouchstart),i.bind(document,"touchend",i.ontouchend),i.bind(document,"touchcancel",i.ontouchend),i.bind(document,"touchmove",i.ontouchmove)),(i.opt.cursordragontouch||!r.cantouch&&!i.opt.touchbehavior)&&(i.rail.css({cursor:"default"}),i.railh&&i.railh.css({cursor:"default"}),i.jqbind(i.rail,"mouseenter",function(){return i.ispage||i.win.is(":visible")?(i.canshowonmouseevent&&i.showCursor(),void(i.rail.active=!0)):!1}),i.jqbind(i.rail,"mouseleave",function(){i.rail.active=!1,i.rail.drag||i.hideCursor()}),i.opt.sensitiverail&&(i.bind(i.rail,"click",function(a){i.doRailClick(a,!1,!1)}),i.bind(i.rail,"dblclick",function(a){i.doRailClick(a,!0,!1)}),i.bind(i.cursor,"click",function(a){i.cancelEvent(a)}),i.bind(i.cursor,"dblclick",function(a){i.cancelEvent(a)})),i.railh&&(i.jqbind(i.railh,"mouseenter",function(){return i.ispage||i.win.is(":visible")?(i.canshowonmouseevent&&i.showCursor(),void(i.rail.active=!0)):!1}),i.jqbind(i.railh,"mouseleave",function(){i.rail.active=!1,i.rail.drag||i.hideCursor()}),i.opt.sensitiverail&&(i.bind(i.railh,"click",function(a){i.doRailClick(a,!1,!0)}),i.bind(i.railh,"dblclick",function(a){i.doRailClick(a,!0,!0)}),i.bind(i.cursorh,"click",function(a){i.cancelEvent(a)}),i.bind(i.cursorh,"dblclick",function(a){i.cancelEvent(a)})))),r.cantouch||i.opt.touchbehavior?(i.bind(r.hasmousecapture?i.win:document,"mouseup",i.ontouchend),i.bind(document,"mousemove",i.ontouchmove),i.onclick&&i.bind(document,"click",i.onclick),i.opt.cursordragontouch?(i.bind(i.cursor,"mousedown",i.onmousedown),i.bind(i.cursor,"mouseup",i.onmouseup),i.cursorh&&i.bind(i.cursorh,"mousedown",function(a){i.onmousedown(a,!0)}),i.cursorh&&i.bind(i.cursorh,"mouseup",i.onmouseup)):(i.bind(i.rail,"mousedown",function(a){a.preventDefault()}),i.railh&&i.bind(i.railh,"mousedown",function(a){a.preventDefault()}))):(i.bind(r.hasmousecapture?i.win:document,"mouseup",i.onmouseup),i.bind(document,"mousemove",i.onmousemove),i.onclick&&i.bind(document,"click",i.onclick), -i.bind(i.cursor,"mousedown",i.onmousedown),i.bind(i.cursor,"mouseup",i.onmouseup),i.railh&&(i.bind(i.cursorh,"mousedown",function(a){i.onmousedown(a,!0)}),i.bind(i.cursorh,"mouseup",i.onmouseup)),!i.ispage&&i.opt.enablescrollonselection&&(i.bind(i.win[0],"mousedown",i.onselectionstart),i.bind(document,"mouseup",i.onselectionend),i.bind(i.cursor,"mouseup",i.onselectionend),i.cursorh&&i.bind(i.cursorh,"mouseup",i.onselectionend),i.bind(document,"mousemove",i.onselectiondrag)),i.zoom&&(i.jqbind(i.zoom,"mouseenter",function(){i.canshowonmouseevent&&i.showCursor(),i.rail.active=!0}),i.jqbind(i.zoom,"mouseleave",function(){i.rail.active=!1,i.rail.drag||i.hideCursor()}))),i.opt.enablemousewheel&&(i.isiframe||i.mousewheel(r.isie&&i.ispage?document:i.win,i.onmousewheel),i.mousewheel(i.rail,i.onmousewheel),i.railh&&i.mousewheel(i.railh,i.onmousewheelhr)),i.ispage||r.cantouch||/HTML|^BODY/.test(i.win[0].nodeName)||(i.win.attr("tabindex")||i.win.attr({tabindex:d++}),i.jqbind(i.win,"focus",function(a){b=i.getTarget(a).id||!0,i.hasfocus=!0,i.canshowonmouseevent&&i.noticeCursor()}),i.jqbind(i.win,"blur",function(a){b=!1,i.hasfocus=!1}),i.jqbind(i.win,"mouseenter",function(a){c=i.getTarget(a).id||!0,i.hasmousefocus=!0,i.canshowonmouseevent&&i.noticeCursor()}),i.jqbind(i.win,"mouseleave",function(){c=!1,i.hasmousefocus=!1,i.rail.drag||i.hideCursor()}))}if(i.onkeypress=function(a){if(i.railslocked&&0==i.page.maxh)return!0;a=a?a:window.e;var d=i.getTarget(a);if(d&&/INPUT|TEXTAREA|SELECT|OPTION/.test(d.nodeName)){var e=d.getAttribute("type")||d.type||!1;if(!e||!/submit|button|cancel/i.tp)return!0}if(g(d).attr("contenteditable"))return!0;if(i.hasfocus||i.hasmousefocus&&!b||i.ispage&&!b&&!c){var f=a.keyCode;if(i.railslocked&&27!=f)return i.cancelEvent(a);var h=a.ctrlKey||!1,j=a.shiftKey||!1,k=!1;switch(f){case 38:case 63233:i.doScrollBy(72),k=!0;break;case 40:case 63235:i.doScrollBy(-72),k=!0;break;case 37:case 63232:i.railh&&(h?i.doScrollLeft(0):i.doScrollLeftBy(72),k=!0);break;case 39:case 63234:i.railh&&(h?i.doScrollLeft(i.page.maxw):i.doScrollLeftBy(-72),k=!0);break;case 33:case 63276:i.doScrollBy(i.view.h),k=!0;break;case 34:case 63277:i.doScrollBy(-i.view.h),k=!0;break;case 36:case 63273:i.railh&&h?i.doScrollPos(0,0):i.doScrollTo(0),k=!0;break;case 35:case 63275:i.railh&&h?i.doScrollPos(i.page.maxw,i.page.maxh):i.doScrollTo(i.page.maxh),k=!0;break;case 32:i.opt.spacebarenabled&&(j?i.doScrollBy(i.view.h):i.doScrollBy(-i.view.h),k=!0);break;case 27:i.zoomactive&&(i.doZoom(),k=!0)}if(k)return i.cancelEvent(a)}},i.opt.enablekeyboard&&i.bind(document,r.isopera&&!r.isopera12?"keypress":"keydown",i.onkeypress),i.bind(document,"keydown",function(a){var b=a.ctrlKey||!1;b&&(i.wheelprevented=!0)}),i.bind(document,"keyup",function(a){var b=a.ctrlKey||!1;b||(i.wheelprevented=!1)}),i.bind(window,"blur",function(a){i.wheelprevented=!1}),i.bind(window,"resize",i.lazyResize),i.bind(window,"orientationchange",i.lazyResize),i.bind(window,"load",i.lazyResize),r.ischrome&&!i.ispage&&!i.haswrapper){var B=i.win.attr("style"),C=parseFloat(i.win.css("width"))+1;i.win.css("width",C),i.synched("chromefix",function(){i.win.attr("style",B)})}i.onAttributeChange=function(a){i.lazyResize(i.isieold?250:30)},i.isie11||n===!1||(i.observerbody=new n(function(a){return a.forEach(function(a){return"attributes"==a.type?g("body").hasClass("modal-open")&&g("body").hasClass("modal-dialog")&&!g.contains(g(".modal-dialog")[0],i.doc[0])?i.hide():i.show():void 0}),i.me.clientWidth!=i.page.width||i.me.clientHeight!=i.page.height?i.lazyResize(30):void 0}),i.observerbody.observe(document.body,{childList:!0,subtree:!0,characterData:!1,attributes:!0,attributeFilter:["class"]})),i.ispage||i.haswrapper||(n!==!1?(i.observer=new n(function(a){a.forEach(i.onAttributeChange)}),i.observer.observe(i.win[0],{childList:!0,characterData:!1,attributes:!0,subtree:!1}),i.observerremover=new n(function(a){a.forEach(function(a){if(a.removedNodes.length>0)for(var b in a.removedNodes)if(i&&a.removedNodes[b]==i.win[0])return i.remove()})}),i.observerremover.observe(i.win[0].parentNode,{childList:!0,characterData:!1,attributes:!1,subtree:!1})):(i.bind(i.win,r.isie&&!r.isie9?"propertychange":"DOMAttrModified",i.onAttributeChange),r.isie9&&i.win[0].attachEvent("onpropertychange",i.onAttributeChange),i.bind(i.win,"DOMNodeRemoved",function(a){a.target==i.win[0]&&i.remove()}))),!i.ispage&&i.opt.boxzoom&&i.bind(window,"resize",i.resizeZoom),i.istextarea&&(i.bind(i.win,"keydown",i.lazyResize),i.bind(i.win,"mouseup",i.lazyResize)),i.lazyResize(30)}if("IFRAME"==this.doc[0].nodeName){var D=function(){i.iframexd=!1;var a;try{a="contentDocument"in this?this.contentDocument:this.contentWindow.document;a.domain}catch(c){i.iframexd=!0,a=!1}if(i.iframexd)return"console"in window&&console.log("NiceScroll error: policy restriced iframe"),!0;if(i.forcescreen=!0,i.isiframe&&(i.iframe={doc:g(a),html:i.doc.contents().find("html")[0],body:i.doc.contents().find("body")[0]},i.getContentSize=function(){return{w:Math.max(i.iframe.html.scrollWidth,i.iframe.body.scrollWidth),h:Math.max(i.iframe.html.scrollHeight,i.iframe.body.scrollHeight)}},i.docscroll=g(i.iframe.body)),!r.isios&&i.opt.iframeautoresize&&!i.isiframe){i.win.scrollTop(0),i.doc.height("");var d=Math.max(a.getElementsByTagName("html")[0].scrollHeight,a.body.scrollHeight);i.doc.height(d)}i.lazyResize(30),r.isie7&&i.css(g(i.iframe.html),e),i.css(g(i.iframe.body),e),r.isios&&i.haswrapper&&i.css(g(a.body),{"-webkit-transform":"translate3d(0,0,0)"}),"contentWindow"in this?i.bind(this.contentWindow,"scroll",i.onscroll):i.bind(a,"scroll",i.onscroll),i.opt.enablemousewheel&&i.mousewheel(a,i.onmousewheel),i.opt.enablekeyboard&&i.bind(a,r.isopera?"keypress":"keydown",i.onkeypress),(r.cantouch||i.opt.touchbehavior)&&(i.bind(a,"mousedown",i.ontouchstart),i.bind(a,"mousemove",function(a){return i.ontouchmove(a,!0)}),i.opt.grabcursorenabled&&r.cursorgrabvalue&&i.css(g(a.body),{cursor:r.cursorgrabvalue})),i.bind(a,"mouseup",i.ontouchend),i.zoom&&(i.opt.dblclickzoom&&i.bind(a,"dblclick",i.doZoom),i.ongesturezoom&&i.bind(a,"gestureend",i.ongesturezoom))};this.doc[0].readyState&&"complete"==this.doc[0].readyState&&setTimeout(function(){D.call(i.doc[0],!1)},500),i.bind(this.doc,"load",D)}},this.showCursor=function(a,b){if(i.cursortimeout&&(clearTimeout(i.cursortimeout),i.cursortimeout=0),i.rail){if(i.autohidedom&&(i.autohidedom.stop().css({opacity:i.opt.cursoropacitymax}),i.cursoractive=!0),i.rail.drag&&1==i.rail.drag.pt||(void 0!==a&&a!==!1&&(i.scroll.y=Math.round(1*a/i.scrollratio.y)),void 0!==b&&(i.scroll.x=Math.round(1*b/i.scrollratio.x))),i.cursor.css({height:i.cursorheight,top:i.scroll.y}),i.cursorh){var c=i.hasreversehr?i.scrollvaluemaxw-i.scroll.x:i.scroll.x;!i.rail.align&&i.rail.visibility?i.cursorh.css({width:i.cursorwidth,left:c+i.rail.width}):i.cursorh.css({width:i.cursorwidth,left:c}),i.cursoractive=!0}i.zoom&&i.zoom.stop().css({opacity:i.opt.cursoropacitymax})}},this.hideCursor=function(a){i.cursortimeout||i.rail&&i.autohidedom&&(i.hasmousefocus&&"leave"==i.opt.autohidemode||(i.cursortimeout=setTimeout(function(){i.rail.active&&i.showonmouseevent||(i.autohidedom.stop().animate({opacity:i.opt.cursoropacitymin}),i.zoom&&i.zoom.stop().animate({opacity:i.opt.cursoropacitymin}),i.cursoractive=!1),i.cursortimeout=0},a||i.opt.hidecursordelay)))},this.noticeCursor=function(a,b,c){i.showCursor(b,c),i.rail.active||i.hideCursor(a)},this.getContentSize=i.ispage?function(){return{w:Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),h:Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}}:i.haswrapper?function(){return{w:i.doc.outerWidth()+parseInt(i.win.css("paddingLeft"))+parseInt(i.win.css("paddingRight")),h:i.doc.outerHeight()+parseInt(i.win.css("paddingTop"))+parseInt(i.win.css("paddingBottom"))}}:function(){return{w:i.docscroll[0].scrollWidth,h:i.docscroll[0].scrollHeight}},this.onResize=function(a,b){if(!i||!i.win)return!1;if(!i.haswrapper&&!i.ispage){if("none"==i.win.css("display"))return i.visibility&&i.hideRail().hideRailHr(),!1;i.hidden||i.visibility||i.showRail().showRailHr()}var c=i.page.maxh,d=i.page.maxw,e={h:i.view.h,w:i.view.w};if(i.view={w:i.ispage?i.win.width():parseInt(i.win[0].clientWidth),h:i.ispage?i.win.height():parseInt(i.win[0].clientHeight)},i.page=b?b:i.getContentSize(),i.page.maxh=Math.max(0,i.page.h-i.view.h),i.page.maxw=Math.max(0,i.page.w-i.view.w),i.page.maxh==c&&i.page.maxw==d&&i.view.w==e.w&&i.view.h==e.h){if(i.ispage)return i;var f=i.win.offset();if(i.lastposition){var g=i.lastposition;if(g.top==f.top&&g.left==f.left)return i}i.lastposition=f}if(0==i.page.maxh?(i.hideRail(),i.scrollvaluemax=0,i.scroll.y=0,i.scrollratio.y=0,i.cursorheight=0,i.setScrollTop(0),i.rail&&(i.rail.scrollable=!1)):(i.page.maxh-=i.opt.railpadding.top+i.opt.railpadding.bottom,i.rail.scrollable=!0),0==i.page.maxw?(i.hideRailHr(),i.scrollvaluemaxw=0,i.scroll.x=0,i.scrollratio.x=0,i.cursorwidth=0,i.setScrollLeft(0),i.railh&&(i.railh.scrollable=!1)):(i.page.maxw-=i.opt.railpadding.left+i.opt.railpadding.right,i.railh&&(i.railh.scrollable=i.opt.horizrailenabled)),i.railslocked=i.locked||0==i.page.maxh&&0==i.page.maxw,i.railslocked)return i.ispage||i.updateScrollBar(i.view),!1;i.hidden||i.visibility?!i.railh||i.hidden||i.railh.visibility||i.showRailHr():i.showRail().showRailHr(),i.istextarea&&i.win.css("resize")&&"none"!=i.win.css("resize")&&(i.view.h-=20),i.cursorheight=Math.min(i.view.h,Math.round(i.view.h*(i.view.h/i.page.h))),i.cursorheight=i.opt.cursorfixedheight?i.opt.cursorfixedheight:Math.max(i.opt.cursorminheight,i.cursorheight),i.cursorwidth=Math.min(i.view.w,Math.round(i.view.w*(i.view.w/i.page.w))),i.cursorwidth=i.opt.cursorfixedheight?i.opt.cursorfixedheight:Math.max(i.opt.cursorminheight,i.cursorwidth),i.scrollvaluemax=i.view.h-i.cursorheight-i.cursor.hborder-(i.opt.railpadding.top+i.opt.railpadding.bottom),i.railh&&(i.railh.width=i.page.maxh>0?i.view.w-i.rail.width:i.view.w,i.scrollvaluemaxw=i.railh.width-i.cursorwidth-i.cursorh.wborder-(i.opt.railpadding.left+i.opt.railpadding.right)),i.ispage||i.updateScrollBar(i.view),i.scrollratio={x:i.page.maxw/i.scrollvaluemaxw,y:i.page.maxh/i.scrollvaluemax};var h=i.getScrollTop();return h>i.page.maxh?i.doScrollTop(i.page.maxh):(i.scroll.y=Math.round(i.getScrollTop()*(1/i.scrollratio.y)),i.scroll.x=Math.round(i.getScrollLeft()*(1/i.scrollratio.x)),i.cursoractive&&i.noticeCursor()),i.scroll.y&&0==i.getScrollTop()&&i.doScrollTo(Math.floor(i.scroll.y*i.scrollratio.y)),i},this.resize=i.onResize,this.hlazyresize=0,this.lazyResize=function(a){return i.haswrapper||i.hide(),i.hlazyresize&&clearTimeout(i.hlazyresize),i.hlazyresize=setTimeout(function(){i&&i.show().resize()},240),i},this.jqbind=function(a,b,c){i.events.push({e:a,n:b,f:c,q:!0}),g(a).bind(b,c)},this.mousewheel=function(a,b,c){var d="jquery"in a?a[0]:a;if("onwheel"in document.createElement("div"))i._bind(d,"wheel",b,c||!1);else{var e=void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";A(d,e,b,c||!1),"DOMMouseScroll"==e&&A(d,"MozMousePixelScroll",b,c||!1)}},r.haseventlistener?(this.bind=function(a,b,c,d){var e="jquery"in a?a[0]:a;i._bind(e,b,c,d||!1)},this._bind=function(a,b,c,d){i.events.push({e:a,n:b,f:c,b:d,q:!1}),a.addEventListener(b,c,d||!1)},this.cancelEvent=function(a){if(!a)return!1;var a=a.original?a.original:a;return a.cancelable&&a.preventDefault(),a.stopPropagation(),a.preventManipulation&&a.preventManipulation(),!1},this.stopPropagation=function(a){if(!a)return!1;var a=a.original?a.original:a;return a.stopPropagation(),!1},this._unbind=function(a,b,c,d){a.removeEventListener(b,c,d)}):(this.bind=function(a,b,c,d){var e="jquery"in a?a[0]:a;i._bind(e,b,function(a){return a=a||window.event||!1,a&&a.srcElement&&(a.target=a.srcElement),"pageY"in a||(a.pageX=a.clientX+document.documentElement.scrollLeft,a.pageY=a.clientY+document.documentElement.scrollTop),c.call(e,a)===!1||d===!1?i.cancelEvent(a):!0})},this._bind=function(a,b,c,d){i.events.push({e:a,n:b,f:c,b:d,q:!1}),a.attachEvent?a.attachEvent("on"+b,c):a["on"+b]=c},this.cancelEvent=function(a){var a=window.event||!1;return a?(a.cancelBubble=!0,a.cancel=!0,a.returnValue=!1,!1):!1},this.stopPropagation=function(a){var a=window.event||!1;return a?(a.cancelBubble=!0,!1):!1},this._unbind=function(a,b,c,d){a.detachEvent?a.detachEvent("on"+b,c):a["on"+b]=!1}),this.unbindAll=function(){for(var a=0;a0)return c;b=b.parentNode?b.parentNode:!1}return!1},this.triggerScrollEnd=function(){if(i.onscrollend){var a=i.getScrollLeft(),b=i.getScrollTop(),c={type:"scrollend",current:{x:a,y:b},end:{x:a,y:b}};i.onscrollend.call(i,c)}},this.onmousewheel=function(a){if(!i.wheelprevented){if(i.railslocked)return i.debounced("checkunlock",i.resize,250),!0;if(i.rail.drag)return i.cancelEvent(a);if("auto"==i.opt.oneaxismousemode&&0!=a.deltaX&&(i.opt.oneaxismousemode=!1),i.opt.oneaxismousemode&&0==a.deltaX&&!i.rail.scrollable)return i.railh&&i.railh.scrollable?i.onmousewheelhr(a):!0;var b=+new Date,c=!1;if(i.opt.preservenativescrolling&&i.checkarea+60020?c:0},i.opt.smoothscroll?i.ishwscroll&&r.hastransition&&i.opt.usetransition&&i.opt.smoothscroll?(this.prepareTransition=function(a,b){var c=b?a>20?a:0:i.getTransitionSpeed(a),d=c?r.prefixstyle+"transform "+c+"ms ease-out":"";return i.lasttransitionstyle&&i.lasttransitionstyle==d||(i.lasttransitionstyle=d,i.doc.css(r.transitionstyle,d)),c},this.doScrollLeft=function(a,b){var c=i.scrollrunning?i.newscrolly:i.getScrollTop();i.doScrollPos(a,c,b)},this.doScrollTop=function(a,b){var c=i.scrollrunning?i.newscrollx:i.getScrollLeft();i.doScrollPos(c,a,b)},this.doScrollPos=function(a,b,c){var d=i.getScrollTop(),e=i.getScrollLeft();return((i.newscrolly-d)*(b-d)<0||(i.newscrollx-e)*(a-e)<0)&&i.cancelScroll(),0==i.opt.bouncescroll&&(0>b?b=0:b>i.page.maxh&&(b=i.page.maxh),0>a?a=0:a>i.page.maxw&&(a=i.page.maxw)),i.scrollrunning&&a==i.newscrollx&&b==i.newscrolly?!1:(i.newscrolly=b,i.newscrollx=a,i.newscrollspeed=c||!1,i.timer?!1:void(i.timer=setTimeout(function(){var c=i.getScrollTop(),d=i.getScrollLeft(),e={};e.x=a-d,e.y=b-c,e.px=d,e.py=c;var f=Math.round(Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))),g=i.newscrollspeed&&i.newscrollspeed>1?i.newscrollspeed:i.getTransitionSpeed(f);if(i.newscrollspeed&&i.newscrollspeed<=1&&(g*=i.newscrollspeed),i.prepareTransition(g,!0),i.timerscroll&&i.timerscroll.tm&&clearInterval(i.timerscroll.tm),g>0){if(!i.scrollrunning&&i.onscrollstart){var h={type:"scrollstart",current:{x:d,y:c},request:{x:a,y:b},end:{x:i.newscrollx,y:i.newscrolly},speed:g};i.onscrollstart.call(i,h)}r.transitionend?i.scrollendtrapped||(i.scrollendtrapped=!0,i.bind(i.doc,r.transitionend,i.onScrollTransitionEnd,!1)):(i.scrollendtrapped&&clearTimeout(i.scrollendtrapped),i.scrollendtrapped=setTimeout(i.onScrollTransitionEnd,g));var j=c,k=d;i.timerscroll={bz:new u(j,i.newscrolly,g,0,0,.58,1),bh:new u(k,i.newscrollx,g,0,0,.58,1)},i.cursorfreezed||(i.timerscroll.tm=setInterval(function(){i.showCursor(i.getScrollTop(),i.getScrollLeft())},60))}i.synched("doScroll-set",function(){i.timer=0,i.scrollendtrapped&&(i.scrollrunning=!0),i.setScrollTop(i.newscrolly),i.setScrollLeft(i.newscrollx),i.scrollendtrapped||i.onScrollTransitionEnd()})},50)))},this.cancelScroll=function(){if(!i.scrollendtrapped)return!0;var a=i.getScrollTop(),b=i.getScrollLeft();return i.scrollrunning=!1,r.transitionend||clearTimeout(r.transitionend),i.scrollendtrapped=!1,i._unbind(i.doc[0],r.transitionend,i.onScrollTransitionEnd),i.prepareTransition(0),i.setScrollTop(a),i.railh&&i.setScrollLeft(b),i.timerscroll&&i.timerscroll.tm&&clearInterval(i.timerscroll.tm),i.timerscroll=!1,i.cursorfreezed=!1,i.showCursor(a,b),i},this.onScrollTransitionEnd=function(){i.scrollendtrapped&&i._unbind(i.doc[0],r.transitionend,i.onScrollTransitionEnd),i.scrollendtrapped=!1,i.prepareTransition(0),i.timerscroll&&i.timerscroll.tm&&clearInterval(i.timerscroll.tm),i.timerscroll=!1;var a=i.getScrollTop(),b=i.getScrollLeft();return i.setScrollTop(a),i.railh&&i.setScrollLeft(b),i.noticeCursor(!1,a,b),i.cursorfreezed=!1,0>a?a=0:a>i.page.maxh&&(a=i.page.maxh),0>b?b=0:b>i.page.maxw&&(b=i.page.maxw),a!=i.newscrolly||b!=i.newscrollx?i.doScrollPos(b,a,i.opt.snapbackspeed):(i.onscrollend&&i.scrollrunning&&i.triggerScrollEnd(),void(i.scrollrunning=!1))}):(this.doScrollLeft=function(a,b){var c=i.scrollrunning?i.newscrolly:i.getScrollTop();i.doScrollPos(a,c,b)},this.doScrollTop=function(a,b){var c=i.scrollrunning?i.newscrollx:i.getScrollLeft();i.doScrollPos(c,a,b)},this.doScrollPos=function(a,b,c){function n(){if(i.cancelAnimationFrame)return!0;if(i.scrollrunning=!0,m=1-m)return i.timer=j(n)||1;var b,c,a=0,d=c=i.getScrollTop();if(i.dst.ay){d=i.bzscroll?i.dst.py+i.bzscroll.getNow()*i.dst.ay:i.newscrolly;var e=d-c;(0>e&&d0&&d>i.newscrolly)&&(d=i.newscrolly),i.setScrollTop(d),d==i.newscrolly&&(a=1)}else a=1;var f=b=i.getScrollLeft();if(i.dst.ax){f=i.bzscroll?i.dst.px+i.bzscroll.getNow()*i.dst.ax:i.newscrollx;var e=f-b;(0>e&&f0&&f>i.newscrollx)&&(f=i.newscrollx),i.setScrollLeft(f),f==i.newscrollx&&(a+=1)}else a+=1;2==a?(i.timer=0,i.cursorfreezed=!1,i.bzscroll=!1,i.scrollrunning=!1,0>d?d=0:d>i.page.maxh&&(d=Math.max(0,i.page.maxh)),0>f?f=0:f>i.page.maxw&&(f=i.page.maxw),f!=i.newscrollx||d!=i.newscrolly?i.doScrollPos(f,d):i.onscrollend&&i.triggerScrollEnd()):i.timer=j(n)||1}var b=void 0===b||b===!1?i.getScrollTop(!0):b;if(i.timer&&i.newscrolly==b&&i.newscrollx==a)return!0;i.timer&&k(i.timer),i.timer=0;var d=i.getScrollTop(),e=i.getScrollLeft();((i.newscrolly-d)*(b-d)<0||(i.newscrollx-e)*(a-e)<0)&&i.cancelScroll(),i.newscrolly=b,i.newscrollx=a,i.bouncescroll&&i.rail.visibility||(i.newscrolly<0?i.newscrolly=0:i.newscrolly>i.page.maxh&&(i.newscrolly=i.page.maxh)),i.bouncescroll&&i.railh.visibility||(i.newscrollx<0?i.newscrollx=0:i.newscrollx>i.page.maxw&&(i.newscrollx=i.page.maxw)),i.dst={},i.dst.x=a-e,i.dst.y=b-d,i.dst.px=e,i.dst.py=d;var f=Math.round(Math.sqrt(Math.pow(i.dst.x,2)+Math.pow(i.dst.y,2)));i.dst.ax=i.dst.x/f,i.dst.ay=i.dst.y/f;var g=0,h=f;0==i.dst.x?(g=d,h=b,i.dst.ay=1,i.dst.py=0):0==i.dst.y&&(g=e,h=a,i.dst.ax=1,i.dst.px=0);var l=i.getTransitionSpeed(f);if(c&&1>=c&&(l*=c),l>0?i.bzscroll=i.bzscroll?i.bzscroll.update(h,l):new u(g,h,l,0,1,0,1):i.bzscroll=!1,!i.timer){(d==i.page.maxh&&b>=i.page.maxh||e==i.page.maxw&&a>=i.page.maxw)&&i.checkContentSize();var m=1;if(i.cancelAnimationFrame=!1,i.timer=1,i.onscrollstart&&!i.scrollrunning){var o={type:"scrollstart",current:{x:e,y:d},request:{x:a,y:b},end:{x:i.newscrollx,y:i.newscrolly},speed:l};i.onscrollstart.call(i,o)}n(),(d==i.page.maxh&&b>=d||e==i.page.maxw&&a>=e)&&i.checkContentSize(),i.noticeCursor()}},this.cancelScroll=function(){return i.timer&&k(i.timer),i.timer=0,i.bzscroll=!1,i.scrollrunning=!1,i}):(this.doScrollLeft=function(a,b){var c=i.getScrollTop();i.doScrollPos(a,c,b)},this.doScrollTop=function(a,b){var c=i.getScrollLeft();i.doScrollPos(c,a,b)},this.doScrollPos=function(a,b,c){var d=a>i.page.maxw?i.page.maxw:a;0>d&&(d=0);var e=b>i.page.maxh?i.page.maxh:b;0>e&&(e=0),i.synched("scroll",function(){i.setScrollTop(e),i.setScrollLeft(d)})},this.cancelScroll=function(){}),this.doScrollBy=function(a,b){var c=0;if(b)c=Math.floor((i.scroll.y-a)*i.scrollratio.y);else{var d=i.timer?i.newscrolly:i.getScrollTop(!0);c=d-a}if(i.bouncescroll){var e=Math.round(i.view.h/2);-e>c?c=-e:c>i.page.maxh+e&&(c=i.page.maxh+e)}i.cursorfreezed=!1;var f=i.getScrollTop(!0);return 0>c&&0>=f?i.noticeCursor():c>i.page.maxh&&f>=i.page.maxh?(i.checkContentSize(),i.noticeCursor()):void i.doScrollTop(c)},this.doScrollLeftBy=function(a,b){var c=0;if(b)c=Math.floor((i.scroll.x-a)*i.scrollratio.x);else{var d=i.timer?i.newscrollx:i.getScrollLeft(!0);c=d-a}if(i.bouncescroll){var e=Math.round(i.view.w/2);-e>c?c=-e:c>i.page.maxw+e&&(c=i.page.maxw+e)}i.cursorfreezed=!1;var f=i.getScrollLeft(!0);return 0>c&&0>=f?i.noticeCursor():c>i.page.maxw&&f>=i.page.maxw?i.noticeCursor():void i.doScrollLeft(c)},this.doScrollTo=function(a,b){var c=b?Math.round(a*i.scrollratio.y):a;0>c?c=0:c>i.page.maxh&&(c=i.page.maxh),i.cursorfreezed=!1,i.doScrollTop(a)},this.checkContentSize=function(){var a=i.getContentSize();(a.h!=i.page.h||a.w!=i.page.w)&&i.resize(!1,a)},i.onscroll=function(a){i.rail.drag||i.cursorfreezed||i.synched("scroll",function(){i.scroll.y=Math.round(i.getScrollTop()*(1/i.scrollratio.y)),i.railh&&(i.scroll.x=Math.round(i.getScrollLeft()*(1/i.scrollratio.x))),i.noticeCursor()})},i.bind(i.docscroll,"scroll",i.onscroll),this.doZoomIn=function(a){if(!i.zoomactive){i.zoomactive=!0,i.zoomrestore={style:{}};var b=["position","top","left","zIndex","backgroundColor","marginTop","marginBottom","marginLeft","marginRight"],c=i.win[0].style;for(var d in b){var e=b[d];i.zoomrestore.style[e]=void 0!==c[e]?c[e]:""}i.zoomrestore.style.width=i.win.css("width"),i.zoomrestore.style.height=i.win.css("height"),i.zoomrestore.padding={w:i.win.outerWidth()-i.win.width(),h:i.win.outerHeight()-i.win.height()},r.isios4&&(i.zoomrestore.scrollTop=g(window).scrollTop(),g(window).scrollTop(0)),i.win.css({position:r.isios4?"absolute":"fixed",top:0,left:0,zIndex:f+100,margin:0});var h=i.win.css("backgroundColor");return(""==h||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(h))&&i.win.css("backgroundColor","#fff"),i.rail.css({zIndex:f+101}),i.zoom.css({zIndex:f+102}),i.zoom.css("backgroundPosition","0px -18px"),i.resizeZoom(),i.onzoomin&&i.onzoomin.call(i),i.cancelEvent(a)}},this.doZoomOut=function(a){return i.zoomactive?(i.zoomactive=!1,i.win.css("margin",""),i.win.css(i.zoomrestore.style),r.isios4&&g(window).scrollTop(i.zoomrestore.scrollTop),i.rail.css({"z-index":i.zindex}),i.zoom.css({"z-index":i.zindex}),i.zoomrestore=!1,i.zoom.css("backgroundPosition","0px 0px"),i.onResize(),i.onzoomout&&i.onzoomout.call(i),i.cancelEvent(a)):void 0},this.doZoom=function(a){return i.zoomactive?i.doZoomOut(a):i.doZoomIn(a)},this.resizeZoom=function(){if(i.zoomactive){var a=i.getScrollTop();i.win.css({width:g(window).width()-i.zoomrestore.padding.w+"px",height:g(window).height()-i.zoomrestore.padding.h+"px"}),i.onResize(),i.setScrollTop(Math.min(i.page.maxh,a))}},this.init(),g.nicescroll.push(this)},s=function(a){var b=this;this.nc=a,this.lastx=0,this.lasty=0,this.speedx=0,this.speedy=0,this.lasttime=0,this.steptime=0,this.snapx=!1,this.snapy=!1,this.demulx=0,this.demuly=0,this.lastscrollx=-1,this.lastscrolly=-1,this.chkx=0,this.chky=0,this.timer=0,this.time=function(){return+new Date},this.reset=function(a,c){b.stop();var d=b.time();b.steptime=0,b.lasttime=d,b.speedx=0,b.speedy=0,b.lastx=a,b.lasty=c,b.lastscrollx=-1,b.lastscrolly=-1},this.update=function(a,c){var d=b.time();b.steptime=d-b.lasttime,b.lasttime=d;var e=c-b.lasty,f=a-b.lastx,g=b.nc.getScrollTop(),h=b.nc.getScrollLeft(),i=g+e,j=h+f;b.snapx=0>j||j>b.nc.page.maxw,b.snapy=0>i||i>b.nc.page.maxh,b.speedx=f,b.speedy=e,b.lastx=a,b.lasty=c},this.stop=function(){b.nc.unsynched("domomentum2d"),b.timer&&clearTimeout(b.timer),b.timer=0,b.lastscrollx=-1,b.lastscrolly=-1},this.doSnapy=function(a,c){var d=!1;0>c?(c=0,d=!0):c>b.nc.page.maxh&&(c=b.nc.page.maxh,d=!0),0>a?(a=0,d=!0):a>b.nc.page.maxw&&(a=b.nc.page.maxw,d=!0),d?b.nc.doScrollPos(a,c,b.nc.opt.snapbackspeed):b.nc.triggerScrollEnd()},this.doMomentum=function(a){var c=b.time(),d=a?c+a:b.lasttime,e=b.nc.getScrollLeft(),f=b.nc.getScrollTop(),g=b.nc.page.maxh,h=b.nc.page.maxw;b.speedx=h>0?Math.min(60,b.speedx):0,b.speedy=g>0?Math.min(60,b.speedy):0;var i=d&&60>=c-d;(0>f||f>g||0>e||e>h)&&(i=!1);var j=b.speedy&&i?b.speedy:!1,k=b.speedx&&i?b.speedx:!1;if(j||k){var l=Math.max(16,b.steptime);if(l>50){var m=l/50;b.speedx*=m,b.speedy*=m,l=50}b.demulxy=0,b.lastscrollx=b.nc.getScrollLeft(),b.chkx=b.lastscrollx,b.lastscrolly=b.nc.getScrollTop(),b.chky=b.lastscrolly;var n=b.lastscrollx,o=b.lastscrolly,p=function(){var a=b.time()-c>600?.04:.02;b.speedx&&(n=Math.floor(b.lastscrollx-b.speedx*(1-b.demulxy)),b.lastscrollx=n,(0>n||n>h)&&(a=.1)),b.speedy&&(o=Math.floor(b.lastscrolly-b.speedy*(1-b.demulxy)),b.lastscrolly=o,(0>o||o>g)&&(a=.1)),b.demulxy=Math.min(1,b.demulxy+a),b.nc.synched("domomentum2d",function(){if(b.speedx){b.nc.getScrollLeft();b.chkx=n,b.nc.setScrollLeft(n)}if(b.speedy){b.nc.getScrollTop();b.chky=o,b.nc.setScrollTop(o)}b.timer||(b.nc.hideCursor(),b.doSnapy(n,o))}),b.demulxy<1?b.timer=setTimeout(p,l):(b.stop(),b.nc.hideCursor(),b.doSnapy(n,o))};p()}else b.doSnapy(b.nc.getScrollLeft(),b.nc.getScrollTop())}},t=a.fn.scrollTop;a.cssHooks.pageYOffset={get:function(a,b,c){var d=g.data(a,"__nicescroll")||!1;return d&&d.ishwscroll?d.getScrollTop():t.call(a)},set:function(a,b){var c=g.data(a,"__nicescroll")||!1;return c&&c.ishwscroll?c.setScrollTop(parseInt(b)):t.call(a,b),this}},a.fn.scrollTop=function(a){if(void 0===a){var b=this[0]?g.data(this[0],"__nicescroll")||!1:!1;return b&&b.ishwscroll?b.getScrollTop():t.call(this)}return this.each(function(){var b=g.data(this,"__nicescroll")||!1;b&&b.ishwscroll?b.setScrollTop(parseInt(a)):t.call(g(this),a)})};var u=a.fn.scrollLeft;g.cssHooks.pageXOffset={get:function(a,b,c){var d=g.data(a,"__nicescroll")||!1;return d&&d.ishwscroll?d.getScrollLeft():u.call(a)},set:function(a,b){var c=g.data(a,"__nicescroll")||!1;return c&&c.ishwscroll?c.setScrollLeft(parseInt(b)):u.call(a,b),this}},a.fn.scrollLeft=function(a){if(void 0===a){var b=this[0]?g.data(this[0],"__nicescroll")||!1:!1;return b&&b.ishwscroll?b.getScrollLeft():u.call(this)}return this.each(function(){var b=g.data(this,"__nicescroll")||!1;b&&b.ishwscroll?b.setScrollLeft(parseInt(a)):u.call(g(this),a)})};var v=function(a){var b=this;if(this.length=0,this.name="nicescrollarray",this.each=function(a){return g.each(b,a),b},this.push=function(a){b[b.length]=a,b.length++},this.eq=function(a){return b[a]},a)for(var c=0;c #mq-test-1 { width: 42px; }',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){v(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},g=function(a){return a.replace(c.regex.minmaxwh,"").match(c.regex.other)};if(c.ajax=f,c.queue=d,c.unsupportedmq=g,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var h,i,j,k=a.document,l=k.documentElement,m=[],n=[],o=[],p={},q=30,r=k.getElementsByTagName("head")[0]||l,s=k.getElementsByTagName("base")[0],t=r.getElementsByTagName("link"),u=function(){var a,b=k.createElement("div"),c=k.body,d=l.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=k.createElement("body"),c.style.background="none"),l.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&l.insertBefore(c,l.firstChild),a=b.offsetWidth,f?l.removeChild(c):c.removeChild(b),l.style.fontSize=d,e&&(c.style.fontSize=e),a=j=parseFloat(a)},v=function(b){var c="clientWidth",d=l[c],e="CSS1Compat"===k.compatMode&&d||k.body[c]||d,f={},g=t[t.length-1],p=(new Date).getTime();if(b&&h&&q>p-h)return a.clearTimeout(i),i=a.setTimeout(v,q),void 0;h=p;for(var s in m)if(m.hasOwnProperty(s)){var w=m[s],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?j||u():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?j||u():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(n[w.rules]))}for(var C in o)o.hasOwnProperty(C)&&o[C]&&o[C].parentNode===r&&r.removeChild(o[C]);o.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=k.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,r.insertBefore(E,g.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(k.createTextNode(F)),o.push(E)}},w=function(a,b,d){var e=a.replace(c.regex.comments,"").replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},i=!f&&d;b.length&&(b+="/"),i&&(f=1);for(var j=0;f>j;j++){var k,l,o,p;i?(k=d,n.push(h(a))):(k=e[j].match(c.regex.findStyles)&&RegExp.$1,n.push(RegExp.$2&&h(RegExp.$2))),o=k.split(","),p=o.length;for(var q=0;p>q;q++)l=o[q],g(l)||m.push({media:l.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:n.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}v()},x=function(){if(d.length){var b=d.shift();f(b.href,function(c){w(c,b.href,b.media),p[b.href]=!0,a.setTimeout(function(){x()},0)})}},y=function(){for(var b=0;b2&&void 0!==arguments[2]?arguments[2]:1,o=n(r);if(e&&o>1){var u=e.replace(l,"@"+o+"x$1");i(t,u)}}function u(t,e,n){c>1&&i(t,n)}function a(t){return t?"function"==typeof t.forEach?t:e(t):"undefined"!=typeof document?e(document.querySelectorAll(h)):[]}function f(t){return t.style.backgroundImage.replace(p,"$2")}function s(t){a(t).forEach(function(t){if(!t.getAttribute(g)){var e="img"===t.nodeName.toLowerCase(),n=e?t.getAttribute("src"):f(t),r=t.getAttribute("data-rjs"),i=!isNaN(parseInt(r,10));if(null===r)return;i?o(t,n,r):u(t,n,r)}})}Object.defineProperty(t,"__esModule",{value:!0});var d="undefined"!=typeof window,c=Math.round(d?window.devicePixelRatio||1:1),l=/(\.[A-z]{3,4}\/?(\?.*)?)$/,p=/url\(('|")?([^\)'"]+)('|")?\)/i,h="[data-rjs]",g="data-rjs-processed";d&&(window.addEventListener("load",function(){s()}),window.retinajs=s),t["default"]=s}); \ No newline at end of file diff --git a/assets/js/vendor/unminified/vendor_footer.js b/assets/js/vendor/unminified/vendor_footer.js deleted file mode 100644 index e9e1985..0000000 --- a/assets/js/vendor/unminified/vendor_footer.js +++ /dev/null @@ -1,57 +0,0 @@ -/*! Bootstrap v3.1.1 (http://getbootstrap.com) */ -if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.isLoading=!1};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",f.resetText||d.data("resetText",d[e]()),d[e](f[b]||this.options[b]),setTimeout(a.proxy(function(){"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},b.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}a&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}if(e.hasClass("active"))return this.sliding=!1;var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});return this.$element.trigger(j),j.isDefaultPrevented()?void 0:(this.sliding=!0,f&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")?(e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(1e3*d.css("transition-duration").slice(0,-1))):(d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")),f&&this.cycle(),this)};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("collapse in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);!e&&f.toggle&&"show"==c&&(c=!c),e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(b){a(d).remove(),a(e).each(function(){var d=c(a(this)),e={relatedTarget:this};d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown",e)),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown",e))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;(e||"destroy"!=c)&&(e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]())})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(a(c).is("body")?window:c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);{var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})}},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);if(g&&b<=e[0])return g!=(a=f[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(b.RESET).addClass("affix");var a=this.$window.scrollTop(),c=this.$element.offset();return this.pinnedOffset=c.top-a},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"top"==this.affixed&&(e.top+=d),"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top(this.$element)),"function"==typeof h&&(h=f.bottom(this.$element));var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;if(this.affixed!==i){this.unpin&&this.$element.css("top","");var j="affix"+(i?"-"+i:""),k=a.Event(j+".bs.affix");this.$element.trigger(k),k.isDefaultPrevented()||(this.affixed=i,this.unpin="bottom"==i?this.getPinnedOffset():null,this.$element.removeClass(b.RESET).addClass(j).trigger(a.Event(j.replace("affix","affixed"))),"bottom"==i&&this.$element.offset({top:c-h-this.$element.height()}))}}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); - -/*! Lightbox for Bootstrap 3 by @ashleydw */ -(function(){"use strict";var a,b;a=jQuery,b=function(b,c){var d,e,f;return this.options=a.extend({title:null,footer:null,remote:null},a.fn.ekkoLightbox.defaults,c||{}),this.$element=a(b),d="",this.modal_id=this.options.modal_id?this.options.modal_id:"ekkoLightbox-"+Math.floor(1e3*Math.random()+1),f='",e='",a(document.body).append('"),this.modal=a("#"+this.modal_id),this.modal_dialog=this.modal.find(".modal-dialog").first(),this.modal_content=this.modal.find(".modal-content").first(),this.modal_body=this.modal.find(".modal-body").first(),this.modal_header=this.modal.find(".modal-header").first(),this.modal_footer=this.modal.find(".modal-footer").first(),this.lightbox_container=this.modal_body.find(".ekko-lightbox-container").first(),this.lightbox_body=this.lightbox_container.find("> div:first-child").first(),this.showLoading(),this.modal_arrows=null,this.border={top:parseFloat(this.modal_dialog.css("border-top-width"))+parseFloat(this.modal_content.css("border-top-width"))+parseFloat(this.modal_body.css("border-top-width")),right:parseFloat(this.modal_dialog.css("border-right-width"))+parseFloat(this.modal_content.css("border-right-width"))+parseFloat(this.modal_body.css("border-right-width")),bottom:parseFloat(this.modal_dialog.css("border-bottom-width"))+parseFloat(this.modal_content.css("border-bottom-width"))+parseFloat(this.modal_body.css("border-bottom-width")),left:parseFloat(this.modal_dialog.css("border-left-width"))+parseFloat(this.modal_content.css("border-left-width"))+parseFloat(this.modal_body.css("border-left-width"))},this.padding={top:parseFloat(this.modal_dialog.css("padding-top"))+parseFloat(this.modal_content.css("padding-top"))+parseFloat(this.modal_body.css("padding-top")),right:parseFloat(this.modal_dialog.css("padding-right"))+parseFloat(this.modal_content.css("padding-right"))+parseFloat(this.modal_body.css("padding-right")),bottom:parseFloat(this.modal_dialog.css("padding-bottom"))+parseFloat(this.modal_content.css("padding-bottom"))+parseFloat(this.modal_body.css("padding-bottom")),left:parseFloat(this.modal_dialog.css("padding-left"))+parseFloat(this.modal_content.css("padding-left"))+parseFloat(this.modal_body.css("padding-left"))},this.modal.on("show.bs.modal",this.options.onShow.bind(this)).on("shown.bs.modal",function(a){return function(){return a.modal_shown(),a.options.onShown.call(a)}}(this)).on("hide.bs.modal",this.options.onHide.bind(this)).on("hidden.bs.modal",function(b){return function(){return b.gallery&&a(document).off("keydown.ekkoLightbox"),b.modal.remove(),b.options.onHidden.call(b)}}(this)).modal("show",c),this.modal},b.prototype={modal_shown:function(){var b;return this.options.remote?(this.gallery=this.$element.data("gallery"),this.gallery&&("document.body"===this.options.gallery_parent_selector||""===this.options.gallery_parent_selector?this.gallery_items=a(document.body).find('*[data-gallery="'+this.gallery+'"]'):this.gallery_items=this.$element.parents(this.options.gallery_parent_selector).first().find('*[data-gallery="'+this.gallery+'"]'),this.gallery_index=this.gallery_items.index(this.$element),a(document).on("keydown.ekkoLightbox",this.navigate.bind(this)),this.options.directional_arrows&&this.gallery_items.length>1&&(this.lightbox_container.append('
'),this.modal_arrows=this.lightbox_container.find("div.flex-direction-nav").first(),this.lightbox_container.find("a"+this.strip_spaces(this.options.left_arrow_class)).on("click",function(a){return function(b){return b.preventDefault(),a.navigate_left()}}(this)),this.lightbox_container.find("a"+this.strip_spaces(this.options.right_arrow_class)).on("click",function(a){return function(b){return b.preventDefault(),a.navigate_right()}}(this)))),this.options.type?"image"===this.options.type?this.preloadImage(this.options.remote,!0):"youtube"===this.options.type&&(b=this.getYoutubeId(this.options.remote))?this.showYoutubeVideo(b):"vimeo"===this.options.type?this.showVimeoVideo(this.options.remote):"instagram"===this.options.type?this.showInstagramVideo(this.options.remote):"url"===this.options.type?this.loadRemoteContent(this.options.remote):"video"===this.options.type?this.showVideoIframe(this.options.remote):this.error('Could not detect remote target type. Force the type using data-type="image|youtube|vimeo|instagram|url|video"'):this.detectRemoteType(this.options.remote)):this.error("No remote target given")},strip_stops:function(a){return a.replace(/\./g,"")},strip_spaces:function(a){return a.replace(/\s/g,"")},isImage:function(a){return a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSwf:function(a){return a.match(/\.(swf)((\?|#).*)?$/i)},getYoutubeId:function(a){var b;return b=a.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/),b&&11===b[2].length?b[2]:!1},getVimeoId:function(a){return a.indexOf("vimeo")>0?a:!1},getInstagramId:function(a){return a.indexOf("instagram")>0?a:!1},navigate:function(a){if(a=a||window.event,39===a.keyCode||37===a.keyCode){if(39===a.keyCode)return this.navigate_right();if(37===a.keyCode)return this.navigate_left()}},navigateTo:function(b){var c,d;return 0>b||b>this.gallery_items.length-1?this:(this.showLoading(),this.gallery_index=b,this.$element=a(this.gallery_items.get(this.gallery_index)),this.updateTitleAndFooter(),d=this.$element.attr("data-remote")||this.$element.attr("href"),this.detectRemoteType(d,this.$element.attr("data-type")||!1),this.gallery_index+1'+this.options.loadingMessage+""),this},showYoutubeVideo:function(a){var b,c,d;return c=null!=this.$element.attr("data-norelated")||this.options.no_related?"&rel=0":"",d=this.checkDimensions(this.$element.data("width")||560),b=d/(560/315),this.showVideoIframe("//www.youtube.com/embed/"+a+"?badge=0&autoplay=1&html5=1"+c,d,b)},showVimeoVideo:function(a){var b,c;return c=this.checkDimensions(this.$element.data("width")||560),b=c/(500/281),this.showVideoIframe(a+"?autoplay=1",c,b)},showInstagramVideo:function(a){var b,c;return c=this.checkDimensions(this.$element.data("width")||612),this.resize(c),b=c+80,this.lightbox_body.html(''),this.options.onContentLoaded.call(this),this.modal_arrows?this.modal_arrows.css("display","none"):void 0},showVideoIframe:function(a,b,c){return c=c||b,this.resize(b),this.lightbox_body.html('
'),this.options.onContentLoaded.call(this),this.modal_arrows&&this.modal_arrows.css("display","none"),this},loadRemoteContent:function(b){var c,d;return d=this.$element.data("width")||560,this.resize(d),c=this.$element.data("disableExternalCheck")||!1,c||this.isExternal(b)?(this.lightbox_body.html(''),this.options.onContentLoaded.call(this)):this.lightbox_body.load(b,a.proxy(function(a){return function(){return a.$element.trigger("loaded.bs.modal")}}(this))),this.modal_arrows&&this.modal_arrows.css("display","none"),this},isExternal:function(a){var b;return b=a.match(/^([^:\/?#]+:)?(?:\/\/([^\/?#]*))?([^?#]+)?(\?[^#]*)?(#.*)?/),"string"==typeof b[1]&&b[1].length>0&&b[1].toLowerCase()!==location.protocol?!0:"string"==typeof b[2]&&b[2].length>0&&b[2].replace(new RegExp(":("+{"http:":80,"https:":443}[location.protocol]+")?$"),"")!==location.host?!0:!1},error:function(a){return this.lightbox_body.html(a),this},preloadImage:function(b,c){var d;return d=new Image,(null==c||c===!0)&&(d.onload=function(b){return function(){var c;return c=a(""),c.attr("src",d.src),c.addClass("img-responsive"),b.lightbox_body.html(c),b.modal_arrows&&b.modal_arrows.css("display","block"),c.load(function(){return b.options.scale_height?b.scaleHeight(d.height,d.width):b.resize(d.width),b.options.onContentLoaded.call(b)})}}(this),d.onerror=function(a){return function(){return a.error("Failed to load image: "+b)}}(this)),d.src=b,d},scaleHeight:function(b,c){var d,e,f,g,h,i;return g=this.modal_header.outerHeight(!0)||0,f=this.modal_footer.outerHeight(!0)||0,this.modal_footer.is(":visible")||(f=0),this.modal_header.is(":visible")||(g=0),d=this.border.top+this.border.bottom+this.padding.top+this.padding.bottom,h=parseFloat(this.modal_dialog.css("margin-top"))+parseFloat(this.modal_dialog.css("margin-bottom")),i=a(window).height()-d-h-g-f,e=Math.min(i/b,1),this.modal_dialog.css("height","auto").css("max-height",i),this.resize(e*c)},resize:function(b){var c;return c=b+this.border.left+this.padding.left+this.padding.right+this.border.right,this.modal_dialog.css("width","auto").css("max-width",c),this.lightbox_container.find("a").css("line-height",function(){return a(this).parent().height()+"px"}),this},checkDimensions:function(a){var b,c;return c=a+this.border.left+this.padding.left+this.padding.right+this.border.right,b=document.body.clientWidth,c>b&&(a=this.modal_body.width()),a},close:function(){return this.modal.modal("hide")},addTrailingSlash:function(a){return"/"!==a.substr(-1)&&(a+="/"),a}},a.fn.ekkoLightbox=function(c){return this.each(function(){var d;return d=a(this),c=a.extend({remote:d.attr("data-remote")||d.attr("href"),gallery_parent_selector:d.attr("data-parent"),type:d.attr("data-type")},c,d.data()),new b(this,c),this})},a.fn.ekkoLightbox.defaults={gallery_parent_selector:"document.body",left_arrow_class:".glyphicon .glyphicon-chevron-left",right_arrow_class:".glyphicon .glyphicon-chevron-right",directional_arrows:!0,type:null,always_show_close:!0,no_related:!1,scale_height:!0,loadingMessage:"Loading...",onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){},onNavigate:function(){},onContentLoaded:function(){}}}).call(this); - - -/* jQuery FlexSlider v2.4.0 */ -!function($){$.flexslider=function(e,t){var a=$(e);a.vars=$.extend({},$.flexslider.defaults,t);var n=a.vars.namespace,i=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,s=("ontouchstart"in window||i||window.DocumentTouch&&document instanceof DocumentTouch)&&a.vars.touch,r="click touchend MSPointerUp keyup",o="",l,c="vertical"===a.vars.direction,d=a.vars.reverse,u=a.vars.itemWidth>0,v="fade"===a.vars.animation,p=""!==a.vars.asNavFor,m={},f=!0;$.data(e,"flexslider",a),m={init:function(){a.animating=!1,a.currentSlide=parseInt(a.vars.startAt?a.vars.startAt:0,10),isNaN(a.currentSlide)&&(a.currentSlide=0),a.animatingTo=a.currentSlide,a.atEnd=0===a.currentSlide||a.currentSlide===a.last,a.containerSelector=a.vars.selector.substr(0,a.vars.selector.search(" ")),a.slides=$(a.vars.selector,a),a.container=$(a.containerSelector,a),a.count=a.slides.length,a.syncExists=$(a.vars.sync).length>0,"slide"===a.vars.animation&&(a.vars.animation="swing"),a.prop=c?"top":"marginLeft",a.args={},a.manualPause=!1,a.stopped=!1,a.started=!1,a.startTimeout=null,a.transitions=!a.vars.video&&!v&&a.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var n in t)if(void 0!==e.style[t[n]])return a.pfx=t[n].replace("Perspective","").toLowerCase(),a.prop="-"+a.pfx+"-transform",!0;return!1}(),a.ensureAnimationEnd="",""!==a.vars.controlsContainer&&(a.controlsContainer=$(a.vars.controlsContainer).length>0&&$(a.vars.controlsContainer)),""!==a.vars.manualControls&&(a.manualControls=$(a.vars.manualControls).length>0&&$(a.vars.manualControls)),a.vars.randomize&&(a.slides.sort(function(){return Math.round(Math.random())-.5}),a.container.empty().append(a.slides)),a.doMath(),a.setup("init"),a.vars.controlNav&&m.controlNav.setup(),a.vars.directionNav&&m.directionNav.setup(),a.vars.keyboard&&(1===$(a.containerSelector).length||a.vars.multipleKeyboard)&&$(document).bind("keyup",function(e){var t=e.keyCode;if(!a.animating&&(39===t||37===t)){var n=39===t?a.getTarget("next"):37===t?a.getTarget("prev"):!1;a.flexAnimate(n,a.vars.pauseOnAction)}}),a.vars.mousewheel&&a.bind("mousewheel",function(e,t,n,i){e.preventDefault();var s=a.getTarget(0>t?"next":"prev");a.flexAnimate(s,a.vars.pauseOnAction)}),a.vars.pausePlay&&m.pausePlay.setup(),a.vars.slideshow&&a.vars.pauseInvisible&&m.pauseInvisible.init(),a.vars.slideshow&&(a.vars.pauseOnHover&&a.hover(function(){a.manualPlay||a.manualPause||a.pause()},function(){a.manualPause||a.manualPlay||a.stopped||a.play()}),a.vars.pauseInvisible&&m.pauseInvisible.isHidden()||(a.vars.initDelay>0?a.startTimeout=setTimeout(a.play,a.vars.initDelay):a.play())),p&&m.asNav.setup(),s&&a.vars.touch&&m.touch(),(!v||v&&a.vars.smoothHeight)&&$(window).bind("resize orientationchange focus",m.resize),a.find("img").attr("draggable","false"),setTimeout(function(){a.vars.start(a)},200)},asNav:{setup:function(){a.asNav=!0,a.animatingTo=Math.floor(a.currentSlide/a.move),a.currentItem=a.currentSlide,a.slides.removeClass(n+"active-slide").eq(a.currentItem).addClass(n+"active-slide"),i?(e._slider=a,a.slides.each(function(){var e=this;e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var t=$(this),n=t.index();$(a.vars.asNavFor).data("flexslider").animating||t.hasClass("active")||(a.direction=a.currentItem=s&&t.hasClass(n+"active-slide")?a.flexAnimate(a.getTarget("prev"),!0):$(a.vars.asNavFor).data("flexslider").animating||t.hasClass(n+"active-slide")||(a.direction=a.currentItem'),a.pagingCount>1)for(var l=0;l':""+t+"","thumbnails"===a.vars.controlNav&&!0===a.vars.thumbCaptions){var c=s.attr("data-thumbcaption");""!=c&&void 0!=c&&(i+=''+c+"")}a.controlNavScaffold.append("
  • "+i+"
  • "),t++}a.controlsContainer?$(a.controlsContainer).append(a.controlNavScaffold):a.append(a.controlNavScaffold),m.controlNav.set(),m.controlNav.active(),a.controlNavScaffold.delegate("a, img",r,function(e){if(e.preventDefault(),""===o||o===e.type){var t=$(this),i=a.controlNav.index(t);t.hasClass(n+"active")||(a.direction=i>a.currentSlide?"next":"prev",a.flexAnimate(i,a.vars.pauseOnAction))}""===o&&(o=e.type),m.setToClearWatchedEvent()})},setupManual:function(){a.controlNav=a.manualControls,m.controlNav.active(),a.controlNav.bind(r,function(e){if(e.preventDefault(),""===o||o===e.type){var t=$(this),i=a.controlNav.index(t);t.hasClass(n+"active")||(a.direction=i>a.currentSlide?"next":"prev",a.flexAnimate(i,a.vars.pauseOnAction))}""===o&&(o=e.type),m.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===a.vars.controlNav?"img":"a";a.controlNav=$("."+n+"control-nav li "+e,a.controlsContainer?a.controlsContainer:a)},active:function(){a.controlNav.removeClass(n+"active").eq(a.animatingTo).addClass(n+"active")},update:function(e,t){a.pagingCount>1&&"add"===e?a.controlNavScaffold.append($("
  • "+a.count+"
  • ")):1===a.pagingCount?a.controlNavScaffold.find("li").remove():a.controlNav.eq(t).closest("li").remove(),m.controlNav.set(),a.pagingCount>1&&a.pagingCount!==a.controlNav.length?a.update(t,e):m.controlNav.active()}},directionNav:{setup:function(){var e=$('");a.controlsContainer?($(a.controlsContainer).append(e),a.directionNav=$("."+n+"direction-nav li a",a.controlsContainer)):(a.append(e),a.directionNav=$("."+n+"direction-nav li a",a)),m.directionNav.update(),a.directionNav.bind(r,function(e){e.preventDefault();var t;(""===o||o===e.type)&&(t=a.getTarget($(this).hasClass(n+"next")?"next":"prev"),a.flexAnimate(t,a.vars.pauseOnAction)),""===o&&(o=e.type),m.setToClearWatchedEvent()})},update:function(){var e=n+"disabled";1===a.pagingCount?a.directionNav.addClass(e).attr("tabindex","-1"):a.vars.animationLoop?a.directionNav.removeClass(e).removeAttr("tabindex"):0===a.animatingTo?a.directionNav.removeClass(e).filter("."+n+"prev").addClass(e).attr("tabindex","-1"):a.animatingTo===a.last?a.directionNav.removeClass(e).filter("."+n+"next").addClass(e).attr("tabindex","-1"):a.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=$('
    ');a.controlsContainer?(a.controlsContainer.append(e),a.pausePlay=$("."+n+"pauseplay a",a.controlsContainer)):(a.append(e),a.pausePlay=$("."+n+"pauseplay a",a)),m.pausePlay.update(a.vars.slideshow?n+"pause":n+"play"),a.pausePlay.bind(r,function(e){e.preventDefault(),(""===o||o===e.type)&&($(this).hasClass(n+"pause")?(a.manualPause=!0,a.manualPlay=!1,a.pause()):(a.manualPause=!1,a.manualPlay=!0,a.play())),""===o&&(o=e.type),m.setToClearWatchedEvent()})},update:function(e){"play"===e?a.pausePlay.removeClass(n+"pause").addClass(n+"play").html(a.vars.playText):a.pausePlay.removeClass(n+"play").addClass(n+"pause").html(a.vars.pauseText)}},touch:function(){function t(t){a.animating?t.preventDefault():(window.navigator.msPointerEnabled||1===t.touches.length)&&(a.pause(),g=c?a.h:a.w,S=Number(new Date),x=t.touches[0].pageX,b=t.touches[0].pageY,f=u&&d&&a.animatingTo===a.last?0:u&&d?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:u&&a.currentSlide===a.last?a.limit:u?(a.itemW+a.vars.itemMargin)*a.move*a.currentSlide:d?(a.last-a.currentSlide+a.cloneOffset)*g:(a.currentSlide+a.cloneOffset)*g,p=c?b:x,m=c?x:b,e.addEventListener("touchmove",n,!1),e.addEventListener("touchend",s,!1))}function n(e){x=e.touches[0].pageX,b=e.touches[0].pageY,h=c?p-b:p-x,y=c?Math.abs(h)t)&&(e.preventDefault(),!v&&a.transitions&&(a.vars.animationLoop||(h/=0===a.currentSlide&&0>h||a.currentSlide===a.last&&h>0?Math.abs(h)/g+2:1),a.setProps(f+h,"setTouch")))}function s(t){if(e.removeEventListener("touchmove",n,!1),a.animatingTo===a.currentSlide&&!y&&null!==h){var i=d?-h:h,r=a.getTarget(i>0?"next":"prev");a.canAdvance(r)&&(Number(new Date)-S<550&&Math.abs(i)>50||Math.abs(i)>g/2)?a.flexAnimate(r,a.vars.pauseOnAction):v||a.flexAnimate(a.currentSlide,a.vars.pauseOnAction,!0)}e.removeEventListener("touchend",s,!1),p=null,m=null,h=null,f=null}function r(t){t.stopPropagation(),a.animating?t.preventDefault():(a.pause(),e._gesture.addPointer(t.pointerId),w=0,g=c?a.h:a.w,S=Number(new Date),f=u&&d&&a.animatingTo===a.last?0:u&&d?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:u&&a.currentSlide===a.last?a.limit:u?(a.itemW+a.vars.itemMargin)*a.move*a.currentSlide:d?(a.last-a.currentSlide+a.cloneOffset)*g:(a.currentSlide+a.cloneOffset)*g)}function o(t){t.stopPropagation();var a=t.target._slider;if(a){var n=-t.translationX,i=-t.translationY;return w+=c?i:n,h=w,y=c?Math.abs(w)500)&&(t.preventDefault(),!v&&a.transitions&&(a.vars.animationLoop||(h=w/(0===a.currentSlide&&0>w||a.currentSlide===a.last&&w>0?Math.abs(w)/g+2:1)),a.setProps(f+h,"setTouch"))))}}function l(e){e.stopPropagation();var t=e.target._slider;if(t){if(t.animatingTo===t.currentSlide&&!y&&null!==h){var a=d?-h:h,n=t.getTarget(a>0?"next":"prev");t.canAdvance(n)&&(Number(new Date)-S<550&&Math.abs(a)>50||Math.abs(a)>g/2)?t.flexAnimate(n,t.vars.pauseOnAction):v||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)}p=null,m=null,h=null,f=null,w=0}}var p,m,f,g,h,S,y=!1,x=0,b=0,w=0;i?(e.style.msTouchAction="none",e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",r,!1),e._slider=a,e.addEventListener("MSGestureChange",o,!1),e.addEventListener("MSGestureEnd",l,!1)):e.addEventListener("touchstart",t,!1)},resize:function(){!a.animating&&a.is(":visible")&&(u||a.doMath(),v?m.smoothHeight():u?(a.slides.width(a.computedW),a.update(a.pagingCount),a.setProps()):c?(a.viewport.height(a.h),a.setProps(a.h,"setTotal")):(a.vars.smoothHeight&&m.smoothHeight(),a.newSlides.width(a.computedW),a.setProps(a.computedW,"setTotal")))},smoothHeight:function(e){if(!c||v){var t=v?a:a.viewport;e?t.animate({height:a.slides.eq(a.animatingTo).height()},e):t.height(a.slides.eq(a.animatingTo).height())}},sync:function(e){var t=$(a.vars.sync).data("flexslider"),n=a.animatingTo;switch(e){case"animate":t.flexAnimate(n,a.vars.pauseOnAction,!1,!0);break;case"play":t.playing||t.asNav||t.play();break;case"pause":t.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=$(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var e=m.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,function(){m.pauseInvisible.isHidden()?a.startTimeout?clearTimeout(a.startTimeout):a.pause():a.started?a.play():a.vars.initDelay>0?setTimeout(a.play,a.vars.initDelay):a.play()})}},isHidden:function(){var e=m.pauseInvisible.getHiddenProp();return e?document[e]:!1},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;ta.currentSlide?"next":"prev"),p&&1===a.pagingCount&&(a.direction=a.currentItema.limit&&1!==a.visible?a.limit:S):h=0===a.currentSlide&&e===a.count-1&&a.vars.animationLoop&&"next"!==a.direction?d?(a.count+a.cloneOffset)*f:0:a.currentSlide===a.last&&0===e&&a.vars.animationLoop&&"prev"!==a.direction?d?0:(a.count+1)*f:d?(a.count-1-e+a.cloneOffset)*f:(e+a.cloneOffset)*f,a.setProps(h,"",a.vars.animationSpeed),a.transitions?(a.vars.animationLoop&&a.atEnd||(a.animating=!1,a.currentSlide=a.animatingTo),a.container.unbind("webkitTransitionEnd transitionend"),a.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(a.ensureAnimationEnd),a.wrapup(f)}),clearTimeout(a.ensureAnimationEnd),a.ensureAnimationEnd=setTimeout(function(){a.wrapup(f)},a.vars.animationSpeed+100)):a.container.animate(a.args,a.vars.animationSpeed,a.vars.easing,function(){a.wrapup(f)})}a.vars.smoothHeight&&m.smoothHeight(a.vars.animationSpeed)}},a.wrapup=function(e){v||u||(0===a.currentSlide&&a.animatingTo===a.last&&a.vars.animationLoop?a.setProps(e,"jumpEnd"):a.currentSlide===a.last&&0===a.animatingTo&&a.vars.animationLoop&&a.setProps(e,"jumpStart")),a.animating=!1,a.currentSlide=a.animatingTo,a.vars.after(a)},a.animateSlides=function(){!a.animating&&f&&a.flexAnimate(a.getTarget("next"))},a.pause=function(){clearInterval(a.animatedSlides),a.animatedSlides=null,a.playing=!1,a.vars.pausePlay&&m.pausePlay.update("play"),a.syncExists&&m.sync("pause")},a.play=function(){a.playing&&clearInterval(a.animatedSlides),a.animatedSlides=a.animatedSlides||setInterval(a.animateSlides,a.vars.slideshowSpeed),a.started=a.playing=!0,a.vars.pausePlay&&m.pausePlay.update("pause"),a.syncExists&&m.sync("play")},a.stop=function(){a.pause(),a.stopped=!0},a.canAdvance=function(e,t){var n=p?a.pagingCount-1:a.last;return t?!0:p&&a.currentItem===a.count-1&&0===e&&"prev"===a.direction?!0:p&&0===a.currentItem&&e===a.pagingCount-1&&"next"!==a.direction?!1:e!==a.currentSlide||p?a.vars.animationLoop?!0:a.atEnd&&0===a.currentSlide&&e===n&&"next"!==a.direction?!1:a.atEnd&&a.currentSlide===n&&0===e&&"next"===a.direction?!1:!0:!1},a.getTarget=function(e){return a.direction=e,"next"===e?a.currentSlide===a.last?0:a.currentSlide+1:0===a.currentSlide?a.last:a.currentSlide-1},a.setProps=function(e,t,n){var i=function(){var n=e?e:(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo,i=function(){if(u)return"setTouch"===t?e:d&&a.animatingTo===a.last?0:d?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:a.animatingTo===a.last?a.limit:n;switch(t){case"setTotal":return d?(a.count-1-a.currentSlide+a.cloneOffset)*e:(a.currentSlide+a.cloneOffset)*e;case"setTouch":return d?e:e;case"jumpEnd":return d?e:a.count*e;case"jumpStart":return d?a.count*e:e;default:return e}}();return-1*i+"px"}();a.transitions&&(i=c?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)",n=void 0!==n?n/1e3+"s":"0s",a.container.css("-"+a.pfx+"-transition-duration",n),a.container.css("transition-duration",n)),a.args[a.prop]=i,(a.transitions||void 0===n)&&a.container.css(a.args),a.container.css("transform",i)},a.setup=function(e){if(v)a.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===e&&(s?a.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+a.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(a.currentSlide).css({opacity:1,zIndex:2}):0==a.vars.fadeFirstSlide?a.slides.css({opacity:0,display:"block",zIndex:1}).eq(a.currentSlide).css({zIndex:2}).css({opacity:1}):a.slides.css({opacity:0,display:"block",zIndex:1}).eq(a.currentSlide).css({zIndex:2}).animate({opacity:1},a.vars.animationSpeed,a.vars.easing)),a.vars.smoothHeight&&m.smoothHeight();else{var t,i;"init"===e&&(a.viewport=$('
    ').css({overflow:"hidden",position:"relative"}).appendTo(a).append(a.container),a.cloneCount=0,a.cloneOffset=0,d&&(i=$.makeArray(a.slides).reverse(),a.slides=$(i),a.container.empty().append(a.slides))),a.vars.animationLoop&&!u&&(a.cloneCount=2,a.cloneOffset=1,"init"!==e&&a.container.find(".clone").remove(),a.container.append(m.uniqueID(a.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(m.uniqueID(a.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),a.newSlides=$(a.vars.selector,a),t=d?a.count-1-a.currentSlide+a.cloneOffset:a.currentSlide+a.cloneOffset,c&&!u?(a.container.height(200*(a.count+a.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){a.newSlides.css({display:"block"}),a.doMath(),a.viewport.height(a.h),a.setProps(t*a.h,"init")},"init"===e?100:0)):(a.container.width(200*(a.count+a.cloneCount)+"%"),a.setProps(t*a.computedW,"init"),setTimeout(function(){a.doMath(),a.newSlides.css({width:a.computedW,"float":"left",display:"block"}),a.vars.smoothHeight&&m.smoothHeight()},"init"===e?100:0))}u||a.slides.removeClass(n+"active-slide").eq(a.currentSlide).addClass(n+"active-slide"),a.vars.init(a)},a.doMath=function(){var e=a.slides.first(),t=a.vars.itemMargin,n=a.vars.minItems,i=a.vars.maxItems;a.w=void 0===a.viewport?a.width():a.viewport.width(),a.h=e.height(),a.boxPadding=e.outerWidth()-e.width(),u?(a.itemT=a.vars.itemWidth+t,a.minW=n?n*a.itemT:a.w,a.maxW=i?i*a.itemT-t:a.w,a.itemW=a.minW>a.w?(a.w-t*(n-1))/n:a.maxWa.w?a.w:a.vars.itemWidth,a.visible=Math.floor(a.w/a.itemW),a.move=a.vars.move>0&&a.vars.movea.w?a.itemW*(a.count-1)+t*(a.count-1):(a.itemW+t)*a.count-a.w-t):(a.itemW=a.w,a.pagingCount=a.count,a.last=a.count-1),a.computedW=a.itemW-a.boxPadding},a.update=function(e,t){a.doMath(),u||(ea.controlNav.length?m.controlNav.update("add"):("remove"===t&&!u||a.pagingCounta.last&&(a.currentSlide-=1,a.animatingTo-=1),m.controlNav.update("remove",a.last))),a.vars.directionNav&&m.directionNav.update()},a.addSlide=function(e,t){var n=$(e);a.count+=1,a.last=a.count-1,c&&d?void 0!==t?a.slides.eq(a.count-t).after(n):a.container.prepend(n):void 0!==t?a.slides.eq(t).before(n):a.container.append(n),a.update(t,"add"),a.slides=$(a.vars.selector+":not(.clone)",a),a.setup(),a.vars.added(a)},a.removeSlide=function(e){var t=isNaN(e)?a.slides.index($(e)):e;a.count-=1,a.last=a.count-1,isNaN(e)?$(e,a.slides).remove():c&&d?a.slides.eq(a.last).remove():a.slides.eq(e).remove(),a.doMath(),a.update(t,"remove"),a.slides=$(a.vars.selector+":not(.clone)",a),a.setup(),a.vars.removed(a)},m.init()},$(window).blur(function(e){focused=!1}).focus(function(e){focused=!0}),$.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},$.fn.flexslider=function(e){if(void 0===e&&(e={}),"object"==typeof e)return this.each(function(){var t=$(this),a=e.selector?e.selector:".slides > li",n=t.find(a);1===n.length&&e.allowOneSlide===!0||0===n.length?(n.fadeIn(400),e.start&&e.start(t)):void 0===t.data("flexslider")&&new $.flexslider(this,e)});var t=$(this).data("flexslider");switch(e){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof e&&t.flexAnimate(e,!0)}}}(jQuery); - -/*! scrollup v2.4.0 */ -!function(l,o,e){"use strict";l.fn.scrollUp=function(o){l.data(e.body,"scrollUp")||(l.data(e.body,"scrollUp",!0),l.fn.scrollUp.init(o))},l.fn.scrollUp.init=function(r){var s,t,c,i,n,a,d,p=l.fn.scrollUp.settings=l.extend({},l.fn.scrollUp.defaults,r),f=!1;switch(d=p.scrollTrigger?l(p.scrollTrigger):l("",{id:p.scrollName,href:"#top"}),p.scrollTitle&&d.attr("title",p.scrollTitle),d.appendTo("body"),p.scrollImg||p.scrollTrigger||d.html(p.scrollText),d.css({display:"none",position:"fixed",zIndex:p.zIndex}),p.activeOverlay&&l("
    ",{id:p.scrollName+"-active"}).css({position:"absolute",top:p.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+p.activeOverlay,zIndex:p.zIndex}).appendTo("body"),p.animation){case"fade":s="fadeIn",t="fadeOut",c=p.animationSpeed;break;case"slide":s="slideDown",t="slideUp",c=p.animationSpeed;break;default:s="show",t="hide",c=0}i="top"===p.scrollFrom?p.scrollDistance:l(e).height()-l(o).height()-p.scrollDistance,n=l(o).scroll(function(){l(o).scrollTop()>i?f||(d[s](c),f=!0):f&&(d[t](c),f=!1)}),p.scrollTarget?"number"==typeof p.scrollTarget?a=p.scrollTarget:"string"==typeof p.scrollTarget&&(a=Math.floor(l(p.scrollTarget).offset().top)):a=0,d.click(function(o){o.preventDefault(),l("html, body").animate({scrollTop:a},p.scrollSpeed,p.easingType)})},l.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},l.fn.scrollUp.destroy=function(r){l.removeData(e.body,"scrollUp"),l("#"+l.fn.scrollUp.settings.scrollName).remove(),l("#"+l.fn.scrollUp.settings.scrollName+"-active").remove(),l.fn.jquery.split(".")[1]>=7?l(o).off("scroll",r):l(o).unbind("scroll",r)},l.scrollUp=l.fn.scrollUp}(jQuery,window,document); - -/*! - * Isotope PACKAGED v3.0.4 - * - * Licensed GPLv3 for open source use - * or Isotope Commercial License for commercial use - * - * http://isotope.metafizzy.co - * Copyright 2017 Metafizzy - */ - -!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){function u(t,e,o){var n,s="$()."+i+'("'+e+'")';return t.each(function(t,u){var h=a.data(u,i);if(!h)return void r(i+" not initialized. Cannot call methods, i.e. "+s);var d=h[e];if(!d||"_"==e.charAt(0))return void r(s+" is not a valid method");var l=d.apply(h,o);n=void 0===n?l:n}),void 0!==n?n:t}function h(t,e){t.each(function(t,o){var n=a.data(o,i);n?(n.option(e),n._init()):(n=new s(o,e),a.data(o,i,n))})}a=a||e||t.jQuery,a&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=n.call(arguments,1);return u(this,t,e)}return h(this,t),this},o(a))}function o(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,r="undefined"==typeof s?function(){}:function(t){s.error(t)};return o(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return o.indexOf(e)==-1&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},o=i[t]=i[t]||{};return o[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return o!=-1&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=0,n=i[o];e=e||[];for(var s=this._onceEvents&&this._onceEvents[t];n;){var r=s&&s[n];r&&(this.off(t,n),delete s[n]),n.apply(this,e),o+=r?0:1,n=i[o]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=t.indexOf("%")==-1&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e
    '),this.modal_arrows=this.lightbox_container.find("div.flex-direction-nav").first(),this.lightbox_container.find("a"+this.strip_spaces(this.options.left_arrow_class)).on("click",function(t){return function(e){return e.preventDefault(),t.navigate_left()}}(this)),this.lightbox_container.find("a"+this.strip_spaces(this.options.right_arrow_class)).on("click",function(t){return function(e){return e.preventDefault(),t.navigate_right()}}(this)))),this.options.type?"image"===this.options.type?this.preloadImage(this.options.remote,!0):"youtube"===this.options.type&&(e=this.getYoutubeId(this.options.remote))?this.showYoutubeVideo(e):"vimeo"===this.options.type?this.showVimeoVideo(this.options.remote):"instagram"===this.options.type?this.showInstagramVideo(this.options.remote):"url"===this.options.type?this.loadRemoteContent(this.options.remote):"video"===this.options.type?this.showVideoIframe(this.options.remote):this.error('Could not detect remote target type. Force the type using data-type="image|youtube|vimeo|instagram|url|video"'):this.detectRemoteType(this.options.remote)):this.error("No remote target given")},strip_stops:function(t){return t.replace(/\./g,"")},strip_spaces:function(t){return t.replace(/\s/g,"")},isImage:function(t){return t.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSwf:function(t){return t.match(/\.(swf)((\?|#).*)?$/i)},getYoutubeId:function(t){var e;return!(!(e=t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/))||11!==e[2].length)&&e[2]},getVimeoId:function(t){return t.indexOf("vimeo")>0&&t},getInstagramId:function(t){return t.indexOf("instagram")>0&&t},navigate:function(t){if(39===(t=t||window.event).keyCode||37===t.keyCode){if(39===t.keyCode)return this.navigate_right();if(37===t.keyCode)return this.navigate_left()}},navigateTo:function(e){var i,n;return 0>e||e>this.gallery_items.length-1?this:(this.showLoading(),this.gallery_index=e,this.$element=t(this.gallery_items.get(this.gallery_index)),this.updateTitleAndFooter(),n=this.$element.attr("data-remote")||this.$element.attr("href"),this.detectRemoteType(n,this.$element.attr("data-type")||!1),this.gallery_index+1'+this.options.loadingMessage+"
    "),this},showYoutubeVideo:function(t){var e,i,n;return i=null!=this.$element.attr("data-norelated")||this.options.no_related?"&rel=0":"",n=this.checkDimensions(this.$element.data("width")||560),e=n/(560/315),this.showVideoIframe("//www.youtube.com/embed/"+t+"?badge=0&autoplay=1&html5=1"+i,n,e)},showVimeoVideo:function(t){var e,i;return i=this.checkDimensions(this.$element.data("width")||560),e=i/(500/281),this.showVideoIframe(t+"?autoplay=1",i,e)},showInstagramVideo:function(t){var e,i;return i=this.checkDimensions(this.$element.data("width")||612),this.resize(i),e=i+80,this.lightbox_body.html(''),this.options.onContentLoaded.call(this),this.modal_arrows?this.modal_arrows.css("display","none"):void 0},showVideoIframe:function(t,e,i){return i=i||e,this.resize(e),this.lightbox_body.html('
    '),this.options.onContentLoaded.call(this),this.modal_arrows&&this.modal_arrows.css("display","none"),this},loadRemoteContent:function(e){var i;return i=this.$element.data("width")||560,this.resize(i),this.$element.data("disableExternalCheck")||!1||this.isExternal(e)?(this.lightbox_body.html(''),this.options.onContentLoaded.call(this)):this.lightbox_body.load(e,t.proxy(function(t){return function(){return t.$element.trigger("loaded.bs.modal")}}(this))),this.modal_arrows&&this.modal_arrows.css("display","none"),this},isExternal:function(t){var e;return"string"==typeof(e=t.match(/^([^:\/?#]+:)?(?:\/\/([^\/?#]*))?([^?#]+)?(\?[^#]*)?(#.*)?/))[1]&&e[1].length>0&&e[1].toLowerCase()!==location.protocol||"string"==typeof e[2]&&e[2].length>0&&e[2].replace(new RegExp(":("+{"http:":80,"https:":443}[location.protocol]+")?$"),"")!==location.host},error:function(t){return this.lightbox_body.html(t),this},preloadImage:function(e,i){var n;return n=new Image,(null==i||!0===i)&&(n.onload=function(e){return function(){var i;return(i=t("")).attr("src",n.src),i.addClass("img-responsive"),e.lightbox_body.html(i),e.modal_arrows&&e.modal_arrows.css("display","block"),i.load(function(){return e.options.scale_height?e.scaleHeight(n.height,n.width):e.resize(n.width),e.options.onContentLoaded.call(e)})}}(this),n.onerror=function(t){return function(){return t.error("Failed to load image: "+e)}}(this)),n.src=e,n},scaleHeight:function(e,i){var n,o,s,r,a,l;return r=this.modal_header.outerHeight(!0)||0,s=this.modal_footer.outerHeight(!0)||0,this.modal_footer.is(":visible")||(s=0),this.modal_header.is(":visible")||(r=0),n=this.border.top+this.border.bottom+this.padding.top+this.padding.bottom,a=parseFloat(this.modal_dialog.css("margin-top"))+parseFloat(this.modal_dialog.css("margin-bottom")),l=t(window).height()-n-a-r-s,o=Math.min(l/e,1),this.modal_dialog.css("height","auto").css("max-height",l),this.resize(o*i)},resize:function(e){var i;return i=e+this.border.left+this.padding.left+this.padding.right+this.border.right,this.modal_dialog.css("width","auto").css("max-width",i),this.lightbox_container.find("a").css("line-height",function(){return t(this).parent().height()+"px"}),this},checkDimensions:function(t){var e,i;return i=t+this.border.left+this.padding.left+this.padding.right+this.border.right,e=document.body.clientWidth,i>e&&(t=this.modal_body.width()),t},close:function(){return this.modal.modal("hide")},addTrailingSlash:function(t){return"/"!==t.substr(-1)&&(t+="/"),t}},t.fn.ekkoLightbox=function(i){return this.each(function(){var n;return n=t(this),i=t.extend({remote:n.attr("data-remote")||n.attr("href"),gallery_parent_selector:n.attr("data-parent"),type:n.attr("data-type")},i,n.data()),new e(this,i),this})},t.fn.ekkoLightbox.defaults={gallery_parent_selector:"document.body",left_arrow_class:".glyphicon .glyphicon-chevron-left",right_arrow_class:".glyphicon .glyphicon-chevron-right",directional_arrows:!0,type:null,always_show_close:!0,no_related:!1,scale_height:!0,loadingMessage:"Loading...",onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){},onNavigate:function(){},onContentLoaded:function(){}}}.call(this),function(t){t.flexslider=function(e,i){var n=t(e);n.vars=t.extend({},t.flexslider.defaults,i);var o,s=n.vars.namespace,r=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,a=("ontouchstart"in window||r||window.DocumentTouch&&document instanceof DocumentTouch)&&n.vars.touch,l="click touchend MSPointerUp keyup",d="",h="vertical"===n.vars.direction,c=n.vars.reverse,u=n.vars.itemWidth>0,p="fade"===n.vars.animation,f=""!==n.vars.asNavFor,m={};t.data(e,"flexslider",n),m={init:function(){n.animating=!1,n.currentSlide=parseInt(n.vars.startAt?n.vars.startAt:0,10),isNaN(n.currentSlide)&&(n.currentSlide=0),n.animatingTo=n.currentSlide,n.atEnd=0===n.currentSlide||n.currentSlide===n.last,n.containerSelector=n.vars.selector.substr(0,n.vars.selector.search(" ")),n.slides=t(n.vars.selector,n),n.container=t(n.containerSelector,n),n.count=n.slides.length,n.syncExists=t(n.vars.sync).length>0,"slide"===n.vars.animation&&(n.vars.animation="swing"),n.prop=h?"top":"marginLeft",n.args={},n.manualPause=!1,n.stopped=!1,n.started=!1,n.startTimeout=null,n.transitions=!n.vars.video&&!p&&n.vars.useCSS&&function(){var t=document.createElement("div"),e=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return n.pfx=e[i].replace("Perspective","").toLowerCase(),n.prop="-"+n.pfx+"-transform",!0;return!1}(),n.ensureAnimationEnd="",""!==n.vars.controlsContainer&&(n.controlsContainer=t(n.vars.controlsContainer).length>0&&t(n.vars.controlsContainer)),""!==n.vars.manualControls&&(n.manualControls=t(n.vars.manualControls).length>0&&t(n.vars.manualControls)),n.vars.randomize&&(n.slides.sort(function(){return Math.round(Math.random())-.5}),n.container.empty().append(n.slides)),n.doMath(),n.setup("init"),n.vars.controlNav&&m.controlNav.setup(),n.vars.directionNav&&m.directionNav.setup(),n.vars.keyboard&&(1===t(n.containerSelector).length||n.vars.multipleKeyboard)&&t(document).bind("keyup",function(t){var e=t.keyCode;if(!n.animating&&(39===e||37===e)){var i=39===e?n.getTarget("next"):37===e&&n.getTarget("prev");n.flexAnimate(i,n.vars.pauseOnAction)}}),n.vars.mousewheel&&n.bind("mousewheel",function(t,e,i,o){t.preventDefault();var s=n.getTarget(0>e?"next":"prev");n.flexAnimate(s,n.vars.pauseOnAction)}),n.vars.pausePlay&&m.pausePlay.setup(),n.vars.slideshow&&n.vars.pauseInvisible&&m.pauseInvisible.init(),n.vars.slideshow&&(n.vars.pauseOnHover&&n.hover(function(){n.manualPlay||n.manualPause||n.pause()},function(){n.manualPause||n.manualPlay||n.stopped||n.play()}),n.vars.pauseInvisible&&m.pauseInvisible.isHidden()||(n.vars.initDelay>0?n.startTimeout=setTimeout(n.play,n.vars.initDelay):n.play())),f&&m.asNav.setup(),a&&n.vars.touch&&m.touch(),(!p||p&&n.vars.smoothHeight)&&t(window).bind("resize orientationchange focus",m.resize),n.find("img").attr("draggable","false"),setTimeout(function(){n.vars.start(n)},200)},asNav:{setup:function(){n.asNav=!0,n.animatingTo=Math.floor(n.currentSlide/n.move),n.currentItem=n.currentSlide,n.slides.removeClass(s+"active-slide").eq(n.currentItem).addClass(s+"active-slide"),r?(e._slider=n,n.slides.each(function(){var e=this;e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",function(t){t.preventDefault(),t.currentTarget._gesture&&t.currentTarget._gesture.addPointer(t.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var i=t(this),o=i.index();t(n.vars.asNavFor).data("flexslider").animating||i.hasClass("active")||(n.direction=n.currentItem=i.offset().left-t(n).scrollLeft()&&i.hasClass(s+"active-slide")?n.flexAnimate(n.getTarget("prev"),!0):t(n.vars.asNavFor).data("flexslider").animating||i.hasClass(s+"active-slide")||(n.direction=n.currentItem'),n.pagingCount>1)for(var a=0;a':""+r+"","thumbnails"===n.vars.controlNav&&!0===n.vars.thumbCaptions){var h=i.attr("data-thumbcaption");""!=h&&void 0!=h&&(e+=''+h+"")}n.controlNavScaffold.append("
  • "+e+"
  • "),r++}n.controlsContainer?t(n.controlsContainer).append(n.controlNavScaffold):n.append(n.controlNavScaffold),m.controlNav.set(),m.controlNav.active(),n.controlNavScaffold.delegate("a, img",l,function(e){if(e.preventDefault(),""===d||d===e.type){var i=t(this),o=n.controlNav.index(i);i.hasClass(s+"active")||(n.direction=o>n.currentSlide?"next":"prev",n.flexAnimate(o,n.vars.pauseOnAction))}""===d&&(d=e.type),m.setToClearWatchedEvent()})},setupManual:function(){n.controlNav=n.manualControls,m.controlNav.active(),n.controlNav.bind(l,function(e){if(e.preventDefault(),""===d||d===e.type){var i=t(this),o=n.controlNav.index(i);i.hasClass(s+"active")||(n.direction=o>n.currentSlide?"next":"prev",n.flexAnimate(o,n.vars.pauseOnAction))}""===d&&(d=e.type),m.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===n.vars.controlNav?"img":"a";n.controlNav=t("."+s+"control-nav li "+e,n.controlsContainer?n.controlsContainer:n)},active:function(){n.controlNav.removeClass(s+"active").eq(n.animatingTo).addClass(s+"active")},update:function(e,i){n.pagingCount>1&&"add"===e?n.controlNavScaffold.append(t("
  • "+n.count+"
  • ")):1===n.pagingCount?n.controlNavScaffold.find("li").remove():n.controlNav.eq(i).closest("li").remove(),m.controlNav.set(),n.pagingCount>1&&n.pagingCount!==n.controlNav.length?n.update(i,e):m.controlNav.active()}},directionNav:{setup:function(){var e=t('");n.controlsContainer?(t(n.controlsContainer).append(e),n.directionNav=t("."+s+"direction-nav li a",n.controlsContainer)):(n.append(e),n.directionNav=t("."+s+"direction-nav li a",n)),m.directionNav.update(),n.directionNav.bind(l,function(e){e.preventDefault();var i;(""===d||d===e.type)&&(i=n.getTarget(t(this).hasClass(s+"next")?"next":"prev"),n.flexAnimate(i,n.vars.pauseOnAction)),""===d&&(d=e.type),m.setToClearWatchedEvent()})},update:function(){var t=s+"disabled";1===n.pagingCount?n.directionNav.addClass(t).attr("tabindex","-1"):n.vars.animationLoop?n.directionNav.removeClass(t).removeAttr("tabindex"):0===n.animatingTo?n.directionNav.removeClass(t).filter("."+s+"prev").addClass(t).attr("tabindex","-1"):n.animatingTo===n.last?n.directionNav.removeClass(t).filter("."+s+"next").addClass(t).attr("tabindex","-1"):n.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=t('
    ');n.controlsContainer?(n.controlsContainer.append(e),n.pausePlay=t("."+s+"pauseplay a",n.controlsContainer)):(n.append(e),n.pausePlay=t("."+s+"pauseplay a",n)),m.pausePlay.update(n.vars.slideshow?s+"pause":s+"play"),n.pausePlay.bind(l,function(e){e.preventDefault(),(""===d||d===e.type)&&(t(this).hasClass(s+"pause")?(n.manualPause=!0,n.manualPlay=!1,n.pause()):(n.manualPause=!1,n.manualPlay=!0,n.play())),""===d&&(d=e.type),m.setToClearWatchedEvent()})},update:function(t){"play"===t?n.pausePlay.removeClass(s+"pause").addClass(s+"play").html(n.vars.playText):n.pausePlay.removeClass(s+"play").addClass(s+"pause").html(n.vars.pauseText)}},touch:function(){function t(t){v=t.touches[0].pageX,g=t.touches[0].pageY,d=h?o-g:o-v;(!(m=h?Math.abs(d)500)&&(t.preventDefault(),!p&&n.transitions&&(n.vars.animationLoop||(d/=0===n.currentSlide&&0>d||n.currentSlide===n.last&&d>0?Math.abs(d)/l+2:1),n.setProps(a+d,"setTouch")))}function i(r){if(e.removeEventListener("touchmove",t,!1),n.animatingTo===n.currentSlide&&!m&&null!==d){var h=c?-d:d,u=n.getTarget(h>0?"next":"prev");n.canAdvance(u)&&(Number(new Date)-f<550&&Math.abs(h)>50||Math.abs(h)>l/2)?n.flexAnimate(u,n.vars.pauseOnAction):p||n.flexAnimate(n.currentSlide,n.vars.pauseOnAction,!0)}e.removeEventListener("touchend",i,!1),o=null,s=null,d=null,a=null}var o,s,a,l,d,f,m=!1,v=0,g=0,y=0;r?(e.style.msTouchAction="none",e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",function(t){t.stopPropagation(),n.animating?t.preventDefault():(n.pause(),e._gesture.addPointer(t.pointerId),y=0,l=h?n.h:n.w,f=Number(new Date),a=u&&c&&n.animatingTo===n.last?0:u&&c?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:u&&n.currentSlide===n.last?n.limit:u?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:c?(n.last-n.currentSlide+n.cloneOffset)*l:(n.currentSlide+n.cloneOffset)*l)},!1),e._slider=n,e.addEventListener("MSGestureChange",function(t){t.stopPropagation();var i=t.target._slider;if(i){var n=-t.translationX,o=-t.translationY;return y+=h?o:n,d=y,m=h?Math.abs(y)500)&&(t.preventDefault(),!p&&i.transitions&&(i.vars.animationLoop||(d=y/(0===i.currentSlide&&0>y||i.currentSlide===i.last&&y>0?Math.abs(y)/l+2:1)),i.setProps(a+d,"setTouch"))))}},!1),e.addEventListener("MSGestureEnd",function(t){t.stopPropagation();var e=t.target._slider;if(e){if(e.animatingTo===e.currentSlide&&!m&&null!==d){var i=c?-d:d,n=e.getTarget(i>0?"next":"prev");e.canAdvance(n)&&(Number(new Date)-f<550&&Math.abs(i)>50||Math.abs(i)>l/2)?e.flexAnimate(n,e.vars.pauseOnAction):p||e.flexAnimate(e.currentSlide,e.vars.pauseOnAction,!0)}o=null,s=null,d=null,a=null,y=0}},!1)):e.addEventListener("touchstart",function(r){n.animating?r.preventDefault():(window.navigator.msPointerEnabled||1===r.touches.length)&&(n.pause(),l=h?n.h:n.w,f=Number(new Date),v=r.touches[0].pageX,g=r.touches[0].pageY,a=u&&c&&n.animatingTo===n.last?0:u&&c?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:u&&n.currentSlide===n.last?n.limit:u?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:c?(n.last-n.currentSlide+n.cloneOffset)*l:(n.currentSlide+n.cloneOffset)*l,o=h?g:v,s=h?v:g,e.addEventListener("touchmove",t,!1),e.addEventListener("touchend",i,!1))},!1)},resize:function(){!n.animating&&n.is(":visible")&&(u||n.doMath(),p?m.smoothHeight():u?(n.slides.width(n.computedW),n.update(n.pagingCount),n.setProps()):h?(n.viewport.height(n.h),n.setProps(n.h,"setTotal")):(n.vars.smoothHeight&&m.smoothHeight(),n.newSlides.width(n.computedW),n.setProps(n.computedW,"setTotal")))},smoothHeight:function(t){if(!h||p){var e=p?n:n.viewport;t?e.animate({height:n.slides.eq(n.animatingTo).height()},t):e.height(n.slides.eq(n.animatingTo).height())}},sync:function(e){var i=t(n.vars.sync).data("flexslider"),o=n.animatingTo;switch(e){case"animate":i.flexAnimate(o,n.vars.pauseOnAction,!1,!0);break;case"play":i.playing||i.asNav||i.play();break;case"pause":i.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=t(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var t=m.pauseInvisible.getHiddenProp();if(t){var e=t.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(e,function(){m.pauseInvisible.isHidden()?n.startTimeout?clearTimeout(n.startTimeout):n.pause():n.started?n.play():n.vars.initDelay>0?setTimeout(n.play,n.vars.initDelay):n.play()})}},isHidden:function(){var t=m.pauseInvisible.getHiddenProp();return!!t&&document[t]},getHiddenProp:function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;en.currentSlide?"next":"prev"),f&&1===n.pagingCount&&(n.direction=n.currentItemn.limit&&1!==n.visible?n.limit:y):g=0===n.currentSlide&&e===n.count-1&&n.vars.animationLoop&&"next"!==n.direction?c?(n.count+n.cloneOffset)*b:0:n.currentSlide===n.last&&0===e&&n.vars.animationLoop&&"prev"!==n.direction?c?0:(n.count+1)*b:c?(n.count-1-e+n.cloneOffset)*b:(e+n.cloneOffset)*b,n.setProps(g,"",n.vars.animationSpeed),n.transitions?(n.vars.animationLoop&&n.atEnd||(n.animating=!1,n.currentSlide=n.animatingTo),n.container.unbind("webkitTransitionEnd transitionend"),n.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(n.ensureAnimationEnd),n.wrapup(b)}),clearTimeout(n.ensureAnimationEnd),n.ensureAnimationEnd=setTimeout(function(){n.wrapup(b)},n.vars.animationSpeed+100)):n.container.animate(n.args,n.vars.animationSpeed,n.vars.easing,function(){n.wrapup(b)})}n.vars.smoothHeight&&m.smoothHeight(n.vars.animationSpeed)}},n.wrapup=function(t){p||u||(0===n.currentSlide&&n.animatingTo===n.last&&n.vars.animationLoop?n.setProps(t,"jumpEnd"):n.currentSlide===n.last&&0===n.animatingTo&&n.vars.animationLoop&&n.setProps(t,"jumpStart")),n.animating=!1,n.currentSlide=n.animatingTo,n.vars.after(n)},n.animateSlides=function(){!n.animating&&!0&&n.flexAnimate(n.getTarget("next"))},n.pause=function(){clearInterval(n.animatedSlides),n.animatedSlides=null,n.playing=!1,n.vars.pausePlay&&m.pausePlay.update("play"),n.syncExists&&m.sync("pause")},n.play=function(){n.playing&&clearInterval(n.animatedSlides),n.animatedSlides=n.animatedSlides||setInterval(n.animateSlides,n.vars.slideshowSpeed),n.started=n.playing=!0,n.vars.pausePlay&&m.pausePlay.update("pause"),n.syncExists&&m.sync("play")},n.stop=function(){n.pause(),n.stopped=!0},n.canAdvance=function(t,e){var i=f?n.pagingCount-1:n.last;return!!e||(!(!f||n.currentItem!==n.count-1||0!==t||"prev"!==n.direction)||(!f||0!==n.currentItem||t!==n.pagingCount-1||"next"===n.direction)&&(!(t===n.currentSlide&&!f)&&(!!n.vars.animationLoop||(!n.atEnd||0!==n.currentSlide||t!==i||"next"===n.direction)&&(!n.atEnd||n.currentSlide!==i||0!==t||"next"!==n.direction))))},n.getTarget=function(t){return n.direction=t,"next"===t?n.currentSlide===n.last?0:n.currentSlide+1:0===n.currentSlide?n.last:n.currentSlide-1},n.setProps=function(t,e,i){var o=function(){var i=t||(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo;return-1*function(){if(u)return"setTouch"===e?t:c&&n.animatingTo===n.last?0:c?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:n.animatingTo===n.last?n.limit:i;switch(e){case"setTotal":return c?(n.count-1-n.currentSlide+n.cloneOffset)*t:(n.currentSlide+n.cloneOffset)*t;case"setTouch":return t;case"jumpEnd":return c?t:n.count*t;case"jumpStart":return c?n.count*t:t;default:return t}}()+"px"}();n.transitions&&(o=h?"translate3d(0,"+o+",0)":"translate3d("+o+",0,0)",i=void 0!==i?i/1e3+"s":"0s",n.container.css("-"+n.pfx+"-transition-duration",i),n.container.css("transition-duration",i)),n.args[n.prop]=o,(n.transitions||void 0===i)&&n.container.css(n.args),n.container.css("transform",o)},n.setup=function(e){if(p)n.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===e&&(a?n.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+n.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(n.currentSlide).css({opacity:1,zIndex:2}):0==n.vars.fadeFirstSlide?n.slides.css({opacity:0,display:"block",zIndex:1}).eq(n.currentSlide).css({zIndex:2}).css({opacity:1}):n.slides.css({opacity:0,display:"block",zIndex:1}).eq(n.currentSlide).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing)),n.vars.smoothHeight&&m.smoothHeight();else{var i,o;"init"===e&&(n.viewport=t('
    ').css({overflow:"hidden",position:"relative"}).appendTo(n).append(n.container),n.cloneCount=0,n.cloneOffset=0,c&&(o=t.makeArray(n.slides).reverse(),n.slides=t(o),n.container.empty().append(n.slides))),n.vars.animationLoop&&!u&&(n.cloneCount=2,n.cloneOffset=1,"init"!==e&&n.container.find(".clone").remove(),n.container.append(m.uniqueID(n.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(m.uniqueID(n.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),n.newSlides=t(n.vars.selector,n),i=c?n.count-1-n.currentSlide+n.cloneOffset:n.currentSlide+n.cloneOffset,h&&!u?(n.container.height(200*(n.count+n.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){n.newSlides.css({display:"block"}),n.doMath(),n.viewport.height(n.h),n.setProps(i*n.h,"init")},"init"===e?100:0)):(n.container.width(200*(n.count+n.cloneCount)+"%"),n.setProps(i*n.computedW,"init"),setTimeout(function(){n.doMath(),n.newSlides.css({width:n.computedW,float:"left",display:"block"}),n.vars.smoothHeight&&m.smoothHeight()},"init"===e?100:0))}u||n.slides.removeClass(s+"active-slide").eq(n.currentSlide).addClass(s+"active-slide"),n.vars.init(n)},n.doMath=function(){var t=n.slides.first(),e=n.vars.itemMargin,i=n.vars.minItems,o=n.vars.maxItems;n.w=void 0===n.viewport?n.width():n.viewport.width(),n.h=t.height(),n.boxPadding=t.outerWidth()-t.width(),u?(n.itemT=n.vars.itemWidth+e,n.minW=i?i*n.itemT:n.w,n.maxW=o?o*n.itemT-e:n.w,n.itemW=n.minW>n.w?(n.w-e*(i-1))/i:n.maxWn.w?n.w:n.vars.itemWidth,n.visible=Math.floor(n.w/n.itemW),n.move=n.vars.move>0&&n.vars.moven.w?n.itemW*(n.count-1)+e*(n.count-1):(n.itemW+e)*n.count-n.w-e):(n.itemW=n.w,n.pagingCount=n.count,n.last=n.count-1),n.computedW=n.itemW-n.boxPadding},n.update=function(t,e){n.doMath(),u||(tn.controlNav.length?m.controlNav.update("add"):("remove"===e&&!u||n.pagingCountn.last&&(n.currentSlide-=1,n.animatingTo-=1),m.controlNav.update("remove",n.last))),n.vars.directionNav&&m.directionNav.update()},n.addSlide=function(e,i){var o=t(e);n.count+=1,n.last=n.count-1,h&&c?void 0!==i?n.slides.eq(n.count-i).after(o):n.container.prepend(o):void 0!==i?n.slides.eq(i).before(o):n.container.append(o),n.update(i,"add"),n.slides=t(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.added(n)},n.removeSlide=function(e){var i=isNaN(e)?n.slides.index(t(e)):e;n.count-=1,n.last=n.count-1,isNaN(e)?t(e,n.slides).remove():h&&c?n.slides.eq(n.last).remove():n.slides.eq(e).remove(),n.doMath(),n.update(i,"remove"),n.slides=t(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.removed(n)},m.init()},t(window).blur(function(t){focused=!1}).focus(function(t){focused=!0}),t.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},t.fn.flexslider=function(e){if(void 0===e&&(e={}),"object"==typeof e)return this.each(function(){var i=t(this),n=e.selector?e.selector:".slides > li",o=i.find(n);1===o.length&&!0===e.allowOneSlide||0===o.length?(o.fadeIn(400),e.start&&e.start(i)):void 0===i.data("flexslider")&&new t.flexslider(this,e)});var i=t(this).data("flexslider");switch(e){case"play":i.play();break;case"pause":i.pause();break;case"stop":i.stop();break;case"next":i.flexAnimate(i.getTarget("next"),!0);break;case"prev":case"previous":i.flexAnimate(i.getTarget("prev"),!0);break;default:"number"==typeof e&&i.flexAnimate(e,!0)}}}(jQuery),function(t,e,i){"use strict";t.fn.scrollUp=function(e){t.data(i.body,"scrollUp")||(t.data(i.body,"scrollUp",!0),t.fn.scrollUp.init(e))},t.fn.scrollUp.init=function(n){var o,s,r,a,l,d,h=t.fn.scrollUp.settings=t.extend({},t.fn.scrollUp.defaults,n),c=!1;switch(d=h.scrollTrigger?t(h.scrollTrigger):t("",{id:h.scrollName,href:"#top"}),h.scrollTitle&&d.attr("title",h.scrollTitle),d.appendTo("body"),h.scrollImg||h.scrollTrigger||d.html(h.scrollText),d.css({display:"none",position:"fixed",zIndex:h.zIndex}),h.activeOverlay&&t("
    ",{id:h.scrollName+"-active"}).css({position:"absolute",top:h.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+h.activeOverlay,zIndex:h.zIndex}).appendTo("body"),h.animation){case"fade":o="fadeIn",s="fadeOut",r=h.animationSpeed;break;case"slide":o="slideDown",s="slideUp",r=h.animationSpeed;break;default:o="show",s="hide",r=0}a="top"===h.scrollFrom?h.scrollDistance:t(i).height()-t(e).height()-h.scrollDistance,t(e).scroll(function(){t(e).scrollTop()>a?c||(d[o](r),c=!0):c&&(d[s](r),c=!1)}),h.scrollTarget?"number"==typeof h.scrollTarget?l=h.scrollTarget:"string"==typeof h.scrollTarget&&(l=Math.floor(t(h.scrollTarget).offset().top)):l=0,d.click(function(e){e.preventDefault(),t("html, body").animate({scrollTop:l},h.scrollSpeed,h.easingType)})},t.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},t.fn.scrollUp.destroy=function(n){t.removeData(i.body,"scrollUp"),t("#"+t.fn.scrollUp.settings.scrollName).remove(),t("#"+t.fn.scrollUp.settings.scrollName+"-active").remove(),t.fn.jquery.split(".")[1]>=7?t(e).off("scroll",n):t(e).unbind("scroll",n)},t.scrollUp=t.fn.scrollUp}(jQuery,window,document),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){function l(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var d=a.data(l,i);if(d){var h=d[e];if(h&&"_"!=e.charAt(0)){var c=h.apply(d,n);o=void 0===o?c:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}function d(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))})}(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?l(this,t,o.call(arguments,1)):(d(this,t),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var s=this._onceEvents&&this._onceEvents[t];o;){var r=s&&s[o];r&&(this.off(t,o),delete s[o]),o.apply(this,e),o=i[n+=r?0:1]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e
    + + +
    + + +

    Get started here.', 'accesspress-parallax' ), esc_url( admin_url( 'post-new.php' ) ) ); ?>

    + + + +

    + + + + +

    + + + +
    +
    diff --git a/content-page.php b/content-page.php new file mode 100644 index 0000000..5ead1ec --- /dev/null +++ b/content-page.php @@ -0,0 +1,26 @@ + + +
    > +
    + ', '' ); ?> +
    + +
    + + '', + ) ); + ?> +
    +
    + '. __( 'Edit', 'accesspress-parallax' ), '', '' ); ?> +
    +
    \ No newline at end of file diff --git a/content-search.php b/content-search.php new file mode 100644 index 0000000..1ba7228 --- /dev/null +++ b/content-search.php @@ -0,0 +1,55 @@ + + + \ No newline at end of file diff --git a/content-single.php b/content-single.php new file mode 100644 index 0000000..3122aec --- /dev/null +++ b/content-single.php @@ -0,0 +1,57 @@ + +
    > +
    + +
    + + <?php echo esc_attr(get_the_title()); ?> +
    + + +

    + + +
    + +
    + + '', + ) ); + ?> +
    + + +
    + '.$category_list; + } + + if( '' != $tag_list ){ + echo ''.$tag_list; + } + ?> +
    + +'. __( 'Edit', 'accesspress-parallax' ), '', '' ); ?> +
    diff --git a/content.php b/content.php new file mode 100644 index 0000000..5e60017 --- /dev/null +++ b/content.php @@ -0,0 +1,69 @@ + + + +
    > + +
    + + <?php echo esc_attr( get_the_title() ); ?> +
    + + +
    +

    + + + + + +
    + +
    + →', 'accesspress-parallax' ) ); ?> + '', + ) ); + ?> +
    + +
    + + + + Posted in %1$s', 'accesspress-parallax' ), $categories_list ); ?> + + + + + + Tagged %1$s', 'accesspress-parallax' ), $tags_list ); ?> + + + + + + Leave a comment', 'accesspress-parallax' ), __( '1 Comment', 'accesspress-parallax' ), __( '% Comments', 'accesspress-parallax' ) ); ?> + +
    + '. __( 'Edit', 'accesspress-parallax' ), '', '' ); ?> +
    \ No newline at end of file diff --git a/css/animate.css b/css/animate.css new file mode 100644 index 0000000..ac82abb --- /dev/null +++ b/css/animate.css @@ -0,0 +1,2741 @@ +/*! +Animate.css - http://daneden.me/animate +Licensed under the MIT license + +Copyright (c) 2013 Daniel Eden + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ + +.animated { + -webkit-animation-duration: 1s; + animation-duration: 1s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; +} + +.animated.hinge { + -webkit-animation-duration: 2s; + animation-duration: 2s; +} + +@-webkit-keyframes bounce { + 0%, 20%, 50%, 80%, 100% { + -webkit-transform: translateY(0); + transform: translateY(0); + } + + 40% { + -webkit-transform: translateY(-30px); + transform: translateY(-30px); + } + + 60% { + -webkit-transform: translateY(-15px); + transform: translateY(-15px); + } +} + +@keyframes bounce { + 0%, 20%, 50%, 80%, 100% { + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } + + 40% { + -webkit-transform: translateY(-30px); + -ms-transform: translateY(-30px); + transform: translateY(-30px); + } + + 60% { + -webkit-transform: translateY(-15px); + -ms-transform: translateY(-15px); + transform: translateY(-15px); + } +} + +.bounce { + -webkit-animation-name: bounce; + animation-name: bounce; +} + +@-webkit-keyframes flash { + 0%, 50%, 100% { + opacity: 1; + } + + 25%, 75% { + opacity: 0; + } +} + +@keyframes flash { + 0%, 50%, 100% { + opacity: 1; + } + + 25%, 75% { + opacity: 0; + } +} + +.flash { + -webkit-animation-name: flash; + animation-name: flash; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes pulse { + 0% { + -webkit-transform: scale(1); + transform: scale(1); + } + + 50% { + -webkit-transform: scale(1.1); + transform: scale(1.1); + } + + 100% { + -webkit-transform: scale(1); + transform: scale(1); + } +} + +@keyframes pulse { + 0% { + -webkit-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } + + 50% { + -webkit-transform: scale(1.1); + -ms-transform: scale(1.1); + transform: scale(1.1); + } + + 100% { + -webkit-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } +} + +.pulse { + -webkit-animation-name: pulse; + animation-name: pulse; +} + +@-webkit-keyframes shake { + 0%, 100% { + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 10%, 30%, 50%, 70%, 90% { + -webkit-transform: translateX(-10px); + transform: translateX(-10px); + } + + 20%, 40%, 60%, 80% { + -webkit-transform: translateX(10px); + transform: translateX(10px); + } +} + +@keyframes shake { + 0%, 100% { + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } + + 10%, 30%, 50%, 70%, 90% { + -webkit-transform: translateX(-10px); + -ms-transform: translateX(-10px); + transform: translateX(-10px); + } + + 20%, 40%, 60%, 80% { + -webkit-transform: translateX(10px); + -ms-transform: translateX(10px); + transform: translateX(10px); + } +} + +.shake { + -webkit-animation-name: shake; + animation-name: shake; +} + +@-webkit-keyframes swing { + 20% { + -webkit-transform: rotate(15deg); + transform: rotate(15deg); + } + + 40% { + -webkit-transform: rotate(-10deg); + transform: rotate(-10deg); + } + + 60% { + -webkit-transform: rotate(5deg); + transform: rotate(5deg); + } + + 80% { + -webkit-transform: rotate(-5deg); + transform: rotate(-5deg); + } + + 100% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } +} + +@keyframes swing { + 20% { + -webkit-transform: rotate(15deg); + -ms-transform: rotate(15deg); + transform: rotate(15deg); + } + + 40% { + -webkit-transform: rotate(-10deg); + -ms-transform: rotate(-10deg); + transform: rotate(-10deg); + } + + 60% { + -webkit-transform: rotate(5deg); + -ms-transform: rotate(5deg); + transform: rotate(5deg); + } + + 80% { + -webkit-transform: rotate(-5deg); + -ms-transform: rotate(-5deg); + transform: rotate(-5deg); + } + + 100% { + -webkit-transform: rotate(0deg); + -ms-transform: rotate(0deg); + transform: rotate(0deg); + } +} + +.swing { + -webkit-transform-origin: top center; + -ms-transform-origin: top center; + transform-origin: top center; + -webkit-animation-name: swing; + animation-name: swing; +} + +@-webkit-keyframes tada { + 0% { + -webkit-transform: scale(1); + transform: scale(1); + } + + 10%, 20% { + -webkit-transform: scale(0.9) rotate(-3deg); + transform: scale(0.9) rotate(-3deg); + } + + 30%, 50%, 70%, 90% { + -webkit-transform: scale(1.1) rotate(3deg); + transform: scale(1.1) rotate(3deg); + } + + 40%, 60%, 80% { + -webkit-transform: scale(1.1) rotate(-3deg); + transform: scale(1.1) rotate(-3deg); + } + + 100% { + -webkit-transform: scale(1) rotate(0); + transform: scale(1) rotate(0); + } +} + +@keyframes tada { + 0% { + -webkit-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } + + 10%, 20% { + -webkit-transform: scale(0.9) rotate(-3deg); + -ms-transform: scale(0.9) rotate(-3deg); + transform: scale(0.9) rotate(-3deg); + } + + 30%, 50%, 70%, 90% { + -webkit-transform: scale(1.1) rotate(3deg); + -ms-transform: scale(1.1) rotate(3deg); + transform: scale(1.1) rotate(3deg); + } + + 40%, 60%, 80% { + -webkit-transform: scale(1.1) rotate(-3deg); + -ms-transform: scale(1.1) rotate(-3deg); + transform: scale(1.1) rotate(-3deg); + } + + 100% { + -webkit-transform: scale(1) rotate(0); + -ms-transform: scale(1) rotate(0); + transform: scale(1) rotate(0); + } +} + +.tada { + -webkit-animation-name: tada; + animation-name: tada; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes wobble { + 0% { + -webkit-transform: translateX(0%); + transform: translateX(0%); + } + + 15% { + -webkit-transform: translateX(-25%) rotate(-5deg); + transform: translateX(-25%) rotate(-5deg); + } + + 30% { + -webkit-transform: translateX(20%) rotate(3deg); + transform: translateX(20%) rotate(3deg); + } + + 45% { + -webkit-transform: translateX(-15%) rotate(-3deg); + transform: translateX(-15%) rotate(-3deg); + } + + 60% { + -webkit-transform: translateX(10%) rotate(2deg); + transform: translateX(10%) rotate(2deg); + } + + 75% { + -webkit-transform: translateX(-5%) rotate(-1deg); + transform: translateX(-5%) rotate(-1deg); + } + + 100% { + -webkit-transform: translateX(0%); + transform: translateX(0%); + } +} + +@keyframes wobble { + 0% { + -webkit-transform: translateX(0%); + -ms-transform: translateX(0%); + transform: translateX(0%); + } + + 15% { + -webkit-transform: translateX(-25%) rotate(-5deg); + -ms-transform: translateX(-25%) rotate(-5deg); + transform: translateX(-25%) rotate(-5deg); + } + + 30% { + -webkit-transform: translateX(20%) rotate(3deg); + -ms-transform: translateX(20%) rotate(3deg); + transform: translateX(20%) rotate(3deg); + } + + 45% { + -webkit-transform: translateX(-15%) rotate(-3deg); + -ms-transform: translateX(-15%) rotate(-3deg); + transform: translateX(-15%) rotate(-3deg); + } + + 60% { + -webkit-transform: translateX(10%) rotate(2deg); + -ms-transform: translateX(10%) rotate(2deg); + transform: translateX(10%) rotate(2deg); + } + + 75% { + -webkit-transform: translateX(-5%) rotate(-1deg); + -ms-transform: translateX(-5%) rotate(-1deg); + transform: translateX(-5%) rotate(-1deg); + } + + 100% { + -webkit-transform: translateX(0%); + -ms-transform: translateX(0%); + transform: translateX(0%); + } +} + +.wobble { + -webkit-animation-name: wobble; + animation-name: wobble; +} + +@-webkit-keyframes bounceIn { + 0% { + opacity: 0; + -webkit-transform: scale(.3); + transform: scale(.3); + } + + 50% { + opacity: 1; + -webkit-transform: scale(1.05); + transform: scale(1.05); + } + + 70% { + -webkit-transform: scale(.9); + transform: scale(.9); + } + + 100% { + -webkit-transform: scale(1); + transform: scale(1); + } +} + +@keyframes bounceIn { + 0% { + opacity: 0; + -webkit-transform: scale(.3); + -ms-transform: scale(.3); + transform: scale(.3); + } + + 50% { + opacity: 1; + -webkit-transform: scale(1.05); + -ms-transform: scale(1.05); + transform: scale(1.05); + } + + 70% { + -webkit-transform: scale(.9); + -ms-transform: scale(.9); + transform: scale(.9); + } + + 100% { + -webkit-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } +} + +.bounceIn { + -webkit-animation-name: bounceIn; + animation-name: bounceIn; +} + +@-webkit-keyframes bounceInDown { + 0% { + opacity: 0; + -webkit-transform: translateY(-2000px); + transform: translateY(-2000px); + } + + 60% { + opacity: 1; + -webkit-transform: translateY(30px); + transform: translateY(30px); + } + + 80% { + -webkit-transform: translateY(-10px); + transform: translateY(-10px); + } + + 100% { + -webkit-transform: translateY(0); + transform: translateY(0); + } +} + +@keyframes bounceInDown { + 0% { + opacity: 0; + -webkit-transform: translateY(-2000px); + -ms-transform: translateY(-2000px); + transform: translateY(-2000px); + } + + 60% { + opacity: 1; + -webkit-transform: translateY(30px); + -ms-transform: translateY(30px); + transform: translateY(30px); + } + + 80% { + -webkit-transform: translateY(-10px); + -ms-transform: translateY(-10px); + transform: translateY(-10px); + } + + 100% { + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} + +.bounceInDown { + -webkit-animation-name: bounceInDown; + animation-name: bounceInDown; +} + +@-webkit-keyframes bounceInLeft { + 0% { + opacity: 0; + -webkit-transform: translateX(-2000px); + transform: translateX(-2000px); + } + + 60% { + opacity: 1; + -webkit-transform: translateX(30px); + transform: translateX(30px); + } + + 80% { + -webkit-transform: translateX(-10px); + transform: translateX(-10px); + } + + 100% { + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +@keyframes bounceInLeft { + 0% { + opacity: 0; + -webkit-transform: translateX(-2000px); + -ms-transform: translateX(-2000px); + transform: translateX(-2000px); + } + + 60% { + opacity: 1; + -webkit-transform: translateX(30px); + -ms-transform: translateX(30px); + transform: translateX(30px); + } + + 80% { + -webkit-transform: translateX(-10px); + -ms-transform: translateX(-10px); + transform: translateX(-10px); + } + + 100% { + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } +} + +.bounceInLeft { + -webkit-animation-name: bounceInLeft; + animation-name: bounceInLeft; +} + +@-webkit-keyframes bounceInRight { + 0% { + opacity: 0; + -webkit-transform: translateX(2000px); + transform: translateX(2000px); + } + + 60% { + opacity: 1; + -webkit-transform: translateX(-30px); + transform: translateX(-30px); + } + + 80% { + -webkit-transform: translateX(10px); + transform: translateX(10px); + } + + 100% { + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +@keyframes bounceInRight { + 0% { + opacity: 0; + -webkit-transform: translateX(2000px); + -ms-transform: translateX(2000px); + transform: translateX(2000px); + } + + 60% { + opacity: 1; + -webkit-transform: translateX(-30px); + -ms-transform: translateX(-30px); + transform: translateX(-30px); + } + + 80% { + -webkit-transform: translateX(10px); + -ms-transform: translateX(10px); + transform: translateX(10px); + } + + 100% { + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } +} + +.bounceInRight { + -webkit-animation-name: bounceInRight; + animation-name: bounceInRight; +} + +@-webkit-keyframes bounceInUp { + 0% { + opacity: 0; + -webkit-transform: translateY(2000px); + transform: translateY(2000px); + } + + 60% { + opacity: 1; + -webkit-transform: translateY(-30px); + transform: translateY(-30px); + } + + 80% { + -webkit-transform: translateY(10px); + transform: translateY(10px); + } + + 100% { + -webkit-transform: translateY(0); + transform: translateY(0); + } +} + +@keyframes bounceInUp { + 0% { + opacity: 0; + -webkit-transform: translateY(2000px); + -ms-transform: translateY(2000px); + transform: translateY(2000px); + } + + 60% { + opacity: 1; + -webkit-transform: translateY(-30px); + -ms-transform: translateY(-30px); + transform: translateY(-30px); + } + + 80% { + -webkit-transform: translateY(10px); + -ms-transform: translateY(10px); + transform: translateY(10px); + } + + 100% { + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} + +.bounceInUp { + -webkit-animation-name: bounceInUp; + animation-name: bounceInUp; +} + +@-webkit-keyframes bounceOut { + 0% { + -webkit-transform: scale(1); + transform: scale(1); + } + + 25% { + -webkit-transform: scale(.95); + transform: scale(.95); + } + + 50% { + opacity: 1; + -webkit-transform: scale(1.1); + transform: scale(1.1); + } + + 100% { + opacity: 0; + -webkit-transform: scale(.3); + transform: scale(.3); + } +} + +@keyframes bounceOut { + 0% { + -webkit-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } + + 25% { + -webkit-transform: scale(.95); + -ms-transform: scale(.95); + transform: scale(.95); + } + + 50% { + opacity: 1; + -webkit-transform: scale(1.1); + -ms-transform: scale(1.1); + transform: scale(1.1); + } + + 100% { + opacity: 0; + -webkit-transform: scale(.3); + -ms-transform: scale(.3); + transform: scale(.3); + } +} + +.bounceOut { + -webkit-animation-name: bounceOut; + animation-name: bounceOut; +} + +@-webkit-keyframes bounceOutDown { + 0% { + -webkit-transform: translateY(0); + transform: translateY(0); + } + + 20% { + opacity: 1; + -webkit-transform: translateY(-20px); + transform: translateY(-20px); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(2000px); + transform: translateY(2000px); + } +} + +@keyframes bounceOutDown { + 0% { + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } + + 20% { + opacity: 1; + -webkit-transform: translateY(-20px); + -ms-transform: translateY(-20px); + transform: translateY(-20px); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(2000px); + -ms-transform: translateY(2000px); + transform: translateY(2000px); + } +} + +.bounceOutDown { + -webkit-animation-name: bounceOutDown; + animation-name: bounceOutDown; +} + +@-webkit-keyframes bounceOutLeft { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 20% { + opacity: 1; + -webkit-transform: translateX(20px); + transform: translateX(20px); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(-2000px); + transform: translateX(-2000px); + } +} + +@keyframes bounceOutLeft { + 0% { + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } + + 20% { + opacity: 1; + -webkit-transform: translateX(20px); + -ms-transform: translateX(20px); + transform: translateX(20px); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(-2000px); + -ms-transform: translateX(-2000px); + transform: translateX(-2000px); + } +} + +.bounceOutLeft { + -webkit-animation-name: bounceOutLeft; + animation-name: bounceOutLeft; +} + +@-webkit-keyframes bounceOutRight { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 20% { + opacity: 1; + -webkit-transform: translateX(-20px); + transform: translateX(-20px); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(2000px); + transform: translateX(2000px); + } +} + +@keyframes bounceOutRight { + 0% { + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } + + 20% { + opacity: 1; + -webkit-transform: translateX(-20px); + -ms-transform: translateX(-20px); + transform: translateX(-20px); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(2000px); + -ms-transform: translateX(2000px); + transform: translateX(2000px); + } +} + +.bounceOutRight { + -webkit-animation-name: bounceOutRight; + animation-name: bounceOutRight; +} + +@-webkit-keyframes bounceOutUp { + 0% { + -webkit-transform: translateY(0); + transform: translateY(0); + } + + 20% { + opacity: 1; + -webkit-transform: translateY(20px); + transform: translateY(20px); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(-2000px); + transform: translateY(-2000px); + } +} + +@keyframes bounceOutUp { + 0% { + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } + + 20% { + opacity: 1; + -webkit-transform: translateY(20px); + -ms-transform: translateY(20px); + transform: translateY(20px); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(-2000px); + -ms-transform: translateY(-2000px); + transform: translateY(-2000px); + } +} + +.bounceOutUp { + -webkit-animation-name: bounceOutUp; + animation-name: bounceOutUp; +} + +@-webkit-keyframes fadeIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +@keyframes fadeIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +.fadeIn { + -webkit-animation-name: fadeIn; + animation-name: fadeIn; +} + +@-webkit-keyframes fadeInDown { + 0% { + opacity: 0; + -webkit-transform: translateY(-20px); + transform: translateY(-20px); + } + + 100% { + opacity: 1; + -webkit-transform: translateY(0); + transform: translateY(0); + } +} + +@keyframes fadeInDown { + 0% { + opacity: 0; + -webkit-transform: translateY(-20px); + -ms-transform: translateY(-20px); + transform: translateY(-20px); + } + + 100% { + opacity: 1; + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} + +.fadeInDown { + -webkit-animation-name: fadeInDown; + animation-name: fadeInDown; +} + +@-webkit-keyframes fadeInDownBig { + 0% { + opacity: 0; + -webkit-transform: translateY(-2000px); + transform: translateY(-2000px); + } + + 100% { + opacity: 1; + -webkit-transform: translateY(0); + transform: translateY(0); + } +} + +@keyframes fadeInDownBig { + 0% { + opacity: 0; + -webkit-transform: translateY(-2000px); + -ms-transform: translateY(-2000px); + transform: translateY(-2000px); + } + + 100% { + opacity: 1; + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} + +.fadeInDownBig { + -webkit-animation-name: fadeInDownBig; + animation-name: fadeInDownBig; +} + +@-webkit-keyframes fadeInLeft { + 0% { + opacity: 0; + -webkit-transform: translateX(-20px); + transform: translateX(-20px); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +@keyframes fadeInLeft { + 0% { + opacity: 0; + -webkit-transform: translateX(-20px); + -ms-transform: translateX(-20px); + transform: translateX(-20px); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } +} + +.fadeInLeft { + -webkit-animation-name: fadeInLeft; + animation-name: fadeInLeft; +} + +@-webkit-keyframes fadeInLeftBig { + 0% { + opacity: 0; + -webkit-transform: translateX(-2000px); + transform: translateX(-2000px); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +@keyframes fadeInLeftBig { + 0% { + opacity: 0; + -webkit-transform: translateX(-2000px); + -ms-transform: translateX(-2000px); + transform: translateX(-2000px); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } +} + +.fadeInLeftBig { + -webkit-animation-name: fadeInLeftBig; + animation-name: fadeInLeftBig; +} + +@-webkit-keyframes fadeInRight { + 0% { + opacity: 0; + -webkit-transform: translateX(20px); + transform: translateX(20px); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +@keyframes fadeInRight { + 0% { + opacity: 0; + -webkit-transform: translateX(20px); + -ms-transform: translateX(20px); + transform: translateX(20px); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } +} + +.fadeInRight { + -webkit-animation-name: fadeInRight; + animation-name: fadeInRight; +} + +@-webkit-keyframes fadeInRightBig { + 0% { + opacity: 0; + -webkit-transform: translateX(2000px); + transform: translateX(2000px); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +@keyframes fadeInRightBig { + 0% { + opacity: 0; + -webkit-transform: translateX(2000px); + -ms-transform: translateX(2000px); + transform: translateX(2000px); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } +} + +.fadeInRightBig { + -webkit-animation-name: fadeInRightBig; + animation-name: fadeInRightBig; +} + +@-webkit-keyframes fadeInUp { + 0% { + opacity: 0; + -webkit-transform: translateY(20px); + transform: translateY(20px); + } + + 100% { + opacity: 1; + -webkit-transform: translateY(0); + transform: translateY(0); + } +} + +@keyframes fadeInUp { + 0% { + opacity: 0; + -webkit-transform: translateY(20px); + -ms-transform: translateY(20px); + transform: translateY(20px); + } + + 100% { + opacity: 1; + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} + +.fadeInUp { + -webkit-animation-name: fadeInUp; + animation-name: fadeInUp; +} + +@-webkit-keyframes fadeInUpBig { + 0% { + opacity: 0; + -webkit-transform: translateY(2000px); + transform: translateY(2000px); + } + + 100% { + opacity: 1; + -webkit-transform: translateY(0); + transform: translateY(0); + } +} + +@keyframes fadeInUpBig { + 0% { + opacity: 0; + -webkit-transform: translateY(2000px); + -ms-transform: translateY(2000px); + transform: translateY(2000px); + } + + 100% { + opacity: 1; + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} + +.fadeInUpBig { + -webkit-animation-name: fadeInUpBig; + animation-name: fadeInUpBig; +} + +@-webkit-keyframes fadeOut { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +} + +@keyframes fadeOut { + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +} + +.fadeOut { + -webkit-animation-name: fadeOut; + animation-name: fadeOut; +} + +@-webkit-keyframes fadeOutDown { + 0% { + opacity: 1; + -webkit-transform: translateY(0); + transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(20px); + transform: translateY(20px); + } +} + +@keyframes fadeOutDown { + 0% { + opacity: 1; + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(20px); + -ms-transform: translateY(20px); + transform: translateY(20px); + } +} + +.fadeOutDown { + -webkit-animation-name: fadeOutDown; + animation-name: fadeOutDown; +} + +@-webkit-keyframes fadeOutDownBig { + 0% { + opacity: 1; + -webkit-transform: translateY(0); + transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(2000px); + transform: translateY(2000px); + } +} + +@keyframes fadeOutDownBig { + 0% { + opacity: 1; + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(2000px); + -ms-transform: translateY(2000px); + transform: translateY(2000px); + } +} + +.fadeOutDownBig { + -webkit-animation-name: fadeOutDownBig; + animation-name: fadeOutDownBig; +} + +@-webkit-keyframes fadeOutLeft { + 0% { + opacity: 1; + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(-20px); + transform: translateX(-20px); + } +} + +@keyframes fadeOutLeft { + 0% { + opacity: 1; + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(-20px); + -ms-transform: translateX(-20px); + transform: translateX(-20px); + } +} + +.fadeOutLeft { + -webkit-animation-name: fadeOutLeft; + animation-name: fadeOutLeft; +} + +@-webkit-keyframes fadeOutLeftBig { + 0% { + opacity: 1; + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(-2000px); + transform: translateX(-2000px); + } +} + +@keyframes fadeOutLeftBig { + 0% { + opacity: 1; + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(-2000px); + -ms-transform: translateX(-2000px); + transform: translateX(-2000px); + } +} + +.fadeOutLeftBig { + -webkit-animation-name: fadeOutLeftBig; + animation-name: fadeOutLeftBig; +} + +@-webkit-keyframes fadeOutRight { + 0% { + opacity: 1; + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(20px); + transform: translateX(20px); + } +} + +@keyframes fadeOutRight { + 0% { + opacity: 1; + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(20px); + -ms-transform: translateX(20px); + transform: translateX(20px); + } +} + +.fadeOutRight { + -webkit-animation-name: fadeOutRight; + animation-name: fadeOutRight; +} + +@-webkit-keyframes fadeOutRightBig { + 0% { + opacity: 1; + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(2000px); + transform: translateX(2000px); + } +} + +@keyframes fadeOutRightBig { + 0% { + opacity: 1; + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(2000px); + -ms-transform: translateX(2000px); + transform: translateX(2000px); + } +} + +.fadeOutRightBig { + -webkit-animation-name: fadeOutRightBig; + animation-name: fadeOutRightBig; +} + +@-webkit-keyframes fadeOutUp { + 0% { + opacity: 1; + -webkit-transform: translateY(0); + transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(-20px); + transform: translateY(-20px); + } +} + +@keyframes fadeOutUp { + 0% { + opacity: 1; + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(-20px); + -ms-transform: translateY(-20px); + transform: translateY(-20px); + } +} + +.fadeOutUp { + -webkit-animation-name: fadeOutUp; + animation-name: fadeOutUp; +} + +@-webkit-keyframes fadeOutUpBig { + 0% { + opacity: 1; + -webkit-transform: translateY(0); + transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(-2000px); + transform: translateY(-2000px); + } +} + +@keyframes fadeOutUpBig { + 0% { + opacity: 1; + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(-2000px); + -ms-transform: translateY(-2000px); + transform: translateY(-2000px); + } +} + +.fadeOutUpBig { + -webkit-animation-name: fadeOutUpBig; + animation-name: fadeOutUpBig; +} + +@-webkit-keyframes flip { + 0% { + -webkit-transform: perspective(400px) translateZ(0) rotateY(0) scale(1); + transform: perspective(400px) translateZ(0) rotateY(0) scale(1); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 40% { + -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); + transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 50% { + -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); + transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 80% { + -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); + transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 100% { + -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); + transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } +} + +@keyframes flip { + 0% { + -webkit-transform: perspective(400px) translateZ(0) rotateY(0) scale(1); + -ms-transform: perspective(400px) translateZ(0) rotateY(0) scale(1); + transform: perspective(400px) translateZ(0) rotateY(0) scale(1); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 40% { + -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); + -ms-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); + transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 50% { + -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); + -ms-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); + transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 80% { + -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); + -ms-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); + transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 100% { + -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); + -ms-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); + transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } +} + +.animated.flip { + -webkit-backface-visibility: visible; + -ms-backface-visibility: visible; + backface-visibility: visible; + -webkit-animation-name: flip; + animation-name: flip; +} + +@-webkit-keyframes flipInX { + 0% { + -webkit-transform: perspective(400px) rotateX(90deg); + transform: perspective(400px) rotateX(90deg); + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotateX(-10deg); + transform: perspective(400px) rotateX(-10deg); + } + + 70% { + -webkit-transform: perspective(400px) rotateX(10deg); + transform: perspective(400px) rotateX(10deg); + } + + 100% { + -webkit-transform: perspective(400px) rotateX(0deg); + transform: perspective(400px) rotateX(0deg); + opacity: 1; + } +} + +@keyframes flipInX { + 0% { + -webkit-transform: perspective(400px) rotateX(90deg); + -ms-transform: perspective(400px) rotateX(90deg); + transform: perspective(400px) rotateX(90deg); + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotateX(-10deg); + -ms-transform: perspective(400px) rotateX(-10deg); + transform: perspective(400px) rotateX(-10deg); + } + + 70% { + -webkit-transform: perspective(400px) rotateX(10deg); + -ms-transform: perspective(400px) rotateX(10deg); + transform: perspective(400px) rotateX(10deg); + } + + 100% { + -webkit-transform: perspective(400px) rotateX(0deg); + -ms-transform: perspective(400px) rotateX(0deg); + transform: perspective(400px) rotateX(0deg); + opacity: 1; + } +} + +.flipInX { + -webkit-backface-visibility: visible !important; + -ms-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipInX; + animation-name: flipInX; +} + +@-webkit-keyframes flipInY { + 0% { + -webkit-transform: perspective(400px) rotateY(90deg); + transform: perspective(400px) rotateY(90deg); + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotateY(-10deg); + transform: perspective(400px) rotateY(-10deg); + } + + 70% { + -webkit-transform: perspective(400px) rotateY(10deg); + transform: perspective(400px) rotateY(10deg); + } + + 100% { + -webkit-transform: perspective(400px) rotateY(0deg); + transform: perspective(400px) rotateY(0deg); + opacity: 1; + } +} + +@keyframes flipInY { + 0% { + -webkit-transform: perspective(400px) rotateY(90deg); + -ms-transform: perspective(400px) rotateY(90deg); + transform: perspective(400px) rotateY(90deg); + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotateY(-10deg); + -ms-transform: perspective(400px) rotateY(-10deg); + transform: perspective(400px) rotateY(-10deg); + } + + 70% { + -webkit-transform: perspective(400px) rotateY(10deg); + -ms-transform: perspective(400px) rotateY(10deg); + transform: perspective(400px) rotateY(10deg); + } + + 100% { + -webkit-transform: perspective(400px) rotateY(0deg); + -ms-transform: perspective(400px) rotateY(0deg); + transform: perspective(400px) rotateY(0deg); + opacity: 1; + } +} + +.flipInY { + -webkit-backface-visibility: visible !important; + -ms-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipInY; + animation-name: flipInY; +} + +@-webkit-keyframes flipOutX { + 0% { + -webkit-transform: perspective(400px) rotateX(0deg); + transform: perspective(400px) rotateX(0deg); + opacity: 1; + } + + 100% { + -webkit-transform: perspective(400px) rotateX(90deg); + transform: perspective(400px) rotateX(90deg); + opacity: 0; + } +} + +@keyframes flipOutX { + 0% { + -webkit-transform: perspective(400px) rotateX(0deg); + -ms-transform: perspective(400px) rotateX(0deg); + transform: perspective(400px) rotateX(0deg); + opacity: 1; + } + + 100% { + -webkit-transform: perspective(400px) rotateX(90deg); + -ms-transform: perspective(400px) rotateX(90deg); + transform: perspective(400px) rotateX(90deg); + opacity: 0; + } +} + +.flipOutX { + -webkit-animation-name: flipOutX; + animation-name: flipOutX; + -webkit-backface-visibility: visible !important; + -ms-backface-visibility: visible !important; + backface-visibility: visible !important; +} + +@-webkit-keyframes flipOutY { + 0% { + -webkit-transform: perspective(400px) rotateY(0deg); + transform: perspective(400px) rotateY(0deg); + opacity: 1; + } + + 100% { + -webkit-transform: perspective(400px) rotateY(90deg); + transform: perspective(400px) rotateY(90deg); + opacity: 0; + } +} + +@keyframes flipOutY { + 0% { + -webkit-transform: perspective(400px) rotateY(0deg); + -ms-transform: perspective(400px) rotateY(0deg); + transform: perspective(400px) rotateY(0deg); + opacity: 1; + } + + 100% { + -webkit-transform: perspective(400px) rotateY(90deg); + -ms-transform: perspective(400px) rotateY(90deg); + transform: perspective(400px) rotateY(90deg); + opacity: 0; + } +} + +.flipOutY { + -webkit-backface-visibility: visible !important; + -ms-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipOutY; + animation-name: flipOutY; +} + +@-webkit-keyframes lightSpeedIn { + 0% { + -webkit-transform: translateX(100%) skewX(-30deg); + transform: translateX(100%) skewX(-30deg); + opacity: 0; + } + + 60% { + -webkit-transform: translateX(-20%) skewX(30deg); + transform: translateX(-20%) skewX(30deg); + opacity: 1; + } + + 80% { + -webkit-transform: translateX(0%) skewX(-15deg); + transform: translateX(0%) skewX(-15deg); + opacity: 1; + } + + 100% { + -webkit-transform: translateX(0%) skewX(0deg); + transform: translateX(0%) skewX(0deg); + opacity: 1; + } +} + +@keyframes lightSpeedIn { + 0% { + -webkit-transform: translateX(100%) skewX(-30deg); + -ms-transform: translateX(100%) skewX(-30deg); + transform: translateX(100%) skewX(-30deg); + opacity: 0; + } + + 60% { + -webkit-transform: translateX(-20%) skewX(30deg); + -ms-transform: translateX(-20%) skewX(30deg); + transform: translateX(-20%) skewX(30deg); + opacity: 1; + } + + 80% { + -webkit-transform: translateX(0%) skewX(-15deg); + -ms-transform: translateX(0%) skewX(-15deg); + transform: translateX(0%) skewX(-15deg); + opacity: 1; + } + + 100% { + -webkit-transform: translateX(0%) skewX(0deg); + -ms-transform: translateX(0%) skewX(0deg); + transform: translateX(0%) skewX(0deg); + opacity: 1; + } +} + +.lightSpeedIn { + -webkit-animation-name: lightSpeedIn; + animation-name: lightSpeedIn; + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; +} + +@-webkit-keyframes lightSpeedOut { + 0% { + -webkit-transform: translateX(0%) skewX(0deg); + transform: translateX(0%) skewX(0deg); + opacity: 1; + } + + 100% { + -webkit-transform: translateX(100%) skewX(-30deg); + transform: translateX(100%) skewX(-30deg); + opacity: 0; + } +} + +@keyframes lightSpeedOut { + 0% { + -webkit-transform: translateX(0%) skewX(0deg); + -ms-transform: translateX(0%) skewX(0deg); + transform: translateX(0%) skewX(0deg); + opacity: 1; + } + + 100% { + -webkit-transform: translateX(100%) skewX(-30deg); + -ms-transform: translateX(100%) skewX(-30deg); + transform: translateX(100%) skewX(-30deg); + opacity: 0; + } +} + +.lightSpeedOut { + -webkit-animation-name: lightSpeedOut; + animation-name: lightSpeedOut; + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; +} + +@-webkit-keyframes rotateIn { + 0% { + -webkit-transform-origin: center center; + transform-origin: center center; + -webkit-transform: rotate(-200deg); + transform: rotate(-200deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: center center; + transform-origin: center center; + -webkit-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } +} + +@keyframes rotateIn { + 0% { + -webkit-transform-origin: center center; + -ms-transform-origin: center center; + transform-origin: center center; + -webkit-transform: rotate(-200deg); + -ms-transform: rotate(-200deg); + transform: rotate(-200deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: center center; + -ms-transform-origin: center center; + transform-origin: center center; + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } +} + +.rotateIn { + -webkit-animation-name: rotateIn; + animation-name: rotateIn; +} + +@-webkit-keyframes rotateInDownLeft { + 0% { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(-90deg); + transform: rotate(-90deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } +} + +@keyframes rotateInDownLeft { + 0% { + -webkit-transform-origin: left bottom; + -ms-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(-90deg); + -ms-transform: rotate(-90deg); + transform: rotate(-90deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: left bottom; + -ms-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } +} + +.rotateInDownLeft { + -webkit-animation-name: rotateInDownLeft; + animation-name: rotateInDownLeft; +} + +@-webkit-keyframes rotateInDownRight { + 0% { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(90deg); + transform: rotate(90deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } +} + +@keyframes rotateInDownRight { + 0% { + -webkit-transform-origin: right bottom; + -ms-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: right bottom; + -ms-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } +} + +.rotateInDownRight { + -webkit-animation-name: rotateInDownRight; + animation-name: rotateInDownRight; +} + +@-webkit-keyframes rotateInUpLeft { + 0% { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(90deg); + transform: rotate(90deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } +} + +@keyframes rotateInUpLeft { + 0% { + -webkit-transform-origin: left bottom; + -ms-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: left bottom; + -ms-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } +} + +.rotateInUpLeft { + -webkit-animation-name: rotateInUpLeft; + animation-name: rotateInUpLeft; +} + +@-webkit-keyframes rotateInUpRight { + 0% { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(-90deg); + transform: rotate(-90deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } +} + +@keyframes rotateInUpRight { + 0% { + -webkit-transform-origin: right bottom; + -ms-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(-90deg); + -ms-transform: rotate(-90deg); + transform: rotate(-90deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: right bottom; + -ms-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } +} + +.rotateInUpRight { + -webkit-animation-name: rotateInUpRight; + animation-name: rotateInUpRight; +} + +@-webkit-keyframes rotateOut { + 0% { + -webkit-transform-origin: center center; + transform-origin: center center; + -webkit-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: center center; + transform-origin: center center; + -webkit-transform: rotate(200deg); + transform: rotate(200deg); + opacity: 0; + } +} + +@keyframes rotateOut { + 0% { + -webkit-transform-origin: center center; + -ms-transform-origin: center center; + transform-origin: center center; + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: center center; + -ms-transform-origin: center center; + transform-origin: center center; + -webkit-transform: rotate(200deg); + -ms-transform: rotate(200deg); + transform: rotate(200deg); + opacity: 0; + } +} + +.rotateOut { + -webkit-animation-name: rotateOut; + animation-name: rotateOut; +} + +@-webkit-keyframes rotateOutDownLeft { + 0% { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(90deg); + transform: rotate(90deg); + opacity: 0; + } +} + +@keyframes rotateOutDownLeft { + 0% { + -webkit-transform-origin: left bottom; + -ms-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: left bottom; + -ms-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); + opacity: 0; + } +} + +.rotateOutDownLeft { + -webkit-animation-name: rotateOutDownLeft; + animation-name: rotateOutDownLeft; +} + +@-webkit-keyframes rotateOutDownRight { + 0% { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(-90deg); + transform: rotate(-90deg); + opacity: 0; + } +} + +@keyframes rotateOutDownRight { + 0% { + -webkit-transform-origin: right bottom; + -ms-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: right bottom; + -ms-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(-90deg); + -ms-transform: rotate(-90deg); + transform: rotate(-90deg); + opacity: 0; + } +} + +.rotateOutDownRight { + -webkit-animation-name: rotateOutDownRight; + animation-name: rotateOutDownRight; +} + +@-webkit-keyframes rotateOutUpLeft { + 0% { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(-90deg); + transform: rotate(-90deg); + opacity: 0; + } +} + +@keyframes rotateOutUpLeft { + 0% { + -webkit-transform-origin: left bottom; + -ms-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: left bottom; + -ms-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate(-90deg); + -ms-transform: rotate(-90deg); + transform: rotate(-90deg); + opacity: 0; + } +} + +.rotateOutUpLeft { + -webkit-animation-name: rotateOutUpLeft; + animation-name: rotateOutUpLeft; +} + +@-webkit-keyframes rotateOutUpRight { + 0% { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(90deg); + transform: rotate(90deg); + opacity: 0; + } +} + +@keyframes rotateOutUpRight { + 0% { + -webkit-transform-origin: right bottom; + -ms-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: right bottom; + -ms-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); + opacity: 0; + } +} + +.rotateOutUpRight { + -webkit-animation-name: rotateOutUpRight; + animation-name: rotateOutUpRight; +} + +@-webkit-keyframes slideInDown { + 0% { + opacity: 0; + -webkit-transform: translateY(-2000px); + transform: translateY(-2000px); + } + + 100% { + -webkit-transform: translateY(0); + transform: translateY(0); + } +} + +@keyframes slideInDown { + 0% { + opacity: 0; + -webkit-transform: translateY(-2000px); + -ms-transform: translateY(-2000px); + transform: translateY(-2000px); + } + + 100% { + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } +} + +.slideInDown { + -webkit-animation-name: slideInDown; + animation-name: slideInDown; +} + +@-webkit-keyframes slideInLeft { + 0% { + opacity: 0; + -webkit-transform: translateX(-2000px); + transform: translateX(-2000px); + } + + 100% { + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +@keyframes slideInLeft { + 0% { + opacity: 0; + -webkit-transform: translateX(-2000px); + -ms-transform: translateX(-2000px); + transform: translateX(-2000px); + } + + 100% { + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } +} + +.slideInLeft { + -webkit-animation-name: slideInLeft; + animation-name: slideInLeft; +} + +@-webkit-keyframes slideInRight { + 0% { + opacity: 0; + -webkit-transform: translateX(2000px); + transform: translateX(2000px); + } + + 100% { + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +@keyframes slideInRight { + 0% { + opacity: 0; + -webkit-transform: translateX(2000px); + -ms-transform: translateX(2000px); + transform: translateX(2000px); + } + + 100% { + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } +} + +.slideInRight { + -webkit-animation-name: slideInRight; + animation-name: slideInRight; +} + +@-webkit-keyframes slideOutLeft { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(-2000px); + transform: translateX(-2000px); + } +} + +@keyframes slideOutLeft { + 0% { + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(-2000px); + -ms-transform: translateX(-2000px); + transform: translateX(-2000px); + } +} + +.slideOutLeft { + -webkit-animation-name: slideOutLeft; + animation-name: slideOutLeft; +} + +@-webkit-keyframes slideOutRight { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(2000px); + transform: translateX(2000px); + } +} + +@keyframes slideOutRight { + 0% { + -webkit-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(2000px); + -ms-transform: translateX(2000px); + transform: translateX(2000px); + } +} + +.slideOutRight { + -webkit-animation-name: slideOutRight; + animation-name: slideOutRight; +} + +@-webkit-keyframes slideOutUp { + 0% { + -webkit-transform: translateY(0); + transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(-2000px); + transform: translateY(-2000px); + } +} + +@keyframes slideOutUp { + 0% { + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(-2000px); + -ms-transform: translateY(-2000px); + transform: translateY(-2000px); + } +} + +.slideOutUp { + -webkit-animation-name: slideOutUp; + animation-name: slideOutUp; +} + +@-webkit-keyframes hinge { + 0% { + -webkit-transform: rotate(0); + transform: rotate(0); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 20%, 60% { + -webkit-transform: rotate(80deg); + transform: rotate(80deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 40% { + -webkit-transform: rotate(60deg); + transform: rotate(60deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 80% { + -webkit-transform: rotate(60deg) translateY(0); + transform: rotate(60deg) translateY(0); + opacity: 1; + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 100% { + -webkit-transform: translateY(700px); + transform: translateY(700px); + opacity: 0; + } +} + +@keyframes hinge { + 0% { + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + -webkit-transform-origin: top left; + -ms-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 20%, 60% { + -webkit-transform: rotate(80deg); + -ms-transform: rotate(80deg); + transform: rotate(80deg); + -webkit-transform-origin: top left; + -ms-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 40% { + -webkit-transform: rotate(60deg); + -ms-transform: rotate(60deg); + transform: rotate(60deg); + -webkit-transform-origin: top left; + -ms-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 80% { + -webkit-transform: rotate(60deg) translateY(0); + -ms-transform: rotate(60deg) translateY(0); + transform: rotate(60deg) translateY(0); + opacity: 1; + -webkit-transform-origin: top left; + -ms-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 100% { + -webkit-transform: translateY(700px); + -ms-transform: translateY(700px); + transform: translateY(700px); + opacity: 0; + } +} + +.hinge { + -webkit-animation-name: hinge; + animation-name: hinge; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes rollIn { + 0% { + opacity: 0; + -webkit-transform: translateX(-100%) rotate(-120deg); + transform: translateX(-100%) rotate(-120deg); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0px) rotate(0deg); + transform: translateX(0px) rotate(0deg); + } +} + +@keyframes rollIn { + 0% { + opacity: 0; + -webkit-transform: translateX(-100%) rotate(-120deg); + -ms-transform: translateX(-100%) rotate(-120deg); + transform: translateX(-100%) rotate(-120deg); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0px) rotate(0deg); + -ms-transform: translateX(0px) rotate(0deg); + transform: translateX(0px) rotate(0deg); + } +} + +.rollIn { + -webkit-animation-name: rollIn; + animation-name: rollIn; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes rollOut { + 0% { + opacity: 1; + -webkit-transform: translateX(0px) rotate(0deg); + transform: translateX(0px) rotate(0deg); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(100%) rotate(120deg); + transform: translateX(100%) rotate(120deg); + } +} + +@keyframes rollOut { + 0% { + opacity: 1; + -webkit-transform: translateX(0px) rotate(0deg); + -ms-transform: translateX(0px) rotate(0deg); + transform: translateX(0px) rotate(0deg); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(100%) rotate(120deg); + -ms-transform: translateX(100%) rotate(120deg); + transform: translateX(100%) rotate(120deg); + } +} + +.rollOut { + -webkit-animation-name: rollOut; + animation-name: rollOut; +} diff --git a/css/editor-style.css b/css/editor-style.css new file mode 100644 index 0000000..7082fc6 --- /dev/null +++ b/css/editor-style.css @@ -0,0 +1,759 @@ +/** + * Table of Contents: + * + * 1.0 - Body + * 2.0 - Headings + * 3.0 - Text Elements + * 4.0 - Links + * 5.0 - Alignment + * 6.0 - Tables + * 7.0 - Images + * 8.0 - Galleries + * 9.0 - Audio/Video + * 10.0 - Post Formats + * 11.0 - RTL + * ---------------------------------------------------------------------------- + */ + + +/** + * 1.0 Body + * ---------------------------------------------------------------------------- + */ + +html .mceContentBody { + font-size: 100%; +} + +body { + color: #141412; + font-family: "Source Sans Pro", Helvetica, sans-serif; + line-height: 1.5; + text-rendering: optimizeLegibility; + vertical-align: baseline; +} + + +/** + * 2.0 Headings + * ---------------------------------------------------------------------------- + */ + +h1, +h2, +h3, +h4, +h5, +h6 { + clear: both; + line-height: 1.3; +} + +h1 { + font-size: 36px; + margin: 0 0 15px; +} + +h2 { + font-size: 30px; + margin: 0 0 15px; +} + +h3 { + font-size: 26px; + margin: 0 0 15px; +} + +h4 { + font-size: 20px; + margin: 0 0 15px; +} + +h5 { + font-size: 18px; + margin: 0 0 15px; +} + +h6 { + font-size: 16px; + margin: 0 0 15px; +} + +hr { + margin: 20px 0; +} + + +/** + * 3.0 Text Elements + * ---------------------------------------------------------------------------- + */ + +p { + margin: 0 0 24px; +} + +ol, +ul { + margin: 16px 0; + padding: 0 0 0 40px; +} + +ul { + list-style-type: square; +} + +ol { + list-style: decimal outside; +} + +li > ul, +li > ol { + margin: 0; +} + +dl { + margin: 0 20px; +} + +dt { + font-weight: bold; +} + +dd { + margin: 0 0 20px; +} + +strong { + font-weight: bold; +} + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 14px; +} + +pre { + background: #f5f5f5; + color: #666; + font-family: monospace; + font-size: 14px; + margin: 20px 0; + overflow: auto; + padding: 20px; + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} + +blockquote, +q { + quotes: none; +} + +blockquote:before, +blockquote:after, +q:before, +q:after { + content: ""; + content: none; +} + +blockquote { + font-size: 24px; + font-style: italic; + font-weight: 300; + margin: 24px 40px; +} + +blockquote blockquote { + margin-right: 0; +} + +blockquote cite, +blockquote small { + font-size: 14px; + font-weight: normal; + text-transform: uppercase; +} + +cite { + border-bottom: 0; +} + +abbr[title] { + border-bottom: 1px dotted; +} + +address { + font-style: italic; + margin: 0 0 24px; +} + +del { + color: #333; +} + +ins { + background: #fff9c0; + border: none; + color: #333; + text-decoration: none; +} + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + + +/** + * 4.0 Links + * ---------------------------------------------------------------------------- + */ + +a { + color: #ca3c08; + text-decoration: none; +} + +a:visited { + color: #ac0404; +} + +a:focus { + outline: thin dotted; +} + +a:active, +a:hover { + color: #ea9629; + outline: 0; +} + +a:hover { + text-decoration: underline; +} + + +/** + * 5.0 Alignment + * ---------------------------------------------------------------------------- + */ + +.alignleft { + float: left; + margin: 5px 20px 5px 0; +} + +.alignright { + float: right; + margin: 5px 0 5px 20px; +} + +.aligncenter { + display: block; + margin: 5px auto; +} + +img.alignnone { + margin: 5px 0; +} + + +/** + * 6.0 Tables + * ---------------------------------------------------------------------------- + */ + +table { + border-bottom: 1px solid #ededed; + border-collapse: collapse; + border-spacing: 0; + font-size: 14px; + line-height: 2; + margin: 0 0 20px; + width: 100%; +} + +caption, +th, +td { + font-weight: normal; + text-align: left; +} + +caption { + font-size: 16px; + margin: 20px 0; +} + +th { + font-weight: bold; + text-transform: uppercase; +} + +td { + border-top: 1px solid #ededed; + padding: 6px 10px 6px 0; +} + + +/** + * 7.0 Images + * ---------------------------------------------------------------------------- + */ + +img { + height: auto; + max-width: 100%; + vertical-align: middle; +} + +.wp-caption { + background: transparent; + border: none; + margin: 0; + padding: 0; + text-align: left; +} + +.html5-captions .wp-caption { + padding: 0; +} + +.wp-caption.alignleft { + margin: 5px 10px 5px 0; +} + +.html5-captions .wp-caption.alignleft { + margin-right: 20px; +} + +.wp-caption.alignright { + margin: 5px 0 5px 10px; +} + +.wp-caption.alignright img, +.wp-caption.alignright .wp-caption-dd { + padding-left: 10px; +} + +.html5-captions .wp-caption.alignright { + margin-left: 20px; +} + +.html5-captions .wp-caption.alignright img, +.html5-captions .wp-caption.alignright .wp-caption-dd { + padding: 0; +} + +.wp-caption-dt { + margin: 0; +} + +.wp-caption .wp-caption-text, +.wp-caption-dd { + color: #220e10; + font-size: 18px; + font-style: italic; + font-weight: 300; + line-height: 1.5; + margin-bottom: 24px; + padding: 0; +} + +.mceTemp + ul, +.mceTemp + ol { + list-style-position: inside; +} + + +/** + * 8.0 Galleries + * ---------------------------------------------------------------------------- + */ + +.gallery .gallery-item { + float: left; + margin: 0 4px 4px 0; + overflow: hidden; + padding: 0; + position: relative; +} + +.gallery-columns-1 .gallery-item { + max-width: 100%; + width: auto; +} + +.gallery-columns-2 .gallery-item { + max-width: 48%; + max-width: -webkit-calc(50% - 14px); + max-width: calc(50% - 14px); + width: auto; +} + +.gallery-columns-3 .gallery-item { + max-width: 32%; + max-width: -webkit-calc(33.3% - 11px); + max-width: calc(33.3% - 11px); + width: auto; +} + +.gallery-columns-4 .gallery-item { + max-width: 23%; + max-width: -webkit-calc(25% - 9px); + max-width: calc(25% - 9px); + width: auto; +} + +.gallery-columns-5 .gallery-item { + max-width: 19%; + max-width: -webkit-calc(20% - 8px); + max-width: calc(20% - 8px); + width: auto; +} + +.gallery-columns-6 .gallery-item { + max-width: 15%; + max-width: -webkit-calc(16.7% - 7px); + max-width: calc(16.7% - 7px); + width: auto; +} + +.gallery-columns-7 .gallery-item { + max-width: 13%; + max-width: -webkit-calc(14.28% - 7px); + max-width: calc(14.28% - 7px); + width: auto; +} + +.gallery-columns-8 .gallery-item { + max-width: 11%; + max-width: -webkit-calc(12.5% - 6px); + max-width: calc(12.5% - 6px); + width: auto; +} + +.gallery-columns-9 .gallery-item { + max-width: 9%; + max-width: -webkit-calc(11.1% - 6px); + max-width: calc(11.1% - 6px); + width: auto; +} + +.gallery-columns-1 .gallery-item:nth-of-type(1n), +.gallery-columns-2 .gallery-item:nth-of-type(2n), +.gallery-columns-3 .gallery-item:nth-of-type(3n), +.gallery-columns-4 .gallery-item:nth-of-type(4n), +.gallery-columns-5 .gallery-item:nth-of-type(5n), +.gallery-columns-6 .gallery-item:nth-of-type(6n), +.gallery-columns-7 .gallery-item:nth-of-type(7n), +.gallery-columns-8 .gallery-item:nth-of-type(8n), +.gallery-columns-9 .gallery-item:nth-of-type(9n) { + margin-right: 0; +} + +.gallery-columns-1 .gallery-item:nth-of-type(1n), +.gallery-columns-2 .gallery-item:nth-of-type(2n - 1), +.gallery-columns-3 .gallery-item:nth-of-type(3n - 2), +.gallery-columns-4 .gallery-item:nth-of-type(4n - 3), +.gallery-columns-5 .gallery-item:nth-of-type(5n - 4), +.gallery-columns-6 .gallery-item:nth-of-type(6n - 5), +.gallery-columns-7 .gallery-item:nth-of-type(7n - 6), +.gallery-columns-8 .gallery-item:nth-of-type(8n - 7), +.gallery-columns-9 .gallery-item:nth-of-type(9n - 8) { + margin-left: 12px; /* Compensate for the default negative margin on .gallery, which can't be changed. */ +} + +.gallery .gallery-caption { + background-color: rgba(0, 0, 0, 0.7); + box-sizing: border-box; + color: #fff; + font-size: 14px; + line-height: 1.3; + margin: 0; + max-height: 50%; + opacity: 0; + padding: 2px 8px; + position: absolute; + bottom: 0; + left: 0; + text-align: left; + -webkit-transition: opacity 400ms ease; + transition: opacity 400ms ease; + width: 100%; +} + +.gallery .gallery-caption:before { + box-shadow: 0 -10px 15px #000 inset; + content: ""; + height: 100%; + min-height: 49px; + position: absolute; + left: 0; + top: 0; + width: 100%; +} + +.gallery-item:hover .gallery-caption { + opacity: 1; +} + +.gallery-columns-7 .gallery-caption, +.gallery-columns-8 .gallery-caption, +.gallery-columns-9 .gallery-caption { + display: none; +} + + +/** + * 9.0 Audio/Video + * ---------------------------------------------------------------------------- + */ +.mejs-mediaelement, +.mejs-container .mejs-controls { + background: #220e10; +} + +.mejs-controls .mejs-time-rail .mejs-time-loaded, +.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { + background: #fff; +} + +.mejs-controls .mejs-time-rail .mejs-time-current { + background: #ea9629; +} + +.mejs-controls .mejs-time-rail .mejs-time-total, +.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total { + background: #595959; +} + +.mejs-controls .mejs-time-rail span, +.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total, +.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { + border-radius: 0; +} + + +/** + * 10.0 Post Formats + * ---------------------------------------------------------------------------- + */ + +/* Aside */ +.post-format-aside { + background-color: #f7f5e7; +} + +.post-format-aside blockquote { + font-size: 100%; + font-weight: normal; +} + +.post-format-aside cite { + font-size: 100%; + text-transform: none; +} + +.post-format-aside cite:before { + content: "\2014"; + margin-right: 5px; +} + +/* Audio */ +.post-format-audio { + background-color: #db572f; +} + +.post-format-audio a { + color: #fbfaf3; +} + +.post-format-audio:before { + background: url(../images/dotted-line.png) repeat-y 85px 0; + background-size: 4px 4px; + content: "\f109"; + display: block; + float: left; + font-family: Genericons; + font-size: 64px; + -webkit-font-smoothing: antialiased; + height: 100%; + line-height: 1; + width: 120px; +} + +/* Chat */ +.post-format-chat { + background-color: #eadaa6; +} + +.post-format-chat a { + color: #722d19; +} + +/* Gallery */ +.post-format-gallery { + background-color: #fbca3c; +} + +.post-format-gallery a { + color: #722d19; +} + +/* Image: same as Standard/Defaults */ + +/* Link */ +.post-format-link { + background-color: #f7f5e7; +} + +/* Quote */ +.post-format-quote { + background-color: #210d10; + color: #f7f5e7; +} + +.post-format-quote a { + color: #e63f2a; +} + +.post-format-quote blockquote { + font-size: 28px; + font-style: italic; + font-weight: 300; + margin: 0; + padding-left: 75px; + position: relative; +} + +.post-format-quote blockquote:before { + content: '\201C'; + font-size: 140px; + font-weight: 400; + line-height: .8; + padding-right: 25px; + position: absolute; + left: -15px; + top: -3px; +} + +.post-format-quote blockquote small, +.post-format-quote blockquote cite { + display: block; + font-size: 16px; +} + +.format-quote .entry-content cite a { + border-bottom: 1px dotted #fff; + color: #fff; +} + +.format-quote .entry-content cite a:hover { + text-decoration: none; +} + + +/* Status */ +.post-format-status { + background-color: #722d19; + color: #f7f5e7; + font-style: italic; + font-weight: 300; + padding: 0; + padding-left: 35px; +} + +.post-format-status.mceContentBody { + font-size: 24px; +} + +.post-format-status:before { + background: url(../images/dotted-line.png) repeat-y left bottom; + background-size: 4px 4px; + content: ""; + display: block; + float: left; + height: 100%; + position: relative; + left: -30px; + width: 1px; +} + +.post-format-status > p:first-child:before { + background-color: rgba(0, 0, 0, 0.65); + content: ""; + height: 3px; + width: 13px; + margin-top: 13px; + position: absolute; + left: 9px; +} + +.post-format-status a { + color: #eadaa6; +} + +/* Video */ +.post-format-video { + background-color: #db572f; +} + +.post-format-video a { + color: #fbfaf3; +} + + +/** + * 11.0 RTL + * ---------------------------------------------------------------------------- + */ + +html .mceContentBody.rtl { + direction: rtl; + unicode-bidi: embed; +} + +.rtl ol, +.rtl ul { + padding: 0 40px 0 0; +} + +.rtl .wp-caption, +.rtl tr th { + text-align: right; +} + +.rtl td { + padding: 6px 0 6px 10px; + text-align: right; +} + +.rtl blockquote blockquote { + margin-left: 0; + margin-right: 24px; +} + +.rtl.post-format-audio:before, +.rtl.post-format-status:before, +.rtl.post-format-status > p:first-child:before { + background: none; + content: none; +} diff --git a/css/fontawesome/css/font-awesome.css b/css/fontawesome/css/font-awesome.css new file mode 100644 index 0000000..ee906a8 --- /dev/null +++ b/css/fontawesome/css/font-awesome.css @@ -0,0 +1,2337 @@ +/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */ +/* FONT PATH + * -------------------------- */ +@font-face { + font-family: 'FontAwesome'; + src: url('../fonts/fontawesome-webfont.eot?v=4.7.0'); + src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg'); + font-weight: normal; + font-style: normal; +} +.fa { + 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; +} +/* makes the font 33% larger relative to the icon container */ +.fa-lg { + font-size: 1.33333333em; + line-height: 0.75em; + vertical-align: -15%; +} +.fa-2x { + font-size: 2em; +} +.fa-3x { + font-size: 3em; +} +.fa-4x { + font-size: 4em; +} +.fa-5x { + font-size: 5em; +} +.fa-fw { + width: 1.28571429em; + text-align: center; +} +.fa-ul { + padding-left: 0; + margin-left: 2.14285714em; + list-style-type: none; +} +.fa-ul > li { + position: relative; +} +.fa-li { + position: absolute; + left: -2.14285714em; + width: 2.14285714em; + top: 0.14285714em; + text-align: center; +} +.fa-li.fa-lg { + left: -1.85714286em; +} +.fa-border { + padding: .2em .25em .15em; + border: solid 0.08em #eeeeee; + border-radius: .1em; +} +.fa-pull-left { + float: left; +} +.fa-pull-right { + float: right; +} +.fa.fa-pull-left { + margin-right: .3em; +} +.fa.fa-pull-right { + margin-left: .3em; +} +/* Deprecated as of 4.4.0 */ +.pull-right { + float: right; +} +.pull-left { + float: left; +} +.fa.pull-left { + margin-right: .3em; +} +.fa.pull-right { + margin-left: .3em; +} +.fa-spin { + -webkit-animation: fa-spin 2s infinite linear; + animation: fa-spin 2s infinite linear; +} +.fa-pulse { + -webkit-animation: fa-spin 1s infinite steps(8); + animation: fa-spin 1s infinite steps(8); +} +@-webkit-keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +.fa-rotate-90 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; + -webkit-transform: rotate(90deg); + -ms-transform: rotate(90deg); + transform: rotate(90deg); +} +.fa-rotate-180 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; + -webkit-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} +.fa-rotate-270 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; + -webkit-transform: rotate(270deg); + -ms-transform: rotate(270deg); + transform: rotate(270deg); +} +.fa-flip-horizontal { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"; + -webkit-transform: scale(-1, 1); + -ms-transform: scale(-1, 1); + transform: scale(-1, 1); +} +.fa-flip-vertical { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"; + -webkit-transform: scale(1, -1); + -ms-transform: scale(1, -1); + transform: scale(1, -1); +} +:root .fa-rotate-90, +:root .fa-rotate-180, +:root .fa-rotate-270, +:root .fa-flip-horizontal, +:root .fa-flip-vertical { + filter: none; +} +.fa-stack { + position: relative; + display: inline-block; + width: 2em; + height: 2em; + line-height: 2em; + vertical-align: middle; +} +.fa-stack-1x, +.fa-stack-2x { + position: absolute; + left: 0; + width: 100%; + text-align: center; +} +.fa-stack-1x { + line-height: inherit; +} +.fa-stack-2x { + font-size: 2em; +} +.fa-inverse { + color: #ffffff; +} +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ +.fa-glass:before { + content: "\f000"; +} +.fa-music:before { + content: "\f001"; +} +.fa-search:before { + content: "\f002"; +} +.fa-envelope-o:before { + content: "\f003"; +} +.fa-heart:before { + content: "\f004"; +} +.fa-star:before { + content: "\f005"; +} +.fa-star-o:before { + content: "\f006"; +} +.fa-user:before { + content: "\f007"; +} +.fa-film:before { + content: "\f008"; +} +.fa-th-large:before { + content: "\f009"; +} +.fa-th:before { + content: "\f00a"; +} +.fa-th-list:before { + content: "\f00b"; +} +.fa-check:before { + content: "\f00c"; +} +.fa-remove:before, +.fa-close:before, +.fa-times:before { + content: "\f00d"; +} +.fa-search-plus:before { + content: "\f00e"; +} +.fa-search-minus:before { + content: "\f010"; +} +.fa-power-off:before { + content: "\f011"; +} +.fa-signal:before { + content: "\f012"; +} +.fa-gear:before, +.fa-cog:before { + content: "\f013"; +} +.fa-trash-o:before { + content: "\f014"; +} +.fa-home:before { + content: "\f015"; +} +.fa-file-o:before { + content: "\f016"; +} +.fa-clock-o:before { + content: "\f017"; +} +.fa-road:before { + content: "\f018"; +} +.fa-download:before { + content: "\f019"; +} +.fa-arrow-circle-o-down:before { + content: "\f01a"; +} +.fa-arrow-circle-o-up:before { + content: "\f01b"; +} +.fa-inbox:before { + content: "\f01c"; +} +.fa-play-circle-o:before { + content: "\f01d"; +} +.fa-rotate-right:before, +.fa-repeat:before { + content: "\f01e"; +} +.fa-refresh:before { + content: "\f021"; +} +.fa-list-alt:before { + content: "\f022"; +} +.fa-lock:before { + content: "\f023"; +} +.fa-flag:before { + content: "\f024"; +} +.fa-headphones:before { + content: "\f025"; +} +.fa-volume-off:before { + content: "\f026"; +} +.fa-volume-down:before { + content: "\f027"; +} +.fa-volume-up:before { + content: "\f028"; +} +.fa-qrcode:before { + content: "\f029"; +} +.fa-barcode:before { + content: "\f02a"; +} +.fa-tag:before { + content: "\f02b"; +} +.fa-tags:before { + content: "\f02c"; +} +.fa-book:before { + content: "\f02d"; +} +.fa-bookmark:before { + content: "\f02e"; +} +.fa-print:before { + content: "\f02f"; +} +.fa-camera:before { + content: "\f030"; +} +.fa-font:before { + content: "\f031"; +} +.fa-bold:before { + content: "\f032"; +} +.fa-italic:before { + content: "\f033"; +} +.fa-text-height:before { + content: "\f034"; +} +.fa-text-width:before { + content: "\f035"; +} +.fa-align-left:before { + content: "\f036"; +} +.fa-align-center:before { + content: "\f037"; +} +.fa-align-right:before { + content: "\f038"; +} +.fa-align-justify:before { + content: "\f039"; +} +.fa-list:before { + content: "\f03a"; +} +.fa-dedent:before, +.fa-outdent:before { + content: "\f03b"; +} +.fa-indent:before { + content: "\f03c"; +} +.fa-video-camera:before { + content: "\f03d"; +} +.fa-photo:before, +.fa-image:before, +.fa-picture-o:before { + content: "\f03e"; +} +.fa-pencil:before { + content: "\f040"; +} +.fa-map-marker:before { + content: "\f041"; +} +.fa-adjust:before { + content: "\f042"; +} +.fa-tint:before { + content: "\f043"; +} +.fa-edit:before, +.fa-pencil-square-o:before { + content: "\f044"; +} +.fa-share-square-o:before { + content: "\f045"; +} +.fa-check-square-o:before { + content: "\f046"; +} +.fa-arrows:before { + content: "\f047"; +} +.fa-step-backward:before { + content: "\f048"; +} +.fa-fast-backward:before { + content: "\f049"; +} +.fa-backward:before { + content: "\f04a"; +} +.fa-play:before { + content: "\f04b"; +} +.fa-pause:before { + content: "\f04c"; +} +.fa-stop:before { + content: "\f04d"; +} +.fa-forward:before { + content: "\f04e"; +} +.fa-fast-forward:before { + content: "\f050"; +} +.fa-step-forward:before { + content: "\f051"; +} +.fa-eject:before { + content: "\f052"; +} +.fa-chevron-left:before { + content: "\f053"; +} +.fa-chevron-right:before { + content: "\f054"; +} +.fa-plus-circle:before { + content: "\f055"; +} +.fa-minus-circle:before { + content: "\f056"; +} +.fa-times-circle:before { + content: "\f057"; +} +.fa-check-circle:before { + content: "\f058"; +} +.fa-question-circle:before { + content: "\f059"; +} +.fa-info-circle:before { + content: "\f05a"; +} +.fa-crosshairs:before { + content: "\f05b"; +} +.fa-times-circle-o:before { + content: "\f05c"; +} +.fa-check-circle-o:before { + content: "\f05d"; +} +.fa-ban:before { + content: "\f05e"; +} +.fa-arrow-left:before { + content: "\f060"; +} +.fa-arrow-right:before { + content: "\f061"; +} +.fa-arrow-up:before { + content: "\f062"; +} +.fa-arrow-down:before { + content: "\f063"; +} +.fa-mail-forward:before, +.fa-share:before { + content: "\f064"; +} +.fa-expand:before { + content: "\f065"; +} +.fa-compress:before { + content: "\f066"; +} +.fa-plus:before { + content: "\f067"; +} +.fa-minus:before { + content: "\f068"; +} +.fa-asterisk:before { + content: "\f069"; +} +.fa-exclamation-circle:before { + content: "\f06a"; +} +.fa-gift:before { + content: "\f06b"; +} +.fa-leaf:before { + content: "\f06c"; +} +.fa-fire:before { + content: "\f06d"; +} +.fa-eye:before { + content: "\f06e"; +} +.fa-eye-slash:before { + content: "\f070"; +} +.fa-warning:before, +.fa-exclamation-triangle:before { + content: "\f071"; +} +.fa-plane:before { + content: "\f072"; +} +.fa-calendar:before { + content: "\f073"; +} +.fa-random:before { + content: "\f074"; +} +.fa-comment:before { + content: "\f075"; +} +.fa-magnet:before { + content: "\f076"; +} +.fa-chevron-up:before { + content: "\f077"; +} +.fa-chevron-down:before { + content: "\f078"; +} +.fa-retweet:before { + content: "\f079"; +} +.fa-shopping-cart:before { + content: "\f07a"; +} +.fa-folder:before { + content: "\f07b"; +} +.fa-folder-open:before { + content: "\f07c"; +} +.fa-arrows-v:before { + content: "\f07d"; +} +.fa-arrows-h:before { + content: "\f07e"; +} +.fa-bar-chart-o:before, +.fa-bar-chart:before { + content: "\f080"; +} +.fa-twitter-square:before { + content: "\f081"; +} +.fa-facebook-square:before { + content: "\f082"; +} +.fa-camera-retro:before { + content: "\f083"; +} +.fa-key:before { + content: "\f084"; +} +.fa-gears:before, +.fa-cogs:before { + content: "\f085"; +} +.fa-comments:before { + content: "\f086"; +} +.fa-thumbs-o-up:before { + content: "\f087"; +} +.fa-thumbs-o-down:before { + content: "\f088"; +} +.fa-star-half:before { + content: "\f089"; +} +.fa-heart-o:before { + content: "\f08a"; +} +.fa-sign-out:before { + content: "\f08b"; +} +.fa-linkedin-square:before { + content: "\f08c"; +} +.fa-thumb-tack:before { + content: "\f08d"; +} +.fa-external-link:before { + content: "\f08e"; +} +.fa-sign-in:before { + content: "\f090"; +} +.fa-trophy:before { + content: "\f091"; +} +.fa-github-square:before { + content: "\f092"; +} +.fa-upload:before { + content: "\f093"; +} +.fa-lemon-o:before { + content: "\f094"; +} +.fa-phone:before { + content: "\f095"; +} +.fa-square-o:before { + content: "\f096"; +} +.fa-bookmark-o:before { + content: "\f097"; +} +.fa-phone-square:before { + content: "\f098"; +} +.fa-twitter:before { + content: "\f099"; +} +.fa-facebook-f:before, +.fa-facebook:before { + content: "\f09a"; +} +.fa-github:before { + content: "\f09b"; +} +.fa-unlock:before { + content: "\f09c"; +} +.fa-credit-card:before { + content: "\f09d"; +} +.fa-feed:before, +.fa-rss:before { + content: "\f09e"; +} +.fa-hdd-o:before { + content: "\f0a0"; +} +.fa-bullhorn:before { + content: "\f0a1"; +} +.fa-bell:before { + content: "\f0f3"; +} +.fa-certificate:before { + content: "\f0a3"; +} +.fa-hand-o-right:before { + content: "\f0a4"; +} +.fa-hand-o-left:before { + content: "\f0a5"; +} +.fa-hand-o-up:before { + content: "\f0a6"; +} +.fa-hand-o-down:before { + content: "\f0a7"; +} +.fa-arrow-circle-left:before { + content: "\f0a8"; +} +.fa-arrow-circle-right:before { + content: "\f0a9"; +} +.fa-arrow-circle-up:before { + content: "\f0aa"; +} +.fa-arrow-circle-down:before { + content: "\f0ab"; +} +.fa-globe:before { + content: "\f0ac"; +} +.fa-wrench:before { + content: "\f0ad"; +} +.fa-tasks:before { + content: "\f0ae"; +} +.fa-filter:before { + content: "\f0b0"; +} +.fa-briefcase:before { + content: "\f0b1"; +} +.fa-arrows-alt:before { + content: "\f0b2"; +} +.fa-group:before, +.fa-users:before { + content: "\f0c0"; +} +.fa-chain:before, +.fa-link:before { + content: "\f0c1"; +} +.fa-cloud:before { + content: "\f0c2"; +} +.fa-flask:before { + content: "\f0c3"; +} +.fa-cut:before, +.fa-scissors:before { + content: "\f0c4"; +} +.fa-copy:before, +.fa-files-o:before { + content: "\f0c5"; +} +.fa-paperclip:before { + content: "\f0c6"; +} +.fa-save:before, +.fa-floppy-o:before { + content: "\f0c7"; +} +.fa-square:before { + content: "\f0c8"; +} +.fa-navicon:before, +.fa-reorder:before, +.fa-bars:before { + content: "\f0c9"; +} +.fa-list-ul:before { + content: "\f0ca"; +} +.fa-list-ol:before { + content: "\f0cb"; +} +.fa-strikethrough:before { + content: "\f0cc"; +} +.fa-underline:before { + content: "\f0cd"; +} +.fa-table:before { + content: "\f0ce"; +} +.fa-magic:before { + content: "\f0d0"; +} +.fa-truck:before { + content: "\f0d1"; +} +.fa-pinterest:before { + content: "\f0d2"; +} +.fa-pinterest-square:before { + content: "\f0d3"; +} +.fa-google-plus-square:before { + content: "\f0d4"; +} +.fa-google-plus:before { + content: "\f0d5"; +} +.fa-money:before { + content: "\f0d6"; +} +.fa-caret-down:before { + content: "\f0d7"; +} +.fa-caret-up:before { + content: "\f0d8"; +} +.fa-caret-left:before { + content: "\f0d9"; +} +.fa-caret-right:before { + content: "\f0da"; +} +.fa-columns:before { + content: "\f0db"; +} +.fa-unsorted:before, +.fa-sort:before { + content: "\f0dc"; +} +.fa-sort-down:before, +.fa-sort-desc:before { + content: "\f0dd"; +} +.fa-sort-up:before, +.fa-sort-asc:before { + content: "\f0de"; +} +.fa-envelope:before { + content: "\f0e0"; +} +.fa-linkedin:before { + content: "\f0e1"; +} +.fa-rotate-left:before, +.fa-undo:before { + content: "\f0e2"; +} +.fa-legal:before, +.fa-gavel:before { + content: "\f0e3"; +} +.fa-dashboard:before, +.fa-tachometer:before { + content: "\f0e4"; +} +.fa-comment-o:before { + content: "\f0e5"; +} +.fa-comments-o:before { + content: "\f0e6"; +} +.fa-flash:before, +.fa-bolt:before { + content: "\f0e7"; +} +.fa-sitemap:before { + content: "\f0e8"; +} +.fa-umbrella:before { + content: "\f0e9"; +} +.fa-paste:before, +.fa-clipboard:before { + content: "\f0ea"; +} +.fa-lightbulb-o:before { + content: "\f0eb"; +} +.fa-exchange:before { + content: "\f0ec"; +} +.fa-cloud-download:before { + content: "\f0ed"; +} +.fa-cloud-upload:before { + content: "\f0ee"; +} +.fa-user-md:before { + content: "\f0f0"; +} +.fa-stethoscope:before { + content: "\f0f1"; +} +.fa-suitcase:before { + content: "\f0f2"; +} +.fa-bell-o:before { + content: "\f0a2"; +} +.fa-coffee:before { + content: "\f0f4"; +} +.fa-cutlery:before { + content: "\f0f5"; +} +.fa-file-text-o:before { + content: "\f0f6"; +} +.fa-building-o:before { + content: "\f0f7"; +} +.fa-hospital-o:before { + content: "\f0f8"; +} +.fa-ambulance:before { + content: "\f0f9"; +} +.fa-medkit:before { + content: "\f0fa"; +} +.fa-fighter-jet:before { + content: "\f0fb"; +} +.fa-beer:before { + content: "\f0fc"; +} +.fa-h-square:before { + content: "\f0fd"; +} +.fa-plus-square:before { + content: "\f0fe"; +} +.fa-angle-double-left:before { + content: "\f100"; +} +.fa-angle-double-right:before { + content: "\f101"; +} +.fa-angle-double-up:before { + content: "\f102"; +} +.fa-angle-double-down:before { + content: "\f103"; +} +.fa-angle-left:before { + content: "\f104"; +} +.fa-angle-right:before { + content: "\f105"; +} +.fa-angle-up:before { + content: "\f106"; +} +.fa-angle-down:before { + content: "\f107"; +} +.fa-desktop:before { + content: "\f108"; +} +.fa-laptop:before { + content: "\f109"; +} +.fa-tablet:before { + content: "\f10a"; +} +.fa-mobile-phone:before, +.fa-mobile:before { + content: "\f10b"; +} +.fa-circle-o:before { + content: "\f10c"; +} +.fa-quote-left:before { + content: "\f10d"; +} +.fa-quote-right:before { + content: "\f10e"; +} +.fa-spinner:before { + content: "\f110"; +} +.fa-circle:before { + content: "\f111"; +} +.fa-mail-reply:before, +.fa-reply:before { + content: "\f112"; +} +.fa-github-alt:before { + content: "\f113"; +} +.fa-folder-o:before { + content: "\f114"; +} +.fa-folder-open-o:before { + content: "\f115"; +} +.fa-smile-o:before { + content: "\f118"; +} +.fa-frown-o:before { + content: "\f119"; +} +.fa-meh-o:before { + content: "\f11a"; +} +.fa-gamepad:before { + content: "\f11b"; +} +.fa-keyboard-o:before { + content: "\f11c"; +} +.fa-flag-o:before { + content: "\f11d"; +} +.fa-flag-checkered:before { + content: "\f11e"; +} +.fa-terminal:before { + content: "\f120"; +} +.fa-code:before { + content: "\f121"; +} +.fa-mail-reply-all:before, +.fa-reply-all:before { + content: "\f122"; +} +.fa-star-half-empty:before, +.fa-star-half-full:before, +.fa-star-half-o:before { + content: "\f123"; +} +.fa-location-arrow:before { + content: "\f124"; +} +.fa-crop:before { + content: "\f125"; +} +.fa-code-fork:before { + content: "\f126"; +} +.fa-unlink:before, +.fa-chain-broken:before { + content: "\f127"; +} +.fa-question:before { + content: "\f128"; +} +.fa-info:before { + content: "\f129"; +} +.fa-exclamation:before { + content: "\f12a"; +} +.fa-superscript:before { + content: "\f12b"; +} +.fa-subscript:before { + content: "\f12c"; +} +.fa-eraser:before { + content: "\f12d"; +} +.fa-puzzle-piece:before { + content: "\f12e"; +} +.fa-microphone:before { + content: "\f130"; +} +.fa-microphone-slash:before { + content: "\f131"; +} +.fa-shield:before { + content: "\f132"; +} +.fa-calendar-o:before { + content: "\f133"; +} +.fa-fire-extinguisher:before { + content: "\f134"; +} +.fa-rocket:before { + content: "\f135"; +} +.fa-maxcdn:before { + content: "\f136"; +} +.fa-chevron-circle-left:before { + content: "\f137"; +} +.fa-chevron-circle-right:before { + content: "\f138"; +} +.fa-chevron-circle-up:before { + content: "\f139"; +} +.fa-chevron-circle-down:before { + content: "\f13a"; +} +.fa-html5:before { + content: "\f13b"; +} +.fa-css3:before { + content: "\f13c"; +} +.fa-anchor:before { + content: "\f13d"; +} +.fa-unlock-alt:before { + content: "\f13e"; +} +.fa-bullseye:before { + content: "\f140"; +} +.fa-ellipsis-h:before { + content: "\f141"; +} +.fa-ellipsis-v:before { + content: "\f142"; +} +.fa-rss-square:before { + content: "\f143"; +} +.fa-play-circle:before { + content: "\f144"; +} +.fa-ticket:before { + content: "\f145"; +} +.fa-minus-square:before { + content: "\f146"; +} +.fa-minus-square-o:before { + content: "\f147"; +} +.fa-level-up:before { + content: "\f148"; +} +.fa-level-down:before { + content: "\f149"; +} +.fa-check-square:before { + content: "\f14a"; +} +.fa-pencil-square:before { + content: "\f14b"; +} +.fa-external-link-square:before { + content: "\f14c"; +} +.fa-share-square:before { + content: "\f14d"; +} +.fa-compass:before { + content: "\f14e"; +} +.fa-toggle-down:before, +.fa-caret-square-o-down:before { + content: "\f150"; +} +.fa-toggle-up:before, +.fa-caret-square-o-up:before { + content: "\f151"; +} +.fa-toggle-right:before, +.fa-caret-square-o-right:before { + content: "\f152"; +} +.fa-euro:before, +.fa-eur:before { + content: "\f153"; +} +.fa-gbp:before { + content: "\f154"; +} +.fa-dollar:before, +.fa-usd:before { + content: "\f155"; +} +.fa-rupee:before, +.fa-inr:before { + content: "\f156"; +} +.fa-cny:before, +.fa-rmb:before, +.fa-yen:before, +.fa-jpy:before { + content: "\f157"; +} +.fa-ruble:before, +.fa-rouble:before, +.fa-rub:before { + content: "\f158"; +} +.fa-won:before, +.fa-krw:before { + content: "\f159"; +} +.fa-bitcoin:before, +.fa-btc:before { + content: "\f15a"; +} +.fa-file:before { + content: "\f15b"; +} +.fa-file-text:before { + content: "\f15c"; +} +.fa-sort-alpha-asc:before { + content: "\f15d"; +} +.fa-sort-alpha-desc:before { + content: "\f15e"; +} +.fa-sort-amount-asc:before { + content: "\f160"; +} +.fa-sort-amount-desc:before { + content: "\f161"; +} +.fa-sort-numeric-asc:before { + content: "\f162"; +} +.fa-sort-numeric-desc:before { + content: "\f163"; +} +.fa-thumbs-up:before { + content: "\f164"; +} +.fa-thumbs-down:before { + content: "\f165"; +} +.fa-youtube-square:before { + content: "\f166"; +} +.fa-youtube:before { + content: "\f167"; +} +.fa-xing:before { + content: "\f168"; +} +.fa-xing-square:before { + content: "\f169"; +} +.fa-youtube-play:before { + content: "\f16a"; +} +.fa-dropbox:before { + content: "\f16b"; +} +.fa-stack-overflow:before { + content: "\f16c"; +} +.fa-instagram:before { + content: "\f16d"; +} +.fa-flickr:before { + content: "\f16e"; +} +.fa-adn:before { + content: "\f170"; +} +.fa-bitbucket:before { + content: "\f171"; +} +.fa-bitbucket-square:before { + content: "\f172"; +} +.fa-tumblr:before { + content: "\f173"; +} +.fa-tumblr-square:before { + content: "\f174"; +} +.fa-long-arrow-down:before { + content: "\f175"; +} +.fa-long-arrow-up:before { + content: "\f176"; +} +.fa-long-arrow-left:before { + content: "\f177"; +} +.fa-long-arrow-right:before { + content: "\f178"; +} +.fa-apple:before { + content: "\f179"; +} +.fa-windows:before { + content: "\f17a"; +} +.fa-android:before { + content: "\f17b"; +} +.fa-linux:before { + content: "\f17c"; +} +.fa-dribbble:before { + content: "\f17d"; +} +.fa-skype:before { + content: "\f17e"; +} +.fa-foursquare:before { + content: "\f180"; +} +.fa-trello:before { + content: "\f181"; +} +.fa-female:before { + content: "\f182"; +} +.fa-male:before { + content: "\f183"; +} +.fa-gittip:before, +.fa-gratipay:before { + content: "\f184"; +} +.fa-sun-o:before { + content: "\f185"; +} +.fa-moon-o:before { + content: "\f186"; +} +.fa-archive:before { + content: "\f187"; +} +.fa-bug:before { + content: "\f188"; +} +.fa-vk:before { + content: "\f189"; +} +.fa-weibo:before { + content: "\f18a"; +} +.fa-renren:before { + content: "\f18b"; +} +.fa-pagelines:before { + content: "\f18c"; +} +.fa-stack-exchange:before { + content: "\f18d"; +} +.fa-arrow-circle-o-right:before { + content: "\f18e"; +} +.fa-arrow-circle-o-left:before { + content: "\f190"; +} +.fa-toggle-left:before, +.fa-caret-square-o-left:before { + content: "\f191"; +} +.fa-dot-circle-o:before { + content: "\f192"; +} +.fa-wheelchair:before { + content: "\f193"; +} +.fa-vimeo-square:before { + content: "\f194"; +} +.fa-turkish-lira:before, +.fa-try:before { + content: "\f195"; +} +.fa-plus-square-o:before { + content: "\f196"; +} +.fa-space-shuttle:before { + content: "\f197"; +} +.fa-slack:before { + content: "\f198"; +} +.fa-envelope-square:before { + content: "\f199"; +} +.fa-wordpress:before { + content: "\f19a"; +} +.fa-openid:before { + content: "\f19b"; +} +.fa-institution:before, +.fa-bank:before, +.fa-university:before { + content: "\f19c"; +} +.fa-mortar-board:before, +.fa-graduation-cap:before { + content: "\f19d"; +} +.fa-yahoo:before { + content: "\f19e"; +} +.fa-google:before { + content: "\f1a0"; +} +.fa-reddit:before { + content: "\f1a1"; +} +.fa-reddit-square:before { + content: "\f1a2"; +} +.fa-stumbleupon-circle:before { + content: "\f1a3"; +} +.fa-stumbleupon:before { + content: "\f1a4"; +} +.fa-delicious:before { + content: "\f1a5"; +} +.fa-digg:before { + content: "\f1a6"; +} +.fa-pied-piper-pp:before { + content: "\f1a7"; +} +.fa-pied-piper-alt:before { + content: "\f1a8"; +} +.fa-drupal:before { + content: "\f1a9"; +} +.fa-joomla:before { + content: "\f1aa"; +} +.fa-language:before { + content: "\f1ab"; +} +.fa-fax:before { + content: "\f1ac"; +} +.fa-building:before { + content: "\f1ad"; +} +.fa-child:before { + content: "\f1ae"; +} +.fa-paw:before { + content: "\f1b0"; +} +.fa-spoon:before { + content: "\f1b1"; +} +.fa-cube:before { + content: "\f1b2"; +} +.fa-cubes:before { + content: "\f1b3"; +} +.fa-behance:before { + content: "\f1b4"; +} +.fa-behance-square:before { + content: "\f1b5"; +} +.fa-steam:before { + content: "\f1b6"; +} +.fa-steam-square:before { + content: "\f1b7"; +} +.fa-recycle:before { + content: "\f1b8"; +} +.fa-automobile:before, +.fa-car:before { + content: "\f1b9"; +} +.fa-cab:before, +.fa-taxi:before { + content: "\f1ba"; +} +.fa-tree:before { + content: "\f1bb"; +} +.fa-spotify:before { + content: "\f1bc"; +} +.fa-deviantart:before { + content: "\f1bd"; +} +.fa-soundcloud:before { + content: "\f1be"; +} +.fa-database:before { + content: "\f1c0"; +} +.fa-file-pdf-o:before { + content: "\f1c1"; +} +.fa-file-word-o:before { + content: "\f1c2"; +} +.fa-file-excel-o:before { + content: "\f1c3"; +} +.fa-file-powerpoint-o:before { + content: "\f1c4"; +} +.fa-file-photo-o:before, +.fa-file-picture-o:before, +.fa-file-image-o:before { + content: "\f1c5"; +} +.fa-file-zip-o:before, +.fa-file-archive-o:before { + content: "\f1c6"; +} +.fa-file-sound-o:before, +.fa-file-audio-o:before { + content: "\f1c7"; +} +.fa-file-movie-o:before, +.fa-file-video-o:before { + content: "\f1c8"; +} +.fa-file-code-o:before { + content: "\f1c9"; +} +.fa-vine:before { + content: "\f1ca"; +} +.fa-codepen:before { + content: "\f1cb"; +} +.fa-jsfiddle:before { + content: "\f1cc"; +} +.fa-life-bouy:before, +.fa-life-buoy:before, +.fa-life-saver:before, +.fa-support:before, +.fa-life-ring:before { + content: "\f1cd"; +} +.fa-circle-o-notch:before { + content: "\f1ce"; +} +.fa-ra:before, +.fa-resistance:before, +.fa-rebel:before { + content: "\f1d0"; +} +.fa-ge:before, +.fa-empire:before { + content: "\f1d1"; +} +.fa-git-square:before { + content: "\f1d2"; +} +.fa-git:before { + content: "\f1d3"; +} +.fa-y-combinator-square:before, +.fa-yc-square:before, +.fa-hacker-news:before { + content: "\f1d4"; +} +.fa-tencent-weibo:before { + content: "\f1d5"; +} +.fa-qq:before { + content: "\f1d6"; +} +.fa-wechat:before, +.fa-weixin:before { + content: "\f1d7"; +} +.fa-send:before, +.fa-paper-plane:before { + content: "\f1d8"; +} +.fa-send-o:before, +.fa-paper-plane-o:before { + content: "\f1d9"; +} +.fa-history:before { + content: "\f1da"; +} +.fa-circle-thin:before { + content: "\f1db"; +} +.fa-header:before { + content: "\f1dc"; +} +.fa-paragraph:before { + content: "\f1dd"; +} +.fa-sliders:before { + content: "\f1de"; +} +.fa-share-alt:before { + content: "\f1e0"; +} +.fa-share-alt-square:before { + content: "\f1e1"; +} +.fa-bomb:before { + content: "\f1e2"; +} +.fa-soccer-ball-o:before, +.fa-futbol-o:before { + content: "\f1e3"; +} +.fa-tty:before { + content: "\f1e4"; +} +.fa-binoculars:before { + content: "\f1e5"; +} +.fa-plug:before { + content: "\f1e6"; +} +.fa-slideshare:before { + content: "\f1e7"; +} +.fa-twitch:before { + content: "\f1e8"; +} +.fa-yelp:before { + content: "\f1e9"; +} +.fa-newspaper-o:before { + content: "\f1ea"; +} +.fa-wifi:before { + content: "\f1eb"; +} +.fa-calculator:before { + content: "\f1ec"; +} +.fa-paypal:before { + content: "\f1ed"; +} +.fa-google-wallet:before { + content: "\f1ee"; +} +.fa-cc-visa:before { + content: "\f1f0"; +} +.fa-cc-mastercard:before { + content: "\f1f1"; +} +.fa-cc-discover:before { + content: "\f1f2"; +} +.fa-cc-amex:before { + content: "\f1f3"; +} +.fa-cc-paypal:before { + content: "\f1f4"; +} +.fa-cc-stripe:before { + content: "\f1f5"; +} +.fa-bell-slash:before { + content: "\f1f6"; +} +.fa-bell-slash-o:before { + content: "\f1f7"; +} +.fa-trash:before { + content: "\f1f8"; +} +.fa-copyright:before { + content: "\f1f9"; +} +.fa-at:before { + content: "\f1fa"; +} +.fa-eyedropper:before { + content: "\f1fb"; +} +.fa-paint-brush:before { + content: "\f1fc"; +} +.fa-birthday-cake:before { + content: "\f1fd"; +} +.fa-area-chart:before { + content: "\f1fe"; +} +.fa-pie-chart:before { + content: "\f200"; +} +.fa-line-chart:before { + content: "\f201"; +} +.fa-lastfm:before { + content: "\f202"; +} +.fa-lastfm-square:before { + content: "\f203"; +} +.fa-toggle-off:before { + content: "\f204"; +} +.fa-toggle-on:before { + content: "\f205"; +} +.fa-bicycle:before { + content: "\f206"; +} +.fa-bus:before { + content: "\f207"; +} +.fa-ioxhost:before { + content: "\f208"; +} +.fa-angellist:before { + content: "\f209"; +} +.fa-cc:before { + content: "\f20a"; +} +.fa-shekel:before, +.fa-sheqel:before, +.fa-ils:before { + content: "\f20b"; +} +.fa-meanpath:before { + content: "\f20c"; +} +.fa-buysellads:before { + content: "\f20d"; +} +.fa-connectdevelop:before { + content: "\f20e"; +} +.fa-dashcube:before { + content: "\f210"; +} +.fa-forumbee:before { + content: "\f211"; +} +.fa-leanpub:before { + content: "\f212"; +} +.fa-sellsy:before { + content: "\f213"; +} +.fa-shirtsinbulk:before { + content: "\f214"; +} +.fa-simplybuilt:before { + content: "\f215"; +} +.fa-skyatlas:before { + content: "\f216"; +} +.fa-cart-plus:before { + content: "\f217"; +} +.fa-cart-arrow-down:before { + content: "\f218"; +} +.fa-diamond:before { + content: "\f219"; +} +.fa-ship:before { + content: "\f21a"; +} +.fa-user-secret:before { + content: "\f21b"; +} +.fa-motorcycle:before { + content: "\f21c"; +} +.fa-street-view:before { + content: "\f21d"; +} +.fa-heartbeat:before { + content: "\f21e"; +} +.fa-venus:before { + content: "\f221"; +} +.fa-mars:before { + content: "\f222"; +} +.fa-mercury:before { + content: "\f223"; +} +.fa-intersex:before, +.fa-transgender:before { + content: "\f224"; +} +.fa-transgender-alt:before { + content: "\f225"; +} +.fa-venus-double:before { + content: "\f226"; +} +.fa-mars-double:before { + content: "\f227"; +} +.fa-venus-mars:before { + content: "\f228"; +} +.fa-mars-stroke:before { + content: "\f229"; +} +.fa-mars-stroke-v:before { + content: "\f22a"; +} +.fa-mars-stroke-h:before { + content: "\f22b"; +} +.fa-neuter:before { + content: "\f22c"; +} +.fa-genderless:before { + content: "\f22d"; +} +.fa-facebook-official:before { + content: "\f230"; +} +.fa-pinterest-p:before { + content: "\f231"; +} +.fa-whatsapp:before { + content: "\f232"; +} +.fa-server:before { + content: "\f233"; +} +.fa-user-plus:before { + content: "\f234"; +} +.fa-user-times:before { + content: "\f235"; +} +.fa-hotel:before, +.fa-bed:before { + content: "\f236"; +} +.fa-viacoin:before { + content: "\f237"; +} +.fa-train:before { + content: "\f238"; +} +.fa-subway:before { + content: "\f239"; +} +.fa-medium:before { + content: "\f23a"; +} +.fa-yc:before, +.fa-y-combinator:before { + content: "\f23b"; +} +.fa-optin-monster:before { + content: "\f23c"; +} +.fa-opencart:before { + content: "\f23d"; +} +.fa-expeditedssl:before { + content: "\f23e"; +} +.fa-battery-4:before, +.fa-battery:before, +.fa-battery-full:before { + content: "\f240"; +} +.fa-battery-3:before, +.fa-battery-three-quarters:before { + content: "\f241"; +} +.fa-battery-2:before, +.fa-battery-half:before { + content: "\f242"; +} +.fa-battery-1:before, +.fa-battery-quarter:before { + content: "\f243"; +} +.fa-battery-0:before, +.fa-battery-empty:before { + content: "\f244"; +} +.fa-mouse-pointer:before { + content: "\f245"; +} +.fa-i-cursor:before { + content: "\f246"; +} +.fa-object-group:before { + content: "\f247"; +} +.fa-object-ungroup:before { + content: "\f248"; +} +.fa-sticky-note:before { + content: "\f249"; +} +.fa-sticky-note-o:before { + content: "\f24a"; +} +.fa-cc-jcb:before { + content: "\f24b"; +} +.fa-cc-diners-club:before { + content: "\f24c"; +} +.fa-clone:before { + content: "\f24d"; +} +.fa-balance-scale:before { + content: "\f24e"; +} +.fa-hourglass-o:before { + content: "\f250"; +} +.fa-hourglass-1:before, +.fa-hourglass-start:before { + content: "\f251"; +} +.fa-hourglass-2:before, +.fa-hourglass-half:before { + content: "\f252"; +} +.fa-hourglass-3:before, +.fa-hourglass-end:before { + content: "\f253"; +} +.fa-hourglass:before { + content: "\f254"; +} +.fa-hand-grab-o:before, +.fa-hand-rock-o:before { + content: "\f255"; +} +.fa-hand-stop-o:before, +.fa-hand-paper-o:before { + content: "\f256"; +} +.fa-hand-scissors-o:before { + content: "\f257"; +} +.fa-hand-lizard-o:before { + content: "\f258"; +} +.fa-hand-spock-o:before { + content: "\f259"; +} +.fa-hand-pointer-o:before { + content: "\f25a"; +} +.fa-hand-peace-o:before { + content: "\f25b"; +} +.fa-trademark:before { + content: "\f25c"; +} +.fa-registered:before { + content: "\f25d"; +} +.fa-creative-commons:before { + content: "\f25e"; +} +.fa-gg:before { + content: "\f260"; +} +.fa-gg-circle:before { + content: "\f261"; +} +.fa-tripadvisor:before { + content: "\f262"; +} +.fa-odnoklassniki:before { + content: "\f263"; +} +.fa-odnoklassniki-square:before { + content: "\f264"; +} +.fa-get-pocket:before { + content: "\f265"; +} +.fa-wikipedia-w:before { + content: "\f266"; +} +.fa-safari:before { + content: "\f267"; +} +.fa-chrome:before { + content: "\f268"; +} +.fa-firefox:before { + content: "\f269"; +} +.fa-opera:before { + content: "\f26a"; +} +.fa-internet-explorer:before { + content: "\f26b"; +} +.fa-tv:before, +.fa-television:before { + content: "\f26c"; +} +.fa-contao:before { + content: "\f26d"; +} +.fa-500px:before { + content: "\f26e"; +} +.fa-amazon:before { + content: "\f270"; +} +.fa-calendar-plus-o:before { + content: "\f271"; +} +.fa-calendar-minus-o:before { + content: "\f272"; +} +.fa-calendar-times-o:before { + content: "\f273"; +} +.fa-calendar-check-o:before { + content: "\f274"; +} +.fa-industry:before { + content: "\f275"; +} +.fa-map-pin:before { + content: "\f276"; +} +.fa-map-signs:before { + content: "\f277"; +} +.fa-map-o:before { + content: "\f278"; +} +.fa-map:before { + content: "\f279"; +} +.fa-commenting:before { + content: "\f27a"; +} +.fa-commenting-o:before { + content: "\f27b"; +} +.fa-houzz:before { + content: "\f27c"; +} +.fa-vimeo:before { + content: "\f27d"; +} +.fa-black-tie:before { + content: "\f27e"; +} +.fa-fonticons:before { + content: "\f280"; +} +.fa-reddit-alien:before { + content: "\f281"; +} +.fa-edge:before { + content: "\f282"; +} +.fa-credit-card-alt:before { + content: "\f283"; +} +.fa-codiepie:before { + content: "\f284"; +} +.fa-modx:before { + content: "\f285"; +} +.fa-fort-awesome:before { + content: "\f286"; +} +.fa-usb:before { + content: "\f287"; +} +.fa-product-hunt:before { + content: "\f288"; +} +.fa-mixcloud:before { + content: "\f289"; +} +.fa-scribd:before { + content: "\f28a"; +} +.fa-pause-circle:before { + content: "\f28b"; +} +.fa-pause-circle-o:before { + content: "\f28c"; +} +.fa-stop-circle:before { + content: "\f28d"; +} +.fa-stop-circle-o:before { + content: "\f28e"; +} +.fa-shopping-bag:before { + content: "\f290"; +} +.fa-shopping-basket:before { + content: "\f291"; +} +.fa-hashtag:before { + content: "\f292"; +} +.fa-bluetooth:before { + content: "\f293"; +} +.fa-bluetooth-b:before { + content: "\f294"; +} +.fa-percent:before { + content: "\f295"; +} +.fa-gitlab:before { + content: "\f296"; +} +.fa-wpbeginner:before { + content: "\f297"; +} +.fa-wpforms:before { + content: "\f298"; +} +.fa-envira:before { + content: "\f299"; +} +.fa-universal-access:before { + content: "\f29a"; +} +.fa-wheelchair-alt:before { + content: "\f29b"; +} +.fa-question-circle-o:before { + content: "\f29c"; +} +.fa-blind:before { + content: "\f29d"; +} +.fa-audio-description:before { + content: "\f29e"; +} +.fa-volume-control-phone:before { + content: "\f2a0"; +} +.fa-braille:before { + content: "\f2a1"; +} +.fa-assistive-listening-systems:before { + content: "\f2a2"; +} +.fa-asl-interpreting:before, +.fa-american-sign-language-interpreting:before { + content: "\f2a3"; +} +.fa-deafness:before, +.fa-hard-of-hearing:before, +.fa-deaf:before { + content: "\f2a4"; +} +.fa-glide:before { + content: "\f2a5"; +} +.fa-glide-g:before { + content: "\f2a6"; +} +.fa-signing:before, +.fa-sign-language:before { + content: "\f2a7"; +} +.fa-low-vision:before { + content: "\f2a8"; +} +.fa-viadeo:before { + content: "\f2a9"; +} +.fa-viadeo-square:before { + content: "\f2aa"; +} +.fa-snapchat:before { + content: "\f2ab"; +} +.fa-snapchat-ghost:before { + content: "\f2ac"; +} +.fa-snapchat-square:before { + content: "\f2ad"; +} +.fa-pied-piper:before { + content: "\f2ae"; +} +.fa-first-order:before { + content: "\f2b0"; +} +.fa-yoast:before { + content: "\f2b1"; +} +.fa-themeisle:before { + content: "\f2b2"; +} +.fa-google-plus-circle:before, +.fa-google-plus-official:before { + content: "\f2b3"; +} +.fa-fa:before, +.fa-font-awesome:before { + content: "\f2b4"; +} +.fa-handshake-o:before { + content: "\f2b5"; +} +.fa-envelope-open:before { + content: "\f2b6"; +} +.fa-envelope-open-o:before { + content: "\f2b7"; +} +.fa-linode:before { + content: "\f2b8"; +} +.fa-address-book:before { + content: "\f2b9"; +} +.fa-address-book-o:before { + content: "\f2ba"; +} +.fa-vcard:before, +.fa-address-card:before { + content: "\f2bb"; +} +.fa-vcard-o:before, +.fa-address-card-o:before { + content: "\f2bc"; +} +.fa-user-circle:before { + content: "\f2bd"; +} +.fa-user-circle-o:before { + content: "\f2be"; +} +.fa-user-o:before { + content: "\f2c0"; +} +.fa-id-badge:before { + content: "\f2c1"; +} +.fa-drivers-license:before, +.fa-id-card:before { + content: "\f2c2"; +} +.fa-drivers-license-o:before, +.fa-id-card-o:before { + content: "\f2c3"; +} +.fa-quora:before { + content: "\f2c4"; +} +.fa-free-code-camp:before { + content: "\f2c5"; +} +.fa-telegram:before { + content: "\f2c6"; +} +.fa-thermometer-4:before, +.fa-thermometer:before, +.fa-thermometer-full:before { + content: "\f2c7"; +} +.fa-thermometer-3:before, +.fa-thermometer-three-quarters:before { + content: "\f2c8"; +} +.fa-thermometer-2:before, +.fa-thermometer-half:before { + content: "\f2c9"; +} +.fa-thermometer-1:before, +.fa-thermometer-quarter:before { + content: "\f2ca"; +} +.fa-thermometer-0:before, +.fa-thermometer-empty:before { + content: "\f2cb"; +} +.fa-shower:before { + content: "\f2cc"; +} +.fa-bathtub:before, +.fa-s15:before, +.fa-bath:before { + content: "\f2cd"; +} +.fa-podcast:before { + content: "\f2ce"; +} +.fa-window-maximize:before { + content: "\f2d0"; +} +.fa-window-minimize:before { + content: "\f2d1"; +} +.fa-window-restore:before { + content: "\f2d2"; +} +.fa-times-rectangle:before, +.fa-window-close:before { + content: "\f2d3"; +} +.fa-times-rectangle-o:before, +.fa-window-close-o:before { + content: "\f2d4"; +} +.fa-bandcamp:before { + content: "\f2d5"; +} +.fa-grav:before { + content: "\f2d6"; +} +.fa-etsy:before { + content: "\f2d7"; +} +.fa-imdb:before { + content: "\f2d8"; +} +.fa-ravelry:before { + content: "\f2d9"; +} +.fa-eercast:before { + content: "\f2da"; +} +.fa-microchip:before { + content: "\f2db"; +} +.fa-snowflake-o:before { + content: "\f2dc"; +} +.fa-superpowers:before { + content: "\f2dd"; +} +.fa-wpexplorer:before { + content: "\f2de"; +} +.fa-meetup:before { + content: "\f2e0"; +} +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} +.sr-only-focusable:active, +.sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + margin: 0; + overflow: visible; + clip: auto; +} diff --git a/css/fontawesome/css/font-awesome.min.css b/css/fontawesome/css/font-awesome.min.css new file mode 100644 index 0000000..540440c --- /dev/null +++ b/css/fontawesome/css/font-awesome.min.css @@ -0,0 +1,4 @@ +/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{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}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} diff --git a/css/fontawesome/fonts/FontAwesome.otf b/css/fontawesome/fonts/FontAwesome.otf new file mode 100644 index 0000000..401ec0f Binary files /dev/null and b/css/fontawesome/fonts/FontAwesome.otf differ diff --git a/css/fontawesome/fonts/fontawesome-webfont.eot b/css/fontawesome/fonts/fontawesome-webfont.eot new file mode 100644 index 0000000..e9f60ca Binary files /dev/null and b/css/fontawesome/fonts/fontawesome-webfont.eot differ diff --git a/css/fontawesome/fonts/fontawesome-webfont.svg b/css/fontawesome/fonts/fontawesome-webfont.svg new file mode 100644 index 0000000..855c845 --- /dev/null +++ b/css/fontawesome/fonts/fontawesome-webfont.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/css/fontawesome/fonts/fontawesome-webfont.ttf b/css/fontawesome/fonts/fontawesome-webfont.ttf new file mode 100644 index 0000000..35acda2 Binary files /dev/null and b/css/fontawesome/fonts/fontawesome-webfont.ttf differ diff --git a/css/fontawesome/fonts/fontawesome-webfont.woff b/css/fontawesome/fonts/fontawesome-webfont.woff new file mode 100644 index 0000000..400014a Binary files /dev/null and b/css/fontawesome/fonts/fontawesome-webfont.woff differ diff --git a/css/fontawesome/fonts/fontawesome-webfont.woff2 b/css/fontawesome/fonts/fontawesome-webfont.woff2 new file mode 100644 index 0000000..4d13fc6 Binary files /dev/null and b/css/fontawesome/fonts/fontawesome-webfont.woff2 differ diff --git a/css/fonts/slick.eot b/css/fonts/slick.eot new file mode 100644 index 0000000..2cbab9c Binary files /dev/null and b/css/fonts/slick.eot differ diff --git a/css/fonts/slick.svg b/css/fonts/slick.svg new file mode 100644 index 0000000..b36a66a --- /dev/null +++ b/css/fonts/slick.svg @@ -0,0 +1,14 @@ + + + +Generated by Fontastic.me + + + + + + + + + + diff --git a/css/fonts/slick.ttf b/css/fonts/slick.ttf new file mode 100644 index 0000000..9d03461 Binary files /dev/null and b/css/fonts/slick.ttf differ diff --git a/css/fonts/slick.woff b/css/fonts/slick.woff new file mode 100644 index 0000000..8ee9972 Binary files /dev/null and b/css/fonts/slick.woff differ diff --git a/css/images/caption-bg.png b/css/images/caption-bg.png new file mode 100644 index 0000000..54ca139 Binary files /dev/null and b/css/images/caption-bg.png differ diff --git a/css/images/close.png b/css/images/close.png new file mode 100644 index 0000000..e802c69 Binary files /dev/null and b/css/images/close.png differ diff --git a/css/images/close@2x.png b/css/images/close@2x.png new file mode 100644 index 0000000..60b37fa Binary files /dev/null and b/css/images/close@2x.png differ diff --git a/css/images/controls.png b/css/images/controls.png new file mode 100644 index 0000000..dbafdb5 Binary files /dev/null and b/css/images/controls.png differ diff --git a/css/images/left-arrow.png b/css/images/left-arrow.png new file mode 100644 index 0000000..51aed6e Binary files /dev/null and b/css/images/left-arrow.png differ diff --git a/css/images/loading.gif b/css/images/loading.gif new file mode 100644 index 0000000..5b796c4 Binary files /dev/null and b/css/images/loading.gif differ diff --git a/css/images/loading@2x.gif b/css/images/loading@2x.gif new file mode 100644 index 0000000..dc8aeff Binary files /dev/null and b/css/images/loading@2x.gif differ diff --git a/css/images/next.png b/css/images/next.png new file mode 100644 index 0000000..462b64e Binary files /dev/null and b/css/images/next.png differ diff --git a/css/images/next@2x.png b/css/images/next@2x.png new file mode 100644 index 0000000..f246ae9 Binary files /dev/null and b/css/images/next@2x.png differ diff --git a/css/images/prev.png b/css/images/prev.png new file mode 100644 index 0000000..eda62a7 Binary files /dev/null and b/css/images/prev.png differ diff --git a/css/images/prev@2x.png b/css/images/prev@2x.png new file mode 100644 index 0000000..49a2e4d Binary files /dev/null and b/css/images/prev@2x.png differ diff --git a/css/images/right-arrow.png b/css/images/right-arrow.png new file mode 100644 index 0000000..315fcfd Binary files /dev/null and b/css/images/right-arrow.png differ diff --git a/css/nivo-lightbox.css b/css/nivo-lightbox.css new file mode 100644 index 0000000..a17535e --- /dev/null +++ b/css/nivo-lightbox.css @@ -0,0 +1,293 @@ +/* + * Nivo Lightbox v1.1 + * http://dev7studios.com/nivo-lightbox + * + * Copyright 2013, Dev7studios + * Free to use and abuse under the MIT license. + * http://www.opensource.org/licenses/mit-license.php + */ + +.nivo-lightbox-overlay { + position: fixed; + top: 0; + left: 0; + z-index: 99998; + width: 100%; + height: 100%; + overflow: hidden; + visibility: hidden; + opacity: 0; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.nivo-lightbox-overlay.nivo-lightbox-open { + visibility: visible; + opacity: 1; +} +.nivo-lightbox-wrap { + position: absolute; + top: 10%; + bottom: 10%; + left: 10%; + right: 10%; +} +.nivo-lightbox-content { + width: 100%; + height: 100%; +} +.nivo-lightbox-title-wrap { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + z-index: 99999; + text-align: center; +} +.nivo-lightbox-nav { display: none; } +.nivo-lightbox-prev { + position: absolute; + top: 50%; + left: 0; +} +.nivo-lightbox-next { + position: absolute; + top: 50%; + right: 0; +} +.nivo-lightbox-close { + position: absolute; + top: 2%; + right: 2%; +} + +.nivo-lightbox-image { text-align: center; } +.nivo-lightbox-image img { + max-width: 100%; + max-height: 100%; + width: auto; + height: auto; + vertical-align: middle; +} +.nivo-lightbox-content iframe { + width: 100%; + height: 100%; +} +.nivo-lightbox-inline, +.nivo-lightbox-ajax { + max-height: 100%; + overflow: auto; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + /* https://bugzilla.mozilla.org/show_bug.cgi?id=308801 */ +} +.nivo-lightbox-error { + display: table; + text-align: center; + width: 100%; + height: 100%; + color: #fff; + text-shadow: 0 1px 1px #000; +} +.nivo-lightbox-error p { + display: table-cell; + vertical-align: middle; +} + +/* Effects + **********************************************/ +.nivo-lightbox-notouch .nivo-lightbox-effect-fade, +.nivo-lightbox-notouch .nivo-lightbox-effect-fadeScale, +.nivo-lightbox-notouch .nivo-lightbox-effect-slideLeft, +.nivo-lightbox-notouch .nivo-lightbox-effect-slideRight, +.nivo-lightbox-notouch .nivo-lightbox-effect-slideUp, +.nivo-lightbox-notouch .nivo-lightbox-effect-slideDown, +.nivo-lightbox-notouch .nivo-lightbox-effect-fall { + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -ms-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +/* fadeScale */ +.nivo-lightbox-effect-fadeScale .nivo-lightbox-wrap { + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + -ms-transition: all 0.3s; + -o-transition: all 0.3s; + transition: all 0.3s; + -webkit-transform: scale(0.7); + -moz-transform: scale(0.7); + -ms-transform: scale(0.7); + transform: scale(0.7); +} +.nivo-lightbox-effect-fadeScale.nivo-lightbox-open .nivo-lightbox-wrap { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); +} + +/* slideLeft / slideRight / slideUp / slideDown */ +.nivo-lightbox-effect-slideLeft .nivo-lightbox-wrap, +.nivo-lightbox-effect-slideRight .nivo-lightbox-wrap, +.nivo-lightbox-effect-slideUp .nivo-lightbox-wrap, +.nivo-lightbox-effect-slideDown .nivo-lightbox-wrap { + -webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); + -moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); + -ms-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); + -o-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); + transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); +} +.nivo-lightbox-effect-slideLeft .nivo-lightbox-wrap { + -webkit-transform: translateX(-10%); + -moz-transform: translateX(-10%); + -ms-transform: translateX(-10%); + transform: translateX(-10%); +} +.nivo-lightbox-effect-slideRight .nivo-lightbox-wrap { + -webkit-transform: translateX(10%); + -moz-transform: translateX(10%); + -ms-transform: translateX(10%); + transform: translateX(10%); +} +.nivo-lightbox-effect-slideLeft.nivo-lightbox-open .nivo-lightbox-wrap, +.nivo-lightbox-effect-slideRight.nivo-lightbox-open .nivo-lightbox-wrap { + -webkit-transform: translateX(0); + -moz-transform: translateX(0); + -ms-transform: translateX(0); + transform: translateX(0); +} +.nivo-lightbox-effect-slideDown .nivo-lightbox-wrap { + -webkit-transform: translateY(-10%); + -moz-transform: translateY(-10%); + -ms-transform: translateY(-10%); + transform: translateY(-10%); +} +.nivo-lightbox-effect-slideUp .nivo-lightbox-wrap { + -webkit-transform: translateY(10%); + -moz-transform: translateY(10%); + -ms-transform: translateY(10%); + transform: translateY(10%); +} +.nivo-lightbox-effect-slideUp.nivo-lightbox-open .nivo-lightbox-wrap, +.nivo-lightbox-effect-slideDown.nivo-lightbox-open .nivo-lightbox-wrap { + -webkit-transform: translateY(0); + -moz-transform: translateY(0); + -ms-transform: translateY(0); + transform: translateY(0); +} + +/* fall */ +.nivo-lightbox-body-effect-fall .nivo-lightbox-effect-fall { + -webkit-perspective: 1000px; + -moz-perspective: 1000px; + perspective: 1000px; +} +.nivo-lightbox-effect-fall .nivo-lightbox-wrap { + -webkit-transition: all 0.3s ease-out; + -moz-transition: all 0.3s ease-out; + -ms-transition: all 0.3s ease-out; + -o-transition: all 0.3s ease-out; + transition: all 0.3s ease-out; + -webkit-transform: translateZ(300px); + -moz-transform: translateZ(300px); + -ms-transform: translateZ(300px); + transform: translateZ(300px); +} +.nivo-lightbox-effect-fall.nivo-lightbox-open .nivo-lightbox-wrap { + -webkit-transform: translateZ(0); + -moz-transform: translateZ(0); + -ms-transform: translateZ(0); + transform: translateZ(0); +} + +.nivo-lightbox-theme-default.nivo-lightbox-overlay { + background: #666; + background: rgba(0,0,0,0.6); +} +.nivo-lightbox-theme-default .nivo-lightbox-content.nivo-lightbox-loading { background: url(images/loading.gif) no-repeat 50% 50%; } + +.nivo-lightbox-theme-default .nivo-lightbox-nav { + top: 10%; + width: 8%; + height: 80%; + text-indent: -9999px; + background-repeat: no-repeat; + background-position: 50% 50%; + opacity: 0.5; +} +.nivo-lightbox-theme-default .nivo-lightbox-nav:hover { + opacity: 1; + background-color: rgba(0,0,0,0.1); +} +.nivo-lightbox-theme-default .nivo-lightbox-prev { + background-image: url(images/prev.png); + border-radius: 0 3px 3px 0; +} +.nivo-lightbox-theme-default .nivo-lightbox-next { + background-image: url(images/next.png); + border-radius: 3px 0 0 3px; +} + +.nivo-lightbox-theme-default .nivo-lightbox-close { + display: block; + background: url(images/close.png) no-repeat 5px 5px; + width: 16px; + height: 16px; + text-indent: -9999px; + padding: 5px; + opacity: 0.5; +} +.nivo-lightbox-theme-default .nivo-lightbox-close:hover { opacity: 1; } + +.nivo-lightbox-theme-default .nivo-lightbox-title-wrap { bottom: -7%; } +.nivo-lightbox-theme-default .nivo-lightbox-title { + font: 14px/20px 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-style: normal; + font-weight: normal; + background: #000; + color: #fff; + padding: 7px 15px; + border-radius: 30px; +} + +.nivo-lightbox-theme-default .nivo-lightbox-image img { + background: #fff; + padding:8px; +} +.nivo-lightbox-theme-default .nivo-lightbox-ajax, +.nivo-lightbox-theme-default .nivo-lightbox-inline { + background: #fff; + padding: 40px; + -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.4); + -moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.4); + box-shadow: 0px 1px 1px rgba(0,0,0,0.4); +} + +@media (-webkit-min-device-pixel-ratio: 1.3), + (-o-min-device-pixel-ratio: 2.6/2), + (min--moz-device-pixel-ratio: 1.3), + (min-device-pixel-ratio: 1.3), + (min-resolution: 1.3dppx) { + + .nivo-lightbox-theme-default .nivo-lightbox-content.nivo-lightbox-loading { + background-image: url(images/loading@2x.gif); + background-size: 32px 32px; + } + .nivo-lightbox-theme-default .nivo-lightbox-prev { + background-image: url(images/prev@2x.png); + background-size: 48px 48px; + } + .nivo-lightbox-theme-default .nivo-lightbox-next { + background-image: url(images/next@2x.png); + background-size: 48px 48px; + } + .nivo-lightbox-theme-default .nivo-lightbox-close { + background-image: url(images/close@2x.png); + background-size: 16px 16px; + } + +} \ No newline at end of file diff --git a/css/responsive.css b/css/responsive.css new file mode 100644 index 0000000..0af877d --- /dev/null +++ b/css/responsive.css @@ -0,0 +1,328 @@ +/* +Responsive CSS +*/ +@media screen and (max-width: 1200px){ + .page-template-default #page #content{ + padding-left: 10px; + padding-right: 10px; + } + .mid-content{ + width: 100%; + /* padding: 0 20px; */ + } + + .service-list .service-image{ + width: 16%; + height: auto; + } + .service-list .service-detail{ + width: 80%; + } + + .team-tab{ + padding: 0 50px; + } + + .social-icons{ + display: none; + } +} + +@media screen and (max-width: 1000px){ + #masthead .flex-box{ + display: block; + } + #site-logo{ + width: 30%; + } + .main-navigation{ + width: 40px; + } + .main-navigation > ul{ + display: none; + } + .menu-toggle{ + display: block; + height: 40px; + width: 40px; + background: url(../images/menu.png) no-repeat center #00D3D1; + text-indent: -9999px; + cursor: pointer; + } + .logo-top #site-logo{ + float: left; + text-align: left; + } + .logo-top .main-navigation{ + float: right; + } + + .logo-top .menu-toggle{ + float: right; + } + .main-navigation{ + text-align: center; + } + .main-navigation > ul{ + position: absolute; + top: 100%; + left: 0; + width: 100%; + background: #F28B59; + padding: 10px 0; + text-align: center; + } + .main-navigation > ul > li{ + display: inline-block; + float: none; + } + .main-navigation > ul > li > a{ + color:#FFF; + padding: 10px; + } + .main-navigation > ul > li.current a, + .main-navigation li:hover > a, + .main-navigation .current_page_item > a, + .main-navigation .current-menu-item > a{ + color: #EEE; + } + .slider-caption{ + padding-left: 70px; + padding-right: 70px; + } + #main-slider{ + min-height: 0; + } +} + +@media screen and (max-width: 768px){ + + h1{ + font-size: 24px; + } + h2{ + font-size: 20px; + } + h3{ + font-size: 18px; + } + h4{ + font-size: 16px; + } + h5{ + font-size: 14px; + } + h6{ + font-size: 12px; + } + .parallax-section h1{ + font-size: 34px; + } + .slider-caption .caption-title{ + font-size: 30px; + } + .slider-caption .caption-description{ + font-size: 20px; + } + .service-list{ + width: 100%; + } + .portfolio-list{ + width: 50%; + } + + .team-image img{ + width: 100%; + } + + .portfolio-listing a:nth-child(3n+1){ + clear: none; + } + + .portfolio-listing a:nth-child(2n+1){ + clear: both; + } + + .blog-listing .blog-list{ + width: 80%; + margin: 0 auto 20px; + float: none; + display: block; + } + .blog-list .blog-image{ + text-align: center; + } + .parallax-section input[type="text"], + .parallax-section input[type="email"], + .parallax-section input[type="url"], + .parallax-section input[type="password"], + .parallax-section input[type="search"], + .parallax-section input[type="tel"], + .parallax-section textarea{ + width: 80%; + } + .service-listing .service-list{ + float: none; + } + .top-footer .top-footer-wrap{ + margin-left: 0; + } + .footer-block{ + width: 100% !important; + margin-left: 0 !important; + margin-bottom: 25px; + float: none; + } + .footer-block:last-child{ + margin-bottom: 0; + } + .copy-right, .site-info{ + float: none; + text-align: center; + } + .main-navigation > ul{ + padding: 0; + z-index: 99; + } + .main-navigation > ul > li{ + display: block; + border-bottom: 1px solid white; + } + .main-navigation ul ul { + background: #F28B59; + position: static; + font-size: 15px; + display: none; + float: none; + } + #primary, #secondary{ + float: none; + width: 100%; + } + #main-slider .bx-wrapper .bx-controls-direction a{ + display: none; + } + .next-page{ + display: none; + } + .main-navigation ul ul a{ + color: #FFF; + } + .main-navigation ul ul li a{ + padding: 10px 0; + border: 0; + } + .main-navigation ul ul{ + box-shadow: none; + } + .parallax-section{ + /* background-attachment: scroll !important; + background-repeat: repeat !important; */ + } + .parallax-section.blank_template{ + height: 40vh; + min-height: none; + } + body.parallax-on #masthead{ + position: relative; + } + #content{ + padding-top: 0 !important; + } + #main-slider .slick-arrow{ + display: none !important; + } + .slider-caption{ + padding: 0; + } + .logo-top .main-navigation ul ul li{ + text-align: center; + } +} +@media screen and (max-width: 480px){ + .parallax-section h1{ + font-size: 30px; + } + .service-list.odd .service-image{ + float: left; + } + .service-list.odd .service-detail{ + float: right; + } + .service-listing .service-list{ + text-align: left; + } + .team-tab{ + max-width: 250px; + margin: 0 auto; + } + .team-big-image{ + display: none; + } + .team-detail{ + float: none; + width: auto; + } + .team-image{ + height: auto; + } + .team-tab .bx-wrapper .bx-viewport{ + border-radius: 0; + } + .portfolio-list{ + width: 100%; + } + .blog-listing .blog-list{ + width: 100%; + } + .parallax-section input[type="text"], + .parallax-section input[type="email"], + .parallax-section input[type="url"], + .parallax-section input[type="password"], + .parallax-section input[type="search"], + .parallax-section input[type="tel"], + .parallax-section textarea{ + width: 100%; + } + + .team-content{ + margin-top: 30px; + } + #site-logo, + .logo-top #site-logo{ + width: 60%; + text-align:left; + } + .slider-caption{ + display: none; + } + + .hentry, + #comments, + #secondary .widget{ + padding: 20px; + } + + .entry-thumb{ + margin: -20px -20px 30px; + } + + .comment-navigation [class*='nav-'], + .paging-navigation [class*='nav-'], + .post-navigation [class*='nav-'], + .posts-navigation [class*='nav-']{ + width: 100%; + float: none; + } + +} + + +@media screen and (min-width: 1001px){ + .main-navigation > ul{ + display: block !important; + } + .logo-top .main-navigation > ul{ + display: inline-block !important; + } +} \ No newline at end of file diff --git a/css/slick.css b/css/slick.css new file mode 100644 index 0000000..57477e8 --- /dev/null +++ b/css/slick.css @@ -0,0 +1,119 @@ +/* Slider */ +.slick-slider +{ + position: relative; + + display: block; + box-sizing: border-box; + + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + + -webkit-touch-callout: none; + -khtml-user-select: none; + -ms-touch-action: pan-y; + touch-action: pan-y; + -webkit-tap-highlight-color: transparent; +} + +.slick-list +{ + position: relative; + + display: block; + overflow: hidden; + + margin: 0; + padding: 0; +} +.slick-list:focus +{ + outline: none; +} +.slick-list.dragging +{ + cursor: pointer; + cursor: hand; +} + +.slick-slider .slick-track, +.slick-slider .slick-list +{ + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + -ms-transform: translate3d(0, 0, 0); + -o-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} + +.slick-track +{ + position: relative; + top: 0; + left: 0; + + display: block; + margin-left: auto; + margin-right: auto; +} +.slick-track:before, +.slick-track:after +{ + display: table; + + content: ''; +} +.slick-track:after +{ + clear: both; +} +.slick-loading .slick-track +{ + visibility: hidden; +} + +.slick-slide +{ + display: none; + float: left; + + height: 100%; + min-height: 1px; +} +[dir='rtl'] .slick-slide +{ + float: right; +} +.slick-slide img +{ + display: block; +} +.slick-slide.slick-loading img +{ + display: none; +} +.slick-slide.dragging img +{ + pointer-events: none; +} +.slick-initialized .slick-slide +{ + display: block; +} +.slick-loading .slick-slide +{ + visibility: hidden; +} +.slick-vertical .slick-slide +{ + display: block; + + height: auto; + + border: 1px solid transparent; +} +.slick-arrow.slick-hidden { + display: none; +} diff --git a/demo.php b/demo.php new file mode 100644 index 0000000..42a89bc --- /dev/null +++ b/demo.php @@ -0,0 +1,460 @@ +
    +
    +

    Features

    +
    +
    +

    +
    +
    +
    +
    +
    + EASY THEME OPTION PANEL +
    +
    +

    EASY THEME OPTION PANEL

    +

    +
    +
    +
    +
    +
    + EASY CUSTOMIZABLE +
    +
    +

    EASY CUSTOMIZABLE

    +

    +
    +
    +
    +
    +
    + CLEAN CODING +
    +
    +

    CLEAN CODING

    +

    +
    +
    +
    +
    +
    + HTML5 & CSS3 +
    +
    +

    HTML5 & CSS3

    +

    +
    +
    +
    +
    +
    + 7X24 SUPPORT +
    +
    +

    7X24 SUPPORT

    +

    +
    +
    +
    +
    +
    + MULTIPURPOSE +
    +
    +

    MULTIPURPOSE

    +

    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +

    Team

    +
    +
    +
    +
    +
    +
    + Russel Clinton +
    +
    + Bibo Aurther +
    +
    + Rusel Misil +
    +
    + Linda Harley +
    +
    + John Doe +
    +
    + Jakson Biber +
    +
    + Jack Peterson +
    +
    +
    +
    +
    +
    + Russel Clinton +
    +
    +

    +

    +


    + Duis luctus nisl vel rhoncus rhoncus. Nam vehicula maximus sagittis. Proin quis lobortis nisi. Etiam luctus auctor urna, a luctus metus blandit in. Nam quis facilisis nunc, nec scelerisque ligula. Aenean quis lacus bibendum, lobortis dolor sed, facilisis ipsum. Nunc feugiat augue ac ligula blandit, id maximus purus molestie.', 'accesspress-parallax' ); ?>

    +
    +
    +
    +
    + Bibo Aurther +
    +
    +

    +

    +


    + Proin libero odio, ultrices et tincidunt vitae, consequat et sapien. Duis luctus nisl vel rhoncus rhoncus. Nam vehicula maximus sagittis. Proin quis lobortis nisi. Etiam luctus auctor urna, a luctus metus blandit in. Nam quis facilisis nunc, nec scelerisque ligula. Aenean quis lacus bibendum, lobortis dolor sed, facilisis ipsum. Nunc feugiat augue ac ligula blandit, id maximus purus molestie.', 'accesspress-parallax' ); ?>

    +
    +
    +
    +
    + Rusel Misil +
    +
    +

    +

    +


    + Proin libero odio, ultrices et tincidunt vitae, consequat et sapien. Duis luctus nisl vel rhoncus rhoncus. Nam vehicula maximus sagittis. Proin quis lobortis nisi. Etiam luctus auctor urna, a luctus metus blandit in. Nam quis facilisis nunc, nec scelerisque ligula. Aenean quis lacus bibendum, lobortis dolor sed, facilisis ipsum. Nunc feugiat augue ac ligula blandit, id maximus purus molestie.', 'accesspress-parallax' ); ?>

    +
    +
    +
    +
    + Linda Harley +
    +
    +

    +

    +


    + Nulla facilisis sapien dui, vel faucibus risus consequat sit amet. Phasellus vestibulum vestibulum mi quis posuere. Aenean pretium purus ut purus vehicula dictum. Morbi elementum dignissim aliquet. Nullam et purus et mi finibus laoreet. Aliquam posuere erat eu lobortis vulputate. Phasellus pulvinar fringilla turpis in congue. Integer et felis fringilla, elementum lacus eu, tincidunt purus.', 'accesspress-parallax' ); ?>

    +
    +
    +
    +
    + John Doe +
    +
    +

    +

    +


    + Nulla facilisis sapien dui, vel faucibus risus consequat sit amet. Phasellus vestibulum vestibulum mi quis posuere. Aenean pretium purus ut purus vehicula dictum. Morbi elementum dignissim aliquet. Nullam et purus et mi finibus laoreet. Aliquam posuere erat eu lobortis vulputate. Phasellus pulvinar fringilla turpis in congue. Integer et felis fringilla, elementum lacus eu, tincidunt purus.', 'accesspress-parallax' ); ?>

    +
    +
    +
    +
    + Jakson Biber +
    +
    +

    +

    +


    + Fusce imperdiet enim eget neque auctor, venenatis feugiat neque dapibus. Nulla consequat, nunc sed vestibulum semper, nibh velit pellentesque lectus, ac lobortis elit massa hendrerit lacus. Nulla facilisis sapien dui, vel faucibus risus consequat sit amet. Phasellus vestibulum vestibulum mi quis posuere.', 'accesspress-parallax' ); ?>

    +
    +
    +
    +
    + Jack Peterson +
    +
    +

    +

    +


    + Donec ut neque placerat, euismod enim et, sodales magna. Sed sit amet nunc ullamcorper, semper nunc mattis, scelerisque urna. Donec dictum mattis malesuada. Suspendisse vestibulum enim eu nisi auctor, a mollis odio posuere. Ut scelerisque luctus arcu id tempus.', 'accesspress-parallax' ); ?>

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    +
    +
    +
    +
    +
    +

    Thanks again for making our experience with AccessPress Themes the best one online!', 'accesspress-parallax' ); ?>

    +
    +

    +
    + Yanetxys Torreblanca +
    +
    +
    +

    +
    +

    +
    + David Soriano +
    +
    +
    +

    + The template is really good and nice, definitely worth going PRO', 'accesspress-parallax' ); ?>

    +
    +

    +
    + Stefano Roganti +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +

    +
    +
    +

    +

    +
    +
    +
    +
    +
    +
    +
    +
    +

    Contact

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +

    +

    +

    +

    +

    +
    +
    +
    +
    +
    +
    +
    +
    + ---------------------------------------
    + info@accesspressthemes.com
    + support@accesspressthemes.com
    + ---------------------------------------
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    Map
    +
    + +
    +
    +
    + + \ No newline at end of file diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..a813b20 --- /dev/null +++ b/footer.php @@ -0,0 +1,34 @@ + + + + +
    + + +
    + + +
    + + + + \ No newline at end of file diff --git a/functions.php b/functions.php index b58e0ef..780e61d 100644 --- a/functions.php +++ b/functions.php @@ -1,275 +1,300 @@ tag in the document head, and expect WordPress to + * provide it for us. + */ + add_theme_support( 'title-tag' ); + + // Add Support WooCommerce + add_theme_support( 'woocommerce' ); + add_theme_support( 'wc-product-gallery-zoom' ); + add_theme_support( 'wc-product-gallery-lightbox' ); + add_theme_support( 'wc-product-gallery-slider' ); + + /** + * Add callback for custom TinyMCE editor stylesheets. (editor-style.css) + * @see http://codex.wordpress.org/Function_Reference/add_editor_style + */ + add_editor_style('css/editor-style.css'); + + /* + * Enable support for Post Thumbnails on posts and pages. + * + * @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails + */ + add_theme_support( 'post-thumbnails' ); + add_image_size( 'blog-header', 900, 300, array('center','center')); //blog Image + add_image_size( 'portfolio-thumbnail', 560, 450, array('center','center')); //Portfolio Image + add_image_size( 'blog-thumbnail', 480, 300, array('center','center')); //Blog Image + add_image_size( 'team-thumbnail', 380, 380, array('top','center')); //Portfolio Image + + // This theme uses wp_nav_menu() in one location. + register_nav_menus( array( + 'primary' => __( 'Primary Menu', 'accesspress-parallax' ), + 'main' => __( 'Main Menu', 'accesspress-parallax' ), + + ) ); + + /* + * Switch default core markup for search form, comment form, and comments + * to output valid HTML5. + */ + add_theme_support( 'html5', array( + 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' + ) ); + + // Setup the WordPress core custom background feature. + add_theme_support( 'custom-background', apply_filters( 'accesspress_parallax_custom_background_args', array( + 'default-color' => 'ffffff', + 'default-image' => '', + ) ) ); +} +endif; // accesspress_parallax_setup +add_action( 'after_setup_theme', 'accesspress_parallax_setup' ); + /** - * Customizer additions. + * Register widget area. + * + * @link http://codex.wordpress.org/Function_Reference/register_sidebar */ -include( get_template_directory(). '/lib/customizer.php'); - +function accesspress_parallax_widgets_init() { + register_sidebar(array( + 'name' => __('Slideshow'), + 'id' => 'slideshow', + 'description' => __('Meta Slider/Slideshow Area') + )); + register_sidebar( array( + 'name' => __( 'Sidebar', 'accesspress-parallax' ), + 'id' => 'sidebar-1', + 'description' => '', + 'before_widget' => '', + 'before_title' => '

    ', + 'after_title' => '

    ', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer One', 'accesspress-parallax' ), + 'id' => 'footer-1', + 'description' => '', + 'before_widget' => '', + 'before_title' => '

    ', + 'after_title' => '

    ', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer Two', 'accesspress-parallax' ), + 'id' => 'footer-2', + 'description' => '', + 'before_widget' => '', + 'before_title' => '

    ', + 'after_title' => '

    ', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer Three', 'accesspress-parallax' ), + 'id' => 'footer-3', + 'description' => '', + 'before_widget' => '', + 'before_title' => '

    ', + 'after_title' => '

    ', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer Four', 'accesspress-parallax' ), + 'id' => 'footer-4', + 'description' => '', + 'before_widget' => '', + 'before_title' => '

    ', + 'after_title' => '

    ', + ) ); +} +add_action( 'widgets_init', 'accesspress_parallax_widgets_init' ); -// Activate Option Tree in the theme rather than as a plugin -add_filter( 'ot_theme_mode', '__return_true' ); -add_filter( 'ot_show_pages', '__return_false' ); +/** + * Enqueue scripts and styles. + */ +function accesspress_parallax_scripts() { + $query_args = array( + 'family' => 'Roboto:400,300,500,700|Oxygen:400,300,700', + ); + + $slider_parameters = array( + 'accesspress_show_pager' => (!of_get_option('show_pager') || of_get_option('show_pager') == "yes") ? "true" : "false", + 'accesspress_show_controls' => (!of_get_option('show_controls') || of_get_option('show_controls') == "yes") ? "true" : "false", + 'accesspress_auto_transition' => (!of_get_option('auto_transition') || of_get_option('auto_transition') == "yes") ? "true" : "false", + 'accesspress_slider_transition' => of_get_option('slider_transition') == "fade" ? "true" : "false", + 'accesspress_slider_speed' => (!of_get_option('slider_speed')) ? "1000" : of_get_option('slider_speed'), + 'accesspress_slider_pause' => (!of_get_option('slider_pause')) ? "5000" : of_get_option('slider_pause'), + ); + + + wp_enqueue_style( 'accesspress-parallax-google-fonts', add_query_arg( $query_args, "//fonts.googleapis.com/css" ) ); + wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/css/fontawesome/css/font-awesome.min.css' ); + wp_enqueue_style( 'nivo-lightbox', get_template_directory_uri() . '/css/nivo-lightbox.css' ); + wp_enqueue_style( 'animate', get_template_directory_uri() . '/css/animate.css' ); + wp_enqueue_style( 'slick', get_template_directory_uri() . '/css/slick.css' ); + wp_enqueue_style('accesspress-parallax-woocommerce',get_template_directory_uri().'/woocommerce/ap-parallax-style.css'); + wp_enqueue_style( 'accesspress-parallax-style', get_stylesheet_uri() ); + wp_enqueue_style( 'accesspress-parallax-responsive', get_template_directory_uri() . '/css/responsive.css' ); + + if (of_get_option('enable_animation') == '1' && is_front_page()) : + wp_enqueue_script('wow', get_template_directory_uri() . '/js/wow.js', array('jquery'), '1.0', true); + endif; -include_once(get_template_directory() . '/option-tree/ot-loader.php'); -include_once(get_template_directory() . '/option-tree/meta-boxes.php' ); // LOAD META BOXES + wp_enqueue_script( 'smoothscroll', get_template_directory_uri() . '/js/SmoothScroll.js', array('jquery'), '1.2.1', true ); + wp_enqueue_script( 'parallax', get_template_directory_uri() . '/js/parallax.js', array('jquery'), '1.1.3', true ); + wp_enqueue_script( 'scrollto', get_template_directory_uri() . '/js/jquery.scrollTo.min.js', array('jquery'), '1.4.14', true ); + wp_enqueue_script( 'jquery-localscroll', get_template_directory_uri() . '/js/jquery.localScroll.min.js', array('jquery'), '1.3.5', true ); + wp_enqueue_script( 'accesspress-parallax-parallax-nav', get_template_directory_uri() . '/js/jquery.nav.js', array('jquery'), '2.2.0', true ); + wp_enqueue_script( 'jquery-easing', get_template_directory_uri() . '/js/jquery.easing.min.js', array('jquery'), '1.3', true ); + wp_enqueue_script( 'jquery-fitvid', get_template_directory_uri() . '/js/jquery.fitvids.js', array('jquery'), '1.0', true ); + wp_enqueue_script( 'nivo-lightbox', get_template_directory_uri() . '/js/nivo-lightbox.min.js', array('jquery'), '1.2.0', true ); + wp_enqueue_script( 'slick', get_template_directory_uri() . '/js/slick.js', array('jquery'), '1.8.0', true ); + wp_enqueue_script( 'accesspress-parallax-custom', get_template_directory_uri() . '/js/custom.js', array('jquery'), '1.0', true ); + wp_localize_script( 'accesspress-parallax-custom', 'ap_params', $slider_parameters ); + wp_enqueue_script( 'glm-dev', get_template_directory_uri() . '/assets/js/glm-dev.js', array(), '1.0.0', true ); + wp_enqueue_style( 'glm-style', get_template_directory_uri() . '/assets/css/glm-dev.css', false, "1.0.0" ); + + if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { + wp_enqueue_script( 'comment-reply' ); + } +} +add_action( 'wp_enqueue_scripts', 'accesspress_parallax_scripts' ); +/** + * Implement the Custom Header feature. + */ +require get_template_directory() . '/inc/accesspress-header.php'; -// Envato WP Theme Setup Wizard -// Set Envato Username - DISABLED FOR NOW -add_filter('bellevue_theme_setup_wizard_username', 'bellevue_set_theme_setup_wizard_username', 10); -add_filter('bellevuechildtheme_theme_setup_wizard_username', 'bellevue_set_theme_setup_wizard_username', 10); -if( ! function_exists('bellevue_set_theme_setup_wizard_username') ){ - function bellevue_set_theme_setup_wizard_username($username){ - return 'themovation'; - } -} +/** + * Custom functions that act independently of the theme templates. + */ +require get_template_directory() . '/inc/accesspress-functions.php'; -// Envato WP Theme Setup Wizard -// Set Envato Script URL - DISABLED FOR NOW -add_filter('bellevue_theme_setup_wizard_oauth_script', 'bellevue_set_theme_setup_wizard_oauth_script', 10); -add_filter('bellevuechildtheme_theme_setup_wizard_oauth_script', 'bellevue_set_theme_setup_wizard_oauth_script', 10); -if( ! function_exists('bellevue_set_theme_setup_wizard_oauth_script') ){ - function bellevue_set_theme_setup_wizard_oauth_script($oauth_url){ - return 'https://app.themovation.com/envato/api/server-script.php'; - } -} +/** + * Custom template tags for this theme. + */ +require get_template_directory() . '/inc/template-tags.php'; -// Envato WP Theme Setup Wizard -// Set Custom Default Content Titles and Descriptions -add_filter('bellevue_theme_setup_wizard_default_content', 'bellevue_theme_setup_wizard_default_content_script', 10); -add_filter('bellevuechildtheme_theme_setup_wizard_default_content', 'bellevue_theme_setup_wizard_default_content_script', 10); -if( ! function_exists('bellevue_theme_setup_wizard_default_content_script') ){ - function bellevue_theme_setup_wizard_default_content_script($default){ - - // Check all by default - $default['checked'] = 1; - - // Add user friendly titles and descriptions - if (isset($default['title'])){ - switch($default['title']) { - case 'Media': - $default['title'] = 'Media Files'; - $default['description'] = 'Media from the demo, mostly photos and graphics.'; - break; - case 'Rooms': - $default['title'] = 'Room Pages'; - $default['description'] = 'Room pages as seen on the demo.'; - break; - case 'Posts': - $default['title'] = 'Blog Posts'; - $default['description'] = 'Blog Posts as seen on the demo.'; - break; - case 'Pages': - $default['description'] = 'Pages as seen on the demo.'; - break; - case 'My Library': - $default['title'] = 'Templates'; - $default['description'] = 'Page Builder Templates for rapid page creation.'; - break; - case 'Widgets': - $default['description'] = 'Widgets as seen on the demo.'; - break; - case 'Forms': - $default['description'] = 'Formidable Forms as seen on the demo.'; - break; - } +/** + * Customizer additions. + */ +require get_template_directory() . '/inc/customizer.php'; - } +/** + * Load Jetpack compatibility file. + */ +require get_template_directory() . '/inc/jetpack.php'; - return $default; - } -} +/** + * Load Theme Option Frame work files + */ +require get_template_directory() . '/inc/options-framework/options-framework.php'; -// Envato WP Theme Setup Wizard -// Custom logo for Installer -add_filter('envato_setup_logo_image', 'envato_set_setup_logo_image', 10); -if( ! function_exists('envato_set_setup_logo_image') ){ - function envato_set_setup_logo_image($image_url){ - $logo_main = get_template_directory_uri() . '/assets/images/bellevue_setup_logo.png' ; - return $logo_main; - } -} +/** + * Load woocommerce function + * */ +require get_template_directory().'/woocommerce/ap-parallax-woocommerce-function.php'; +require get_template_directory().'/inc/class-tgm-plugin-activation.php'; -// Envato WP Theme Setup Wizard -// Update Term IDs for Our Custom Post Stype saved inside _elementor_data Post Meta -/* - * Takes page elementor widget name, page title and term slugs as an array - * updates elementor json string to update term(s) during an import. - */ -if( ! function_exists('update_elm_widget_select_term_id') ) { - function update_elm_widget_select_term_id($elmwidgetname, $pagetitle, $termslug = array()) - { - // premature exit? - if (!isset($termslug) || !isset($pagetitle) || !isset($elmwidgetname)) { - return; - } else { - $pageobj = get_page_by_title($pagetitle); // get page object - $pageid = false; - if(isset($pageobj->ID)){ - $pageid = $pageobj->ID; // get page ID - } - - // loop through all slugs requested and get terms ids - foreach ($termslug as $slug) { - $termid = term_exists($slug); // get term ID - $termids[] = $termid; // add to array, we'll use this later. - } - - // premature exit? - if (!isset($termids) || !isset($pageid)) { - return; - } else { - - $data = get_post_meta($pageid, '_elementor_data', TRUE); // get elm json string - - /*if (!is_array($data)){ - $data = json_decode($data, true); // decode that mofo - }*/ - - // We are looking for something very specific so let's grab it and go. - // Does key exist? Does it match to the elm widget name passed in? - - if (isset($data[0]['elements'][0]['elements'][0]['widgetType']) && $data[0]['elements'][0]['elements'][0]['widgetType'] = $elmwidgetname) { - // make sure there is a term group setting. - if (!isset($data[0]['elements'][0]['elements'][0]['settings']['group'])) { - return; - } else { - $data[0]['elements'][0]['elements'][0]['settings']['group'] = $termids; //set updated term ids - //$newJsonString = json_encode($data); // encode the json data - update_post_meta($pageid, '_elementor_data',$data); // update post meta with new json string. - } - } - - } +/** + * Load Welcome Page + * */ +require get_template_directory().'/welcome/welcome.php'; - } +function accesspress_parallax_ajax_script(){ + wp_localize_script( 'accesspress-parallax-ajax', 'ajax_script', array( 'ajaxurl' => admin_url( 'admin-ajax.php' )) ); + wp_enqueue_script( 'accesspress-parallax-ajax', get_template_directory_uri().'/inc/options-framework/js/ajax.js', 'jquery', true); - } } +add_action('admin_enqueue_scripts', 'accesspress_parallax_ajax_script'); -// Envato WP Theme Setup Wizard -// Hook to find / replace room terms. Fires only during theme import profess. -if( ! function_exists('th_post_content_import_hook') ) { - function th_post_content_import_hook() - { - update_elm_widget_select_term_id('themo-room-grid', 'Home 1', array('packages')); - update_elm_widget_select_term_id('themo-room-grid', 'Room Index', array('guided','packages','rafting','specials','whitewater')); - } +function accesspress_parallax_get_my_option(){ + require get_template_directory() . '/inc/ajax.php'; + die(); } -add_action( 'th_post_content_import', 'th_post_content_import_hook', 10, 2 ); +add_action("wp_ajax_get_my_option", "accesspress_parallax_get_my_option"); -// Envato WP Theme Setup Wizard -//add_filter( 'bellevue_enable_setup_wizard', '__return_true' ); -//add_filter( 'bellevuechildtheme_enable_setup_wizard', '__return_true' ); +define( 'OPTIONS_FRAMEWORK_DIRECTORY', get_template_directory_uri() . '/inc/options-framework/' ); +/* Header for posts*/ +function glm_get_header() { + echo ''; + echo ''; +} +/** + * Return the client info option for the given key * - * We use after_setup_theme vs after_switch_theme for our primary check - * because the auto installer uses this hook and we want to make sure - * everythig is good befor we install. + * @param type $name Name of the client info option to return * -*/ - -// do the pre check. -add_action( 'after_setup_theme', 'th_install_safety_check', 9 ); -if ( ! function_exists( 'th_install_safety_check' ) ) : - function th_install_safety_check() { - - // Check if we may be upgrading from Stratus Classic, exit and warn, provide helpful instructions. - $th_themes_installed = wp_get_themes(); - foreach ($th_themes_installed as $th_theme) { - - if($th_theme->get( 'Name' ) > ""){ - $th_theme_name_arr = explode("-", $th_theme->get( 'Name' ), 2); // clean up child theme name - $th_theme_name = trim(strtolower($th_theme_name_arr[0])); - - if($th_theme_name === 'bellevue' && $th_theme->get( 'Version') < 2 && $th_theme->stylesheet > "" && TH_PREVENT_BELLEVUE_UPGRADE){ - - add_action( 'admin_notices', 'th_admin_notice_noupgrade' ); - function th_admin_notice_noupgrade() { - ?> -
    - Bellevue support team here. or read the guide on updating Bellevue V1.', 'bellevue' ); ?>
    -
    - stylesheet ); - return false; - } - - }; + * @return string Option + */ +if (!function_exists('glm_get_clientinfo_option')) { + function glm_get_clientinfo_option($name) + { + $settings = get_option('glmclientinfo_settings'); + $states = get_option('glmclientinfo_states'); + if ($name == 'stateFull' && $settings['state']) { + return $states[$settings['state']]; } - - // Compare versions, just exit as after_switch_theme will do the fancy stuff. - if ( version_compare(PHP_VERSION, TH_REQUIRED_PHP_VERSION, '<') ) : //PHP_VERSION - return false; - endif; - - // If it all looks good, run Envato WP Theme Setup Wizard - include( get_template_directory() . '/plugins/envato_setup/envato_setup_init.php'); // Custom functions - include( get_template_directory() . '/plugins/envato_setup/envato_setup.php'); // Custom functions - } -endif; - -add_action( 'after_switch_theme', 'check_theme_setup', 10, 2 ); -function check_theme_setup($old_theme_name, $old_theme = false){ - - - // Deactivate OLD Shortcode Plugin - if ( is_plugin_active('bellevue-shortcodes/bellevue-shortcodes.php') ) { - deactivate_plugins('bellevue-shortcodes/bellevue-shortcodes.php'); - } - - // Deactivate OLD Custom Post Type - if ( is_plugin_active('bellevue-custom-post-types/bellevue-custom-post-types.php') ) { - deactivate_plugins('bellevue-custom-post-types/bellevue-custom-post-types.php'); - } - - // Compare versions. - if ( version_compare(PHP_VERSION, TH_REQUIRED_PHP_VERSION, '<') ) : - - // Theme not activated info message. - add_action( 'admin_notices', 'th_admin_notice_phpversion' ); - function th_admin_notice_phpversion() { - ?> -
    - PHP', 'bellevue'); ?> PHP 7+, however, the theme should work with PHP','embark') ?> +. Embark support team here.', 'embark' ); ?>
    -
    - stylesheet ); - return false; - - endif; + return ($settings && $settings[$name]) + ? $settings[$name] + : null; + } } \ No newline at end of file diff --git a/glm-dev/js/glm-dev.js b/glm-dev/js/glm-dev.js new file mode 100644 index 0000000..e8f2ae2 --- /dev/null +++ b/glm-dev/js/glm-dev.js @@ -0,0 +1,4 @@ +jQuery(function($){ + + +}); \ No newline at end of file diff --git a/glm-dev/scss/_body.scss b/glm-dev/scss/_body.scss new file mode 100644 index 0000000..4ea0011 --- /dev/null +++ b/glm-dev/scss/_body.scss @@ -0,0 +1,65 @@ +body{ + footer#colophon.site-footer{ + position: relative; + #footer-overlay{ + position: absolute; + height: 100%; + width: 100%; + background: rgba($navy, 0.80); + } + .bottom-footer{ + background: $navy; + // background: url(../../assets/footer.jpg) no-repeat center center; + background-size: cover; + // backround + padding: 2% 0 20px; + .footer-content{ + position: relative; + max-width: 325px; + margin: 0 auto; + text-align: center; + } + } + } + .main-navigation{ + // margin-right: 75px; + @media (min-width: 1000px){ + position: relative; + // top: 30px; + // margin-left: 200px; + } + + ul#menu-main{ + li:last-child{ + background: $navy; + transition: background 300ms ease-in-out; + a { + color: white; + } + &:hover{ + background: $blue; + } + } + } + } +} +body.page{ + #page{ + #content{ + @media (min-width: 770px){ + padding-top: 150px !important; + } + @media (max-width: 774px){ + padding-top: 50px !important; + } + .mid-content{ + background-color: white; + box-shadow: 5px 5px 25px 0 rgba(46,61,73,.2); + margin-bottom: 25px ; + #primary{ + width: 100%; + } + } + } + } +} \ No newline at end of file diff --git a/glm-dev/scss/_settings.scss b/glm-dev/scss/_settings.scss new file mode 100644 index 0000000..c8fc556 --- /dev/null +++ b/glm-dev/scss/_settings.scss @@ -0,0 +1,4 @@ +$navy : #1B2650; +$grey : #231F20; +$blue : #00D3D1; +$peach: #F28B59; \ No newline at end of file diff --git a/glm-dev/scss/_slideshow.scss b/glm-dev/scss/_slideshow.scss new file mode 100644 index 0000000..2e42eda --- /dev/null +++ b/glm-dev/scss/_slideshow.scss @@ -0,0 +1,38 @@ +body{ + #slideshow { + position: relative; + top: -11px; + min-height: 350px; + max-height: 540px; + overflow-y: hidden; + width: 100%; + z-index: -1; + // @include { + // position: relative; + // // z-index: 0; + // min-height: 200px; + // } + ul { + list-style: none; + margin: 0; + } + .overlay { + position: absolute; + width: 100%; + display: block; + bottom: 0; + height: 455px; + } + #caption { + background: rgba(0, 0, 0, 0.75); + color: white; + margin-top: -51px; + p { + padding: 10px 5px; + font-size: 12px; + margin: 0; + text-align: right; + } + } + } +} diff --git a/glm-dev/scss/glm-dev.scss b/glm-dev/scss/glm-dev.scss new file mode 100644 index 0000000..d8c9d7a --- /dev/null +++ b/glm-dev/scss/glm-dev.scss @@ -0,0 +1,3 @@ +@import 'settings'; +@import 'body'; +@import 'slideshow'; \ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 0000000..eebce99 --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,63 @@ +var gulp = require('gulp'); +var rename = require('gulp-rename'); +var sass = require('gulp-sass'); +var concat = require('gulp-concat'); +var copy = require('gulp-copy'); +var uglify = require('gulp-uglify'); +var jshint = require('gulp-jshint'); +var clean = require('gulp-clean'); +var maps = require('gulp-sourcemaps'); +var babel = require("gulp-babel"); +var jade = require('gulp-jade-php'); + +var sassPaths = [ + 'bower_components/foundation-sites/scss', +]; + +function swallowError (error) { + // If you want details of the error in the console + console.log(error.toString()) + this.emit('end') +} + +function swallowError (error) { + // If you want details of the error in the console + console.log(error.toString()); + this.emit('end'); +} +gulp.task('sass', function() { + return gulp.src('glm-dev/scss/glm-dev.scss') + .pipe(maps.init()) + .on('error', swallowError) + .pipe(sass({ + // includePaths: sassPaths , + outputStyle: 'compressed' + })).on('error', swallowError) + .pipe(maps.write('.')) + .pipe(gulp.dest('assets/css')); +}); + +gulp.task('lint', function (){ + return gulp.src('glm-dev/js/*.js') + .pipe(jshint()) + .on('error', swallowError) + .pipe(jshint.reporter('default')); +}); + +gulp.task("concat-uglify", function (){ + return gulp.src(['glm-dev/js/**/*.js']) + .pipe(concat('glm-dev.js')) + .pipe(uglify()) + .pipe(gulp.dest('assets/js')); +}); +// gulp.task('clean', function (){ +// return gulp.src(['js/foundation.min.js', 'js/motion-ui.min.js', 'js/what-input.min.js','js/custom/dist.js' ,'js/app.js','css/app.css','css/app.css.map','js/transpiled/dist.js'], {read: false}) +// .pipe(clean()); +// }); +gulp.task('watch', function () { + gulp.watch('glm-dev/js/**/*.js',['concat-uglify', 'lint']); + gulp.watch('glm-dev/scss/**/*.{scss,sass}', ['sass']); +}); +gulp.task('build', ["copy-bower","sass"]); +gulp.task('runwatch', ["sass", "concat-uglify","lint"]); +gulp.task('default', ["runwatch","watch"]); \ No newline at end of file diff --git a/header.php b/header.php new file mode 100644 index 0000000..60dba10 --- /dev/null +++ b/header.php @@ -0,0 +1,125 @@ + section and everything up till
    + * + * @package accesspress_parallax + */ +?> + +> + + + + + + + + + + + +> +
    + +
    +
    + +
    + + + + +
    + +
    + + + + +
    + + +
    +
      + + + +
    +
    + + +
    +
    + diff --git a/home-page.php b/home-page.php new file mode 100644 index 0000000..d4d67d8 --- /dev/null +++ b/home-page.php @@ -0,0 +1,111 @@ + + + +
    " id="ID); ?>"> + +
    + + + +
    + + have_posts() ) : $query->the_post(); + ?> + +

    + +
    + +
    + +
    + +
    + + + + + + + + +
    + + + +
    + + +is_author() && isset( $wp_query->post ) ) { + $GLOBALS['authordata'] = get_userdata( $wp_query->post->post_author ); + } +} +add_action( 'wp', 'accesspress_parallax_setup_author' ); + +//bxSlider Callback for do action +function accesspress_parallax_bxslidercb(){ + global $post; + $accesspress_parallax = of_get_option('parallax_section'); + if(!empty($accesspress_parallax)) : + $accesspress_parallax_first_page_array = array_slice($accesspress_parallax, 0, 1); + $accesspress_parallax_first_page = $accesspress_parallax_first_page_array[0]['page']; + endif; + $accesspress_slider_category = of_get_option('slider_category'); + $accesspress_slider_full_window = of_get_option('slider_full_window') ; + $accesspress_show_slider = of_get_option('show_slider') ; + $accesspress_show_caption = of_get_option('show_caption') ; + $accesspress_enable_parallax = of_get_option('enable_parallax'); + ?> + + +\n"; + echo "\n"; + + echo "\n"; +} + +add_action('wp_head','accesspress_header_styles_scripts'); + +function accesspress_footer_count(){ + $count = 0; + if(is_active_sidebar('footer-1')) + $count++; + + if(is_active_sidebar('footer-2')) + $count++; + + if(is_active_sidebar('footer-3')) + $count++; + + if(is_active_sidebar('footer-4')) + $count++; + + return $count; +} + + +function accesspress_social_cb(){ + $facebooklink = of_get_option('facebook'); + $twitterlink = of_get_option('twitter'); + $google_pluslink = of_get_option('google_plus'); + $youtubelink = of_get_option('youtube'); + $pinterestlink = of_get_option('pinterest'); + $linkedinlink = of_get_option('linkedin'); + $flickrlink = of_get_option('flickr'); + $vimeolink = of_get_option('vimeo'); + $instagramlink = of_get_option('instagram'); + $skypelink = of_get_option('skype'); + ?> + + + +]*>#', '#
    $#' ), '', $menu ); +} +add_filter( 'wp_page_menu', 'accesspress_remove_page_menu_div' ); + +function accesspress_customize_excerpt_more( $more ) { + return '...'; +} +add_filter('excerpt_more', 'accesspress_customize_excerpt_more'); + +function accesspress_word_count($string, $limit) { + $words = explode(' ', $string); + return implode(' ', array_slice($words, 0, $limit)); +} + +function accesspress_letter_count($content, $limit) { + $striped_content = strip_tags($content); + $striped_content = strip_shortcodes($striped_content); + $limit_content = mb_substr($striped_content, 0 , $limit ); + + if( strlen($limit_content) < strlen($content) ){ + $limit_content .= "..."; + } + return $limit_content; +} + + + +function accesspress_register_string(){ + if(function_exists('pll_register_string')){ + $home_text = of_get_option('home_text'); + pll_register_string('Menu: Home Text', $home_text ,'Theme Option Text'); + } +} + +add_action('after_setup_theme','accesspress_register_string'); diff --git a/inc/accesspress-header.php b/inc/accesspress-header.php new file mode 100644 index 0000000..c3e3ca1 --- /dev/null +++ b/inc/accesspress-header.php @@ -0,0 +1,118 @@ + '', + 'default-text-color' => '000000', + 'width' => 250, + 'height' => 170, + 'flex-width' => true, + 'flex-height' => true, + 'wp-head-callback' => 'accesspress_parallax_header_style', + 'admin-head-callback' => 'accesspress_parallax_admin_header_style', + 'admin-preview-callback' => 'accesspress_parallax_admin_header_image', + ) ) ); +} +add_action( 'after_setup_theme', 'accesspress_parallax_custom_header_setup' ); + +if ( ! function_exists( 'accesspress_parallax_header_style' ) ) : +/** + * Styles the header image and text displayed on the blog + * + * @see accesspress_parallax_custom_header_setup(). + */ +function accesspress_parallax_header_style() { + $header_text_color = get_header_textcolor(); + + // If no custom options for text are set, let's bail + // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value + if ( HEADER_TEXTCOLOR == $header_text_color ) { + return; + } + + // If we get this far, we have custom styles. Let's do this. + ?> + + Header admin panel. + * + * @see accesspress_parallax_custom_header_setup(). + */ +function accesspress_parallax_admin_header_style() { +?> + + Header admin panel. + * + * @see accesspress_parallax_custom_header_setup(). + */ +function accesspress_parallax_admin_header_image() { + $style = sprintf( ' style="color:#%s;"', get_header_textcolor() ); +?> + + __('Fade', 'accesspress-parallax'), + 'horizontal' => __('Slide Horizontal', 'accesspress-parallax'), + ); + + $overlay = array( + 'overlay0' => __( 'No Overlay', 'accesspress-parallax' ), + 'overlay1' => __( 'Small Dotted', 'accesspress-parallax' ), + 'overlay2' => __( 'Large Dotted', 'accesspress-parallax'), + 'overlay3' => __( 'Light Black', 'accesspress-parallax'), + 'overlay4' => __( 'Black Dotted', 'accesspress-parallax') + ); + + $section_template = array( + 'default_template' => __('Default Section', 'accesspress-parallax'), + 'service_template' => __('Service Section', 'accesspress-parallax'), + 'team_template' => __('Team Section', 'accesspress-parallax'), + 'portfolio_template' => __('Portfolio Section', 'accesspress-parallax'), + 'testimonial_template' => __('Testimonial Section', 'accesspress-parallax'), + 'blog_template' => __('Blog Section', 'accesspress-parallax'), + 'action_template' => __('Call to Action Section', 'accesspress-parallax'), + 'googlemap_template' => __('Google Map Section', 'accesspress-parallax'), + 'blank_template' => __('Blank Section', 'accesspress-parallax'), + ); + + $check = array( + 'yes' => __('Yes', 'accesspress-parallax'), + 'no' => __('No', 'accesspress-parallax') + ); + + // Background Defaults + $background_defaults = array( + 'color' => '', + 'image' => '', + 'repeat' => 'repeat', + 'position' => 'top center', + 'attachment'=>'scroll', + 'size' => 'cover', + ); + + // Parallax Defaults + $parallax_defaults = NULL; + + + // Pull all the categories into an array + $options_categories = array(); + $options_categories_obj = get_categories(); + $options_categories[''] = 'Select a Category:'; + foreach ($options_categories_obj as $category) { + $options_categories[$category->cat_ID] = $category->cat_name; + } + + // Pull all tags into an array + $options_tags = array(); + $options_tags_obj = get_tags(); + foreach ( $options_tags_obj as $tag ) { + $options_tags[$tag->term_id] = $tag->name; + } + + + // Pull all the pages into an array + $options_pages = array(); + $options_pages_obj = get_pages('sort_column=post_parent,menu_order'); + $options_pages[''] = 'Select a page:'; + foreach ($options_pages_obj as $page) { + $options_pages[$page->ID] = $page->post_title; + } + + // If using image radio buttons, define a directory path + $imagepath = get_template_directory_uri() . '/inc/options-framework/images/'; + + $options = array(); + + $options[] = array( + 'name' => __('General Settings', 'accesspress-parallax'), + 'type' => 'heading'); + + $options[] = array( + 'name' => __('Enable Single Page Parallax Home Page - if disabled, will show Blog-roll/Static-page', 'accesspress-parallax'), + 'desc' => __('Check To enable', 'accesspress-parallax'), + 'id' => 'enable_parallax', + 'std' => '1', + 'type' => 'checkbox'); + + $options[] = array( + 'name' => __('Enable Single Page Nav(Menu) - if disabled, will show primary menu', 'accesspress-parallax'), + 'desc' => __('Check To enable', 'accesspress-parallax'), + 'id' => 'enable_parallax_nav', + 'std' => '1', + 'type' => 'checkbox'); + + $options[] = array( + 'name' => __('Home Menu Text - Single Page Nav(Menu)', 'accesspress-parallax'), + 'id' => 'home_text', + 'desc' => __('Leave blank if you do not want to show', 'accesspress-parallax'), + 'std' => 'Home', + 'type' => 'text'); + + $options[] = array( + 'name' => __('Enable Animation on scroll - Page Elements will show with some animation only in home page.', 'accesspress-parallax'), + 'desc' => __('Check To enable', 'accesspress-parallax'), + 'id' => 'enable_animation', + 'std' => '1', + 'type' => 'checkbox'); + + + $options[] = array( + 'name' => __('Upload Logo', 'accesspress-parallax'), + 'desc' => ''.__('Upload', 'accesspress-parallax').'', + 'type' => 'info'); + + $options[] = array( + 'name' => __('Upload Fav Icon', 'accesspress-parallax'), + 'id' => 'fav_icon', + 'class' => 'sub-option', + 'type' => 'upload'); + + $options[] = array( + 'name' => __('Select Header Layout', 'accesspress-parallax'), + 'id' => "header_layout", + 'std' => "logo-side", + 'type' => "images", + 'options' => array( + 'logo-side' => $imagepath . 'logo-side.jpg', + 'logo-top' => $imagepath . 'logo-top.jpg') + ); + + $options[] = array( + 'name' => __('Parallax Sections', 'accesspress-parallax'), + 'type' => 'heading'); + + $options[] = array( + 'desc' => __('Note: Please make a new page before you create a section. Each Section should have unique Page.', 'accesspress-parallax'), + 'id' => 'parallax_info', + 'type' => 'info'); + + $options[] = array( + 'id' => 'parallax_section', + 'std' => $parallax_defaults, + 'options' => $options_pages, + 'overlay' => $overlay, + 'category' => $options_categories, + 'layout' => $section_template, + 'type' => 'parallaxsection' ); + + $options[] = array( + 'id' => 'parallax_count', + 'type' => 'hidden', + 'std' => '50' + ); + + $options[] = array( + 'id' => 'add_new_section', + 'type' => 'button' ); + + /*Post Section Ends*/ + $options[] = array( + 'name' => __('Post Settings', 'accesspress-parallax'), + 'type' => 'heading'); + + $options[] = array( + 'name' => __('Show Posted Date', 'accesspress-parallax'), + 'desc' => __('Check To enable', 'accesspress-parallax'), + 'id' => 'post_date', + 'std' => '1', + 'type' => 'checkbox'); + + $options[] = array( + 'name' => __('Show Post Author', 'accesspress-parallax'), + 'desc' => __('Check To enable', 'accesspress-parallax'), + 'id' => 'post_author', + 'std' => '1', + 'type' => 'checkbox'); + + $options[] = array( + 'name' => __('Show Post Footer text', 'accesspress-parallax'), + 'desc' => __('Check To enable', 'accesspress-parallax'), + 'id' => 'post_footer', + 'std' => '1', + 'type' => 'checkbox'); + + $options[] = array( + 'name' => __('Show Prev Next Pagination', 'accesspress-parallax'), + 'desc' => __('Check To enable', 'accesspress-parallax'), + 'id' => 'post_pagination', + 'std' => '1', + 'type' => 'checkbox'); + + /*Parallax Section Ends*/ + $options[] = array( + 'name' => __('Slider Settings', 'accesspress-parallax'), + 'type' => 'heading'); + + $options[] = array( + 'name' => __('Show Slider', 'accesspress-parallax'), + 'id' => 'show_slider', + 'std' => 'yes', + 'type' => 'radio', + 'options' => $check); + + if ( $options_categories ) { + $options[] = array( + 'name' => __('Select a Category', 'accesspress-parallax'), + 'id' => 'slider_category', + 'type' => 'select', + 'options' => $options_categories); + } + + $options[] = array( + 'name' => __('Show full window', 'accesspress-parallax'), + 'id' => 'slider_full_window', + 'std' => 'yes', + 'type' => 'radio', + 'options' => $check); + + $options[] = array( + 'name' => __('Remove Slider overlay - Black Dots', 'accesspress-parallax'), + 'id' => 'slider_overlay', + 'std' => 'no', + 'type' => 'radio', + 'options' => $check); + + $options[] = array( + 'name' => __('Show Slider Dots', 'accesspress-parallax'), + 'id' => 'show_pager', + 'std' => 'yes', + 'type' => 'radio', + 'options' => $check); + + $options[] = array( + 'name' => __('Show Slider Arrows', 'accesspress-parallax'), + 'id' => 'show_controls', + 'std' => 'yes', + 'type' => 'radio', + 'options' => $check); + + $options[] = array( + 'name' => __('Auto Transition', 'accesspress-parallax'), + 'id' => 'auto_transition', + 'std' => 'yes', + 'type' => 'radio', + 'options' => $check); + + $options[] = array( + 'name' => __('Slider Transition', 'accesspress-parallax'), + 'id' => 'slider_transition', + 'std' => 'fade', + 'type' => 'radio', + 'options' => $transitions); + + $options[] = array( + 'name' => __('Slider Transition Speed', 'accesspress-parallax'), + 'id' => 'slider_speed', + 'std' => '1000', + 'type' => 'text'); + + $options[] = array( + 'name' => __('Slider Pause Duration', 'accesspress-parallax'), + 'id' => 'slider_pause', + 'std' => '5000', + 'type' => 'text'); + + $options[] = array( + 'name' => __('Show Caption', 'accesspress-parallax'), + 'id' => 'show_caption', + 'std' => 'yes', + 'type' => 'radio', + 'options' => $check); + + $options[] = array( + 'name' => __('Social Links', 'accesspress-parallax'), + 'type' => 'heading'); + + $options[] = array( + 'name' => __('Show Social Icon', 'accesspress-parallax'), + 'desc' => __('Check To enable', 'accesspress-parallax'), + 'id' => 'show_social', + 'std' => '1', + 'type' => 'checkbox'); + + $options[] = array( + 'name' => __('Facebook', 'accesspress-parallax'), + 'id' => 'facebook', + 'type' => 'url'); + + $options[] = array( + 'name' => __('Twitter', 'accesspress-parallax'), + 'id' => 'twitter', + 'type' => 'url'); + + $options[] = array( + 'name' => __('Google Plus', 'accesspress-parallax'), + 'id' => 'google_plus', + 'type' => 'url'); + + $options[] = array( + 'name' => __('Youtube', 'accesspress-parallax'), + 'id' => 'youtube', + 'type' => 'url'); + + $options[] = array( + 'name' => __('Pinterest', 'accesspress-parallax'), + 'id' => 'pinterest', + 'type' => 'url'); + + $options[] = array( + 'name' => __('Linkedin', 'accesspress-parallax'), + 'id' => 'linkedin', + 'type' => 'url'); + + $options[] = array( + 'name' => __('Fickr', 'accesspress-parallax'), + 'id' => 'flickr', + 'type' => 'url'); + + $options[] = array( + 'name' => __('Vimeo', 'accesspress-parallax'), + 'id' => 'vimeo', + 'type' => 'url'); + + $options[] = array( + 'name' => __('Instagram', 'accesspress-parallax'), + 'id' => 'instagram', + 'type' => 'url'); + + $options[] = array( + 'name' => __('Skype', 'accesspress-parallax'), + 'id' => 'skype', + 'type' => 'text'); + + $options[] = array( + 'name' => __('Tools', 'accesspress-parallax'), + 'type' => 'heading'); + + $options[] = array( + 'name' => __('Custom CSS', 'accesspress-parallax'), + 'id' => 'custom_css', + 'type' => 'textarea', + 'desc' => __('Put your custom CSS here', 'accesspress-parallax') ); + +return $options; +} diff --git a/inc/ajax.php b/inc/ajax.php new file mode 100644 index 0000000..5a11b76 --- /dev/null +++ b/inc/ajax.php @@ -0,0 +1,122 @@ + + +
    +

    +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + + + +
    + + + +
    +
    + + +
    + + +
    +
    + + + + + + + +
    +
    + +
    + + +
    +
    +
    +
    +
    + diff --git a/inc/class-tgm-plugin-activation.php b/inc/class-tgm-plugin-activation.php new file mode 100644 index 0000000..f423998 --- /dev/null +++ b/inc/class-tgm-plugin-activation.php @@ -0,0 +1,3760 @@ +wp_version = $GLOBALS['wp_version']; + + // Announce that the class is ready, and pass the object (for advanced use). + do_action_ref_array( 'tgmpa_init', array( $this ) ); + + + + // When the rest of WP has loaded, kick-start the rest of the class. + add_action( 'init', array( $this, 'init' ) ); + } + + /** + * Magic method to (not) set protected properties from outside of this class. + * + * {@internal hackedihack... There is a serious bug in v2.3.2 - 2.3.6 where the `menu` property + * is being assigned rather than tested in a conditional, effectively rendering it useless. + * This 'hack' prevents this from happening.}} + * + * @see https://github.com/TGMPA/TGM-Plugin-Activation/blob/2.3.6/tgm-plugin-activation/class-tgm-plugin-activation.php#L1593 + * + * @since 2.5.2 + * + * @param string $name Name of an inaccessible property. + * @param mixed $value Value to assign to the property. + * @return void Silently fail to set the property when this is tried from outside of this class context. + * (Inside this class context, the __set() method if not used as there is direct access.) + */ + public function __set( $name, $value ) { + return; + } + + /** + * Magic method to get the value of a protected property outside of this class context. + * + * @since 2.5.2 + * + * @param string $name Name of an inaccessible property. + * @return mixed The property value. + */ + public function __get( $name ) { + return $this->{$name}; + } + + /** + * Initialise the interactions between this class and WordPress. + * + * Hooks in three new methods for the class: admin_menu, notices and styles. + * + * @since 2.0.0 + * + * @see TGM_Plugin_Activation::admin_menu() + * @see TGM_Plugin_Activation::notices() + * @see TGM_Plugin_Activation::styles() + */ + public function init() { + /** + * By default TGMPA only loads on the WP back-end and not in an Ajax call. Using this filter + * you can overrule that behaviour. + * + * @since 2.5.0 + * + * @param bool $load Whether or not TGMPA should load. + * Defaults to the return of `is_admin() && ! defined( 'DOING_AJAX' )`. + */ + if ( true !== apply_filters( 'tgmpa_load', ( is_admin() && ! defined( 'DOING_AJAX' ) ) ) ) { + return; + } + + // Load class strings. + $this->strings = array( + 'page_title' => __( 'Install Required Plugins', 'accesspress-parallax' ), + 'menu_title' => __( 'Install Plugins', 'accesspress-parallax' ), + /* translators: %s: plugin name. */ + 'installing' => __( 'Installing Plugin: %s', 'accesspress-parallax' ), + /* translators: %s: plugin name. */ + 'updating' => __( 'Updating Plugin: %s', 'accesspress-parallax' ), + 'oops' => __( 'Something went wrong with the plugin API.', 'accesspress-parallax' ), + 'notice_can_install_required' => _n_noop( + /* translators: 1: plugin name(s). */ + 'This theme requires the following plugin: %1$s.', + 'This theme requires the following plugins: %1$s.', + 'accesspress-parallax' + ), + 'notice_can_install_recommended' => _n_noop( + /* translators: 1: plugin name(s). */ + 'This theme recommends the following plugin: %1$s.', + 'This theme recommends the following plugins: %1$s.', + 'accesspress-parallax' + ), + 'notice_ask_to_update' => _n_noop( + /* translators: 1: plugin name(s). */ + 'The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s.', + 'The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s.', + 'accesspress-parallax' + ), + 'notice_ask_to_update_maybe' => _n_noop( + /* translators: 1: plugin name(s). */ + 'There is an update available for: %1$s.', + 'There are updates available for the following plugins: %1$s.', + 'accesspress-parallax' + ), + 'notice_can_activate_required' => _n_noop( + /* translators: 1: plugin name(s). */ + 'The following required plugin is currently inactive: %1$s.', + 'The following required plugins are currently inactive: %1$s.', + 'accesspress-parallax' + ), + 'notice_can_activate_recommended' => _n_noop( + /* translators: 1: plugin name(s). */ + 'The following recommended plugin is currently inactive: %1$s.', + 'The following recommended plugins are currently inactive: %1$s.', + 'accesspress-parallax' + ), + 'install_link' => _n_noop( + 'Begin installing plugin', + 'Begin installing plugins', + 'accesspress-parallax' + ), + 'update_link' => _n_noop( + 'Begin updating plugin', + 'Begin updating plugins', + 'accesspress-parallax' + ), + 'activate_link' => _n_noop( + 'Begin activating plugin', + 'Begin activating plugins', + 'accesspress-parallax' + ), + 'return' => __( 'Return to Required Plugins Installer', 'accesspress-parallax' ), + 'dashboard' => __( 'Return to the Dashboard', 'accesspress-parallax' ), + 'plugin_activated' => __( 'Plugin activated successfully.', 'accesspress-parallax' ), + 'activated_successfully' => __( 'The following plugin was activated successfully:', 'accesspress-parallax' ), + /* translators: 1: plugin name. */ + 'plugin_already_active' => __( 'No action taken. Plugin %1$s was already active.', 'accesspress-parallax' ), + /* translators: 1: plugin name. */ + 'plugin_needs_higher_version' => __( 'Plugin not activated. A higher version of %s is needed for this theme. Please update the plugin.', 'accesspress-parallax' ), + /* translators: 1: dashboard link. */ + 'complete' => __( 'All plugins installed and activated successfully. %1$s', 'accesspress-parallax' ), + 'dismiss' => __( 'Dismiss this notice', 'accesspress-parallax' ), + 'notice_cannot_install_activate' => __( 'There are one or more required or recommended plugins to install, update or activate.', 'accesspress-parallax' ), + 'contact_admin' => __( 'Please contact the administrator of this site for help.', 'accesspress-parallax' ), + ); + + do_action( 'tgmpa_register' ); + + /* After this point, the plugins should be registered and the configuration set. */ + + // Proceed only if we have plugins to handle. + if ( empty( $this->plugins ) || ! is_array( $this->plugins ) ) { + return; + } + + // Set up the menu and notices if we still have outstanding actions. + if ( true !== $this->is_tgmpa_complete() ) { + // Sort the plugins. + array_multisort( $this->sort_order, SORT_ASC, $this->plugins ); + + add_action( 'admin_menu', array( $this, 'admin_menu' ) ); + add_action( 'admin_head', array( $this, 'dismiss' ) ); + + // Prevent the normal links from showing underneath a single install/update page. + add_filter( 'install_plugin_complete_actions', array( $this, 'actions' ) ); + add_filter( 'update_plugin_complete_actions', array( $this, 'actions' ) ); + + if ( $this->has_notices ) { + add_action( 'admin_notices', array( $this, 'notices' ) ); + add_action( 'admin_init', array( $this, 'admin_init' ), 1 ); + add_action( 'admin_enqueue_scripts', array( $this, 'thickbox' ) ); + } + } + + // If needed, filter plugin action links. + add_action( 'load-plugins.php', array( $this, 'add_plugin_action_link_filters' ), 1 ); + + // Make sure things get reset on switch theme. + add_action( 'switch_theme', array( $this, 'flush_plugins_cache' ) ); + + if ( $this->has_notices ) { + add_action( 'switch_theme', array( $this, 'update_dismiss' ) ); + } + + // Setup the force activation hook. + if ( true === $this->has_forced_activation ) { + add_action( 'admin_init', array( $this, 'force_activation' ) ); + } + + // Setup the force deactivation hook. + if ( true === $this->has_forced_deactivation ) { + add_action( 'switch_theme', array( $this, 'force_deactivation' ) ); + } + } + + + + + + + + /** + * Hook in plugin action link filters for the WP native plugins page. + * + * - Prevent activation of plugins which don't meet the minimum version requirements. + * - Prevent deactivation of force-activated plugins. + * - Add update notice if update available. + * + * @since 2.5.0 + */ + public function add_plugin_action_link_filters() { + foreach ( $this->plugins as $slug => $plugin ) { + if ( false === $this->can_plugin_activate( $slug ) ) { + add_filter( 'plugin_action_links_' . $plugin['file_path'], array( $this, 'filter_plugin_action_links_activate' ), 20 ); + } + + if ( true === $plugin['force_activation'] ) { + add_filter( 'plugin_action_links_' . $plugin['file_path'], array( $this, 'filter_plugin_action_links_deactivate' ), 20 ); + } + + if ( false !== $this->does_plugin_require_update( $slug ) ) { + add_filter( 'plugin_action_links_' . $plugin['file_path'], array( $this, 'filter_plugin_action_links_update' ), 20 ); + } + } + } + + /** + * Remove the 'Activate' link on the WP native plugins page if the plugin does not meet the + * minimum version requirements. + * + * @since 2.5.0 + * + * @param array $actions Action links. + * @return array + */ + public function filter_plugin_action_links_activate( $actions ) { + unset( $actions['activate'] ); + + return $actions; + } + + /** + * Remove the 'Deactivate' link on the WP native plugins page if the plugin has been set to force activate. + * + * @since 2.5.0 + * + * @param array $actions Action links. + * @return array + */ + public function filter_plugin_action_links_deactivate( $actions ) { + unset( $actions['deactivate'] ); + + return $actions; + } + + /** + * Add a 'Requires update' link on the WP native plugins page if the plugin does not meet the + * minimum version requirements. + * + * @since 2.5.0 + * + * @param array $actions Action links. + * @return array + */ + public function filter_plugin_action_links_update( $actions ) { + $actions['update'] = sprintf( + '%3$s', + esc_url( $this->get_tgmpa_status_url( 'update' ) ), + esc_attr__( 'This plugin needs to be updated to be compatible with your theme.', 'accesspress-parallax' ), + esc_html__( 'Update Required', 'accesspress-parallax' ) + ); + + return $actions; + } + + /** + * Handles calls to show plugin information via links in the notices. + * + * We get the links in the admin notices to point to the TGMPA page, rather + * than the typical plugin-install.php file, so we can prepare everything + * beforehand. + * + * WP does not make it easy to show the plugin information in the thickbox - + * here we have to require a file that includes a function that does the + * main work of displaying it, enqueue some styles, set up some globals and + * finally call that function before exiting. + * + * Down right easy once you know how... + * + * Returns early if not the TGMPA page. + * + * @since 2.1.0 + * + * @global string $tab Used as iframe div class names, helps with styling + * @global string $body_id Used as the iframe body ID, helps with styling + * + * @return null Returns early if not the TGMPA page. + */ + public function admin_init() { + if ( ! $this->is_tgmpa_page() ) { + return; + } + + if ( isset( $_REQUEST['tab'] ) && 'plugin-information' === $_REQUEST['tab'] ) { + // Needed for install_plugin_information(). + require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; + + wp_enqueue_style( 'plugin-install' ); + + global $tab, $body_id; + $body_id = 'plugin-information'; + // @codingStandardsIgnoreStart + $tab = 'plugin-information'; + // @codingStandardsIgnoreEnd + + install_plugin_information(); + + exit; + } + } + + /** + * Enqueue thickbox scripts/styles for plugin info. + * + * Thickbox is not automatically included on all admin pages, so we must + * manually enqueue it for those pages. + * + * Thickbox is only loaded if the user has not dismissed the admin + * notice or if there are any plugins left to install and activate. + * + * @since 2.1.0 + */ + public function thickbox() { + if ( ! get_user_meta( get_current_user_id(), 'tgmpa_dismissed_notice_' . $this->id, true ) ) { + add_thickbox(); + } + } + + /** + * Adds submenu page if there are plugin actions to take. + * + * This method adds the submenu page letting users know that a required + * plugin needs to be installed. + * + * This page disappears once the plugin has been installed and activated. + * + * @since 1.0.0 + * + * @see TGM_Plugin_Activation::init() + * @see TGM_Plugin_Activation::install_plugins_page() + * + * @return null Return early if user lacks capability to install a plugin. + */ + public function admin_menu() { + // Make sure privileges are correct to see the page. + if ( ! current_user_can( 'install_plugins' ) ) { + return; + } + + $args = apply_filters( + 'tgmpa_admin_menu_args', + array( + 'parent_slug' => $this->parent_slug, // Parent Menu slug. + 'page_title' => $this->strings['page_title'], // Page title. + 'menu_title' => $this->strings['menu_title'], // Menu title. + 'capability' => $this->capability, // Capability. + 'menu_slug' => $this->menu, // Menu slug. + 'function' => array( $this, 'install_plugins_page' ), // Callback. + ) + ); + + $this->add_admin_menu( $args ); + } + + /** + * Add the menu item. + * + * {@internal IMPORTANT! If this function changes, review the regex in the custom TGMPA + * generator on the website.}} + * + * @since 2.5.0 + * + * @param array $args Menu item configuration. + */ + protected function add_admin_menu( array $args ) { + $this->page_hook = add_theme_page( $args['page_title'], $args['menu_title'], $args['capability'], $args['menu_slug'], $args['function'] ); + } + + /** + * Echoes plugin installation form. + * + * This method is the callback for the admin_menu method function. + * This displays the admin page and form area where the user can select to install and activate the plugin. + * Aborts early if we're processing a plugin installation action. + * + * @since 1.0.0 + * + * @return null Aborts early if we're processing a plugin installation action. + */ + public function install_plugins_page() { + // Store new instance of plugin table in object. + $plugin_table = new TGMPA_List_Table; + + // Return early if processing a plugin installation action. + if ( ( ( 'tgmpa-bulk-install' === $plugin_table->current_action() || 'tgmpa-bulk-update' === $plugin_table->current_action() ) && $plugin_table->process_bulk_actions() ) || $this->do_plugin_install() ) { + return; + } + + // Force refresh of available plugin information so we'll know about manual updates/deletes. + wp_clean_plugins_cache( false ); + + ?> +
    +

    + prepare_items(); ?> + + message ) && is_string( $this->message ) ) { + echo wp_kses_post( $this->message ); + } + ?> + views(); ?> + +
    + + + display(); ?> +
    +
    + sanitize_key( urldecode( $_GET['plugin'] ) ); + + if ( ! isset( $this->plugins[ $slug ] ) ) { + return false; + } + + // Was an install or upgrade action link clicked? + if ( ( isset( $_GET['tgmpa-install'] ) && 'install-plugin' === $_GET['tgmpa-install'] ) || ( isset( $_GET['tgmpa-update'] ) && 'update-plugin' === $_GET['tgmpa-update'] ) ) { + + $install_type = 'install'; + if ( isset( $_GET['tgmpa-update'] ) && 'update-plugin' === $_GET['tgmpa-update'] ) { + $install_type = 'update'; + } + + check_admin_referer( 'tgmpa-' . $install_type, 'tgmpa-nonce' ); + + // Pass necessary information via URL if WP_Filesystem is needed. + $url = wp_nonce_url( + add_query_arg( + array( + 'plugin' => urlencode( $slug ), + 'tgmpa-' . $install_type => $install_type . '-plugin', + ), + $this->get_tgmpa_url() + ), + 'tgmpa-' . $install_type, + 'tgmpa-nonce' + ); + + $method = ''; // Leave blank so WP_Filesystem can populate it as necessary. + + if ( false === ( $creds = request_filesystem_credentials( esc_url_raw( $url ), $method, false, false, array() ) ) ) { + return true; + } + + if ( ! WP_Filesystem( $creds ) ) { + request_filesystem_credentials( esc_url_raw( $url ), $method, true, false, array() ); // Setup WP_Filesystem. + return true; + } + + /* If we arrive here, we have the filesystem. */ + + // Prep variables for Plugin_Installer_Skin class. + $extra = array(); + $extra['slug'] = $slug; // Needed for potentially renaming of directory name. + $source = $this->get_download_url( $slug ); + $api = ( 'repo' === $this->plugins[ $slug ]['source_type'] ) ? $this->get_plugins_api( $slug ) : null; + $api = ( false !== $api ) ? $api : null; + + $url = add_query_arg( + array( + 'action' => $install_type . '-plugin', + 'plugin' => urlencode( $slug ), + ), + 'update.php' + ); + + if ( ! class_exists( 'Plugin_Upgrader', false ) ) { + require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; + } + + $title = ( 'update' === $install_type ) ? $this->strings['updating'] : $this->strings['installing']; + $skin_args = array( + 'type' => ( 'bundled' !== $this->plugins[ $slug ]['source_type'] ) ? 'web' : 'upload', + 'title' => sprintf( $title, $this->plugins[ $slug ]['name'] ), + 'url' => esc_url_raw( $url ), + 'nonce' => $install_type . '-plugin_' . $slug, + 'plugin' => '', + 'api' => $api, + 'extra' => $extra, + ); + unset( $title ); + + if ( 'update' === $install_type ) { + $skin_args['plugin'] = $this->plugins[ $slug ]['file_path']; + $skin = new Plugin_Upgrader_Skin( $skin_args ); + } else { + $skin = new Plugin_Installer_Skin( $skin_args ); + } + + // Create a new instance of Plugin_Upgrader. + $upgrader = new Plugin_Upgrader( $skin ); + + // Perform the action and install the plugin from the $source urldecode(). + add_filter( 'upgrader_source_selection', array( $this, 'maybe_adjust_source_dir' ), 1, 3 ); + + if ( 'update' === $install_type ) { + // Inject our info into the update transient. + $to_inject = array( $slug => $this->plugins[ $slug ] ); + $to_inject[ $slug ]['source'] = $source; + $this->inject_update_info( $to_inject ); + + $upgrader->upgrade( $this->plugins[ $slug ]['file_path'] ); + } else { + $upgrader->install( $source ); + } + + remove_filter( 'upgrader_source_selection', array( $this, 'maybe_adjust_source_dir' ), 1 ); + + // Make sure we have the correct file path now the plugin is installed/updated. + $this->populate_file_path( $slug ); + + // Only activate plugins if the config option is set to true and the plugin isn't + // already active (upgrade). + if ( $this->is_automatic && ! $this->is_plugin_active( $slug ) ) { + $plugin_activate = $upgrader->plugin_info(); // Grab the plugin info from the Plugin_Upgrader method. + if ( false === $this->activate_single_plugin( $plugin_activate, $slug, true ) ) { + return true; // Finish execution of the function early as we encountered an error. + } + } + + $this->show_tgmpa_version(); + + // Display message based on if all plugins are now active or not. + if ( $this->is_tgmpa_complete() ) { + echo '

    ', sprintf( esc_html( $this->strings['complete'] ), '' . esc_html__( 'Return to the Dashboard', 'accesspress-parallax' ) . '' ), '

    '; + echo ''; + } else { + echo '

    ', esc_html( $this->strings['return'] ), '

    '; + } + + return true; + } elseif ( isset( $this->plugins[ $slug ]['file_path'], $_GET['tgmpa-activate'] ) && 'activate-plugin' === $_GET['tgmpa-activate'] ) { + // Activate action link was clicked. + check_admin_referer( 'tgmpa-activate', 'tgmpa-nonce' ); + + if ( false === $this->activate_single_plugin( $this->plugins[ $slug ]['file_path'], $slug ) ) { + return true; // Finish execution of the function early as we encountered an error. + } + } + + return false; + } + + /** + * Inject information into the 'update_plugins' site transient as WP checks that before running an update. + * + * @since 2.5.0 + * + * @param array $plugins The plugin information for the plugins which are to be updated. + */ + public function inject_update_info( $plugins ) { + $repo_updates = get_site_transient( 'update_plugins' ); + + if ( ! is_object( $repo_updates ) ) { + $repo_updates = new stdClass; + } + + foreach ( $plugins as $slug => $plugin ) { + $file_path = $plugin['file_path']; + + if ( empty( $repo_updates->response[ $file_path ] ) ) { + $repo_updates->response[ $file_path ] = new stdClass; + } + + // We only really need to set package, but let's do all we can in case WP changes something. + $repo_updates->response[ $file_path ]->slug = $slug; + $repo_updates->response[ $file_path ]->plugin = $file_path; + $repo_updates->response[ $file_path ]->new_version = $plugin['version']; + $repo_updates->response[ $file_path ]->package = $plugin['source']; + if ( empty( $repo_updates->response[ $file_path ]->url ) && ! empty( $plugin['external_url'] ) ) { + $repo_updates->response[ $file_path ]->url = $plugin['external_url']; + } + } + + set_site_transient( 'update_plugins', $repo_updates ); + } + + /** + * Adjust the plugin directory name if necessary. + * + * The final destination directory of a plugin is based on the subdirectory name found in the + * (un)zipped source. In some cases - most notably GitHub repository plugin downloads -, this + * subdirectory name is not the same as the expected slug and the plugin will not be recognized + * as installed. This is fixed by adjusting the temporary unzipped source subdirectory name to + * the expected plugin slug. + * + * @since 2.5.0 + * + * @param string $source Path to upgrade/zip-file-name.tmp/subdirectory/. + * @param string $remote_source Path to upgrade/zip-file-name.tmp. + * @param \WP_Upgrader $upgrader Instance of the upgrader which installs the plugin. + * @return string $source + */ + public function maybe_adjust_source_dir( $source, $remote_source, $upgrader ) { + if ( ! $this->is_tgmpa_page() || ! is_object( $GLOBALS['wp_filesystem'] ) ) { + return $source; + } + + // Check for single file plugins. + $source_files = array_keys( $GLOBALS['wp_filesystem']->dirlist( $remote_source ) ); + if ( 1 === count( $source_files ) && false === $GLOBALS['wp_filesystem']->is_dir( $source ) ) { + return $source; + } + + // Multi-file plugin, let's see if the directory is correctly named. + $desired_slug = ''; + + // Figure out what the slug is supposed to be. + if ( false === $upgrader->bulk && ! empty( $upgrader->skin->options['extra']['slug'] ) ) { + $desired_slug = $upgrader->skin->options['extra']['slug']; + } else { + // Bulk installer contains less info, so fall back on the info registered here. + foreach ( $this->plugins as $slug => $plugin ) { + if ( ! empty( $upgrader->skin->plugin_names[ $upgrader->skin->i ] ) && $plugin['name'] === $upgrader->skin->plugin_names[ $upgrader->skin->i ] ) { + $desired_slug = $slug; + break; + } + } + unset( $slug, $plugin ); + } + + if ( ! empty( $desired_slug ) ) { + $subdir_name = untrailingslashit( str_replace( trailingslashit( $remote_source ), '', $source ) ); + + if ( ! empty( $subdir_name ) && $subdir_name !== $desired_slug ) { + $from_path = untrailingslashit( $source ); + $to_path = trailingslashit( $remote_source ) . $desired_slug; + + if ( true === $GLOBALS['wp_filesystem']->move( $from_path, $to_path ) ) { + return trailingslashit( $to_path ); + } else { + return new WP_Error( 'rename_failed', esc_html__( 'The remote plugin package does not contain a folder with the desired slug and renaming did not work.', 'accesspress-parallax' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'accesspress-parallax' ), array( 'found' => $subdir_name, 'expected' => $desired_slug ) ); + } + } elseif ( empty( $subdir_name ) ) { + return new WP_Error( 'packaged_wrong', esc_html__( 'The remote plugin package consists of more than one file, but the files are not packaged in a folder.', 'accesspress-parallax' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'accesspress-parallax' ), array( 'found' => $subdir_name, 'expected' => $desired_slug ) ); + } + } + + return $source; + } + + /** + * Activate a single plugin and send feedback about the result to the screen. + * + * @since 2.5.0 + * + * @param string $file_path Path within wp-plugins/ to main plugin file. + * @param string $slug Plugin slug. + * @param bool $automatic Whether this is an automatic activation after an install. Defaults to false. + * This determines the styling of the output messages. + * @return bool False if an error was encountered, true otherwise. + */ + protected function activate_single_plugin( $file_path, $slug, $automatic = false ) { + if ( $this->can_plugin_activate( $slug ) ) { + $activate = activate_plugin( $file_path ); + + if ( is_wp_error( $activate ) ) { + echo '

    ', wp_kses_post( $activate->get_error_message() ), '

    ', + '

    ', esc_html( $this->strings['return'] ), '

    '; + + return false; // End it here if there is an error with activation. + } else { + if ( ! $automatic ) { + // Make sure message doesn't display again if bulk activation is performed + // immediately after a single activation. + if ( ! isset( $_POST['action'] ) ) { // WPCS: CSRF OK. + echo '

    ', esc_html( $this->strings['activated_successfully'] ), ' ', esc_html( $this->plugins[ $slug ]['name'] ), '.

    '; + } + } else { + // Simpler message layout for use on the plugin install page. + echo '

    ', esc_html( $this->strings['plugin_activated'] ), '

    '; + } + } + } elseif ( $this->is_plugin_active( $slug ) ) { + // No simpler message format provided as this message should never be encountered + // on the plugin install page. + echo '

    ', + sprintf( + esc_html( $this->strings['plugin_already_active'] ), + '' . esc_html( $this->plugins[ $slug ]['name'] ) . '' + ), + '

    '; + } elseif ( $this->does_plugin_require_update( $slug ) ) { + if ( ! $automatic ) { + // Make sure message doesn't display again if bulk activation is performed + // immediately after a single activation. + if ( ! isset( $_POST['action'] ) ) { // WPCS: CSRF OK. + echo '

    ', + sprintf( + esc_html( $this->strings['plugin_needs_higher_version'] ), + '' . esc_html( $this->plugins[ $slug ]['name'] ) . '' + ), + '

    '; + } + } else { + // Simpler message layout for use on the plugin install page. + echo '

    ', sprintf( esc_html( $this->strings['plugin_needs_higher_version'] ), esc_html( $this->plugins[ $slug ]['name'] ) ), '

    '; + } + } + + return true; + } + + /** + * Echoes required plugin notice. + * + * Outputs a message telling users that a specific plugin is required for + * their theme. If appropriate, it includes a link to the form page where + * users can install and activate the plugin. + * + * Returns early if we're on the Install page. + * + * @since 1.0.0 + * + * @global object $current_screen + * + * @return null Returns early if we're on the Install page. + */ + public function notices() { + // Remove nag on the install page / Return early if the nag message has been dismissed or user < author. + if ( ( $this->is_tgmpa_page() || $this->is_core_update_page() ) || get_user_meta( get_current_user_id(), 'tgmpa_dismissed_notice_' . $this->id, true ) || ! current_user_can( apply_filters( 'tgmpa_show_admin_notice_capability', 'publish_posts' ) ) ) { + return; + } + + // Store for the plugin slugs by message type. + $message = array(); + + // Initialize counters used to determine plurality of action link texts. + $install_link_count = 0; + $update_link_count = 0; + $activate_link_count = 0; + $total_required_action_count = 0; + + foreach ( $this->plugins as $slug => $plugin ) { + if ( $this->is_plugin_active( $slug ) && false === $this->does_plugin_have_update( $slug ) ) { + continue; + } + + if ( ! $this->is_plugin_installed( $slug ) ) { + if ( current_user_can( 'install_plugins' ) ) { + $install_link_count++; + + if ( true === $plugin['required'] ) { + $message['notice_can_install_required'][] = $slug; + } else { + $message['notice_can_install_recommended'][] = $slug; + } + } + if ( true === $plugin['required'] ) { + $total_required_action_count++; + } + } else { + if ( ! $this->is_plugin_active( $slug ) && $this->can_plugin_activate( $slug ) ) { + if ( current_user_can( 'activate_plugins' ) ) { + $activate_link_count++; + + if ( true === $plugin['required'] ) { + $message['notice_can_activate_required'][] = $slug; + } else { + $message['notice_can_activate_recommended'][] = $slug; + } + } + if ( true === $plugin['required'] ) { + $total_required_action_count++; + } + } + + if ( $this->does_plugin_require_update( $slug ) || false !== $this->does_plugin_have_update( $slug ) ) { + + if ( current_user_can( 'update_plugins' ) ) { + $update_link_count++; + + if ( $this->does_plugin_require_update( $slug ) ) { + $message['notice_ask_to_update'][] = $slug; + } elseif ( false !== $this->does_plugin_have_update( $slug ) ) { + $message['notice_ask_to_update_maybe'][] = $slug; + } + } + if ( true === $plugin['required'] ) { + $total_required_action_count++; + } + } + } + } + unset( $slug, $plugin ); + + // If we have notices to display, we move forward. + if ( ! empty( $message ) || $total_required_action_count > 0 ) { + krsort( $message ); // Sort messages. + $rendered = ''; + + // As add_settings_error() wraps the final message in a

    and as the final message can't be + // filtered, using

    's in our html would render invalid html output. + $line_template = '%s' . "\n"; + + if ( ! current_user_can( 'activate_plugins' ) && ! current_user_can( 'install_plugins' ) && ! current_user_can( 'update_plugins' ) ) { + $rendered = esc_html( $this->strings['notice_cannot_install_activate'] ) . ' ' . esc_html( $this->strings['contact_admin'] ); + $rendered .= $this->create_user_action_links_for_notice( 0, 0, 0, $line_template ); + } else { + + // If dismissable is false and a message is set, output it now. + if ( ! $this->dismissable && ! empty( $this->dismiss_msg ) ) { + $rendered .= sprintf( $line_template, wp_kses_post( $this->dismiss_msg ) ); + } + + // Render the individual message lines for the notice. + foreach ( $message as $type => $plugin_group ) { + $linked_plugins = array(); + + // Get the external info link for a plugin if one is available. + foreach ( $plugin_group as $plugin_slug ) { + $linked_plugins[] = $this->get_info_link( $plugin_slug ); + } + unset( $plugin_slug ); + + $count = count( $plugin_group ); + $linked_plugins = array_map( array( 'TGMPA_Utils', 'wrap_in_em' ), $linked_plugins ); + $last_plugin = array_pop( $linked_plugins ); // Pop off last name to prep for readability. + $imploded = empty( $linked_plugins ) ? $last_plugin : ( implode( ', ', $linked_plugins ) . ' ' . esc_html_x( 'and', 'plugin A *and* plugin B', 'accesspress-parallax' ) . ' ' . $last_plugin ); + + $rendered .= sprintf( + $line_template, + sprintf( + translate_nooped_plural( $this->strings[ $type ], $count, 'accesspress-parallax' ), + $imploded, + $count + ) + ); + + } + unset( $type, $plugin_group, $linked_plugins, $count, $last_plugin, $imploded ); + + $rendered .= $this->create_user_action_links_for_notice( $install_link_count, $update_link_count, $activate_link_count, $line_template ); + } + + // Register the nag messages and prepare them to be processed. + add_settings_error( 'tgmpa', 'tgmpa', $rendered, $this->get_admin_notice_class() ); + } + + // Admin options pages already output settings_errors, so this is to avoid duplication. + if ( 'options-general' !== $GLOBALS['current_screen']->parent_base ) { + $this->display_settings_errors(); + } + } + + /** + * Generate the user action links for the admin notice. + * + * @since 2.6.0 + * + * @param int $install_count Number of plugins to install. + * @param int $update_count Number of plugins to update. + * @param int $activate_count Number of plugins to activate. + * @param int $line_template Template for the HTML tag to output a line. + * @return string Action links. + */ + protected function create_user_action_links_for_notice( $install_count, $update_count, $activate_count, $line_template ) { + // Setup action links. + $action_links = array( + 'install' => '', + 'update' => '', + 'activate' => '', + 'dismiss' => $this->dismissable ? '' . esc_html( $this->strings['dismiss'] ) . '' : '', + ); + + $link_template = '%1$s'; + + if ( current_user_can( 'install_plugins' ) ) { + if ( $install_count > 0 ) { + $action_links['install'] = sprintf( + $link_template, + translate_nooped_plural( $this->strings['install_link'], $install_count, 'accesspress-parallax' ), + esc_url( $this->get_tgmpa_status_url( 'install' ) ) + ); + } + if ( $update_count > 0 ) { + $action_links['update'] = sprintf( + $link_template, + translate_nooped_plural( $this->strings['update_link'], $update_count, 'accesspress-parallax' ), + esc_url( $this->get_tgmpa_status_url( 'update' ) ) + ); + } + } + + if ( current_user_can( 'activate_plugins' ) && $activate_count > 0 ) { + $action_links['activate'] = sprintf( + $link_template, + translate_nooped_plural( $this->strings['activate_link'], $activate_count, 'accesspress-parallax' ), + esc_url( $this->get_tgmpa_status_url( 'activate' ) ) + ); + } + + $action_links = apply_filters( 'tgmpa_notice_action_links', $action_links ); + + $action_links = array_filter( (array) $action_links ); // Remove any empty array items. + + if ( ! empty( $action_links ) ) { + $action_links = sprintf( $line_template, implode( ' | ', $action_links ) ); + return apply_filters( 'tgmpa_notice_rendered_action_links', $action_links ); + } else { + return ''; + } + } + + /** + * Get admin notice class. + * + * Work around all the changes to the various admin notice classes between WP 4.4 and 3.7 + * (lowest supported version by TGMPA). + * + * @since 2.6.0 + * + * @return string + */ + protected function get_admin_notice_class() { + if ( ! empty( $this->strings['nag_type'] ) ) { + return sanitize_html_class( strtolower( $this->strings['nag_type'] ) ); + } else { + if ( version_compare( $this->wp_version, '4.2', '>=' ) ) { + return 'notice-warning'; + } elseif ( version_compare( $this->wp_version, '4.1', '>=' ) ) { + return 'notice'; + } else { + return 'updated'; + } + } + } + + /** + * Display settings errors and remove those which have been displayed to avoid duplicate messages showing + * + * @since 2.5.0 + */ + protected function display_settings_errors() { + global $wp_settings_errors; + + settings_errors( 'tgmpa' ); + + foreach ( (array) $wp_settings_errors as $key => $details ) { + if ( 'tgmpa' === $details['setting'] ) { + unset( $wp_settings_errors[ $key ] ); + break; + } + } + } + + /** + * Register dismissal of admin notices. + * + * Acts on the dismiss link in the admin nag messages. + * If clicked, the admin notice disappears and will no longer be visible to this user. + * + * @since 2.1.0 + */ + public function dismiss() { + if ( isset( $_GET['tgmpa-dismiss'] ) && check_admin_referer( 'tgmpa-dismiss-' . get_current_user_id() ) ) { + update_user_meta( get_current_user_id(), 'tgmpa_dismissed_notice_' . $this->id, 1 ); + } + } + + /** + * Add individual plugin to our collection of plugins. + * + * If the required keys are not set or the plugin has already + * been registered, the plugin is not added. + * + * @since 2.0.0 + * + * @param array|null $plugin Array of plugin arguments or null if invalid argument. + * @return null Return early if incorrect argument. + */ + public function register( $plugin ) { + if ( empty( $plugin['slug'] ) || empty( $plugin['name'] ) ) { + return; + } + + if ( empty( $plugin['slug'] ) || ! is_string( $plugin['slug'] ) || isset( $this->plugins[ $plugin['slug'] ] ) ) { + return; + } + + $defaults = array( + 'name' => '', // String + 'slug' => '', // String + 'source' => 'repo', // String + 'required' => false, // Boolean + 'version' => '', // String + 'force_activation' => false, // Boolean + 'force_deactivation' => false, // Boolean + 'external_url' => '', // String + 'is_callable' => '', // String|Array. + ); + + // Prepare the received data. + $plugin = wp_parse_args( $plugin, $defaults ); + + // Standardize the received slug. + $plugin['slug'] = $this->sanitize_key( $plugin['slug'] ); + + // Forgive users for using string versions of booleans or floats for version number. + $plugin['version'] = (string) $plugin['version']; + $plugin['source'] = empty( $plugin['source'] ) ? 'repo' : $plugin['source']; + $plugin['required'] = TGMPA_Utils::validate_bool( $plugin['required'] ); + $plugin['force_activation'] = TGMPA_Utils::validate_bool( $plugin['force_activation'] ); + $plugin['force_deactivation'] = TGMPA_Utils::validate_bool( $plugin['force_deactivation'] ); + + // Enrich the received data. + $plugin['file_path'] = $this->_get_plugin_basename_from_slug( $plugin['slug'] ); + $plugin['source_type'] = $this->get_plugin_source_type( $plugin['source'] ); + + // Set the class properties. + $this->plugins[ $plugin['slug'] ] = $plugin; + $this->sort_order[ $plugin['slug'] ] = $plugin['name']; + + // Should we add the force activation hook ? + if ( true === $plugin['force_activation'] ) { + $this->has_forced_activation = true; + } + + // Should we add the force deactivation hook ? + if ( true === $plugin['force_deactivation'] ) { + $this->has_forced_deactivation = true; + } + } + + /** + * Determine what type of source the plugin comes from. + * + * @since 2.5.0 + * + * @param string $source The source of the plugin as provided, either empty (= WP repo), a file path + * (= bundled) or an external URL. + * @return string 'repo', 'external', or 'bundled' + */ + protected function get_plugin_source_type( $source ) { + if ( 'repo' === $source || preg_match( self::WP_REPO_REGEX, $source ) ) { + return 'repo'; + } elseif ( preg_match( self::IS_URL_REGEX, $source ) ) { + return 'external'; + } else { + return 'bundled'; + } + } + + /** + * Sanitizes a string key. + * + * Near duplicate of WP Core `sanitize_key()`. The difference is that uppercase characters *are* + * allowed, so as not to break upgrade paths from non-standard bundled plugins using uppercase + * characters in the plugin directory path/slug. Silly them. + * + * @see https://developer.wordpress.org/reference/hooks/sanitize_key/ + * + * @since 2.5.0 + * + * @param string $key String key. + * @return string Sanitized key + */ + public function sanitize_key( $key ) { + $raw_key = $key; + $key = preg_replace( '`[^A-Za-z0-9_-]`', '', $key ); + + /** + * Filter a sanitized key string. + * + * @since 2.5.0 + * + * @param string $key Sanitized key. + * @param string $raw_key The key prior to sanitization. + */ + return apply_filters( 'tgmpa_sanitize_key', $key, $raw_key ); + } + + /** + * Amend default configuration settings. + * + * @since 2.0.0 + * + * @param array $config Array of config options to pass as class properties. + */ + public function config( $config ) { + $keys = array( + 'id', + 'default_path', + 'has_notices', + 'dismissable', + 'dismiss_msg', + 'menu', + 'parent_slug', + 'capability', + 'is_automatic', + 'message', + 'strings', + ); + + foreach ( $keys as $key ) { + if ( isset( $config[ $key ] ) ) { + if ( is_array( $config[ $key ] ) ) { + $this->$key = array_merge( $this->$key, $config[ $key ] ); + } else { + $this->$key = $config[ $key ]; + } + } + } + } + + /** + * Amend action link after plugin installation. + * + * @since 2.0.0 + * + * @param array $install_actions Existing array of actions. + * @return false|array Amended array of actions. + */ + public function actions( $install_actions ) { + // Remove action links on the TGMPA install page. + if ( $this->is_tgmpa_page() ) { + return false; + } + + return $install_actions; + } + + /** + * Flushes the plugins cache on theme switch to prevent stale entries + * from remaining in the plugin table. + * + * @since 2.4.0 + * + * @param bool $clear_update_cache Optional. Whether to clear the Plugin updates cache. + * Parameter added in v2.5.0. + */ + public function flush_plugins_cache( $clear_update_cache = true ) { + wp_clean_plugins_cache( $clear_update_cache ); + } + + /** + * Set file_path key for each installed plugin. + * + * @since 2.1.0 + * + * @param string $plugin_slug Optional. If set, only (re-)populates the file path for that specific plugin. + * Parameter added in v2.5.0. + */ + public function populate_file_path( $plugin_slug = '' ) { + if ( ! empty( $plugin_slug ) && is_string( $plugin_slug ) && isset( $this->plugins[ $plugin_slug ] ) ) { + $this->plugins[ $plugin_slug ]['file_path'] = $this->_get_plugin_basename_from_slug( $plugin_slug ); + } else { + // Add file_path key for all plugins. + foreach ( $this->plugins as $slug => $values ) { + $this->plugins[ $slug ]['file_path'] = $this->_get_plugin_basename_from_slug( $slug ); + } + } + } + + /** + * Helper function to extract the file path of the plugin file from the + * plugin slug, if the plugin is installed. + * + * @since 2.0.0 + * + * @param string $slug Plugin slug (typically folder name) as provided by the developer. + * @return string Either file path for plugin if installed, or just the plugin slug. + */ + protected function _get_plugin_basename_from_slug( $slug ) { + $keys = array_keys( $this->get_plugins() ); + + foreach ( $keys as $key ) { + if ( preg_match( '|^' . $slug . '/|', $key ) ) { + return $key; + } + } + + return $slug; + } + + /** + * Retrieve plugin data, given the plugin name. + * + * Loops through the registered plugins looking for $name. If it finds it, + * it returns the $data from that plugin. Otherwise, returns false. + * + * @since 2.1.0 + * + * @param string $name Name of the plugin, as it was registered. + * @param string $data Optional. Array key of plugin data to return. Default is slug. + * @return string|boolean Plugin slug if found, false otherwise. + */ + public function _get_plugin_data_from_name( $name, $data = 'slug' ) { + foreach ( $this->plugins as $values ) { + if ( $name === $values['name'] && isset( $values[ $data ] ) ) { + return $values[ $data ]; + } + } + + return false; + } + + /** + * Retrieve the download URL for a package. + * + * @since 2.5.0 + * + * @param string $slug Plugin slug. + * @return string Plugin download URL or path to local file or empty string if undetermined. + */ + public function get_download_url( $slug ) { + $dl_source = ''; + + switch ( $this->plugins[ $slug ]['source_type'] ) { + case 'repo': + return $this->get_wp_repo_download_url( $slug ); + case 'external': + return $this->plugins[ $slug ]['source']; + case 'bundled': + return $this->default_path . $this->plugins[ $slug ]['source']; + } + + return $dl_source; // Should never happen. + } + + /** + * Retrieve the download URL for a WP repo package. + * + * @since 2.5.0 + * + * @param string $slug Plugin slug. + * @return string Plugin download URL. + */ + protected function get_wp_repo_download_url( $slug ) { + $source = ''; + $api = $this->get_plugins_api( $slug ); + + if ( false !== $api && isset( $api->download_link ) ) { + $source = $api->download_link; + } + + return $source; + } + + /** + * Try to grab information from WordPress API. + * + * @since 2.5.0 + * + * @param string $slug Plugin slug. + * @return object Plugins_api response object on success, WP_Error on failure. + */ + protected function get_plugins_api( $slug ) { + static $api = array(); // Cache received responses. + + if ( ! isset( $api[ $slug ] ) ) { + if ( ! function_exists( 'plugins_api' ) ) { + require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; + } + + $response = plugins_api( 'plugin_information', array( 'slug' => $slug, 'fields' => array( 'sections' => false ) ) ); + + $api[ $slug ] = false; + + if ( is_wp_error( $response ) ) { + wp_die( esc_html( $this->strings['oops'] ) ); + } else { + $api[ $slug ] = $response; + } + } + + return $api[ $slug ]; + } + + /** + * Retrieve a link to a plugin information page. + * + * @since 2.5.0 + * + * @param string $slug Plugin slug. + * @return string Fully formed html link to a plugin information page if available + * or the plugin name if not. + */ + public function get_info_link( $slug ) { + if ( ! empty( $this->plugins[ $slug ]['external_url'] ) && preg_match( self::IS_URL_REGEX, $this->plugins[ $slug ]['external_url'] ) ) { + $link = sprintf( + '%2$s', + esc_url( $this->plugins[ $slug ]['external_url'] ), + esc_html( $this->plugins[ $slug ]['name'] ) + ); + } elseif ( 'repo' === $this->plugins[ $slug ]['source_type'] ) { + $url = add_query_arg( + array( + 'tab' => 'plugin-information', + 'plugin' => urlencode( $slug ), + 'TB_iframe' => 'true', + 'width' => '640', + 'height' => '500', + ), + self_admin_url( 'plugin-install.php' ) + ); + + $link = sprintf( + '%2$s', + esc_url( $url ), + esc_html( $this->plugins[ $slug ]['name'] ) + ); + } else { + $link = esc_html( $this->plugins[ $slug ]['name'] ); // No hyperlink. + } + + return $link; + } + + /** + * Determine if we're on the TGMPA Install page. + * + * @since 2.1.0 + * + * @return boolean True when on the TGMPA page, false otherwise. + */ + protected function is_tgmpa_page() { + return isset( $_GET['page'] ) && $this->menu === $_GET['page']; + } + + /** + * Determine if we're on a WP Core installation/upgrade page. + * + * @since 2.6.0 + * + * @return boolean True when on a WP Core installation/upgrade page, false otherwise. + */ + protected function is_core_update_page() { + // Current screen is not always available, most notably on the customizer screen. + if ( ! function_exists( 'get_current_screen' ) ) { + return false; + } + + $screen = get_current_screen(); + + if ( 'update-core' === $screen->base ) { + // Core update screen. + return true; + } elseif ( 'plugins' === $screen->base && ! empty( $_POST['action'] ) ) { // WPCS: CSRF ok. + // Plugins bulk update screen. + return true; + } elseif ( 'update' === $screen->base && ! empty( $_POST['action'] ) ) { // WPCS: CSRF ok. + // Individual updates (ajax call). + return true; + } + + return false; + } + + /** + * Retrieve the URL to the TGMPA Install page. + * + * I.e. depending on the config settings passed something along the lines of: + * http://example.com/wp-admin/themes.php?page=tgmpa-install-plugins + * + * @since 2.5.0 + * + * @return string Properly encoded URL (not escaped). + */ + public function get_tgmpa_url() { + static $url; + + if ( ! isset( $url ) ) { + $parent = $this->parent_slug; + if ( false === strpos( $parent, '.php' ) ) { + $parent = 'admin.php'; + } + $url = add_query_arg( + array( + 'page' => urlencode( $this->menu ), + ), + self_admin_url( $parent ) + ); + } + + return $url; + } + + /** + * Retrieve the URL to the TGMPA Install page for a specific plugin status (view). + * + * I.e. depending on the config settings passed something along the lines of: + * http://example.com/wp-admin/themes.php?page=tgmpa-install-plugins&plugin_status=install + * + * @since 2.5.0 + * + * @param string $status Plugin status - either 'install', 'update' or 'activate'. + * @return string Properly encoded URL (not escaped). + */ + public function get_tgmpa_status_url( $status ) { + return add_query_arg( + array( + 'plugin_status' => urlencode( $status ), + ), + $this->get_tgmpa_url() + ); + } + + /** + * Determine whether there are open actions for plugins registered with TGMPA. + * + * @since 2.5.0 + * + * @return bool True if complete, i.e. no outstanding actions. False otherwise. + */ + public function is_tgmpa_complete() { + $complete = true; + foreach ( $this->plugins as $slug => $plugin ) { + if ( ! $this->is_plugin_active( $slug ) || false !== $this->does_plugin_have_update( $slug ) ) { + $complete = false; + break; + } + } + + return $complete; + } + + /** + * Check if a plugin is installed. Does not take must-use plugins into account. + * + * @since 2.5.0 + * + * @param string $slug Plugin slug. + * @return bool True if installed, false otherwise. + */ + public function is_plugin_installed( $slug ) { + $installed_plugins = $this->get_plugins(); // Retrieve a list of all installed plugins (WP cached). + + return ( ! empty( $installed_plugins[ $this->plugins[ $slug ]['file_path'] ] ) ); + } + + /** + * Check if a plugin is active. + * + * @since 2.5.0 + * + * @param string $slug Plugin slug. + * @return bool True if active, false otherwise. + */ + public function is_plugin_active( $slug ) { + return ( ( ! empty( $this->plugins[ $slug ]['is_callable'] ) && is_callable( $this->plugins[ $slug ]['is_callable'] ) ) || is_plugin_active( $this->plugins[ $slug ]['file_path'] ) ); + } + + /** + * Check if a plugin can be updated, i.e. if we have information on the minimum WP version required + * available, check whether the current install meets them. + * + * @since 2.5.0 + * + * @param string $slug Plugin slug. + * @return bool True if OK to update, false otherwise. + */ + public function can_plugin_update( $slug ) { + // We currently can't get reliable info on non-WP-repo plugins - issue #380. + if ( 'repo' !== $this->plugins[ $slug ]['source_type'] ) { + return true; + } + + $api = $this->get_plugins_api( $slug ); + + if ( false !== $api && isset( $api->requires ) ) { + return version_compare( $this->wp_version, $api->requires, '>=' ); + } + + // No usable info received from the plugins API, presume we can update. + return true; + } + + /** + * Check to see if the plugin is 'updatetable', i.e. installed, with an update available + * and no WP version requirements blocking it. + * + * @since 2.6.0 + * + * @param string $slug Plugin slug. + * @return bool True if OK to proceed with update, false otherwise. + */ + public function is_plugin_updatetable( $slug ) { + if ( ! $this->is_plugin_installed( $slug ) ) { + return false; + } else { + return ( false !== $this->does_plugin_have_update( $slug ) && $this->can_plugin_update( $slug ) ); + } + } + + /** + * Check if a plugin can be activated, i.e. is not currently active and meets the minimum + * plugin version requirements set in TGMPA (if any). + * + * @since 2.5.0 + * + * @param string $slug Plugin slug. + * @return bool True if OK to activate, false otherwise. + */ + public function can_plugin_activate( $slug ) { + return ( ! $this->is_plugin_active( $slug ) && ! $this->does_plugin_require_update( $slug ) ); + } + + /** + * Retrieve the version number of an installed plugin. + * + * @since 2.5.0 + * + * @param string $slug Plugin slug. + * @return string Version number as string or an empty string if the plugin is not installed + * or version unknown (plugins which don't comply with the plugin header standard). + */ + public function get_installed_version( $slug ) { + $installed_plugins = $this->get_plugins(); // Retrieve a list of all installed plugins (WP cached). + + if ( ! empty( $installed_plugins[ $this->plugins[ $slug ]['file_path'] ]['Version'] ) ) { + return $installed_plugins[ $this->plugins[ $slug ]['file_path'] ]['Version']; + } + + return ''; + } + + /** + * Check whether a plugin complies with the minimum version requirements. + * + * @since 2.5.0 + * + * @param string $slug Plugin slug. + * @return bool True when a plugin needs to be updated, otherwise false. + */ + public function does_plugin_require_update( $slug ) { + $installed_version = $this->get_installed_version( $slug ); + $minimum_version = $this->plugins[ $slug ]['version']; + + return version_compare( $minimum_version, $installed_version, '>' ); + } + + /** + * Check whether there is an update available for a plugin. + * + * @since 2.5.0 + * + * @param string $slug Plugin slug. + * @return false|string Version number string of the available update or false if no update available. + */ + public function does_plugin_have_update( $slug ) { + // Presume bundled and external plugins will point to a package which meets the minimum required version. + if ( 'repo' !== $this->plugins[ $slug ]['source_type'] ) { + if ( $this->does_plugin_require_update( $slug ) ) { + return $this->plugins[ $slug ]['version']; + } + + return false; + } + + $repo_updates = get_site_transient( 'update_plugins' ); + + if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) { + return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version; + } + + return false; + } + + /** + * Retrieve potential upgrade notice for a plugin. + * + * @since 2.5.0 + * + * @param string $slug Plugin slug. + * @return string The upgrade notice or an empty string if no message was available or provided. + */ + public function get_upgrade_notice( $slug ) { + // We currently can't get reliable info on non-WP-repo plugins - issue #380. + if ( 'repo' !== $this->plugins[ $slug ]['source_type'] ) { + return ''; + } + + $repo_updates = get_site_transient( 'update_plugins' ); + + if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) { + return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice; + } + + return ''; + } + + /** + * Wrapper around the core WP get_plugins function, making sure it's actually available. + * + * @since 2.5.0 + * + * @param string $plugin_folder Optional. Relative path to single plugin folder. + * @return array Array of installed plugins with plugin information. + */ + public function get_plugins( $plugin_folder = '' ) { + if ( ! function_exists( 'get_plugins' ) ) { + require_once ABSPATH . 'wp-admin/includes/plugin.php'; + } + + return get_plugins( $plugin_folder ); + } + + /** + * Delete dismissable nag option when theme is switched. + * + * This ensures that the user(s) is/are again reminded via nag of required + * and/or recommended plugins if they re-activate the theme. + * + * @since 2.1.1 + */ + public function update_dismiss() { + delete_metadata( 'user', null, 'tgmpa_dismissed_notice_' . $this->id, null, true ); + } + + /** + * Forces plugin activation if the parameter 'force_activation' is + * set to true. + * + * This allows theme authors to specify certain plugins that must be + * active at all times while using the current theme. + * + * Please take special care when using this parameter as it has the + * potential to be harmful if not used correctly. Setting this parameter + * to true will not allow the specified plugin to be deactivated unless + * the user switches themes. + * + * @since 2.2.0 + */ + public function force_activation() { + foreach ( $this->plugins as $slug => $plugin ) { + if ( true === $plugin['force_activation'] ) { + if ( ! $this->is_plugin_installed( $slug ) ) { + // Oops, plugin isn't there so iterate to next condition. + continue; + } elseif ( $this->can_plugin_activate( $slug ) ) { + // There we go, activate the plugin. + activate_plugin( $plugin['file_path'] ); + } + } + } + } + + /** + * Forces plugin deactivation if the parameter 'force_deactivation' + * is set to true and adds the plugin to the 'recently active' plugins list. + * + * This allows theme authors to specify certain plugins that must be + * deactivated upon switching from the current theme to another. + * + * Please take special care when using this parameter as it has the + * potential to be harmful if not used correctly. + * + * @since 2.2.0 + */ + public function force_deactivation() { + $deactivated = array(); + + foreach ( $this->plugins as $slug => $plugin ) { + /* + * Only proceed forward if the parameter is set to true and plugin is active + * as a 'normal' (not must-use) plugin. + */ + if ( true === $plugin['force_deactivation'] && is_plugin_active( $plugin['file_path'] ) ) { + deactivate_plugins( $plugin['file_path'] ); + $deactivated[ $plugin['file_path'] ] = time(); + } + } + + if ( ! empty( $deactivated ) ) { + update_option( 'recently_activated', $deactivated + (array) get_option( 'recently_activated' ) ); + } + } + + /** + * Echo the current TGMPA version number to the page. + * + * @since 2.5.0 + */ + public function show_tgmpa_version() { + echo '

    ', + esc_html( + sprintf( + /* translators: %s: version number */ + __( 'TGMPA v%s', 'accesspress-parallax' ), + self::TGMPA_VERSION + ) + ), + '

    '; + } + + /** + * Returns the singleton instance of the class. + * + * @since 2.4.0 + * + * @return \TGM_Plugin_Activation The TGM_Plugin_Activation object. + */ + public static function get_instance() { + if ( ! isset( self::$instance ) && ! ( self::$instance instanceof self ) ) { + self::$instance = new self(); + } + + return self::$instance; + } + } + + if ( ! function_exists( 'load_tgm_plugin_activation' ) ) { + /** + * Ensure only one instance of the class is ever invoked. + * + * @since 2.5.0 + */ + function load_tgm_plugin_activation() { + $GLOBALS['tgmpa'] = TGM_Plugin_Activation::get_instance(); + } + } + + if ( did_action( 'plugins_loaded' ) ) { + load_tgm_plugin_activation(); + } else { + add_action( 'plugins_loaded', 'load_tgm_plugin_activation' ); + } +} + +if ( ! function_exists( 'tgmpa' ) ) { + /** + * Helper function to register a collection of required plugins. + * + * @since 2.0.0 + * @api + * + * @param array $plugins An array of plugin arrays. + * @param array $config Optional. An array of configuration values. + */ + function tgmpa( $plugins, $config = array() ) { + $instance = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) ); + + foreach ( $plugins as $plugin ) { + call_user_func( array( $instance, 'register' ), $plugin ); + } + + if ( ! empty( $config ) && is_array( $config ) ) { + // Send out notices for deprecated arguments passed. + if ( isset( $config['notices'] ) ) { + _deprecated_argument( __FUNCTION__, '2.2.0', 'The `notices` config parameter was renamed to `has_notices` in TGMPA 2.2.0. Please adjust your configuration.' ); + if ( ! isset( $config['has_notices'] ) ) { + $config['has_notices'] = $config['notices']; + } + } + + if ( isset( $config['parent_menu_slug'] ) ) { + _deprecated_argument( __FUNCTION__, '2.4.0', 'The `parent_menu_slug` config parameter was removed in TGMPA 2.4.0. In TGMPA 2.5.0 an alternative was (re-)introduced. Please adjust your configuration. For more information visit the website: http://tgmpluginactivation.com/configuration/#h-configuration-options.' ); + } + if ( isset( $config['parent_url_slug'] ) ) { + _deprecated_argument( __FUNCTION__, '2.4.0', 'The `parent_url_slug` config parameter was removed in TGMPA 2.4.0. In TGMPA 2.5.0 an alternative was (re-)introduced. Please adjust your configuration. For more information visit the website: http://tgmpluginactivation.com/configuration/#h-configuration-options.' ); + } + + call_user_func( array( $instance, 'config' ), $config ); + } + } +} + +/** + * WP_List_Table isn't always available. If it isn't available, + * we load it here. + * + * @since 2.2.0 + */ +if ( ! class_exists( 'WP_List_Table' ) ) { + require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php'; +} + +if ( ! class_exists( 'TGMPA_List_Table' ) ) { + + /** + * List table class for handling plugins. + * + * Extends the WP_List_Table class to provide a future-compatible + * way of listing out all required/recommended plugins. + * + * Gives users an interface similar to the Plugin Administration + * area with similar (albeit stripped down) capabilities. + * + * This class also allows for the bulk install of plugins. + * + * @since 2.2.0 + * + * @package TGM-Plugin-Activation + * @author Thomas Griffin + * @author Gary Jones + */ + class TGMPA_List_Table extends WP_List_Table { + /** + * TGMPA instance. + * + * @since 2.5.0 + * + * @var object + */ + protected $tgmpa; + + /** + * The currently chosen view. + * + * @since 2.5.0 + * + * @var string One of: 'all', 'install', 'update', 'activate' + */ + public $view_context = 'all'; + + /** + * The plugin counts for the various views. + * + * @since 2.5.0 + * + * @var array + */ + protected $view_totals = array( + 'all' => 0, + 'install' => 0, + 'update' => 0, + 'activate' => 0, + ); + + /** + * References parent constructor and sets defaults for class. + * + * @since 2.2.0 + */ + public function __construct() { + $this->tgmpa = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) ); + + parent::__construct( + array( + 'singular' => 'plugin', + 'plural' => 'plugins', + 'ajax' => false, + ) + ); + + if ( isset( $_REQUEST['plugin_status'] ) && in_array( $_REQUEST['plugin_status'], array( 'install', 'update', 'activate' ), true ) ) { + $this->view_context = sanitize_key( $_REQUEST['plugin_status'] ); + } + + add_filter( 'tgmpa_table_data_items', array( $this, 'sort_table_items' ) ); + } + + /** + * Get a list of CSS classes for the tag. + * + * Overruled to prevent the 'plural' argument from being added. + * + * @since 2.5.0 + * + * @return array CSS classnames. + */ + public function get_table_classes() { + return array( 'widefat', 'fixed' ); + } + + /** + * Gathers and renames all of our plugin information to be used by WP_List_Table to create our table. + * + * @since 2.2.0 + * + * @return array $table_data Information for use in table. + */ + protected function _gather_plugin_data() { + // Load thickbox for plugin links. + $this->tgmpa->admin_init(); + $this->tgmpa->thickbox(); + + // Categorize the plugins which have open actions. + $plugins = $this->categorize_plugins_to_views(); + + // Set the counts for the view links. + $this->set_view_totals( $plugins ); + + // Prep variables for use and grab list of all installed plugins. + $table_data = array(); + $i = 0; + + // Redirect to the 'all' view if no plugins were found for the selected view context. + if ( empty( $plugins[ $this->view_context ] ) ) { + $this->view_context = 'all'; + } + + foreach ( $plugins[ $this->view_context ] as $slug => $plugin ) { + $table_data[ $i ]['sanitized_plugin'] = $plugin['name']; + $table_data[ $i ]['slug'] = $slug; + $table_data[ $i ]['plugin'] = '' . $this->tgmpa->get_info_link( $slug ) . ''; + $table_data[ $i ]['source'] = $this->get_plugin_source_type_text( $plugin['source_type'] ); + $table_data[ $i ]['type'] = $this->get_plugin_advise_type_text( $plugin['required'] ); + $table_data[ $i ]['status'] = $this->get_plugin_status_text( $slug ); + $table_data[ $i ]['installed_version'] = $this->tgmpa->get_installed_version( $slug ); + $table_data[ $i ]['minimum_version'] = $plugin['version']; + $table_data[ $i ]['available_version'] = $this->tgmpa->does_plugin_have_update( $slug ); + + // Prep the upgrade notice info. + $upgrade_notice = $this->tgmpa->get_upgrade_notice( $slug ); + if ( ! empty( $upgrade_notice ) ) { + $table_data[ $i ]['upgrade_notice'] = $upgrade_notice; + + add_action( "tgmpa_after_plugin_row_{$slug}", array( $this, 'wp_plugin_update_row' ), 10, 2 ); + } + + $table_data[ $i ] = apply_filters( 'tgmpa_table_data_item', $table_data[ $i ], $plugin ); + + $i++; + } + + return $table_data; + } + + /** + * Categorize the plugins which have open actions into views for the TGMPA page. + * + * @since 2.5.0 + */ + protected function categorize_plugins_to_views() { + $plugins = array( + 'all' => array(), // Meaning: all plugins which still have open actions. + 'install' => array(), + 'update' => array(), + 'activate' => array(), + ); + + foreach ( $this->tgmpa->plugins as $slug => $plugin ) { + if ( $this->tgmpa->is_plugin_active( $slug ) && false === $this->tgmpa->does_plugin_have_update( $slug ) ) { + // No need to display plugins if they are installed, up-to-date and active. + continue; + } else { + $plugins['all'][ $slug ] = $plugin; + + if ( ! $this->tgmpa->is_plugin_installed( $slug ) ) { + $plugins['install'][ $slug ] = $plugin; + } else { + if ( false !== $this->tgmpa->does_plugin_have_update( $slug ) ) { + $plugins['update'][ $slug ] = $plugin; + } + + if ( $this->tgmpa->can_plugin_activate( $slug ) ) { + $plugins['activate'][ $slug ] = $plugin; + } + } + } + } + + return $plugins; + } + + /** + * Set the counts for the view links. + * + * @since 2.5.0 + * + * @param array $plugins Plugins order by view. + */ + protected function set_view_totals( $plugins ) { + foreach ( $plugins as $type => $list ) { + $this->view_totals[ $type ] = count( $list ); + } + } + + /** + * Get the plugin required/recommended text string. + * + * @since 2.5.0 + * + * @param string $required Plugin required setting. + * @return string + */ + protected function get_plugin_advise_type_text( $required ) { + if ( true === $required ) { + return __( 'Required', 'accesspress-parallax' ); + } + + return __( 'Recommended', 'accesspress-parallax' ); + } + + /** + * Get the plugin source type text string. + * + * @since 2.5.0 + * + * @param string $type Plugin type. + * @return string + */ + protected function get_plugin_source_type_text( $type ) { + $string = ''; + + switch ( $type ) { + case 'repo': + $string = __( 'WordPress Repository', 'accesspress-parallax' ); + break; + case 'external': + $string = __( 'External Source', 'accesspress-parallax' ); + break; + case 'bundled': + $string = __( 'Pre-Packaged', 'accesspress-parallax' ); + break; + } + + return $string; + } + + /** + * Determine the plugin status message. + * + * @since 2.5.0 + * + * @param string $slug Plugin slug. + * @return string + */ + protected function get_plugin_status_text( $slug ) { + if ( ! $this->tgmpa->is_plugin_installed( $slug ) ) { + return __( 'Not Installed', 'accesspress-parallax' ); + } + + if ( ! $this->tgmpa->is_plugin_active( $slug ) ) { + $install_status = __( 'Installed But Not Activated', 'accesspress-parallax' ); + } else { + $install_status = __( 'Active', 'accesspress-parallax' ); + } + + $update_status = ''; + + if ( $this->tgmpa->does_plugin_require_update( $slug ) && false === $this->tgmpa->does_plugin_have_update( $slug ) ) { + $update_status = __( 'Required Update not Available', 'accesspress-parallax' ); + + } elseif ( $this->tgmpa->does_plugin_require_update( $slug ) ) { + $update_status = __( 'Requires Update', 'accesspress-parallax' ); + + } elseif ( false !== $this->tgmpa->does_plugin_have_update( $slug ) ) { + $update_status = __( 'Update recommended', 'accesspress-parallax' ); + } + + if ( '' === $update_status ) { + return $install_status; + } + + return sprintf( + /* translators: 1: install status, 2: update status */ + _x( '%1$s, %2$s', 'Install/Update Status', 'accesspress-parallax' ), + $install_status, + $update_status + ); + } + + /** + * Sort plugins by Required/Recommended type and by alphabetical plugin name within each type. + * + * @since 2.5.0 + * + * @param array $items Prepared table items. + * @return array Sorted table items. + */ + public function sort_table_items( $items ) { + $type = array(); + $name = array(); + + foreach ( $items as $i => $plugin ) { + $type[ $i ] = $plugin['type']; // Required / recommended. + $name[ $i ] = $plugin['sanitized_plugin']; + } + + array_multisort( $type, SORT_DESC, $name, SORT_ASC, $items ); + + return $items; + } + + /** + * Get an associative array ( id => link ) of the views available on this table. + * + * @since 2.5.0 + * + * @return array + */ + public function get_views() { + $status_links = array(); + + foreach ( $this->view_totals as $type => $count ) { + if ( $count < 1 ) { + continue; + } + + switch ( $type ) { + case 'all': + /* translators: 1: number of plugins. */ + $text = _nx( 'All (%s)', 'All (%s)', $count, 'plugins', 'accesspress-parallax' ); + break; + case 'install': + /* translators: 1: number of plugins. */ + $text = _n( 'To Install (%s)', 'To Install (%s)', $count, 'accesspress-parallax' ); + break; + case 'update': + /* translators: 1: number of plugins. */ + $text = _n( 'Update Available (%s)', 'Update Available (%s)', $count, 'accesspress-parallax' ); + break; + case 'activate': + /* translators: 1: number of plugins. */ + $text = _n( 'To Activate (%s)', 'To Activate (%s)', $count, 'accesspress-parallax' ); + break; + default: + $text = ''; + break; + } + + if ( ! empty( $text ) ) { + + $status_links[ $type ] = sprintf( + '%s', + esc_url( $this->tgmpa->get_tgmpa_status_url( $type ) ), + ( $type === $this->view_context ) ? ' class="current"' : '', + sprintf( $text, number_format_i18n( $count ) ) + ); + } + } + + return $status_links; + } + + /** + * Create default columns to display important plugin information + * like type, action and status. + * + * @since 2.2.0 + * + * @param array $item Array of item data. + * @param string $column_name The name of the column. + * @return string + */ + public function column_default( $item, $column_name ) { + return $item[ $column_name ]; + } + + /** + * Required for bulk installing. + * + * Adds a checkbox for each plugin. + * + * @since 2.2.0 + * + * @param array $item Array of item data. + * @return string The input checkbox with all necessary info. + */ + public function column_cb( $item ) { + return sprintf( + '', + esc_attr( $this->_args['singular'] ), + esc_attr( $item['slug'] ), + esc_attr( $item['sanitized_plugin'] ) + ); + } + + /** + * Create default title column along with the action links. + * + * @since 2.2.0 + * + * @param array $item Array of item data. + * @return string The plugin name and action links. + */ + public function column_plugin( $item ) { + return sprintf( + '%1$s %2$s', + $item['plugin'], + $this->row_actions( $this->get_row_actions( $item ), true ) + ); + } + + /** + * Create version information column. + * + * @since 2.5.0 + * + * @param array $item Array of item data. + * @return string HTML-formatted version information. + */ + public function column_version( $item ) { + $output = array(); + + if ( $this->tgmpa->is_plugin_installed( $item['slug'] ) ) { + $installed = ! empty( $item['installed_version'] ) ? $item['installed_version'] : _x( 'unknown', 'as in: "version nr unknown"', 'accesspress-parallax' ); + + $color = ''; + if ( ! empty( $item['minimum_version'] ) && $this->tgmpa->does_plugin_require_update( $item['slug'] ) ) { + $color = ' color: #ff0000; font-weight: bold;'; + } + + $output[] = sprintf( + '

    %2$s' . __( 'Installed version:', 'accesspress-parallax' ) . '

    ', + $color, + $installed + ); + } + + if ( ! empty( $item['minimum_version'] ) ) { + $output[] = sprintf( + '

    %1$s' . __( 'Minimum required version:', 'accesspress-parallax' ) . '

    ', + $item['minimum_version'] + ); + } + + if ( ! empty( $item['available_version'] ) ) { + $color = ''; + if ( ! empty( $item['minimum_version'] ) && version_compare( $item['available_version'], $item['minimum_version'], '>=' ) ) { + $color = ' color: #71C671; font-weight: bold;'; + } + + $output[] = sprintf( + '

    %2$s' . __( 'Available version:', 'accesspress-parallax' ) . '

    ', + $color, + $item['available_version'] + ); + } + + if ( empty( $output ) ) { + return ' '; // Let's not break the table layout. + } else { + return implode( "\n", $output ); + } + } + + /** + * Sets default message within the plugins table if no plugins + * are left for interaction. + * + * Hides the menu item to prevent the user from clicking and + * getting a permissions error. + * + * @since 2.2.0 + */ + public function no_items() { + echo esc_html__( 'No plugins to install, update or activate.', 'accesspress-parallax' ) . ' ' . esc_html__( 'Return to the Dashboard', 'accesspress-parallax' ) . ''; + echo ''; + } + + /** + * Output all the column information within the table. + * + * @since 2.2.0 + * + * @return array $columns The column names. + */ + public function get_columns() { + $columns = array( + 'cb' => '', + 'plugin' => __( 'Plugin', 'accesspress-parallax' ), + 'source' => __( 'Source', 'accesspress-parallax' ), + 'type' => __( 'Type', 'accesspress-parallax' ), + ); + + if ( 'all' === $this->view_context || 'update' === $this->view_context ) { + $columns['version'] = __( 'Version', 'accesspress-parallax' ); + $columns['status'] = __( 'Status', 'accesspress-parallax' ); + } + + return apply_filters( 'tgmpa_table_columns', $columns ); + } + + /** + * Get name of default primary column + * + * @since 2.5.0 / WP 4.3+ compatibility + * @access protected + * + * @return string + */ + protected function get_default_primary_column_name() { + return 'plugin'; + } + + /** + * Get the name of the primary column. + * + * @since 2.5.0 / WP 4.3+ compatibility + * @access protected + * + * @return string The name of the primary column. + */ + protected function get_primary_column_name() { + if ( method_exists( 'WP_List_Table', 'get_primary_column_name' ) ) { + return parent::get_primary_column_name(); + } else { + return $this->get_default_primary_column_name(); + } + } + + /** + * Get the actions which are relevant for a specific plugin row. + * + * @since 2.5.0 + * + * @param array $item Array of item data. + * @return array Array with relevant action links. + */ + protected function get_row_actions( $item ) { + $actions = array(); + $action_links = array(); + + // Display the 'Install' action link if the plugin is not yet available. + if ( ! $this->tgmpa->is_plugin_installed( $item['slug'] ) ) { + /* translators: %2$s: plugin name in screen reader markup */ + $actions['install'] = __( 'Install %2$s', 'accesspress-parallax' ); + } else { + // Display the 'Update' action link if an update is available and WP complies with plugin minimum. + if ( false !== $this->tgmpa->does_plugin_have_update( $item['slug'] ) && $this->tgmpa->can_plugin_update( $item['slug'] ) ) { + /* translators: %2$s: plugin name in screen reader markup */ + $actions['update'] = __( 'Update %2$s', 'accesspress-parallax' ); + } + + // Display the 'Activate' action link, but only if the plugin meets the minimum version. + if ( $this->tgmpa->can_plugin_activate( $item['slug'] ) ) { + /* translators: %2$s: plugin name in screen reader markup */ + $actions['activate'] = __( 'Activate %2$s', 'accesspress-parallax' ); + } + } + + // Create the actual links. + foreach ( $actions as $action => $text ) { + $nonce_url = wp_nonce_url( + add_query_arg( + array( + 'plugin' => urlencode( $item['slug'] ), + 'tgmpa-' . $action => $action . '-plugin', + ), + $this->tgmpa->get_tgmpa_url() + ), + 'tgmpa-' . $action, + 'tgmpa-nonce' + ); + + $action_links[ $action ] = sprintf( + '' . esc_html( $text ) . '', // $text contains the second placeholder. + esc_url( $nonce_url ), + '' . esc_html( $item['sanitized_plugin'] ) . '' + ); + } + + $prefix = ( defined( 'WP_NETWORK_ADMIN' ) && WP_NETWORK_ADMIN ) ? 'network_admin_' : ''; + return apply_filters( "tgmpa_{$prefix}plugin_action_links", array_filter( $action_links ), $item['slug'], $item, $this->view_context ); + } + + /** + * Generates content for a single row of the table. + * + * @since 2.5.0 + * + * @param object $item The current item. + */ + public function single_row( $item ) { + parent::single_row( $item ); + + /** + * Fires after each specific row in the TGMPA Plugins list table. + * + * The dynamic portion of the hook name, `$item['slug']`, refers to the slug + * for the plugin. + * + * @since 2.5.0 + */ + do_action( "tgmpa_after_plugin_row_{$item['slug']}", $item['slug'], $item, $this->view_context ); + } + + /** + * Show the upgrade notice below a plugin row if there is one. + * + * @since 2.5.0 + * + * @see /wp-admin/includes/update.php + * + * @param string $slug Plugin slug. + * @param array $item The information available in this table row. + * @return null Return early if upgrade notice is empty. + */ + public function wp_plugin_update_row( $slug, $item ) { + if ( empty( $item['upgrade_notice'] ) ) { + return; + } + + echo ' + + + '; + } + + /** + * Extra controls to be displayed between bulk actions and pagination. + * + * @since 2.5.0 + * + * @param string $which 'top' or 'bottom' table navigation. + */ + public function extra_tablenav( $which ) { + if ( 'bottom' === $which ) { + $this->tgmpa->show_tgmpa_version(); + } + } + + /** + * Defines the bulk actions for handling registered plugins. + * + * @since 2.2.0 + * + * @return array $actions The bulk actions for the plugin install table. + */ + public function get_bulk_actions() { + + $actions = array(); + + if ( 'update' !== $this->view_context && 'activate' !== $this->view_context ) { + if ( current_user_can( 'install_plugins' ) ) { + $actions['tgmpa-bulk-install'] = __( 'Install', 'accesspress-parallax' ); + } + } + + if ( 'install' !== $this->view_context ) { + if ( current_user_can( 'update_plugins' ) ) { + $actions['tgmpa-bulk-update'] = __( 'Update', 'accesspress-parallax' ); + } + if ( current_user_can( 'activate_plugins' ) ) { + $actions['tgmpa-bulk-activate'] = __( 'Activate', 'accesspress-parallax' ); + } + } + + return $actions; + } + + /** + * Processes bulk installation and activation actions. + * + * The bulk installation process looks for the $_POST information and passes that + * through if a user has to use WP_Filesystem to enter their credentials. + * + * @since 2.2.0 + */ + public function process_bulk_actions() { + // Bulk installation process. + if ( 'tgmpa-bulk-install' === $this->current_action() || 'tgmpa-bulk-update' === $this->current_action() ) { + + check_admin_referer( 'bulk-' . $this->_args['plural'] ); + + $install_type = 'install'; + if ( 'tgmpa-bulk-update' === $this->current_action() ) { + $install_type = 'update'; + } + + $plugins_to_install = array(); + + // Did user actually select any plugins to install/update ? + if ( empty( $_POST['plugin'] ) ) { + if ( 'install' === $install_type ) { + $message = __( 'No plugins were selected to be installed. No action taken.', 'accesspress-parallax' ); + } else { + $message = __( 'No plugins were selected to be updated. No action taken.', 'accesspress-parallax' ); + } + + echo '

    ', esc_html( $message ), '

    '; + + return false; + } + + if ( is_array( $_POST['plugin'] ) ) { + $plugins_to_install = (array) $_POST['plugin']; + } elseif ( is_string( $_POST['plugin'] ) ) { + // Received via Filesystem page - un-flatten array (WP bug #19643). + $plugins_to_install = explode( ',', $_POST['plugin'] ); + } + + // Sanitize the received input. + $plugins_to_install = array_map( 'urldecode', $plugins_to_install ); + $plugins_to_install = array_map( array( $this->tgmpa, 'sanitize_key' ), $plugins_to_install ); + + // Validate the received input. + foreach ( $plugins_to_install as $key => $slug ) { + // Check if the plugin was registered with TGMPA and remove if not. + if ( ! isset( $this->tgmpa->plugins[ $slug ] ) ) { + unset( $plugins_to_install[ $key ] ); + continue; + } + + // For install: make sure this is a plugin we *can* install and not one already installed. + if ( 'install' === $install_type && true === $this->tgmpa->is_plugin_installed( $slug ) ) { + unset( $plugins_to_install[ $key ] ); + } + + // For updates: make sure this is a plugin we *can* update (update available and WP version ok). + if ( 'update' === $install_type && false === $this->tgmpa->is_plugin_updatetable( $slug ) ) { + unset( $plugins_to_install[ $key ] ); + } + } + + // No need to proceed further if we have no plugins to handle. + if ( empty( $plugins_to_install ) ) { + if ( 'install' === $install_type ) { + $message = __( 'No plugins are available to be installed at this time.', 'accesspress-parallax' ); + } else { + $message = __( 'No plugins are available to be updated at this time.', 'accesspress-parallax' ); + } + + echo '

    ', esc_html( $message ), '

    '; + + return false; + } + + // Pass all necessary information if WP_Filesystem is needed. + $url = wp_nonce_url( + $this->tgmpa->get_tgmpa_url(), + 'bulk-' . $this->_args['plural'] + ); + + // Give validated data back to $_POST which is the only place the filesystem looks for extra fields. + $_POST['plugin'] = implode( ',', $plugins_to_install ); // Work around for WP bug #19643. + + $method = ''; // Leave blank so WP_Filesystem can populate it as necessary. + $fields = array_keys( $_POST ); // Extra fields to pass to WP_Filesystem. + + if ( false === ( $creds = request_filesystem_credentials( esc_url_raw( $url ), $method, false, false, $fields ) ) ) { + return true; // Stop the normal page form from displaying, credential request form will be shown. + } + + // Now we have some credentials, setup WP_Filesystem. + if ( ! WP_Filesystem( $creds ) ) { + // Our credentials were no good, ask the user for them again. + request_filesystem_credentials( esc_url_raw( $url ), $method, true, false, $fields ); + + return true; + } + + /* If we arrive here, we have the filesystem */ + + // Store all information in arrays since we are processing a bulk installation. + $names = array(); + $sources = array(); // Needed for installs. + $file_paths = array(); // Needed for upgrades. + $to_inject = array(); // Information to inject into the update_plugins transient. + + // Prepare the data for validated plugins for the install/upgrade. + foreach ( $plugins_to_install as $slug ) { + $name = $this->tgmpa->plugins[ $slug ]['name']; + $source = $this->tgmpa->get_download_url( $slug ); + + if ( ! empty( $name ) && ! empty( $source ) ) { + $names[] = $name; + + switch ( $install_type ) { + + case 'install': + $sources[] = $source; + break; + + case 'update': + $file_paths[] = $this->tgmpa->plugins[ $slug ]['file_path']; + $to_inject[ $slug ] = $this->tgmpa->plugins[ $slug ]; + $to_inject[ $slug ]['source'] = $source; + break; + } + } + } + unset( $slug, $name, $source ); + + // Create a new instance of TGMPA_Bulk_Installer. + $installer = new TGMPA_Bulk_Installer( + new TGMPA_Bulk_Installer_Skin( + array( + 'url' => esc_url_raw( $this->tgmpa->get_tgmpa_url() ), + 'nonce' => 'bulk-' . $this->_args['plural'], + 'names' => $names, + 'install_type' => $install_type, + ) + ) + ); + + // Wrap the install process with the appropriate HTML. + echo '
    ', + '

    ', esc_html( get_admin_page_title() ), '

    +
    '; + + // Process the bulk installation submissions. + add_filter( 'upgrader_source_selection', array( $this->tgmpa, 'maybe_adjust_source_dir' ), 1, 3 ); + + if ( 'tgmpa-bulk-update' === $this->current_action() ) { + // Inject our info into the update transient. + $this->tgmpa->inject_update_info( $to_inject ); + + $installer->bulk_upgrade( $file_paths ); + } else { + $installer->bulk_install( $sources ); + } + + remove_filter( 'upgrader_source_selection', array( $this->tgmpa, 'maybe_adjust_source_dir' ), 1 ); + + echo '
    '; + + return true; + } + + // Bulk activation process. + if ( 'tgmpa-bulk-activate' === $this->current_action() ) { + check_admin_referer( 'bulk-' . $this->_args['plural'] ); + + // Did user actually select any plugins to activate ? + if ( empty( $_POST['plugin'] ) ) { + echo '

    ', esc_html__( 'No plugins were selected to be activated. No action taken.', 'accesspress-parallax' ), '

    '; + + return false; + } + + // Grab plugin data from $_POST. + $plugins = array(); + if ( isset( $_POST['plugin'] ) ) { + $plugins = array_map( 'urldecode', (array) $_POST['plugin'] ); + $plugins = array_map( array( $this->tgmpa, 'sanitize_key' ), $plugins ); + } + + $plugins_to_activate = array(); + $plugin_names = array(); + + // Grab the file paths for the selected & inactive plugins from the registration array. + foreach ( $plugins as $slug ) { + if ( $this->tgmpa->can_plugin_activate( $slug ) ) { + $plugins_to_activate[] = $this->tgmpa->plugins[ $slug ]['file_path']; + $plugin_names[] = $this->tgmpa->plugins[ $slug ]['name']; + } + } + unset( $slug ); + + // Return early if there are no plugins to activate. + if ( empty( $plugins_to_activate ) ) { + echo '

    ', esc_html__( 'No plugins are available to be activated at this time.', 'accesspress-parallax' ), '

    '; + + return false; + } + + // Now we are good to go - let's start activating plugins. + $activate = activate_plugins( $plugins_to_activate ); + + if ( is_wp_error( $activate ) ) { + echo '

    ', wp_kses_post( $activate->get_error_message() ), '

    '; + } else { + $count = count( $plugin_names ); // Count so we can use _n function. + $plugin_names = array_map( array( 'TGMPA_Utils', 'wrap_in_strong' ), $plugin_names ); + $last_plugin = array_pop( $plugin_names ); // Pop off last name to prep for readability. + $imploded = empty( $plugin_names ) ? $last_plugin : ( implode( ', ', $plugin_names ) . ' ' . esc_html_x( 'and', 'plugin A *and* plugin B', 'accesspress-parallax' ) . ' ' . $last_plugin ); + + printf( // WPCS: xss ok. + '

    %1$s %2$s.

    ', + esc_html( _n( 'The following plugin was activated successfully:', 'The following plugins were activated successfully:', $count, 'accesspress-parallax' ) ), + $imploded + ); + + // Update recently activated plugins option. + $recent = (array) get_option( 'recently_activated' ); + foreach ( $plugins_to_activate as $plugin => $time ) { + if ( isset( $recent[ $plugin ] ) ) { + unset( $recent[ $plugin ] ); + } + } + update_option( 'recently_activated', $recent ); + } + + unset( $_POST ); // Reset the $_POST variable in case user wants to perform one action after another. + + return true; + } + + return false; + } + + /** + * Prepares all of our information to be outputted into a usable table. + * + * @since 2.2.0 + */ + public function prepare_items() { + $columns = $this->get_columns(); // Get all necessary column information. + $hidden = array(); // No columns to hide, but we must set as an array. + $sortable = array(); // No reason to make sortable columns. + $primary = $this->get_primary_column_name(); // Column which has the row actions. + $this->_column_headers = array( $columns, $hidden, $sortable, $primary ); // Get all necessary column headers. + + // Process our bulk activations here. + if ( 'tgmpa-bulk-activate' === $this->current_action() ) { + $this->process_bulk_actions(); + } + + // Store all of our plugin data into $items array so WP_List_Table can use it. + $this->items = apply_filters( 'tgmpa_table_data_items', $this->_gather_plugin_data() ); + } + + /* *********** DEPRECATED METHODS *********** */ + + /** + * Retrieve plugin data, given the plugin name. + * + * @since 2.2.0 + * @deprecated 2.5.0 use {@see TGM_Plugin_Activation::_get_plugin_data_from_name()} instead. + * @see TGM_Plugin_Activation::_get_plugin_data_from_name() + * + * @param string $name Name of the plugin, as it was registered. + * @param string $data Optional. Array key of plugin data to return. Default is slug. + * @return string|boolean Plugin slug if found, false otherwise. + */ + protected function _get_plugin_data_from_name( $name, $data = 'slug' ) { + _deprecated_function( __FUNCTION__, 'TGMPA 2.5.0', 'TGM_Plugin_Activation::_get_plugin_data_from_name()' ); + + return $this->tgmpa->_get_plugin_data_from_name( $name, $data ); + } + } +} + + +if ( ! class_exists( 'TGM_Bulk_Installer' ) ) { + + /** + * Hack: Prevent TGMPA v2.4.1- bulk installer class from being loaded if 2.4.1- is loaded after 2.5+. + * + * @since 2.5.2 + * + * {@internal The TGMPA_Bulk_Installer class was originally called TGM_Bulk_Installer. + * For more information, see that class.}} + */ + class TGM_Bulk_Installer { + } +} +if ( ! class_exists( 'TGM_Bulk_Installer_Skin' ) ) { + + /** + * Hack: Prevent TGMPA v2.4.1- bulk installer skin class from being loaded if 2.4.1- is loaded after 2.5+. + * + * @since 2.5.2 + * + * {@internal The TGMPA_Bulk_Installer_Skin class was originally called TGM_Bulk_Installer_Skin. + * For more information, see that class.}} + */ + class TGM_Bulk_Installer_Skin { + } +} + +/** + * The WP_Upgrader file isn't always available. If it isn't available, + * we load it here. + * + * We check to make sure no action or activation keys are set so that WordPress + * does not try to re-include the class when processing upgrades or installs outside + * of the class. + * + * @since 2.2.0 + */ +add_action( 'admin_init', 'tgmpa_load_bulk_installer' ); +if ( ! function_exists( 'tgmpa_load_bulk_installer' ) ) { + /** + * Load bulk installer + */ + function tgmpa_load_bulk_installer() { + // Silently fail if 2.5+ is loaded *after* an older version. + if ( ! isset( $GLOBALS['tgmpa'] ) ) { + return; + } + + // Get TGMPA class instance. + $tgmpa_instance = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) ); + + if ( isset( $_GET['page'] ) && $tgmpa_instance->menu === $_GET['page'] ) { + if ( ! class_exists( 'Plugin_Upgrader', false ) ) { + require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; + } + + if ( ! class_exists( 'TGMPA_Bulk_Installer' ) ) { + + /** + * Installer class to handle bulk plugin installations. + * + * Extends WP_Upgrader and customizes to suit the installation of multiple + * plugins. + * + * @since 2.2.0 + * + * {@internal Since 2.5.0 the class is an extension of Plugin_Upgrader rather than WP_Upgrader.}} + * {@internal Since 2.5.2 the class has been renamed from TGM_Bulk_Installer to TGMPA_Bulk_Installer. + * This was done to prevent backward compatibility issues with v2.3.6.}} + * + * @package TGM-Plugin-Activation + * @author Thomas Griffin + * @author Gary Jones + */ + class TGMPA_Bulk_Installer extends Plugin_Upgrader { + /** + * Holds result of bulk plugin installation. + * + * @since 2.2.0 + * + * @var string + */ + public $result; + + /** + * Flag to check if bulk installation is occurring or not. + * + * @since 2.2.0 + * + * @var boolean + */ + public $bulk = false; + + /** + * TGMPA instance + * + * @since 2.5.0 + * + * @var object + */ + protected $tgmpa; + + /** + * Whether or not the destination directory needs to be cleared ( = on update). + * + * @since 2.5.0 + * + * @var bool + */ + protected $clear_destination = false; + + /** + * References parent constructor and sets defaults for class. + * + * @since 2.2.0 + * + * @param \Bulk_Upgrader_Skin|null $skin Installer skin. + */ + public function __construct( $skin = null ) { + // Get TGMPA class instance. + $this->tgmpa = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) ); + + parent::__construct( $skin ); + + if ( isset( $this->skin->options['install_type'] ) && 'update' === $this->skin->options['install_type'] ) { + $this->clear_destination = true; + } + + if ( $this->tgmpa->is_automatic ) { + $this->activate_strings(); + } + + add_action( 'upgrader_process_complete', array( $this->tgmpa, 'populate_file_path' ) ); + } + + /** + * Sets the correct activation strings for the installer skin to use. + * + * @since 2.2.0 + */ + public function activate_strings() { + $this->strings['activation_failed'] = __( 'Plugin activation failed.', 'accesspress-parallax' ); + $this->strings['activation_success'] = __( 'Plugin activated successfully.', 'accesspress-parallax' ); + } + + /** + * Performs the actual installation of each plugin. + * + * @since 2.2.0 + * + * @see WP_Upgrader::run() + * + * @param array $options The installation config options. + * @return null|array Return early if error, array of installation data on success. + */ + public function run( $options ) { + $result = parent::run( $options ); + + // Reset the strings in case we changed one during automatic activation. + if ( $this->tgmpa->is_automatic ) { + if ( 'update' === $this->skin->options['install_type'] ) { + $this->upgrade_strings(); + } else { + $this->install_strings(); + } + } + + return $result; + } + + /** + * Processes the bulk installation of plugins. + * + * @since 2.2.0 + * + * {@internal This is basically a near identical copy of the WP Core + * Plugin_Upgrader::bulk_upgrade() method, with minor adjustments to deal with + * new installs instead of upgrades. + * For ease of future synchronizations, the adjustments are clearly commented, but no other + * comments are added. Code style has been made to comply.}} + * + * @see Plugin_Upgrader::bulk_upgrade() + * @see https://core.trac.wordpress.org/browser/tags/4.2.1/src/wp-admin/includes/class-wp-upgrader.php#L838 + * (@internal Last synced: Dec 31st 2015 against https://core.trac.wordpress.org/browser/trunk?rev=36134}} + * + * @param array $plugins The plugin sources needed for installation. + * @param array $args Arbitrary passed extra arguments. + * @return array|false Install confirmation messages on success, false on failure. + */ + public function bulk_install( $plugins, $args = array() ) { + // [TGMPA + ] Hook auto-activation in. + add_filter( 'upgrader_post_install', array( $this, 'auto_activate' ), 10 ); + + $defaults = array( + 'clear_update_cache' => true, + ); + $parsed_args = wp_parse_args( $args, $defaults ); + + $this->init(); + $this->bulk = true; + + $this->install_strings(); // [TGMPA + ] adjusted. + + /* [TGMPA - ] $current = get_site_transient( 'update_plugins' ); */ + + /* [TGMPA - ] add_filter('upgrader_clear_destination', array($this, 'delete_old_plugin'), 10, 4); */ + + $this->skin->header(); + + // Connect to the Filesystem first. + $res = $this->fs_connect( array( WP_CONTENT_DIR, WP_PLUGIN_DIR ) ); + if ( ! $res ) { + $this->skin->footer(); + return false; + } + + $this->skin->bulk_header(); + + /* + * Only start maintenance mode if: + * - running Multisite and there are one or more plugins specified, OR + * - a plugin with an update available is currently active. + * @TODO: For multisite, maintenance mode should only kick in for individual sites if at all possible. + */ + $maintenance = ( is_multisite() && ! empty( $plugins ) ); + + /* + [TGMPA - ] + foreach ( $plugins as $plugin ) + $maintenance = $maintenance || ( is_plugin_active( $plugin ) && isset( $current->response[ $plugin] ) ); + */ + if ( $maintenance ) { + $this->maintenance_mode( true ); + } + + $results = array(); + + $this->update_count = count( $plugins ); + $this->update_current = 0; + foreach ( $plugins as $plugin ) { + $this->update_current++; + + /* + [TGMPA - ] + $this->skin->plugin_info = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin, false, true); + + if ( !isset( $current->response[ $plugin ] ) ) { + $this->skin->set_result('up_to_date'); + $this->skin->before(); + $this->skin->feedback('up_to_date'); + $this->skin->after(); + $results[$plugin] = true; + continue; + } + + // Get the URL to the zip file. + $r = $current->response[ $plugin ]; + + $this->skin->plugin_active = is_plugin_active($plugin); + */ + + $result = $this->run( + array( + 'package' => $plugin, // [TGMPA + ] adjusted. + 'destination' => WP_PLUGIN_DIR, + 'clear_destination' => false, // [TGMPA + ] adjusted. + 'clear_working' => true, + 'is_multi' => true, + 'hook_extra' => array( + 'plugin' => $plugin, + ), + ) + ); + + $results[ $plugin ] = $this->result; + + // Prevent credentials auth screen from displaying multiple times. + if ( false === $result ) { + break; + } + } //end foreach $plugins + + $this->maintenance_mode( false ); + + /** + * Fires when the bulk upgrader process is complete. + * + * @since WP 3.6.0 / TGMPA 2.5.0 + * + * @param Plugin_Upgrader $this Plugin_Upgrader instance. In other contexts, $this, might + * be a Theme_Upgrader or Core_Upgrade instance. + * @param array $data { + * Array of bulk item update data. + * + * @type string $action Type of action. Default 'update'. + * @type string $type Type of update process. Accepts 'plugin', 'theme', or 'core'. + * @type bool $bulk Whether the update process is a bulk update. Default true. + * @type array $packages Array of plugin, theme, or core packages to update. + * } + */ + do_action( 'upgrader_process_complete', $this, array( + 'action' => 'install', // [TGMPA + ] adjusted. + 'type' => 'plugin', + 'bulk' => true, + 'plugins' => $plugins, + ) ); + + $this->skin->bulk_footer(); + + $this->skin->footer(); + + // Cleanup our hooks, in case something else does a upgrade on this connection. + /* [TGMPA - ] remove_filter('upgrader_clear_destination', array($this, 'delete_old_plugin')); */ + + // [TGMPA + ] Remove our auto-activation hook. + remove_filter( 'upgrader_post_install', array( $this, 'auto_activate' ), 10 ); + + // Force refresh of plugin update information. + wp_clean_plugins_cache( $parsed_args['clear_update_cache'] ); + + return $results; + } + + /** + * Handle a bulk upgrade request. + * + * @since 2.5.0 + * + * @see Plugin_Upgrader::bulk_upgrade() + * + * @param array $plugins The local WP file_path's of the plugins which should be upgraded. + * @param array $args Arbitrary passed extra arguments. + * @return string|bool Install confirmation messages on success, false on failure. + */ + public function bulk_upgrade( $plugins, $args = array() ) { + + add_filter( 'upgrader_post_install', array( $this, 'auto_activate' ), 10 ); + + $result = parent::bulk_upgrade( $plugins, $args ); + + remove_filter( 'upgrader_post_install', array( $this, 'auto_activate' ), 10 ); + + return $result; + } + + /** + * Abuse a filter to auto-activate plugins after installation. + * + * Hooked into the 'upgrader_post_install' filter hook. + * + * @since 2.5.0 + * + * @param bool $bool The value we need to give back (true). + * @return bool + */ + public function auto_activate( $bool ) { + // Only process the activation of installed plugins if the automatic flag is set to true. + if ( $this->tgmpa->is_automatic ) { + // Flush plugins cache so the headers of the newly installed plugins will be read correctly. + wp_clean_plugins_cache(); + + // Get the installed plugin file. + $plugin_info = $this->plugin_info(); + + // Don't try to activate on upgrade of active plugin as WP will do this already. + if ( ! is_plugin_active( $plugin_info ) ) { + $activate = activate_plugin( $plugin_info ); + + // Adjust the success string based on the activation result. + $this->strings['process_success'] = $this->strings['process_success'] . "
    \n"; + + if ( is_wp_error( $activate ) ) { + $this->skin->error( $activate ); + $this->strings['process_success'] .= $this->strings['activation_failed']; + } else { + $this->strings['process_success'] .= $this->strings['activation_success']; + } + } + } + + return $bool; + } + } + } + + if ( ! class_exists( 'TGMPA_Bulk_Installer_Skin' ) ) { + + /** + * Installer skin to set strings for the bulk plugin installations.. + * + * Extends Bulk_Upgrader_Skin and customizes to suit the installation of multiple + * plugins. + * + * @since 2.2.0 + * + * {@internal Since 2.5.2 the class has been renamed from TGM_Bulk_Installer_Skin to + * TGMPA_Bulk_Installer_Skin. + * This was done to prevent backward compatibility issues with v2.3.6.}} + * + * @see https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-wp-upgrader-skins.php + * + * @package TGM-Plugin-Activation + * @author Thomas Griffin + * @author Gary Jones + */ + class TGMPA_Bulk_Installer_Skin extends Bulk_Upgrader_Skin { + /** + * Holds plugin info for each individual plugin installation. + * + * @since 2.2.0 + * + * @var array + */ + public $plugin_info = array(); + + /** + * Holds names of plugins that are undergoing bulk installations. + * + * @since 2.2.0 + * + * @var array + */ + public $plugin_names = array(); + + /** + * Integer to use for iteration through each plugin installation. + * + * @since 2.2.0 + * + * @var integer + */ + public $i = 0; + + /** + * TGMPA instance + * + * @since 2.5.0 + * + * @var object + */ + protected $tgmpa; + + /** + * Constructor. Parses default args with new ones and extracts them for use. + * + * @since 2.2.0 + * + * @param array $args Arguments to pass for use within the class. + */ + public function __construct( $args = array() ) { + // Get TGMPA class instance. + $this->tgmpa = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) ); + + // Parse default and new args. + $defaults = array( + 'url' => '', + 'nonce' => '', + 'names' => array(), + 'install_type' => 'install', + ); + $args = wp_parse_args( $args, $defaults ); + + // Set plugin names to $this->plugin_names property. + $this->plugin_names = $args['names']; + + // Extract the new args. + parent::__construct( $args ); + } + + /** + * Sets install skin strings for each individual plugin. + * + * Checks to see if the automatic activation flag is set and uses the + * the proper strings accordingly. + * + * @since 2.2.0 + */ + public function add_strings() { + if ( 'update' === $this->options['install_type'] ) { + parent::add_strings(); + /* translators: 1: plugin name, 2: action number 3: total number of actions. */ + $this->upgrader->strings['skin_before_update_header'] = __( 'Updating Plugin %1$s (%2$d/%3$d)', 'accesspress-parallax' ); + } else { + /* translators: 1: plugin name, 2: error message. */ + $this->upgrader->strings['skin_update_failed_error'] = __( 'An error occurred while installing %1$s: %2$s.', 'accesspress-parallax' ); + /* translators: 1: plugin name. */ + $this->upgrader->strings['skin_update_failed'] = __( 'The installation of %1$s failed.', 'accesspress-parallax' ); + + if ( $this->tgmpa->is_automatic ) { + // Automatic activation strings. + $this->upgrader->strings['skin_upgrade_start'] = __( 'The installation and activation process is starting. This process may take a while on some hosts, so please be patient.', 'accesspress-parallax' ); + /* translators: 1: plugin name. */ + $this->upgrader->strings['skin_update_successful'] = __( '%1$s installed and activated successfully.', 'accesspress-parallax' ) . ' ' . esc_html__( 'Show Details', 'accesspress-parallax' ) . '.'; + $this->upgrader->strings['skin_upgrade_end'] = __( 'All installations and activations have been completed.', 'accesspress-parallax' ); + /* translators: 1: plugin name, 2: action number 3: total number of actions. */ + $this->upgrader->strings['skin_before_update_header'] = __( 'Installing and Activating Plugin %1$s (%2$d/%3$d)', 'accesspress-parallax' ); + } else { + // Default installation strings. + $this->upgrader->strings['skin_upgrade_start'] = __( 'The installation process is starting. This process may take a while on some hosts, so please be patient.', 'accesspress-parallax' ); + /* translators: 1: plugin name. */ + $this->upgrader->strings['skin_update_successful'] = esc_html__( '%1$s installed successfully.', 'accesspress-parallax' ) . ' ' . esc_html__( 'Show Details', 'accesspress-parallax' ) . '.'; + $this->upgrader->strings['skin_upgrade_end'] = __( 'All installations have been completed.', 'accesspress-parallax' ); + /* translators: 1: plugin name, 2: action number 3: total number of actions. */ + $this->upgrader->strings['skin_before_update_header'] = __( 'Installing Plugin %1$s (%2$d/%3$d)', 'accesspress-parallax' ); + } + } + } + + /** + * Outputs the header strings and necessary JS before each plugin installation. + * + * @since 2.2.0 + * + * @param string $title Unused in this implementation. + */ + public function before( $title = '' ) { + if ( empty( $title ) ) { + $title = esc_html( $this->plugin_names[ $this->i ] ); + } + parent::before( $title ); + } + + /** + * Outputs the footer strings and necessary JS after each plugin installation. + * + * Checks for any errors and outputs them if they exist, else output + * success strings. + * + * @since 2.2.0 + * + * @param string $title Unused in this implementation. + */ + public function after( $title = '' ) { + if ( empty( $title ) ) { + $title = esc_html( $this->plugin_names[ $this->i ] ); + } + parent::after( $title ); + + $this->i++; + } + + /** + * Outputs links after bulk plugin installation is complete. + * + * @since 2.2.0 + */ + public function bulk_footer() { + // Serve up the string to say installations (and possibly activations) are complete. + parent::bulk_footer(); + + // Flush plugins cache so we can make sure that the installed plugins list is always up to date. + wp_clean_plugins_cache(); + + $this->tgmpa->show_tgmpa_version(); + + // Display message based on if all plugins are now active or not. + $update_actions = array(); + + if ( $this->tgmpa->is_tgmpa_complete() ) { + // All plugins are active, so we display the complete string and hide the menu to protect users. + echo ''; + $update_actions['dashboard'] = sprintf( + esc_html( $this->tgmpa->strings['complete'] ), + '' . esc_html__( 'Return to the Dashboard', 'accesspress-parallax' ) . '' + ); + } else { + $update_actions['tgmpa_page'] = '' . esc_html( $this->tgmpa->strings['return'] ) . ''; + } + + /** + * Filter the list of action links available following bulk plugin installs/updates. + * + * @since 2.5.0 + * + * @param array $update_actions Array of plugin action links. + * @param array $plugin_info Array of information for the last-handled plugin. + */ + $update_actions = apply_filters( 'tgmpa_update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info ); + + if ( ! empty( $update_actions ) ) { + $this->feedback( implode( ' | ', (array) $update_actions ) ); + } + } + + /* *********** DEPRECATED METHODS *********** */ + + /** + * Flush header output buffer. + * + * @since 2.2.0 + * @deprecated 2.5.0 use {@see Bulk_Upgrader_Skin::flush_output()} instead + * @see Bulk_Upgrader_Skin::flush_output() + */ + public function before_flush_output() { + _deprecated_function( __FUNCTION__, 'TGMPA 2.5.0', 'Bulk_Upgrader_Skin::flush_output()' ); + $this->flush_output(); + } + + /** + * Flush footer output buffer and iterate $this->i to make sure the + * installation strings reference the correct plugin. + * + * @since 2.2.0 + * @deprecated 2.5.0 use {@see Bulk_Upgrader_Skin::flush_output()} instead + * @see Bulk_Upgrader_Skin::flush_output() + */ + public function after_flush_output() { + _deprecated_function( __FUNCTION__, 'TGMPA 2.5.0', 'Bulk_Upgrader_Skin::flush_output()' ); + $this->flush_output(); + $this->i++; + } + } + } + } + } +} + +if ( ! class_exists( 'TGMPA_Utils' ) ) { + + /** + * Generic utilities for TGMPA. + * + * All methods are static, poor-dev name-spacing class wrapper. + * + * Class was called TGM_Utils in 2.5.0 but renamed TGMPA_Utils in 2.5.1 as this was conflicting with Soliloquy. + * + * @since 2.5.0 + * + * @package TGM-Plugin-Activation + * @author Juliette Reinders Folmer + */ + class TGMPA_Utils { + /** + * Whether the PHP filter extension is enabled. + * + * @see http://php.net/book.filter + * + * @since 2.5.0 + * + * @static + * + * @var bool $has_filters True is the extension is enabled. + */ + public static $has_filters; + + /** + * Wrap an arbitrary string in tags. Meant to be used in combination with array_map(). + * + * @since 2.5.0 + * + * @static + * + * @param string $string Text to be wrapped. + * @return string + */ + public static function wrap_in_em( $string ) { + return '' . wp_kses_post( $string ) . ''; + } + + /** + * Wrap an arbitrary string in tags. Meant to be used in combination with array_map(). + * + * @since 2.5.0 + * + * @static + * + * @param string $string Text to be wrapped. + * @return string + */ + public static function wrap_in_strong( $string ) { + return '' . wp_kses_post( $string ) . ''; + } + + /** + * Helper function: Validate a value as boolean + * + * @since 2.5.0 + * + * @static + * + * @param mixed $value Arbitrary value. + * @return bool + */ + public static function validate_bool( $value ) { + if ( ! isset( self::$has_filters ) ) { + self::$has_filters = extension_loaded( 'filter' ); + } + + if ( self::$has_filters ) { + return filter_var( $value, FILTER_VALIDATE_BOOLEAN ); + } else { + return self::emulate_filter_bool( $value ); + } + } + + /** + * Helper function: Cast a value to bool + * + * @since 2.5.0 + * + * @static + * + * @param mixed $value Value to cast. + * @return bool + */ + protected static function emulate_filter_bool( $value ) { + // @codingStandardsIgnoreStart + static $true = array( + '1', + 'true', 'True', 'TRUE', + 'y', 'Y', + 'yes', 'Yes', 'YES', + 'on', 'On', 'ON', + ); + static $false = array( + '0', + 'false', 'False', 'FALSE', + 'n', 'N', + 'no', 'No', 'NO', + 'off', 'Off', 'OFF', + ); + // @codingStandardsIgnoreEnd + + if ( is_bool( $value ) ) { + return $value; + } elseif ( is_int( $value ) && ( 0 === $value || 1 === $value ) ) { + return (bool) $value; + } elseif ( ( is_float( $value ) && ! is_nan( $value ) ) && ( (float) 0 === $value || (float) 1 === $value ) ) { + return (bool) $value; + } elseif ( is_string( $value ) ) { + $value = trim( $value ); + if ( in_array( $value, $true, true ) ) { + return true; + } elseif ( in_array( $value, $false, true ) ) { + return false; + } else { + return false; + } + } + + return false; + } + } // End of class TGMPA_Utils +} // End of class_exists wrapper diff --git a/inc/customizer.php b/inc/customizer.php new file mode 100644 index 0000000..261d89a --- /dev/null +++ b/inc/customizer.php @@ -0,0 +1,26 @@ +get_setting( 'blogname' )->transport = 'postMessage'; + $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; + $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; +} +add_action( 'customize_register', 'accesspress_parallax_customize_register' ); + +/** + * Binds JS handlers to make Theme Customizer preview reload changes asynchronously. + */ +function accesspress_parallax_customize_preview_js() { + wp_enqueue_script( 'accesspress_parallax_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20130508', true ); +} +add_action( 'customize_preview_init', 'accesspress_parallax_customize_preview_js' ); diff --git a/inc/jetpack.php b/inc/jetpack.php new file mode 100644 index 0000000..b97ce1d --- /dev/null +++ b/inc/jetpack.php @@ -0,0 +1,19 @@ + 'main', + 'footer' => 'page', + ) ); +} +add_action( 'after_setup_theme', 'accesspress_parallax_jetpack_setup' ); diff --git a/inc/options-framework/css/optionsframework.css b/inc/options-framework/css/optionsframework.css new file mode 100644 index 0000000..4652aec --- /dev/null +++ b/inc/options-framework/css/optionsframework.css @@ -0,0 +1,448 @@ +/* Options Framework Admin Styles */ + +#optionsframework { + width:760px; + background:#fff; + float: left; +} +#optionsframework-wrap .nav-tab-wrapper{ + padding: 10px 0 0; +} +#optionsframework-wrap .nav-tab-wrapper .nav-tab { + padding: 6px 10px; + font-weight: 700; + font-size: 15px; + line-height: 24px; + margin-left: 0; + margin-right: 5px; +} +#optionsframework h3 { + cursor: default; + background-color: #f1f1f1; + border-bottom: 1px solid #ddd; + margin: 0; + padding: 10px; +} +#optionsframework h4{ + margin: 0 0 10px; + font-size: 14px; + font-weight: normal; + color:#000; +} +#optionsframework #options-group-7 h4{ + font-size: 17px; +} +#optionsframework p { + margin-bottom:0; + padding-bottom:10px; +} +#optionsframework img{ + max-width: 100%; +} +#optionsframework .section { + padding:16px 0; + margin: 0 10px; + border-bottom:1px dashed #EEE; +} +#optionsframework .group { + padding-bottom:40px; +} +#optionsframework .section .controls { +} +#optionsframework .section .explain { + font-size: 13px; + line-height:16px; + color: #666; + font-style: italic; +} +#optionsframework .section-checkbox .controls { + width: 98%; +} +#optionsframework .section-checkbox .explain { + max-width:94%; +} +#optionsframework .controls input[type=text] { + width:100%; +} +#optionsframework .controls input[type=text].wp-color-picker { + width: 65px; +} +#optionsframework .controls select, #optionsframework .controls textarea { + margin-bottom:10px; + width:100%; +} +#optionsframework .section-radio label, #optionsframework .section-multicheck label { + float:left; + max-width:90%; + line-height: 16px; + margin-bottom: 5px; +} +#optionsframework input.checkbox, #optionsframework input.of-radio { + margin: 0 10px 5px 0; + float:left; + clear:both; +} +#optionsframework .section-typography .controls { + float:none; + width:auto; +} +#optionsframework .section-typography .explain { + float:none; + width:auto; +} +#optionsframework .controls .of-typography-size { + width:80px; + float:left +} +#optionsframework .controls .of-typography-unit { + width:50px; + margin-left:5px; + float:left +} +#optionsframework .controls .of-typography-face { + width:100px; + margin-left:5px; + float:left +} +#optionsframework .controls .of-typography-style { + width:80px; + margin-left:5px; + margin-right:5px; + float:left +} +#optionsframework .section-typography .wp-picker-container { + margin-top:2px; +} +#optionsframework .of-background-properties { + clear:both; + margin-top: 18px; +} +#optionsframework .controls .of-background-repeat { + width:125px; + margin-right:5px; + float:left +} +#optionsframework .controls .of-background-position { + width:125px; + margin-right:5px; + float:left +} +#optionsframework .controls .of-background-attachment { + width:125px; + margin-right:5px; + float:left +} +#optionsframework .controls .of-background-size { + width:125px; + margin-right:5px; + float:left +} +#optionsframework .section-background .wp-picker-container { + margin-bottom:10px; +} +#optionsframework .controls .of-radio-img-img { + border:3px solid #f9f9f9; + margin:0 5px 10px 0; + display:none; + cursor:pointer; + float:left; +} +#optionsframework .controls .of-radio-img-selected { + border:3px solid #ccc +} +#optionsframework .controls .of-radio-img-img:hover { + opacity:.8; +} +#optionsframework .controls .of-border-width { + width:80px; + float:left +} +#optionsframework .controls .of-border-style { + width:120px; + float:left +} +#optionsframework .hide { + display:none; +} +#optionsframework .of-option-image { + max-width:340px; + margin:3px 0 18px 0; +} +#optionsframework .mini .controls select, #optionsframework .section .mini .controls { + width: 140px; +} +#optionsframework .mini .controls input, #optionsframework .mini .controls { + min-width:140px; + width: 140px; +} +#optionsframework .mini .explain { + max-width:74%; +} + +/* Editor */ + +#optionsframework .section-editor .explain { + max-width: 98%; + float:none; + margin-bottom:5px; +} + +/* Image Uploader */ + +#optionsframework .controls input.upload { + width:80%; +} +#optionsframework .screenshot { + float:left; + margin-left:1px; + position:relative; + width:344px; + margin-top:3px; +} +#optionsframework .screenshot img { + background:#fafafa; + border-color:#ccc #eee #eee #ccc; + border-style:solid; + border-width:1px; + float:left; + max-width:334px; + padding:4px; + margin-bottom:10px; +} +#optionsframework .screenshot .remove-image { + background:url("../images/ico-delete.png") no-repeat; + border:medium none; + bottom:4px; + display:block; + float:left; + height:16px; + padding:0; + position:absolute; + left:-4px; + text-indent:-9999px; + width:16px; +} +#optionsframework .screenshot .no_image .file_link { + margin-left: 20px; +} +#optionsframework .screenshot .no_image .remove-button { + bottom: 0px; +} +#optionsframework .reset-button { + float:left; + cursor:pointer; +} + +/* Bottom Section */ + +#optionsframework-submit { + padding: 7px 10px; + border-top: 1px solid #ddd; + background-color: #f1f1f1; +} +#optionsframework #optionsframework-submit .button-primary { + float:right; +} +#optionsframework .section:after, +.clearfix:after, +.clearfix:before { + content: ""; + display: table; +} +#optionsframework .section:after, +.clearfix:after { + clear: both; +} +#section-parallax_section .sub-option{ + margin-bottom: 15px; + border:1px solid #ddd; +} +#section-parallax_section .sub-option:hover{ + background: #EEE; +} +#section-parallax_section .sub-option .sub-option-inner{ + padding: 10px; + position: relative; + border-top: 1px solid #ddd; +} +#section-parallax_section .sub-option .sub-option-inner > .button-primary{ + position: absolute; + top: 10px; + right: 10px; +} +#optionsframework #section-parallax_section.section .controls{ + min-width: 100%; + width: 100%; +} +.inline-label label{ + display: inline-block; + width: 150px; + vertical-align: top; +} +#optionsframework #section-parallax_section .controls select{ + width: 400px; +} +#optionsframework #section-parallax_section .controls input.upload{ + width: 325px; + height: 28px; +} +#optionsframework #section-parallax_section .background-settings{ + display: inline-block; +} +#optionsframework #section-parallax_section .controls .of-background-repeat{ + width: 160px; +} +#optionsframework #section-parallax_section .controls .of-background-position{ + width: 120px; +} +#optionsframework #section-parallax_section .controls .of-background-attachment{ + width: 150px; +} +#optionsframework #section-parallax_section .controls .of-background-size{ + width: 100px; +} +#optionsframework #section-parallax_section .screenshot{ + margin-left: 152px; +} +#optionsframework #section-parallax_section .controls .wp-picker-container{ + display: inline-block; +} + +#optionsframework #section-parallax_section h3{ + padding: 0 0 0 10px; + line-height: 40px; + cursor: move; + border-bottom: 0; + font-size: 14px; +} +.section-toggle{ + float: right; + height: 40px; + width: 40px; + background: #999; + color: #FFF; + text-align: center; + line-height: 40px; + cursor: pointer; +} +.theme-header{ + background: #222222; + padding: 20px; +} +.theme-header .accesspresslite-logo{ + float: left; +} +.theme-header .ak-socials{ + float: right; + color: #FFF; + text-align: right; +} +.theme-header .ak-socials p{ + margin-top: 0; +} +.update-banner{ + float: left; + margin-left: 10px; + width: 300px; +} +#optionsframework-metabox .button-link { + background: none repeat scroll 0 0 #fff; + border-left: 1px solid #e5e5e5; + border-right: 1px solid #e5e5e5; + padding: 10px; + text-align: center; +} +#optionsframework-metabox a { + box-shadow: none; +} +.any-question { + background: none repeat scroll 0 0 #fff; + border: 1px solid #e5e5e5; + font-size: 14px; + padding: 15px 10px; + text-align: center; +} +.ap-popup-bg{ + position: fixed; + background: #000; + background: rgba(0,0,0,0.4); + height: 100%; + width: 100%; + left: 0; + top: 0; + z-index: 99999; +} +.ap-popup-wrapper{ + position: fixed; + width: 340px; + left: 50%; + top:50%; + margin-left: -170px; + margin-top: -140px; + z-index: 99999999; + background: #FFF; + padding: 10px; +} +.ap-popup-close{ + position: absolute; + right: -10px; + top:-10px; + background: #000; + height: 26px; + width: 26px; + text-align: center; + line-height: 26px; + color: #FFF; + font-size:20px; + cursor: pointer; +} +.ap-popup-wrapper h4{ + font-weight: normal; + font-size: 14px; + text-align: center; + margin: 2px 0 10px; + color: #E66432; + line-height:16px; +} +.appearance_page_theme-options div.updated{ + margin-left: 0; +} + +#optionsframework .section.section-hidden{ + border:0; + padding: 0; + margin: 0; +} +.ap-intro-text{ + line-height: 2; +} +.update-banner h3{ + background: #333; + color: #FFF; + border:1px solid #333; + margin: 0; + padding: 10px; +} +.pro-feature-title{ + cursor: pointer; +} +.pro-feature-title span{ + float: right; + font-size: 20px; + line-height: 20px; +} +.feature-img{ + display: none; +} +.ak-socials{ + margin-top: 10px; +} +.ak-socials a{ + color: #FFF; + background: #E3633B; + display: inline-block; + padding: 8px 10px; + text-decoration: none; + border-radius: 5px; + margin: 0 5px; +} \ No newline at end of file diff --git a/inc/options-framework/images/accesspressthemes.png b/inc/options-framework/images/accesspressthemes.png new file mode 100644 index 0000000..4c4f4bf Binary files /dev/null and b/inc/options-framework/images/accesspressthemes.png differ diff --git a/inc/options-framework/images/demo-btn.png b/inc/options-framework/images/demo-btn.png new file mode 100644 index 0000000..e7f4e4a Binary files /dev/null and b/inc/options-framework/images/demo-btn.png differ diff --git a/inc/options-framework/images/ico-delete.png b/inc/options-framework/images/ico-delete.png new file mode 100644 index 0000000..08f2493 Binary files /dev/null and b/inc/options-framework/images/ico-delete.png differ diff --git a/inc/options-framework/images/logo-side.jpg b/inc/options-framework/images/logo-side.jpg new file mode 100644 index 0000000..eced2eb Binary files /dev/null and b/inc/options-framework/images/logo-side.jpg differ diff --git a/inc/options-framework/images/logo-top.jpg b/inc/options-framework/images/logo-top.jpg new file mode 100644 index 0000000..f716566 Binary files /dev/null and b/inc/options-framework/images/logo-top.jpg differ diff --git a/inc/options-framework/images/logo.png b/inc/options-framework/images/logo.png new file mode 100644 index 0000000..5bc3e3d Binary files /dev/null and b/inc/options-framework/images/logo.png differ diff --git a/inc/options-framework/images/tick.png b/inc/options-framework/images/tick.png new file mode 100644 index 0000000..0eb8827 Binary files /dev/null and b/inc/options-framework/images/tick.png differ diff --git a/inc/options-framework/images/upgrade-bottom.jpg b/inc/options-framework/images/upgrade-bottom.jpg new file mode 100644 index 0000000..7511d58 Binary files /dev/null and b/inc/options-framework/images/upgrade-bottom.jpg differ diff --git a/inc/options-framework/images/upgrade-btn.png b/inc/options-framework/images/upgrade-btn.png new file mode 100644 index 0000000..20a2c5c Binary files /dev/null and b/inc/options-framework/images/upgrade-btn.png differ diff --git a/inc/options-framework/images/upgrade-top.jpg b/inc/options-framework/images/upgrade-top.jpg new file mode 100644 index 0000000..00d1d43 Binary files /dev/null and b/inc/options-framework/images/upgrade-top.jpg differ diff --git a/inc/options-framework/includes/class-options-framework-admin.php b/inc/options-framework/includes/class-options-framework-admin.php new file mode 100644 index 0000000..addb6fd --- /dev/null +++ b/inc/options-framework/includes/class-options-framework-admin.php @@ -0,0 +1,368 @@ + + * @license GPL-2.0+ + * @link http://wptheming.com + * @copyright 2010-2014 WP Theming + */ + +class Options_Framework_Admin { + + /** + * Page hook for the options screen + * + * @since 1.7.0 + * @type string + */ + protected $options_screen = null; + + /** + * Hook in the scripts and styles + * + * @since 1.7.0 + */ + public function init() { + + // Gets options to load + $options = & Options_Framework::_optionsframework_options(); + + // Checks if options are available + if ( $options ) { + + // Add the options page and menu item. + add_action( 'admin_menu', array( $this, 'add_custom_options_page' ) ); + + // Add the required scripts and styles + add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) ); + add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ) ); + + // Settings need to be registered after admin_init + add_action( 'admin_init', array( $this, 'settings_init' ) ); + + // Adds options menu to the admin bar + add_action( 'wp_before_admin_bar_render', array( $this, 'optionsframework_admin_bar' ) ); + + } + + } + + /** + * Registers the settings + * + * @since 1.7.0 + */ + function settings_init() { + + // Get the option name + $options_framework = new Options_Framework; + $name = $options_framework->get_option_name(); + + // Registers the settings fields and callback + register_setting( 'optionsframework', $name, array ( $this, 'validate_options' ) ); + + // Displays notice after options save + add_action( 'optionsframework_after_validate', array( $this, 'save_options_notice' ) ); + + } + + static function menu_settings() { + + $menu = array( + + // Modes: submenu, menu + 'mode' => 'submenu', + + // Submenu default settings + 'page_title' => '', + 'menu_title' => __('Theme Options', 'accesspress-parallax'), + 'capability' => 'edit_theme_options', + 'menu_slug' => 'theme-options', + 'parent_slug' => 'themes.php', + + // Menu default settings + 'icon_url' => 'dashicons-admin-generic', + 'position' => '61' + + ); + + return apply_filters( 'optionsframework_menu', $menu ); + } + + /** + * Add a subpage called "Theme Options" to the appearance menu. + * + * @since 1.7.0 + */ + function add_custom_options_page() { + + $menu = $this->menu_settings(); + + // If you want a top level menu, see this Gist: + // https://gist.github.com/devinsays/884d6abe92857a329d99 + + // Code removed because it conflicts with .org theme check. + + $this->options_screen = add_theme_page( + $menu['page_title'], + $menu['menu_title'], + $menu['capability'], + $menu['menu_slug'], + array( $this, 'options_page' ) + ); + + } + + /** + * Loads the required stylesheets + * + * @since 1.7.0 + */ + + function enqueue_admin_styles( $hook ) { + + if ( $this->options_screen != $hook ) + return; + wp_enqueue_style( 'accesspress-parallax-font-awesome', get_template_directory_uri() . '/css/fontawesome/css/font-awesome.min.css' ); + wp_enqueue_style( 'optionsframework', OPTIONS_FRAMEWORK_DIRECTORY . 'css/optionsframework.css', array(), Options_Framework::VERSION ); + wp_enqueue_style( 'wp-color-picker' ); + } + + /** + * Loads the required javascript + * + * @since 1.7.0 + */ + function enqueue_admin_scripts( $hook ) { + + if ( $this->options_screen != $hook ) + return; + + // Enqueue custom option panel JS + wp_enqueue_script( 'options-custom', OPTIONS_FRAMEWORK_DIRECTORY . 'js/options-custom.js', array( 'jquery','wp-color-picker' ), Options_Framework::VERSION ); + + // Inline scripts from options-interface.php + add_action( 'admin_head', array( $this, 'of_admin_head' ) ); + } + + function of_admin_head() { + // Hook to add custom scripts + do_action( 'optionsframework_custom_scripts' ); + } + + /** + * Builds out the options panel. + * + * If we were using the Settings API as it was intended we would use + * do_settings_sections here. But as we don't want the settings wrapped in a table, + * we'll call our own custom optionsframework_fields. See options-interface.php + * for specifics on how each individual field is generated. + * + * Nonces are provided using the settings_fields() + * + * @since 1.7.0 + */ + function options_page() { ?> + +
    + + menu_settings(); ?> + +
    + + +
    + + +
    +
    + + + + + +
    + +
    +
    + + +
    + + +
    +
    + +
    + +
    +

    + + +
    + here for Live Chat.','accesspress-parallax'), esc_url('https://accesspressthemes.com/contact/')); ?> +
    +

    +
    + + +
    +
    +
    + +
    + + get_default_values(); + } + + /* + * Update Settings + * + * This used to check for $_POST['update'], but has been updated + * to be compatible with the theme customizer introduced in WordPress 3.4 + */ + + $clean = array(); + $options = & Options_Framework::_optionsframework_options(); + foreach ( $options as $option ) { + + if ( ! isset( $option['id'] ) ) { + continue; + } + + if ( ! isset( $option['type'] ) ) { + continue; + } + + $id = preg_replace( '/[^a-zA-Z0-9._\-]/', '', strtolower( $option['id'] ) ); + + // Set checkbox to false if it wasn't sent in the $_POST + if ( 'checkbox' == $option['type'] && ! isset( $input[$id] ) ) { + $input[$id] = false; + } + + // Set parallax to '' if it wasn't sent in the $_POST + if ( 'parallaxsection' == $option['type'] && ! isset( $input[$id] ) ) { + $input[$id] = ''; + } + + // Set each item in the multicheck to false if it wasn't sent in the $_POST + if ( 'multicheck' == $option['type'] && ! isset( $input[$id] ) ) { + foreach ( $option['options'] as $key => $value ) { + $input[$id][$key] = false; + } + } + + // For a value to be submitted to database it must pass through a sanitization filter + if ( has_filter( 'of_sanitize_' . $option['type'] ) ) { + $clean[$id] = apply_filters( 'of_sanitize_' . $option['type'], $input[$id], $option ); + } + } + + // Hook to run after validation + do_action( 'optionsframework_after_validate', $clean ); + + return $clean; + } + + /** + * Display message when options have been saved + */ + + function save_options_notice() { + add_settings_error( 'options-framework', 'save_options', __( 'Options saved.', 'accesspress-parallax' ), 'updated fade' ); + } + + /** + * Get the default values for all the theme options + * + * Get an array of all default values as set in + * options.php. The 'id','std' and 'type' keys need + * to be defined in the configuration array. In the + * event that these keys are not present the option + * will not be included in this function's output. + * + * @return array Re-keyed options configuration array. + * + */ + + function get_default_values() { + $output = array(); + $config = & Options_Framework::_optionsframework_options(); + foreach ( (array) $config as $option ) { + if ( ! isset( $option['id'] ) ) { + continue; + } + if ( ! isset( $option['std'] ) ) { + continue; + } + if ( ! isset( $option['type'] ) ) { + continue; + } + if ( has_filter( 'of_sanitize_' . $option['type'] ) ) { + $output[$option['id']] = apply_filters( 'of_sanitize_' . $option['type'], $option['std'], $option ); + } + } + return $output; + } + + /** + * Add options menu item to admin bar + */ + + function optionsframework_admin_bar() { + + $menu = $this->menu_settings(); + + global $wp_admin_bar; + + if ( 'menu' == $menu['mode'] ) { + $href = admin_url( 'admin.php?page=' . $menu['menu_slug'] ); + } else { + $href = admin_url( 'themes.php?page=' . $menu['menu_slug'] ); + } + + $args = array( + 'parent' => 'appearance', + 'id' => 'of_theme_options', + 'title' => $menu['menu_title'], + 'href' => $href + ); + + $wp_admin_bar->add_menu( apply_filters( 'optionsframework_admin_bar', $args ) ); + } + +} diff --git a/inc/options-framework/includes/class-options-framework.php b/inc/options-framework/includes/class-options-framework.php new file mode 100644 index 0000000..4ea0ea4 --- /dev/null +++ b/inc/options-framework/includes/class-options-framework.php @@ -0,0 +1,96 @@ + + * @license GPL-2.0+ + * @link http://wptheming.com + * @copyright 2010-2014 WP Theming + */ + +class Options_Framework { + + /** + * Plugin version, used for cache-busting of style and script file references. + * + * @since 1.7.0 + * @type string + */ + const VERSION = '1.8.0'; + + /** + * Sets option defaults + * + * @since 1.7.0 + */ + function get_option_name() { + + $name = ''; + + // Gets option name as defined in the theme + if ( function_exists( 'optionsframework_option_name' ) ) { + $name = optionsframework_option_name(); + } + + // Fallback + if ( '' == $name ) { + $name = get_option( 'stylesheet' ); + $name = preg_replace( "/\W/", "_", strtolower( $name ) ); + } + + return apply_filters( 'options_framework_option_name', $name ); + + } + + /** + * Wrapper for optionsframework_options() + * + * Allows for manipulating or setting options via 'of_options' filter + * For example: + * + * + * add_filter( 'of_options', function( $options ) { + * $options[] = array( + * 'name' => 'Input Text Mini', + * 'desc' => 'A mini text input field.', + * 'id' => 'example_text_mini', + * 'std' => 'Default', + * 'class' => 'mini', + * 'type' => 'text' + * ); + * + * return $options; + * }); + * + * + * Also allows for setting options via a return statement in the + * options.php file. For example (in options.php): + * + * + * return array(...); + * + * + * @return array (by reference) + */ + static function &_optionsframework_options() { + static $options = null; + + if ( !$options ) { + // Load options from options.php file (if it exists) + $location = apply_filters( 'options_framework_location', array( 'inc/accesspress-options.php' ) ); + if ( $optionsfile = locate_template( $location ) ) { + $maybe_options = require_once $optionsfile; + if ( is_array( $maybe_options ) ) { + $options = $maybe_options; + } else if ( function_exists( 'optionsframework_options' ) ) { + $options = optionsframework_options(); + } + } + + // Allow setting/manipulating options via filters + $options = apply_filters( 'of_options', $options ); + } + + return $options; + } + +} \ No newline at end of file diff --git a/inc/options-framework/includes/class-options-interface.php b/inc/options-framework/includes/class-options-interface.php new file mode 100644 index 0000000..3fa242d --- /dev/null +++ b/inc/options-framework/includes/class-options-interface.php @@ -0,0 +1,580 @@ +' . esc_html( $value['name'] ) . ''; + } + } + + return $menu; + } + + /** + * Generates the options fields that are used in the form. + */ + static function optionsframework_fields() { + + global $allowedtags; + + $options_framework = new Options_Framework; + $option_name = $options_framework->get_option_name(); + + $settings = get_option($option_name); + $options = & Options_Framework::_optionsframework_options(); + + $counter = 0; + $menu = ''; + + foreach ( $options as $value ) { + + $val = ''; + $select_value = ''; + $output = ''; + + // Wrap all options + if ( ( $value['type'] != "heading" ) && ( $value['type'] != "info" ) ) { + + // Keep all ids lowercase with no spaces + $value['id'] = preg_replace('/[^a-zA-Z0-9._\-]/', '', strtolower($value['id']) ); + + $id = 'section-' . $value['id']; + + $class = 'section'; + if ( isset( $value['type'] ) ) { + $class .= ' section-' . $value['type']; + } + if ( isset( $value['class'] ) ) { + $class .= ' ' . $value['class']; + } + + $output .= '
    '."\n"; + if ( isset( $value['name'] ) ) { + $output .= '

    ' . esc_html( $value['name'] ) . '

    ' . "\n"; + } + if ( $value['type'] != 'editor' ) { + $output .= '
    ' . "\n" . '
    ' . "\n"; + } + else { + $output .= '
    ' . "\n" . '
    ' . "\n"; + } + } + + // Set default value to $val + if ( isset( $value['std'] ) ) { + $val = $value['std']; + } + + // If the option is already saved, override $val + if ( ( $value['type'] != 'heading' ) && ( $value['type'] != 'info') ) { + if ( isset( $settings[($value['id'])]) ) { + $val = $settings[($value['id'])]; + // Striping slashes of non-array options + if ( !is_array($val) ) { + $val = stripslashes( $val ); + } + } + } + + // If there is a description save it for labels + $explain_value = ''; + if ( isset( $value['desc'] ) ) { + $explain_value = $value['desc']; + } + + // Set the placeholder if one exists + $placeholder = ''; + if ( isset( $value['placeholder'] ) ) { + $placeholder = ' placeholder="' . esc_attr( $value['placeholder'] ) . '"'; + } + + if ( has_filter( 'optionsframework_' . $value['type'] ) ) { + $output .= apply_filters( 'optionsframework_' . $value['type'], $option_name, $value, $val ); + } + + + switch ( $value['type'] ) { + + // Basic text input + case 'text': + $output .= ''; + break; + + // Basic hidded input + case 'hidden': + $output .= ''; + break; + + // Basic text input + case 'url': + $output .= ''; + break; + + // Password input + case 'password': + $output .= ''; + break; + + // Textarea + case 'textarea': + $rows = '14'; + + if ( isset( $value['settings']['rows'] ) ) { + $custom_rows = $value['settings']['rows']; + if ( is_numeric( $custom_rows ) ) { + $rows = $custom_rows; + } + } + + $val = stripslashes( $val ); + $output .= ''; + break; + + // Select Box + case 'select': + $output .= ''; + break; + + + // Radio Box + case "radio": + $name = $option_name .'['. $value['id'] .']'; + foreach ($value['options'] as $key => $option) { + $id = $option_name . '-' . $value['id'] .'-'. $key; + $output .= ''; + } + break; + + // Image Selectors + case "images": + $name = $option_name .'['. $value['id'] .']'; + foreach ( $value['options'] as $key => $option ) { + $selected = ''; + if ( $val != '' && ($val == $key) ) { + $selected = ' of-radio-img-selected'; + } + $output .= ''; + $output .= '
    ' . esc_html( $key ) . '
    '; + $output .= '' . $option .''; + } + break; + + // Checkbox + case "checkbox": + $output .= ''; + $output .= ''; + break; + + // Multicheck + case "multicheck": + foreach ($value['options'] as $key => $option) { + $checked = ''; + $label = $option; + $option = preg_replace('/[^a-zA-Z0-9._\-]/', '', strtolower($key)); + + $id = $option_name . '-' . $value['id'] . '-'. $option; + $name = $option_name . '[' . $value['id'] . '][' . $option .']'; + + if ( isset($val[$option]) ) { + $checked = checked($val[$option], 1, false); + } + + $output .= ''; + } + break; + + // Color picker + case "color": + $default_color = ''; + if ( isset($value['std']) ) { + if ( $val != $value['std'] ) + $default_color = ' data-default-color="' .$value['std'] . '" '; + } + $output .= ''; + + break; + + // Uploader + case "upload": + $output .= Options_Framework_Media_Uploader::optionsframework_uploader( $value['id'], $val, null ); + + break; + + // Typography + case 'typography': + + unset( $font_size, $font_style, $font_face, $font_color ); + + $typography_defaults = array( + 'size' => '', + 'face' => '', + 'style' => '', + 'color' => '' + ); + + $typography_stored = wp_parse_args( $val, $typography_defaults ); + + $typography_options = array( + 'sizes' => of_recognized_font_sizes(), + 'faces' => of_recognized_font_faces(), + 'styles' => of_recognized_font_styles(), + 'color' => true + ); + + if ( isset( $value['options'] ) ) { + $typography_options = wp_parse_args( $value['options'], $typography_options ); + } + + // Font Size + if ( $typography_options['sizes'] ) { + $font_size = ''; + } + + // Font Face + if ( $typography_options['faces'] ) { + $font_face = ''; + } + + // Font Styles + if ( $typography_options['styles'] ) { + $font_style = ''; + } + + // Font Color + if ( $typography_options['color'] ) { + $default_color = ''; + if ( isset($value['std']['color']) ) { + if ( $val != $value['std']['color'] ) + $default_color = ' data-default-color="' .$value['std']['color'] . '" '; + } + $font_color = ''; + } + + // Allow modification/injection of typography fields + $typography_fields = compact( 'font_size', 'font_face', 'font_style', 'font_color' ); + $typography_fields = apply_filters( 'of_typography_fields', $typography_fields, $typography_stored, $option_name, $value ); + $output .= implode( '', $typography_fields ); + + break; + + // Background + case 'background': + + $background = $val; + + // Background Color + $default_color = ''; + if ( isset( $value['std']['color'] ) ) { + if ( $val != $value['std']['color'] ) + $default_color = ' data-default-color="' .$value['std']['color'] . '" '; + } + $output .= ''; + + // Background Image + if ( !isset($background['image']) ) { + $background['image'] = ''; + } + + $output .= Options_Framework_Media_Uploader::optionsframework_uploader( $value['id'], $background['image'], null, esc_attr( $option_name . '[' . $value['id'] . '][image]' ) ); + + $class = 'of-background-properties'; + if ( '' == $background['image'] ) { + $class .= ' hide'; + } + $output .= '
    '; + + // Background Repeat + $output .= ''; + + // Background Position + $output .= ''; + + // Background Attachment + $output .= ''; + + // Background Size + $output .= ''; + $output .= '
    '; + + break; + + // Editor + case 'editor': + $output .= '
    ' . wp_kses( $explain_value, $allowedtags ) . '
    '."\n"; + echo $output; + $textarea_name = esc_attr( $option_name . '[' . $value['id'] . ']' ); + $default_editor_settings = array( + 'textarea_name' => $textarea_name, + 'media_buttons' => false, + 'tinymce' => array( 'plugins' => 'wordpress' ) + ); + $editor_settings = array(); + if ( isset( $value['settings'] ) ) { + $editor_settings = $value['settings']; + } + $editor_settings = array_merge( $default_editor_settings, $editor_settings ); + wp_editor( $val, $value['id'], $editor_settings ); + $output = ''; + break; + + // Info + case "info": + $id = ''; + $class = 'section'; + if ( isset( $value['id'] ) ) { + $id = 'id="' . esc_attr( $value['id'] ) . '" '; + } + if ( isset( $value['type'] ) ) { + $class .= ' section-' . $value['type']; + } + if ( isset( $value['class'] ) ) { + $class .= ' ' . $value['class']; + } + + $output .= '
    ' . "\n"; + if ( isset($value['name']) ) { + $output .= '

    ' . esc_html( $value['name'] ) . '

    ' . "\n"; + } + if ( isset( $value['desc'] ) ) { + $output .= $value['desc'] . "\n"; + } + $output .= '
    ' . "\n"; + break; + + // Heading for Navigation + case "heading": + $counter++; + if ( $counter >= 2 ) { + $output .= '
    '."\n"; + } + $class = ''; + $class = ! empty( $value['id'] ) ? $value['id'] : $value['name']; + $class = preg_replace('/[^a-zA-Z0-9._\-]/', '', strtolower($class) ); + $output .= '
    '; + $output .= '

    ' . esc_html( $value['name'] ) . '

    ' . "\n"; + break; + + // Background + case 'parallaxsection': + + if(!empty($settings['parallax_section'])) { + foreach ($settings['parallax_section'] as $i => $ival) { + $background = $val; + $output .='

    '.__('Page Title: ' ,'accesspress-parallax').'
    +

    '; + $output .=''; + $output .= '
    '; + } + } + + break; + + // Button + case "button": + $output .= ''.__('Add New Section','accesspress-parallax').''."\n"; + break; + } + + + if ( ( $value['type'] != "heading" ) && ( $value['type'] != "info" ) ) { + $output .= '
    '; + if ( ( $value['type'] != "checkbox" ) && ( $value['type'] != "editor" ) && ( $value['type'] != "parallaxsection" )) { + $output .= '
    ' . wp_kses( $explain_value, $allowedtags) . '
    '."\n"; + } + $output .= '
    '."\n"; + } + + echo $output; + } + + // Outputs closing div if there tabs + if ( Options_Framework_Interface::optionsframework_tabs() != '' ) { + echo '
    '; + } + } + +} \ No newline at end of file diff --git a/inc/options-framework/includes/class-options-media-uploader.php b/inc/options-framework/includes/class-options-media-uploader.php new file mode 100644 index 0000000..c339c13 --- /dev/null +++ b/inc/options-framework/includes/class-options-media-uploader.php @@ -0,0 +1,121 @@ + + * @license GPL-2.0+ + * @link http://wptheming.com + * @copyright 2010-2014 WP Theming + */ + +class Options_Framework_Media_Uploader { + + /** + * Initialize the media uploader class + * + * @since 1.7.0 + */ + public function init() { + add_action( 'admin_enqueue_scripts', array( $this, 'optionsframework_media_scripts' ) ); + } + + /** + * Media Uploader Using the WordPress Media Library. + * + * Parameters: + * + * string $_id - A token to identify this field (the name). + * string $_value - The value of the field, if present. + * string $_desc - An optional description of the field. + * + */ + + static function optionsframework_uploader( $_id, $_value, $_desc = '', $_name = '' ) { + + $options_framework = new Options_Framework; + $option_name = $options_framework->get_option_name(); + + $output = ''; + $id = ''; + $class = ''; + $int = ''; + $value = ''; + $name = ''; + + $id = strip_tags( strtolower( $_id ) ); + + // If a value is passed and we don't have a stored value, use the value that's passed through. + if ( $_value != '' && $value == '' ) { + $value = $_value; + } + + if ($_name != '') { + $name = $_name; + } + else { + $name = $option_name.'['.$id.']'; + } + + if ( $value ) { + $class = ' has-file'; + } + $output .= '' . "\n"; + if ( function_exists( 'wp_enqueue_media' ) ) { + if ( ( $value == '' ) ) { + $output .= '' . "\n"; + } else { + $output .= '' . "\n"; + } + } else { + $output .= '

    ' . __( 'Upgrade your version of WordPress for full media support.', 'accesspress-parallax' ) . '

    '; + } + + if ( $_desc != '' ) { + $output .= '' . $_desc . '' . "\n"; + } + + $output .= '
    ' . "\n"; + + if ( $value != '' ) { + $remove = 'Remove'; + $image = preg_match( '/(^.*\.jpg|jpeg|png|gif|ico*)/i', $value ); + if ( $image ) { + $output .= '' . $remove; + } else { + $parts = explode( "/", $value ); + for( $i = 0; $i < sizeof( $parts ); ++$i ) { + $title = $parts[$i]; + } + + // No output preview if it's not an image. + $output .= ''; + + // Standard generic output if it's not an image. + $title = __( 'View File', 'accesspress-parallax' ); + $output .= ''; + } + } + $output .= '
    ' . "\n"; + return $output; + } + + /** + * Enqueue scripts for file uploader + */ + function optionsframework_media_scripts( $hook ) { + + $menu = Options_Framework_Admin::menu_settings(); + + if ( substr( $hook, -strlen( $menu['menu_slug'] ) ) !== $menu['menu_slug'] ) + return; + + if ( function_exists( 'wp_enqueue_media' ) ) + wp_enqueue_media(); + + wp_register_script( 'of-media-uploader', OPTIONS_FRAMEWORK_DIRECTORY .'js/media-uploader.js', array( 'jquery' ), Options_Framework::VERSION ); + wp_enqueue_script( 'of-media-uploader' ); + wp_localize_script( 'of-media-uploader', 'optionsframework_l10n', array( + 'upload' => __( 'Upload', 'accesspress-parallax' ), + 'remove' => __( 'Remove', 'accesspress-parallax' ) + ) ); + } +} \ No newline at end of file diff --git a/inc/options-framework/includes/class-options-sanitization.php b/inc/options-framework/includes/class-options-sanitization.php new file mode 100644 index 0000000..0844a87 --- /dev/null +++ b/inc/options-framework/includes/class-options-sanitization.php @@ -0,0 +1,604 @@ + + * @license GPL-2.0+ + * @link http://wptheming.com + * @copyright 2010-2014 WP Theming + */ + +/** + * Sanitization for text input + * + * @link http://developer.wordpress.org/reference/functions/sanitize_text_field/ + */ +add_filter( 'of_sanitize_text', 'sanitize_text_field' ); + +/** + * Sanitization for hidden input + * + * @link http://developer.wordpress.org/reference/functions/sanitize_text_field/ + */ +add_filter( 'of_sanitize_hidden', 'sanitize_text_field' ); + +/** + * Sanitization for password input + * + * @link http://developer.wordpress.org/reference/functions/sanitize_text_field/ + */ +add_filter( 'of_sanitize_password', 'sanitize_text_field' ); + +/** + * Sanitization for select input + * + * Validates that the selected option is a valid option. + */ +add_filter( 'of_sanitize_select', 'of_sanitize_enum', 10, 2 ); + +/** + * Sanitization for radio input + * + * Validates that the selected option is a valid option. + */ +add_filter( 'of_sanitize_radio', 'of_sanitize_enum', 10, 2 ); + +/** + * Sanitization for image selector + * + * Validates that the selected option is a valid option. + */ +add_filter( 'of_sanitize_images', 'of_sanitize_enum', 10, 2 ); + +/** + * Sanitization for textarea field + * + * @param $input string + * @return $output sanitized string + */ +function of_sanitize_textarea( $input ) { + global $allowedposttags; + $output = wp_kses( $input, $allowedposttags); + return $output; +} +add_filter( 'of_sanitize_textarea', 'of_sanitize_textarea' ); + +/** + * Sanitization for url field + * + * @param $input string + * @return $output sanitized string + */ +function of_sanitize_url( $input ) { + $output = esc_url_raw( $input ); + return $output; +} +add_filter( 'of_sanitize_url', 'of_sanitize_url' ); + +/** + * Sanitization for checkbox input + * + * @param $input string (1 or empty) checkbox state + * @return $output '1' or false + */ +function of_sanitize_checkbox( $input ) { + if ( $input ) { + $output = '1'; + } else { + $output = ' '; + } + return $output; +} +add_filter( 'of_sanitize_checkbox', 'of_sanitize_checkbox' ); + +/** + * Sanitization for multicheck + * + * @param array of checkbox values + * @return array of sanitized values ('1' or false) + */ +function of_sanitize_multicheck( $input, $option ) { + $output = ''; + if ( is_array( $input ) ) { + foreach( $option['options'] as $key => $value ) { + $output[$key] = false; + } + foreach( $input as $key => $value ) { + if ( array_key_exists( $key, $option['options'] ) && $value ) { + $output[$key] = '1'; + } + } + } + return $output; +} +add_filter( 'of_sanitize_multicheck', 'of_sanitize_multicheck', 10, 2 ); + +/** + * File upload sanitization. + * + * Returns a sanitized filepath if it has a valid extension. + * + * @param string $input filepath + * @returns string $output filepath + */ +function of_sanitize_upload( $input ) { + $output = ''; + $filetype = wp_check_filetype( $input ); + if ( $filetype["ext"] ) { + $output = esc_url( $input ); + } + return $output; +} +add_filter( 'of_sanitize_upload', 'of_sanitize_upload' ); + +/** + * Sanitization for editor input. + * + * Returns unfiltered HTML if user has permissions. + * + * @param string $input + * @returns string $output + */ +function of_sanitize_editor( $input ) { + if ( current_user_can( 'unfiltered_html' ) ) { + $output = $input; + } + else { + global $allowedtags; + $output = wpautop( wp_kses( $input, $allowedtags) ); + } + return $output; +} +add_filter( 'of_sanitize_editor', 'of_sanitize_editor' ); + +/** + * Sanitization of input with allowed tags and wpautotop. + * + * Allows allowed tags in html input and ensures tags close properly. + * + * @param string $input + * @returns string $output + */ +function of_sanitize_allowedtags( $input ) { + global $allowedtags; + $output = wpautop( wp_kses( $input, $allowedtags ) ); + return $output; +} + +/** + * Sanitization of input with allowed post tags and wpautotop. + * + * Allows allowed post tags in html input and ensures tags close properly. + * + * @param string $input + * @returns string $output + */ +function of_sanitize_allowedposttags( $input ) { + global $allowedposttags; + $output = wpautop( wp_kses( $input, $allowedposttags) ); + return $output; +} + +/** + * Validates that the $input is one of the avilable choices + * for that specific option. + * + * @param string $input + * @returns string $output + */ +function of_sanitize_enum( $input, $option ) { + $output = ''; + if ( array_key_exists( $input, $option['options'] ) ) { + $output = $input; + } + return $output; +} + +/** + * Sanitization for background option. + * + * @returns array $output + */ +function of_sanitize_background( $input ) { + + $output = wp_parse_args( $input, array( + 'color' => '', + 'image' => '', + 'repeat' => 'repeat', + 'position' => 'top center', + 'attachment' => 'scroll', + 'size' => 'cover', + 'overlay' => '', + ) ); + + $output['color'] = apply_filters( 'of_sanitize_hex', $input['color'] ); + $output['image'] = apply_filters( 'of_sanitize_upload', $input['image'] ); + $output['repeat'] = apply_filters( 'of_background_repeat', $input['repeat'] ); + $output['position'] = apply_filters( 'of_background_position', $input['position'] ); + $output['attachment'] = apply_filters( 'of_background_attachment', $input['attachment'] ); + $output['size'] = apply_filters( 'of_background_size', $input['size'] ); + $output['overlay'] = apply_filters( 'of_background_overlay', $input['overlay'] ); + + return $output; +} +add_filter( 'of_sanitize_background', 'of_sanitize_background' ); + +/** + * Sanitization for background option. + * + * @returns array $output + */ +function of_sanitize_parallaxsection( $input ) { +$output = array(); +if ( is_array( $input ) ) { + foreach( $input as $key => $value ) { + $output[$key] = wp_parse_args( $input[$key], array( + 'page' => '', + 'color' => '', + 'image' => '', + 'repeat' => 'repeat', + 'position' => 'top center', + 'attachment' => 'scroll', + 'size' => 'cover' + ) ); + + $output[$key]['page'] = esc_attr($input[$key]['page']); + $output[$key]['color'] = apply_filters( 'of_sanitize_hex', $input[$key]['color'] ); + $output[$key]['image'] = apply_filters( 'of_sanitize_upload', $input[$key]['image'] ); + $output[$key]['repeat'] = apply_filters( 'of_background_repeat', $input[$key]['repeat'] ); + $output[$key]['position'] = apply_filters( 'of_background_position', $input[$key]['position'] ); + $output[$key]['attachment'] = apply_filters( 'of_background_attachment', $input[$key]['attachment'] ); + $output[$key]['size'] = apply_filters( 'of_background_size', $input[$key]['size'] ); + } +} + +return $output; +} +add_filter( 'of_sanitize_parallaxsection', 'of_sanitize_parallaxsection' ); + + +/** + * Sanitization for background repeat + * + * @returns string $value if it is valid + */ +function of_sanitize_background_repeat( $value ) { + $recognized = of_recognized_background_repeat(); + if ( array_key_exists( $value, $recognized ) ) { + return $value; + } + return apply_filters( 'of_default_background_repeat', current( $recognized ) ); +} +add_filter( 'of_background_repeat', 'of_sanitize_background_repeat' ); + +/** + * Sanitization for background position + * + * @returns string $value if it is valid + */ +function of_sanitize_background_position( $value ) { + $recognized = of_recognized_background_position(); + if ( array_key_exists( $value, $recognized ) ) { + return $value; + } + return apply_filters( 'of_default_background_position', current( $recognized ) ); +} +add_filter( 'of_background_position', 'of_sanitize_background_position' ); + +/** + * Sanitization for background attachment + * + * @returns string $value if it is valid + */ +function of_sanitize_background_size( $value ) { + $recognized = of_recognized_background_size(); + if ( array_key_exists( $value, $recognized ) ) { + return $value; + } + return apply_filters( 'of_sanitize_background_size', current( $recognized ) ); +} +add_filter( 'of_background_size', 'of_sanitize_background_size' ); + +/** + * Sanitization for background attachment + * + * @returns string $value if it is valid + */ +function of_sanitize_background_overlay( $value ) { + $recognized = of_recognized_background_overlay(); + if ( array_key_exists( $value, $recognized ) ) { + return $value; + } + return apply_filters( 'of_sanitize_background_overlay', current( $recognized ) ); +} +add_filter( 'of_background_overlay', 'of_sanitize_background_overlay' ); + +/** + * Sanitization for background attachment + * + * @returns string $value if it is valid + */ +function of_sanitize_layout( $value ) { + $recognized = of_recognized_layout(); + if ( array_key_exists( $value, $recognized ) ) { + return $value; + } + return apply_filters( 'of_sanitize_layout', current( $recognized ) ); +} +add_filter( 'of_layout', 'of_sanitize_layout' ); + +/** + * Sanitization for background attachment + * + * @returns string $value if it is valid + */ +function of_sanitize_background_attachment( $value ) { + $recognized = of_recognized_background_attachment(); + if ( array_key_exists( $value, $recognized ) ) { + return $value; + } + return apply_filters( 'of_default_background_attachment', current( $recognized ) ); +} +add_filter( 'of_background_attachment', 'of_sanitize_background_attachment' ); + +/** + * Sanitization for typography option. + */ +function of_sanitize_typography( $input, $option ) { + + $output = wp_parse_args( $input, array( + 'size' => '', + 'face' => '', + 'style' => '', + 'color' => '' + ) ); + + if ( isset( $option['options']['faces'] ) && isset( $input['face'] ) ) { + if ( !( array_key_exists( $input['face'], $option['options']['faces'] ) ) ) { + $output['face'] = ''; + } + } + else { + $output['face'] = apply_filters( 'of_font_face', $output['face'] ); + } + + $output['size'] = apply_filters( 'of_font_size', $output['size'] ); + $output['style'] = apply_filters( 'of_font_style', $output['style'] ); + $output['color'] = apply_filters( 'of_sanitize_color', $output['color'] ); + return $output; +} +add_filter( 'of_sanitize_typography', 'of_sanitize_typography', 10, 2 ); + +/** + * Sanitization for font size + */ +function of_sanitize_font_size( $value ) { + $recognized = of_recognized_font_sizes(); + $value_check = preg_replace('/px/','', $value); + if ( in_array( (int) $value_check, $recognized ) ) { + return $value; + } + return apply_filters( 'of_default_font_size', $recognized ); +} +add_filter( 'of_font_size', 'of_sanitize_font_size' ); + +/** + * Sanitization for font style + */ +function of_sanitize_font_style( $value ) { + $recognized = of_recognized_font_styles(); + if ( array_key_exists( $value, $recognized ) ) { + return $value; + } + return apply_filters( 'of_default_font_style', current( $recognized ) ); +} +add_filter( 'of_font_style', 'of_sanitize_font_style' ); + +/** + * Sanitization for font face + */ +function of_sanitize_font_face( $value ) { + $recognized = of_recognized_font_faces(); + if ( array_key_exists( $value, $recognized ) ) { + return $value; + } + return apply_filters( 'of_default_font_face', current( $recognized ) ); +} +add_filter( 'of_font_face', 'of_sanitize_font_face' ); + +/** + * Get recognized background repeat settings + * + * @return array + */ +function of_recognized_background_repeat() { + $default = array( + 'no-repeat' => __( 'No Repeat', 'accesspress-parallax' ), + 'repeat-x' => __( 'Repeat Horizontally', 'accesspress-parallax' ), + 'repeat-y' => __( 'Repeat Vertically', 'accesspress-parallax' ), + 'repeat' => __( 'Repeat All', 'accesspress-parallax' ), + ); + return apply_filters( 'of_recognized_background_repeat', $default ); +} + +/** + * Get recognized background positions + * + * @return array + */ +function of_recognized_background_position() { + $default = array( + 'top left' => __( 'Top Left', 'accesspress-parallax' ), + 'top center' => __( 'Top Center', 'accesspress-parallax' ), + 'top right' => __( 'Top Right', 'accesspress-parallax' ), + 'center left' => __( 'Middle Left', 'accesspress-parallax' ), + 'center center' => __( 'Middle Center', 'accesspress-parallax' ), + 'center right' => __( 'Middle Right', 'accesspress-parallax' ), + 'bottom left' => __( 'Bottom Left', 'accesspress-parallax' ), + 'bottom center' => __( 'Bottom Center', 'accesspress-parallax' ), + 'bottom right' => __( 'Bottom Right', 'accesspress-parallax') + ); + return apply_filters( 'of_recognized_background_position', $default ); +} + +/** + * Get recognized background attachment + * + * @return array + */ +function of_recognized_background_attachment() { + $default = array( + 'scroll' => __( 'Scroll Normally', 'accesspress-parallax' ), + 'fixed' => __( 'Fixed in Place', 'accesspress-parallax') + ); + return apply_filters( 'of_recognized_background_attachment', $default ); +} + +/** + * Get recognized background size + * + * @return array + */ +function of_recognized_background_size() { + $default = array( + 'auto' => __( 'Auto', 'accesspress-parallax' ), + 'cover' => __( 'Cover', 'accesspress-parallax'), + 'contain' => __( 'Contain', 'accesspress-parallax') + ); + return apply_filters( 'of_recognized_background_size', $default ); +} + + +/** + * Get recognized background size + * + * @return array + */ +function of_recognized_layout() { + $default = array( + 'default_template' => __('Default Section', 'accesspress-parallax'), + 'service_template' => __('Service Section', 'accesspress-parallax'), + 'team_template' => __('Team Section', 'accesspress-parallax'), + 'portfolio_template' => __('Portfolio Section', 'accesspress-parallax'), + 'testimonial_template' => __('Testimonial Section', 'accesspress-parallax'), + 'blog_template' => __('Blog Section', 'accesspress-parallax'), + 'action_template' => __('Call to Action Section', 'accesspress-parallax'), + 'googlemap_template' => __('Google Map Section', 'accesspress-parallax'), + 'blank_template' => __('Blank Section', 'accesspress-parallax'), + ); + return apply_filters( 'of_recognized_layout', $default ); +} + +/** + * Get recognized background Overlay + * + * @return array + */ +function of_recognized_background_overlay() { + $default = array( + 'overlay0' => __( 'No Overlay', 'accesspress-parallax' ), + 'overlay1' => __( 'Small Dotted', 'accesspress-parallax' ), + 'overlay2' => __( 'Large Dotted', 'accesspress-parallax'), + 'overlay3' => __( 'Light Black', 'accesspress-parallax'), + 'overlay4' => __( 'Black Dotted', 'accesspress-parallax') + ); + return apply_filters( 'of_recognized_background_overlay', $default ); +} + +/** + * Sanitize a color represented in hexidecimal notation. + * + * @param string Color in hexidecimal notation. "#" may or may not be prepended to the string. + * @param string The value that this function should return if it cannot be recognized as a color. + * @return string + */ + +function of_sanitize_hex( $hex, $default = '' ) { + if ( of_validate_hex( $hex ) ) { + return $hex; + } + return $default; +} +add_filter( 'of_sanitize_color', 'of_sanitize_hex' ); + +/** + * Get recognized font sizes. + * + * Returns an indexed array of all recognized font sizes. + * Values are integers and represent a range of sizes from + * smallest to largest. + * + * @return array + */ + +function of_recognized_font_sizes() { + $sizes = range( 6, 71 ); + $sizes = apply_filters( 'of_recognized_font_sizes', $sizes ); + $sizes = array_map( 'absint', $sizes ); + return $sizes; +} + +/** + * Get recognized font faces. + * + * Returns an array of all recognized font faces. + * Keys are intended to be stored in the database + * while values are ready for display in in html. + * + * @return array + */ +function of_recognized_font_faces() { + $default = array( + 'arial' => 'Arial', + 'verdana' => 'Verdana, Geneva', + 'trebuchet' => 'Trebuchet', + 'georgia' => 'Georgia', + 'times' => 'Times New Roman', + 'tahoma' => 'Tahoma, Geneva', + 'palatino' => 'Palatino', + 'helvetica' => 'Helvetica*' + ); + return apply_filters( 'of_recognized_font_faces', $default ); +} + +/** + * Get recognized font styles. + * + * Returns an array of all recognized font styles. + * Keys are intended to be stored in the database + * while values are ready for display in in html. + * + * @return array + */ +function of_recognized_font_styles() { + $default = array( + 'normal' => __( 'Normal', 'accesspress-parallax' ), + 'italic' => __( 'Italic', 'accesspress-parallax' ), + 'bold' => __( 'Bold', 'accesspress-parallax' ), + 'bold italic' => __( 'Bold Italic', 'accesspress-parallax' ) + ); + return apply_filters( 'of_recognized_font_styles', $default ); +} + +/** + * Is a given string a color formatted in hexidecimal notation? + * + * @param string Color in hexidecimal notation. "#" may or may not be prepended to the string. + * @return bool + */ +function of_validate_hex( $hex ) { + $hex = trim( $hex ); + /* Strip recognized prefixes. */ + if ( 0 === strpos( $hex, '#' ) ) { + $hex = substr( $hex, 1 ); + } + elseif ( 0 === strpos( $hex, '%23' ) ) { + $hex = substr( $hex, 3 ); + } + /* Regex match. */ + if ( 0 === preg_match( '/^[0-9a-fA-F]{6}$/', $hex ) ) { + return false; + } + else { + return true; + } +} \ No newline at end of file diff --git a/inc/options-framework/js/ajax.js b/inc/options-framework/js/ajax.js new file mode 100644 index 0000000..00ec31c --- /dev/null +++ b/inc/options-framework/js/ajax.js @@ -0,0 +1,23 @@ +jQuery(document).ready( function($) { + $('#add_new_section').click(function(){ + var count_section = $('#parallax_count').val(); + count_section++; + $('#parallax_count').val(count_section); + $.ajax({ + url: ajaxurl, + data: ({ + 'action' : 'get_my_option', + 'count_section' : count_section + }), + success: function(data) { + $('#section-parallax_section .controls').append(data); + $('.of-color').wpColorPicker(); + + $('.parallax_section_page').on('change',function(){ + var sled = $(this).find("option:selected").text(); + $(this).parents('.sub-option').find('.title span').text(sled); + }); + } + }); + }); +}); \ No newline at end of file diff --git a/inc/options-framework/js/media-uploader.js b/inc/options-framework/js/media-uploader.js new file mode 100644 index 0000000..9ee5ce8 --- /dev/null +++ b/inc/options-framework/js/media-uploader.js @@ -0,0 +1,79 @@ +jQuery(document).ready(function($){ + + var optionsframework_upload; + var optionsframework_selector; + + function optionsframework_add_file(event, selector) { + + var upload = $(".uploaded-file"), frame; + var $el = $(this); + optionsframework_selector = selector; + + event.preventDefault(); + + // If the media frame already exists, reopen it. + if ( optionsframework_upload ) { + optionsframework_upload.open(); + } else { + // Create the media frame. + optionsframework_upload = wp.media.frames.optionsframework_upload = wp.media({ + // Set the title of the modal. + title: $el.data('choose'), + + // Customize the submit button. + button: { + // Set the text of the button. + text: $el.data('update'), + // Tell the button not to close the modal, since we're + // going to refresh the page when the image is selected. + close: false + } + }); + + // When an image is selected, run a callback. + optionsframework_upload.on( 'select', function() { + // Grab the selected attachment. + var attachment = optionsframework_upload.state().get('selection').first(); + optionsframework_upload.close(); + optionsframework_selector.find('.upload').val(attachment.attributes.url); + if ( attachment.attributes.type == 'image' ) { + optionsframework_selector.find('.screenshot').empty().hide().append('Remove').slideDown('fast'); + } + optionsframework_selector.find('.upload-button').unbind().addClass('remove-file').removeClass('upload-button').val(optionsframework_l10n.remove); + optionsframework_selector.find('.of-background-properties').slideDown(); + optionsframework_selector.find('.remove-image, .remove-file').on('click', function() { + optionsframework_remove_file( $(this).parents('.sub-option') ); + }); + }); + + } + + // Finally, open the modal. + optionsframework_upload.open(); + } + + function optionsframework_remove_file(selector) { + selector.find('.remove-image').hide(); + selector.find('.upload').val(''); + selector.find('.of-background-properties').hide(); + selector.find('.screenshot').slideUp(); + selector.find('.remove-file').unbind().addClass('upload-button').removeClass('remove-file').val(optionsframework_l10n.upload); + // We don't display the upload button if .upload-notice is present + // This means the user doesn't have the WordPress 3.5 Media Library Support + if ( $('.section-upload .upload-notice').length > 0 ) { + $('.upload-button').remove(); + } + selector.find('.upload-button').on('click', function(event) { + optionsframework_add_file(event, $(this).parents('.sub-option')); + }); + } + + $(document).on('click', '.remove-image, .remove-file' , function() { + optionsframework_remove_file( $(this).parents('.sub-option') ); + }); + + $(document).on('click','.upload-button', function( event ) { + optionsframework_add_file(event, $(this).parents('.sub-option')); + }); + +}); \ No newline at end of file diff --git a/inc/options-framework/js/options-custom.js b/inc/options-framework/js/options-custom.js new file mode 100644 index 0000000..f2f7f4d --- /dev/null +++ b/inc/options-framework/js/options-custom.js @@ -0,0 +1,113 @@ +/** + * Custom scripts needed for the colorpicker, image button selectors, + * and navigation tabs. + */ + +jQuery(document).ready(function($) { + + // Loads the color pickers + $('.of-color').wpColorPicker(); + + // Image Options + $('.of-radio-img-img').click(function(){ + $(this).parent().parent().find('.of-radio-img-img').removeClass('of-radio-img-selected'); + $(this).addClass('of-radio-img-selected'); + }); + + $('.of-radio-img-label').hide(); + $('.of-radio-img-img').show(); + $('.of-radio-img-radio').hide(); + + // Loads tabbed sections if they exist + if ( $('.nav-tab-wrapper').length > 0 ) { + options_framework_tabs(); + } + + function options_framework_tabs() { + + var $group = $('.group'), + $navtabs = $('.nav-tab-wrapper a'), + active_tab = ''; + + // Hides all the .group sections to start + $group.hide(); + + // If active tab is saved and exists, load it's .group + if ( active_tab != '' && $(active_tab).length ) { + $(active_tab).fadeIn(); + $(active_tab + '-tab').addClass('nav-tab-active'); + } else { + $('.group:first').fadeIn(); + $('.nav-tab-wrapper a:first').addClass('nav-tab-active'); + } + + // Bind tabs clicks + $navtabs.click(function(e) { + + e.preventDefault(); + + // Remove active class from all tabs + $navtabs.removeClass('nav-tab-active'); + + $(this).addClass('nav-tab-active').blur(); + + var selected = $(this).attr('href'); + + $group.hide(); + $(selected).fadeIn(); + + }); + } + + $('#enable_parallax').click(function() { + $('#section-sticky_header').fadeToggle(400); + }); + + if ($('#enable_parallax:checked').val() == undefined) { + $('#section-sticky_header').show(); + } + + $( "#section-parallax_section .controls" ).sortable({ + axis: "y" + }); + $( "#sub-option-inner" ).disableSelection(); + + $(document).on('click', '.section-toggle', function(){ + $(this).parent('.title').next('.sub-option-inner').slideToggle(); + }); + + $('.parallax_section_page').on('change',function(){ + var sled = $(this).find("option:selected").text(); + $(this).parents('.sub-option').find('.title span').text(sled); + }).change(); + + $(document).on('click','.remove-parallax', function(){ + var $this = $(this); + $this.parents('.sub-option').slideUp(800); + setTimeout( function() { + $this.parents('.sub-option').remove(); + },750 ); + }); + + $('#section-parallax_section .of-section-layout').each(function() { + var IntlayoutValue = $(this).val(); + if (IntlayoutValue == 'service_template' || IntlayoutValue == 'team_template' || IntlayoutValue == 'testimonial_template' || IntlayoutValue == 'blog_template' || IntlayoutValue == 'portfolio_template') { + $(this).parents('.sub-option-inner').find('.toggle-category').show(); + } else { + $(this).parents('.sub-option-inner').find('.toggle-category').hide(); + } + }); + + $(document).on('change', '.of-section-layout', function() { + var layoutValue = $(this).val(); + if (layoutValue == 'service_template' || layoutValue == 'team_template' || layoutValue == 'testimonial_template' || layoutValue == 'blog_template' || layoutValue == 'portfolio_template') { + $(this).parents('.sub-option-inner').find('.toggle-category').fadeIn(); + } else { + $(this).parents('.sub-option-inner').find('.toggle-category').fadeOut(); + } + }); + + $('.pro-feature-title').click(function(){ + $('.feature-img').slideToggle(); + }); +}); \ No newline at end of file diff --git a/inc/options-framework/options-framework.php b/inc/options-framework/options-framework.php new file mode 100644 index 0000000..f62c76f --- /dev/null +++ b/inc/options-framework/options-framework.php @@ -0,0 +1,80 @@ +init(); + + // Instantiate the media uploader class + $options_framework_media_uploader = new Options_Framework_Media_Uploader; + $options_framework_media_uploader->init(); + +} + +add_action( 'init', 'optionsframework_init', 20 ); + +endif; + + +/** + * A unique identifier is defined to store the options in the database and reference them from the theme. + * By default it uses the theme name, in lowercase and without spaces, but this can be changed if needed. + * If the identifier changes, it'll appear as if the options have been reset. + */ + +function optionsframework_option_name() { + return 'accesspress_parallax'; +} + + +/** + * Helper function to return the theme option value. + * If no value has been saved, it returns $default. + * Needed because options are saved as serialized strings. + * + * Not in a class to support backwards compatibility in themes. + */ + +if ( ! function_exists( 'of_get_option' ) ) : + +function of_get_option( $name, $default = false ) { + $option_name = ''; + + // Gets option name as defined in the theme + if ( function_exists( 'optionsframework_option_name' ) ) { + $option_name = optionsframework_option_name(); + } + + // Fallback option name + if ( '' == $option_name ) { + $option_name = get_option( 'stylesheet' ); + $option_name = preg_replace( "/\W/", "_", strtolower( $option_name ) ); + } + + // Get option settings from database + $options = get_option( $option_name ); + + if ( isset( $options[$name] ) ) { + return $options[$name]; + } + + return $default; +} + +endif; \ No newline at end of file diff --git a/inc/template-tags.php b/inc/template-tags.php new file mode 100644 index 0000000..3c99702 --- /dev/null +++ b/inc/template-tags.php @@ -0,0 +1,87 @@ +%2$s%3$s'; + if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { + $time_string .= ''; + } + + $time_string = sprintf( $time_string, + esc_attr( get_the_date( 'c' ) ), + esc_html( get_the_date( 'd' ) ), + esc_html( get_the_date( 'M' ) ), + esc_attr( get_the_modified_date( 'c' ) ), + esc_html( get_the_modified_date() ) + ); + + $posted_on = $time_string ; + + $byline = sprintf( + _x( 'By %s', 'post author', 'accesspress-parallax' ), + '' . esc_html( get_the_author() ) . '' + ); + + $post_date = of_get_option('post_date'); + $post_author = of_get_option('post_author'); + if($post_date == 1 || empty($post_date)) : + echo '' . $posted_on . ''; + endif; + + if($post_author == 1 || empty($post_author)) : + echo ''; + endif; + +} +endif; + +/** + * Returns true if a blog has more than 1 category. + * + * @return bool + */ +function accesspress_parallax_categorized_blog() { + if ( false === ( $all_the_cool_cats = get_transient( 'accesspress_parallax_categories' ) ) ) { + // Create an array of all the categories that are attached to posts. + $all_the_cool_cats = get_categories( array( + 'fields' => 'ids', + 'hide_empty' => 1, + + // We only need to know if there is more than one category. + 'number' => 2, + ) ); + + // Count the number of categories that are attached to the posts. + $all_the_cool_cats = count( $all_the_cool_cats ); + + set_transient( 'accesspress_parallax_categories', $all_the_cool_cats ); + } + + if ( $all_the_cool_cats > 1 ) { + // This blog has more than 1 category so accesspress_parallax_categorized_blog should return true. + return true; + } else { + // This blog has only 1 category so accesspress_parallax_categorized_blog should return false. + return false; + } +} + +/** + * Flush out the transients used in accesspress_parallax_categorized_blog. + */ +function accesspress_parallax_category_transient_flusher() { + // Like, beat it. Dig? + delete_transient( 'accesspress_parallax_categories' ); +} +add_action( 'edit_category', 'accesspress_parallax_category_transient_flusher' ); +add_action( 'save_post', 'accesspress_parallax_category_transient_flusher' ); diff --git a/index-parallax.php b/index-parallax.php new file mode 100644 index 0000000..0f155a8 --- /dev/null +++ b/index-parallax.php @@ -0,0 +1,119 @@ + + + + + + +
    " id="ID); ?>"> + +
    + + + +
    + + have_posts() ) : $query->the_post(); + ?> + + +

    + +
    + +
    + +
    + +
    + + + + + + + + +
    + + + + +
    + - - + -
    - - - - - - - - -
    > - +
    +
    +
    + + + + + - - -
    -
    - -
    -

    -
    - -
    - - - - -
    > - -
    - + - max_num_pages > 1) : ?> - - + -
    -
    + - - -
    + - - - - - -
    \ No newline at end of file + + + + + +
    + + + + += 0) ? html : body; + activeElement = body; + + initTest(); + initDone = true; + + // Checks if this script is running in a frame + if (top != self) { + isFrame = true; + } + + /** + * This fixes a bug where the areas left and right to + * the content does not trigger the onmousewheel event + * on some pages. e.g.: html, body { height: 100% } + */ + else if (scrollHeight > windowHeight && + (body.offsetHeight <= windowHeight || + html.offsetHeight <= windowHeight)) { + + // DOMChange (throttle): fix height + var pending = false; + var refresh = function () { + if (!pending && html.scrollHeight != document.height) { + pending = true; // add a new pending action + setTimeout(function () { + html.style.height = document.height + 'px'; + pending = false; + }, 500); // act rarely to stay fast + } + }; + html.style.height = 'auto'; + setTimeout(refresh, 10); + + // clearfix + if (root.offsetHeight <= windowHeight) { + var underlay = document.createElement("div"); + underlay.style.clear = "both"; + body.appendChild(underlay); + } + } + + // disable fixed background + if (!options.fixedBackground && !isExcluded) { + body.style.backgroundAttachment = "scroll"; + html.style.backgroundAttachment = "scroll"; + } +} + + +/************************************************ + * SCROLLING + ************************************************/ + +var que = []; +var pending = false; +var lastScroll = +new Date; + +/** + * Pushes scroll actions to the scrolling queue. + */ +function scrollArray(elem, left, top, delay) { + + delay || (delay = 1000); + directionCheck(left, top); + + if (options.accelerationMax != 1) { + var now = +new Date; + var elapsed = now - lastScroll; + if (elapsed < options.accelerationDelta) { + var factor = (1 + (30 / elapsed)) / 2; + if (factor > 1) { + factor = Math.min(factor, options.accelerationMax); + left *= factor; + top *= factor; + } + } + lastScroll = +new Date; + } + + // push a scroll command + que.push({ + x: left, + y: top, + lastX: (left < 0) ? 0.99 : -0.99, + lastY: (top < 0) ? 0.99 : -0.99, + start: +new Date + }); + + // don't act if there's a pending queue + if (pending) { + return; + } + + var scrollWindow = (elem === document.body); + + var step = function (time) { + + var now = +new Date; + var scrollX = 0; + var scrollY = 0; + + for (var i = 0; i < que.length; i++) { + + var item = que[i]; + var elapsed = now - item.start; + var finished = (elapsed >= options.animationTime); + + // scroll position: [0, 1] + var position = (finished) ? 1 : elapsed / options.animationTime; + + // easing [optional] + if (options.pulseAlgorithm) { + position = pulse(position); + } + + // only need the difference + var x = (item.x * position - item.lastX) >> 0; + var y = (item.y * position - item.lastY) >> 0; + + // add this to the total scrolling + scrollX += x; + scrollY += y; + + // update last values + item.lastX += x; + item.lastY += y; + + // delete and step back if it's over + if (finished) { + que.splice(i, 1); i--; + } + } + + // scroll left and top + if (scrollWindow) { + window.scrollBy(scrollX, scrollY); + } + else { + if (scrollX) elem.scrollLeft += scrollX; + if (scrollY) elem.scrollTop += scrollY; + } + + // clean up if there's nothing left to do + if (!left && !top) { + que = []; + } + + if (que.length) { + requestFrame(step, elem, (delay / options.frameRate + 1)); + } else { + pending = false; + } + }; + + // start a new queue of actions + requestFrame(step, elem, 0); + pending = true; +} + + +/*********************************************** + * EVENTS + ***********************************************/ + +/** + * Mouse wheel handler. + * @param {Object} event + */ +function wheel(event) { + + if (!initDone) { + init(); + } + + var target = event.target; + var overflowing = overflowingAncestor(target); + + // use default if there's no overflowing + // element or default action is prevented + if (!overflowing || event.defaultPrevented || + isNodeName(activeElement, "embed") || + (isNodeName(target, "embed") && /\.pdf/i.test(target.src))) { + return true; + } + + var deltaX = event.wheelDeltaX || 0; + var deltaY = event.wheelDeltaY || 0; + + // use wheelDelta if deltaX/Y is not available + if (!deltaX && !deltaY) { + deltaY = event.wheelDelta || 0; + } + + // check if it's a touchpad scroll that should be ignored + if (!options.touchpadSupport && isTouchpad(deltaY)) { + return true; + } + + // scale by step size + // delta is 120 most of the time + // synaptics seems to send 1 sometimes + if (Math.abs(deltaX) > 1.2) { + deltaX *= options.stepSize / 120; + } + if (Math.abs(deltaY) > 1.2) { + deltaY *= options.stepSize / 120; + } + + scrollArray(overflowing, -deltaX, -deltaY); + event.preventDefault(); +} + +/** + * Keydown event handler. + * @param {Object} event + */ +function keydown(event) { + + var target = event.target; + var modifier = event.ctrlKey || event.altKey || event.metaKey || + (event.shiftKey && event.keyCode !== key.spacebar); + + // do nothing if user is editing text + // or using a modifier key (except shift) + // or in a dropdown + if ( /input|textarea|select|embed/i.test(target.nodeName) || + target.isContentEditable || + event.defaultPrevented || + modifier ) { + return true; + } + // spacebar should trigger button press + if (isNodeName(target, "button") && + event.keyCode === key.spacebar) { + return true; + } + + var shift, x = 0, y = 0; + var elem = overflowingAncestor(activeElement); + var clientHeight = elem.clientHeight; + + if (elem == document.body) { + clientHeight = window.innerHeight; + } + + switch (event.keyCode) { + case key.up: + y = -options.arrowScroll; + break; + case key.down: + y = options.arrowScroll; + break; + case key.spacebar: // (+ shift) + shift = event.shiftKey ? 1 : -1; + y = -shift * clientHeight * 0.9; + break; + case key.pageup: + y = -clientHeight * 0.9; + break; + case key.pagedown: + y = clientHeight * 0.9; + break; + case key.home: + y = -elem.scrollTop; + break; + case key.end: + var damt = elem.scrollHeight - elem.scrollTop - clientHeight; + y = (damt > 0) ? damt+10 : 0; + break; + case key.left: + x = -options.arrowScroll; + break; + case key.right: + x = options.arrowScroll; + break; + default: + return true; // a key we don't care about + } + + scrollArray(elem, x, y); + event.preventDefault(); +} + +/** + * Mousedown event only for updating activeElement + */ +function mousedown(event) { + activeElement = event.target; +} + + +/*********************************************** + * OVERFLOW + ***********************************************/ + +var cache = {}; // cleared out every once in while +setInterval(function () { cache = {}; }, 10 * 1000); + +var uniqueID = (function () { + var i = 0; + return function (el) { + return el.uniqueID || (el.uniqueID = i++); + }; +})(); + +function setCache(elems, overflowing) { + for (var i = elems.length; i--;) + cache[uniqueID(elems[i])] = overflowing; + return overflowing; +} + +function overflowingAncestor(el) { + var elems = []; + var rootScrollHeight = root.scrollHeight; + do { + var cached = cache[uniqueID(el)]; + if (cached) { + return setCache(elems, cached); + } + elems.push(el); + if (rootScrollHeight === el.scrollHeight) { + if (!isFrame || root.clientHeight + 10 < rootScrollHeight) { + return setCache(elems, document.body); // scrolling root in WebKit + } + } else if (el.clientHeight + 10 < el.scrollHeight) { + overflow = getComputedStyle(el, "").getPropertyValue("overflow-y"); + if (overflow === "scroll" || overflow === "auto") { + return setCache(elems, el); + } + } + } while (el = el.parentNode); +} + + +/*********************************************** + * HELPERS + ***********************************************/ + +function addEvent(type, fn, bubble) { + window.addEventListener(type, fn, (bubble||false)); +} + +function removeEvent(type, fn, bubble) { + window.removeEventListener(type, fn, (bubble||false)); +} + +function isNodeName(el, tag) { + return (el.nodeName||"").toLowerCase() === tag.toLowerCase(); +} + +function directionCheck(x, y) { + x = (x > 0) ? 1 : -1; + y = (y > 0) ? 1 : -1; + if (direction.x !== x || direction.y !== y) { + direction.x = x; + direction.y = y; + que = []; + lastScroll = 0; + } +} + +var deltaBufferTimer; + +function isTouchpad(deltaY) { + if (!deltaY) return; + deltaY = Math.abs(deltaY) + deltaBuffer.push(deltaY); + deltaBuffer.shift(); + clearTimeout(deltaBufferTimer); + var allDivisable = (isDivisible(deltaBuffer[0], 120) && + isDivisible(deltaBuffer[1], 120) && + isDivisible(deltaBuffer[2], 120)); + return !allDivisable; +} + +function isDivisible(n, divisor) { + return (Math.floor(n / divisor) == n / divisor); +} + +var requestFrame = (function () { + return window.requestAnimationFrame || + window.webkitRequestAnimationFrame || + function (callback, element, delay) { + window.setTimeout(callback, delay || (1000/60)); + }; +})(); + + +/*********************************************** + * PULSE + ***********************************************/ + +/** + * Viscous fluid with a pulse for part and decay for the rest. + * - Applies a fixed force over an interval (a damped acceleration), and + * - Lets the exponential bleed away the velocity over a longer interval + * - Michael Herf, http://stereopsis.com/stopping/ + */ +function pulse_(x) { + var val, start, expx; + // test + x = x * options.pulseScale; + if (x < 1) { // acceleartion + val = x - (1 - Math.exp(-x)); + } else { // tail + // the previous animation ended here: + start = Math.exp(-1); + // simple viscous drag + x -= 1; + expx = 1 - Math.exp(-x); + val = start + (expx * (1 - start)); + } + return val * options.pulseNormalize; +} + +function pulse(x) { + if (x >= 1) return 1; + if (x <= 0) return 0; + + if (options.pulseNormalize == 1) { + options.pulseNormalize /= pulse_(1); + } + return pulse_(x); +} + +var isChrome = /chrome/i.test(window.navigator.userAgent); +var wheelEvent = null; +if ("onwheel" in document.createElement("div")) + wheelEvent = "wheel"; +else if ("onmousewheel" in document.createElement("div")) + wheelEvent = "mousewheel"; + +if (wheelEvent && isChrome) { + addEvent(wheelEvent, wheel); + addEvent("mousedown", mousedown); + addEvent("load", init); +} + +})(); \ No newline at end of file diff --git a/js/custom.js b/js/custom.js new file mode 100644 index 0000000..f86f592 --- /dev/null +++ b/js/custom.js @@ -0,0 +1,160 @@ +jQuery(document).ready(function($){ + $('#main-slider .bx-slider').slick({ + slidesToShow: 1, + dots: JSON.parse(ap_params.accesspress_show_pager), + speed: ap_params.accesspress_slider_speed, + arrows: JSON.parse(ap_params.accesspress_show_controls), + autoplaySpeed : ap_params.accesspress_slider_pause, + autoplay: JSON.parse(ap_params.accesspress_auto_transition), + fade: JSON.parse(ap_params.accesspress_slider_transition), + infinite: true + }); + + var headerHeight = $('#masthead').outerHeight(); + $('#go-top, .next-page').localScroll({ + offset: { + top: -headerHeight + } + }); + + $(window).resize(function(){ + var winHeight = $(window).height(); + var headerHeight = $('#masthead').outerHeight(); + $('#main-slider.full-screen-yes .main-slides').height(winHeight-headerHeight); + }).resize(); + + $(window).scroll(function(){ + if($(window).scrollTop() > 200){ + $('#go-top').fadeIn(); + }else{ + $('#go-top').fadeOut(); + } + }); + + $('.home .single-page-nav.nav').onePageNav({ + currentClass: 'current', + changeHash: false, + scrollSpeed: 1500, + scrollOffset: headerHeight, + scrollThreshold: 0.5, + }); + + $('.single-page-nav.nav a').click(function(){ + $('.single-page-nav.nav').hide(); + }); + + $(window).resize(function(){ + var headerHeight = $('#masthead').outerHeight(); + $('.parallax-on #content').css('padding-top', headerHeight); + }).resize(); + + $('.team-content').slick({ + slidesToShow: 1, + slidesToScroll: 1, + arrows: false, + fade: true, + asNavFor: '.team-slider' + }); + + $('.team-slider').slick({ + slidesToShow: 7, + slidesToScroll: 1, + asNavFor: '.team-content', + dots: false, + centerMode: true, + focusOnSelect: true, + centerPadding: 0, + infinite: true, + prevArrow: '', + nextArrow: '', + responsive: [ + { + breakpoint: 1024, + settings: { + slidesToShow: 5, + } + }, + { + breakpoint: 768, + settings: { + slidesToShow: 3, + } + }, + { + breakpoint: 480, + settings: { + slidesToShow: 1, + } + } + ] + }); + + $('.testimonial-slider').slick({ + autoplay:true, + speed: 1000, + autoplaySpeed: 8000, + slidesToShow: 1, + slidesToScroll: 1, + arrows: true, + fade: false, + dots: false, + prevArrow: '', + nextArrow: '', + }); + + $(window).bind('load',function(){ + $('.googlemap-content').hide(); + }); + + var open = false; + $('.googlemap-toggle').on('click', function(){ + if(!open){ + open = true; + } + $('.googlemap-content').slideToggle(); + $(this).toggleClass('active'); + }); + + $('.social-icons a').each(function(){ + var title = $(this).attr('data-title') + $(this).find('span').text(title); + }); + + $('.gallery-item a').each(function(){ + $(this).addClass('fancybox-gallery').attr('data-lightbox-gallery','gallery'); + }); + + $(".fancybox-gallery").nivoLightbox(); + + $('.menu-toggle').click(function(){ + $(this).next('ul').slideToggle(); + }); + + $("#content").fitVids(); + + $(window).on('load',function(){ + $('.blank_template').each(function(){ + $(this).parallax('50%',0.4, true); + }); + + $('.action_template').each(function(){ + $(this).parallax('50%',0.3, true); + }); + }); + + // *only* if we have anchor on the url + if(window.location.hash) { + + $('html, body').animate({ + scrollTop: $(window.location.hash).offset().top-headerHeight + }, 1000 ); + + } + $('.portfolio-listing').first().children('.portfolio-list').on("click", function(e){ + e.preventDefault(); + }); + let portfolio_bottom = $('.portfolio-listing').last(); + portfolio_bottom.children('a').first().attr('href', 'https://clients.innroad.com/kingsail/property.aspx').attr('target', '_blank'); + portfolio_bottom.children('a:eq(1)').attr('href', window.pages.area); + portfolio_bottom.children('a').last().attr('href', window.pages.amenities); +}); \ No newline at end of file diff --git a/js/customizer.js b/js/customizer.js new file mode 100644 index 0000000..16fef19 --- /dev/null +++ b/js/customizer.js @@ -0,0 +1,36 @@ +/** + * Theme Customizer enhancements for a better user experience. + * + * Contains handlers to make Theme Customizer preview reload changes asynchronously. + */ + +( function( $ ) { + // Site title and description. + wp.customize( 'blogname', function( value ) { + value.bind( function( to ) { + $( '.site-title a' ).text( to ); + } ); + } ); + wp.customize( 'blogdescription', function( value ) { + value.bind( function( to ) { + $( '.site-description' ).text( to ); + } ); + } ); + // Header text color. + wp.customize( 'header_textcolor', function( value ) { + value.bind( function( to ) { + if ( 'blank' === to ) { + $( '.site-title, .site-description' ).css( { + 'clip': 'rect(1px, 1px, 1px, 1px)', + 'position': 'absolute' + } ); + } else { + $( '.site-title, .site-description' ).css( { + 'clip': 'auto', + 'color': to, + 'position': 'relative' + } ); + } + } ); + } ); +} )( jQuery ); diff --git a/js/html5shiv.js b/js/html5shiv.js new file mode 100644 index 0000000..77dace4 --- /dev/null +++ b/js/html5shiv.js @@ -0,0 +1,322 @@ +/** +* @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed +*/ +;(function(window, document) { +/*jshint evil:true */ + /** version */ + var version = '3.7.2'; + + /** Preset options */ + var options = window.html5 || {}; + + /** Used to skip problem elements */ + var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i; + + /** Not all elements can be cloned in IE **/ + var saveClones = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i; + + /** Detect whether the browser supports default html5 styles */ + var supportsHtml5Styles; + + /** Name of the expando, to work with multiple documents or to re-shiv one document */ + var expando = '_html5shiv'; + + /** The id for the the documents expando */ + var expanID = 0; + + /** Cached data for each document */ + var expandoData = {}; + + /** Detect whether the browser supports unknown elements */ + var supportsUnknownElements; + + (function() { + try { + var a = document.createElement('a'); + a.innerHTML = ''; + //if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles + supportsHtml5Styles = ('hidden' in a); + + supportsUnknownElements = a.childNodes.length == 1 || (function() { + // assign a false positive if unable to shiv + (document.createElement)('a'); + var frag = document.createDocumentFragment(); + return ( + typeof frag.cloneNode == 'undefined' || + typeof frag.createDocumentFragment == 'undefined' || + typeof frag.createElement == 'undefined' + ); + }()); + } catch(e) { + // assign a false positive if detection fails => unable to shiv + supportsHtml5Styles = true; + supportsUnknownElements = true; + } + + }()); + + /*--------------------------------------------------------------------------*/ + + /** + * Creates a style sheet with the given CSS text and adds it to the document. + * @private + * @param {Document} ownerDocument The document. + * @param {String} cssText The CSS text. + * @returns {StyleSheet} The style element. + */ + function addStyleSheet(ownerDocument, cssText) { + var p = ownerDocument.createElement('p'), + parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement; + + p.innerHTML = 'x'; + return parent.insertBefore(p.lastChild, parent.firstChild); + } + + /** + * Returns the value of `html5.elements` as an array. + * @private + * @returns {Array} An array of shived element node names. + */ + function getElements() { + var elements = html5.elements; + return typeof elements == 'string' ? elements.split(' ') : elements; + } + + /** + * Extends the built-in list of html5 elements + * @memberOf html5 + * @param {String|Array} newElements whitespace separated list or array of new element names to shiv + * @param {Document} ownerDocument The context document. + */ + function addElements(newElements, ownerDocument) { + var elements = html5.elements; + if(typeof elements != 'string'){ + elements = elements.join(' '); + } + if(typeof newElements != 'string'){ + newElements = newElements.join(' '); + } + html5.elements = elements +' '+ newElements; + shivDocument(ownerDocument); + } + + /** + * Returns the data associated to the given document + * @private + * @param {Document} ownerDocument The document. + * @returns {Object} An object of data. + */ + function getExpandoData(ownerDocument) { + var data = expandoData[ownerDocument[expando]]; + if (!data) { + data = {}; + expanID++; + ownerDocument[expando] = expanID; + expandoData[expanID] = data; + } + return data; + } + + /** + * returns a shived element for the given nodeName and document + * @memberOf html5 + * @param {String} nodeName name of the element + * @param {Document} ownerDocument The context document. + * @returns {Object} The shived element. + */ + function createElement(nodeName, ownerDocument, data){ + if (!ownerDocument) { + ownerDocument = document; + } + if(supportsUnknownElements){ + return ownerDocument.createElement(nodeName); + } + if (!data) { + data = getExpandoData(ownerDocument); + } + var node; + + if (data.cache[nodeName]) { + node = data.cache[nodeName].cloneNode(); + } else if (saveClones.test(nodeName)) { + node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode(); + } else { + node = data.createElem(nodeName); + } + + // Avoid adding some elements to fragments in IE < 9 because + // * Attributes like `name` or `type` cannot be set/changed once an element + // is inserted into a document/fragment + // * Link elements with `src` attributes that are inaccessible, as with + // a 403 response, will cause the tab/window to crash + // * Script elements appended to fragments will execute when their `src` + // or `text` property is set + return node.canHaveChildren && !reSkip.test(nodeName) && !node.tagUrn ? data.frag.appendChild(node) : node; + } + + /** + * returns a shived DocumentFragment for the given document + * @memberOf html5 + * @param {Document} ownerDocument The context document. + * @returns {Object} The shived DocumentFragment. + */ + function createDocumentFragment(ownerDocument, data){ + if (!ownerDocument) { + ownerDocument = document; + } + if(supportsUnknownElements){ + return ownerDocument.createDocumentFragment(); + } + data = data || getExpandoData(ownerDocument); + var clone = data.frag.cloneNode(), + i = 0, + elems = getElements(), + l = elems.length; + for(;i').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+"%"); + $this.removeAttr('height').removeAttr('width'); + }); + }); + }; +})( jQuery ); diff --git a/js/jquery.localScroll.js b/js/jquery.localScroll.js new file mode 100644 index 0000000..5811d41 --- /dev/null +++ b/js/jquery.localScroll.js @@ -0,0 +1,112 @@ +/*! + * jQuery.localScroll + * Copyright (c) 2007-2014 Ariel Flesler - afleslergmailcom | http://flesler.blogspot.com + * Licensed under MIT + * http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html + * @author Ariel Flesler + * @version 1.3.5 + */ + ;(function(plugin) { + // AMD Support + if (typeof define === 'function' && define.amd) { + define(['jquery'], plugin); + } else { + plugin(jQuery); + } +}(function($) { + var URI = location.href.replace(/#.*/, ''); // local url without hash + + var $localScroll = $.localScroll = function(settings) { + $('body').localScroll(settings); + }; + + // Many of these defaults, belong to jQuery.ScrollTo, check it's demo for an example of each option. + // @see http://demos.flesler.com/jquery/scrollTo/ + // The defaults are public and can be overriden. + $localScroll.defaults = { + duration: 1000, // How long to animate. + axis: 'y', // Which of top and left should be modified. + event: 'click', // On which event to react. + stop: true, // Avoid queuing animations + target: window // What to scroll (selector or element). The whole window by default. + /* + lock: false, // ignore events if already animating + lazy: false, // if true, links can be added later, and will still work. + filter: null, // filter some anchors out of the matched elements. + hash: false // if true, the hash of the selected link, will appear on the address bar. + */ + }; + + $.fn.localScroll = function(settings) { + settings = $.extend({}, $localScroll.defaults, settings); + + if (settings.hash && location.hash) { + if (settings.target) window.scrollTo(0, 0); + scroll(0, location, settings); + } + + return settings.lazy ? + // use event delegation, more links can be added later. + this.on(settings.event, 'a,area', function(e) { + if (filter.call(this)) { + scroll(e, this, settings); + } + }) : + // bind concretely, to each matching link + this.find('a,area') + .filter(filter).bind(settings.event, function(e) { + scroll(e, this, settings); + }).end() + .end(); + + function filter() {// is this a link that points to an anchor and passes a possible filter ? href is checked to avoid a bug in FF. + return !!this.href && !!this.hash && this.href.replace(this.hash,'') == URI && (!settings.filter || $(this).is(settings.filter)); + }; + }; + + // Not needed anymore, kept for backwards compatibility + $localScroll.hash = function() {}; + + function scroll(e, link, settings) { + var id = link.hash.slice(1), + elem = document.getElementById(id) || document.getElementsByName(id)[0]; + + if (!elem) + return; + + if (e) + e.preventDefault(); + + var $target = $(settings.target); + + if (settings.lock && $target.is(':animated') || + settings.onBefore && settings.onBefore(e, elem, $target) === false) + return; + + if (settings.stop) + $target._scrollable().stop(true); // remove all its animations + + if (settings.hash) { + var attr = elem.id === id ? 'id' : 'name', + $a = $(' ').attr(attr, id).css({ + position:'absolute', + top: $(window).scrollTop(), + left: $(window).scrollLeft() + }); + + elem[attr] = ''; + $('body').prepend($a); + location.hash = link.hash; + $a.remove(); + elem[attr] = id; + } + + $target + .scrollTo(elem, settings) // do scroll + .trigger('notify.serialScroll',[elem]); // notify serialScroll about this change + }; + + // AMD requirement + return $localScroll; + +})); \ No newline at end of file diff --git a/js/jquery.localScroll.min.js b/js/jquery.localScroll.min.js new file mode 100644 index 0000000..cc64603 --- /dev/null +++ b/js/jquery.localScroll.min.js @@ -0,0 +1,7 @@ +/** + * Copyright (c) 2007 Ariel Flesler - afleslergmailcom | https://github.com/flesler + * Licensed under MIT + * @author Ariel Flesler + * @version 2.0.0 + */ +!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){function t(t,o,n){var i=o.hash.slice(1),a=document.getElementById(i)||document.getElementsByName(i)[0];if(a){t&&t.preventDefault();var l=e(n.target);if(!(n.lock&&l.is(":animated")||n.onBefore&&!1===n.onBefore(t,a,l))){if(n.stop&&l.stop(!0),n.hash){var r=a.id===i?"id":"name",s=e(" ").attr(r,i).css({position:"absolute",top:e(window).scrollTop(),left:e(window).scrollLeft()});a[r]="",e("body").prepend(s),location.hash=o.hash,s.remove(),a[r]=i}l.scrollTo(a,n).trigger("notify.serialScroll",[a])}}}var o=location.href.replace(/#.*/,""),n=e.localScroll=function(t){e("body").localScroll(t)};return n.defaults={duration:1e3,axis:"y",event:"click",stop:!0,target:window,autoscroll:!0},e.fn.localScroll=function(i){function a(){return!!this.href&&!!this.hash&&this.href.replace(this.hash,"")===o&&(!i.filter||e(this).is(i.filter))}return(i=e.extend({},n.defaults,i)).autoscroll&&i.hash&&location.hash&&(i.target&&window.scrollTo(0,0),t(0,location,i)),i.lazy?this.on(i.event,"a,area",function(e){a.call(this)&&t(e,this,i)}):this.find("a,area").filter(a).bind(i.event,function(e){t(e,this,i)}).end().end()},n.hash=function(){},n}); diff --git a/js/jquery.nav.js b/js/jquery.nav.js new file mode 100644 index 0000000..de3e5af --- /dev/null +++ b/js/jquery.nav.js @@ -0,0 +1,229 @@ +/* + * jQuery One Page Nav Plugin + * http://github.com/davist11/jQuery-One-Page-Nav + * + * Copyright (c) 2010 Trevor Davis (http://trevordavis.net) + * Dual licensed under the MIT and GPL licenses. + * Uses the same license as jQuery, see: + * http://jquery.org/license + * + * @version 3.0.0 + * + * Example usage: + * $('#nav').onePageNav({ + * currentClass: 'current', + * changeHash: false, + * scrollSpeed: 750 + * }); + */ + +;(function($, window, document, undefined){ + + // our plugin constructor + var OnePageNav = function(elem, options){ + this.elem = elem; + this.$elem = $(elem); + this.options = options; + this.metadata = this.$elem.data('plugin-options'); + this.$win = $(window); + this.sections = {}; + this.didScroll = false; + this.$doc = $(document); + this.docHeight = this.$doc.height(); + }; + + // the plugin prototype + OnePageNav.prototype = { + defaults: { + navItems: 'a[href*="#"]', + currentClass: 'current', + changeHash: false, + easing: 'swing', + filter: '', + scrollSpeed: 750, + scrollOffset: 0, + scrollThreshold: 0.5, + begin: false, + end: false, + scrollChange: false + }, + + init: function() { + // Introduce defaults that can be extended either + // globally or using an object literal. + this.config = $.extend({}, this.defaults, this.options, this.metadata); + + this.$nav = this.$elem.find(this.config.navItems); + + //Filter any links out of the nav + if(this.config.filter !== '') { + this.$nav = this.$nav.filter(this.config.filter); + } + + //Handle clicks on the nav + this.$nav.on('click.onePageNav', $.proxy(this.handleClick, this)); + + //Get the section positions + this.getPositions(); + + //Handle scroll changes + this.bindInterval(); + + //Update the positions on resize too + this.$win.on('resize.onePageNav', $.proxy(this.getPositions, this)); + + return this; + }, + + adjustNav: function(self, $parent) { + self.$elem.find('.' + self.config.currentClass).removeClass(self.config.currentClass); + $parent.addClass(self.config.currentClass); + }, + + bindInterval: function() { + var self = this; + var docHeight; + + self.$win.on('scroll.onePageNav', function() { + self.didScroll = true; + }); + + self.t = setInterval(function() { + docHeight = self.$doc.height(); + + //If it was scrolled + if(self.didScroll) { + self.didScroll = false; + self.scrollChange(); + } + + //If the document height changes + if(docHeight !== self.docHeight) { + self.docHeight = docHeight; + self.getPositions(); + } + }, 250); + }, + + getHash: function($link) { + return $link.attr('href').split('#')[1]; + }, + + getPositions: function() { + var self = this; + var linkHref; + var topPos; + var $target; + + self.$nav.each(function() { + linkHref = self.getHash($(this)); + $target = $('#' + linkHref); + + if($target.length) { + topPos = $target.offset().top; + self.sections[linkHref] = Math.round(topPos) - self.config.scrollOffset; + } + }); + }, + + getSection: function(windowPos) { + var returnValue = null; + var windowHeight = Math.round(this.$win.height() * this.config.scrollThreshold); + + for(var section in this.sections) { + if((this.sections[section] - windowHeight) < windowPos) { + returnValue = section; + } + } + + return returnValue; + }, + + handleClick: function(e) { + var self = this; + var $link = $(e.currentTarget); + var $parent = $link.parent(); + var newLoc = '#' + self.getHash($link); + + //if(!$parent.hasClass(self.config.currentClass)) { + if( $(newLoc).length > 0 ){ + //Start callback + if(self.config.begin) { + self.config.begin(); + } + + //Change the highlighted nav item + self.adjustNav(self, $parent); + + //Removing the auto-adjust on scroll + self.unbindInterval(); + + //Scroll to the correct position + self.scrollTo(newLoc, function() { + //Do we need to change the hash? + if(self.config.changeHash) { + window.location.hash = newLoc; + } + + //Add the auto-adjust on scroll back in + self.bindInterval(); + + //End callback + if(self.config.end) { + self.config.end(); + } + }); + e.preventDefault(); + } + //} + + + }, + + scrollChange: function() { + var windowTop = this.$win.scrollTop(); + var position = this.getSection(windowTop); + var $parent; + + //If the position is set + if(position !== null) { + $parent = this.$elem.find('a[href$="#' + position + '"]').parent(); + + //If it's not already the current section + if(!$parent.hasClass(this.config.currentClass)) { + //Change the highlighted nav item + this.adjustNav(this, $parent); + + //If there is a scrollChange callback + if(this.config.scrollChange) { + this.config.scrollChange($parent); + } + } + } + }, + + scrollTo: function(target, callback) { + if($(target).length > 0){ + var offset = $(target).offset().top; + + $('html, body').animate({ + scrollTop: offset - this.config.scrollOffset + }, this.config.scrollSpeed, this.config.easing, callback); + } + }, + + unbindInterval: function() { + clearInterval(this.t); + this.$win.unbind('scroll.onePageNav'); + } + }; + + OnePageNav.defaults = OnePageNav.prototype.defaults; + + $.fn.onePageNav = function(options) { + return this.each(function() { + new OnePageNav(this, options).init(); + }); + }; + +})( jQuery, window , document ); \ No newline at end of file diff --git a/js/jquery.scrollTo.js b/js/jquery.scrollTo.js new file mode 100644 index 0000000..8b88b8e --- /dev/null +++ b/js/jquery.scrollTo.js @@ -0,0 +1,187 @@ +/*! + * jQuery.scrollTo + * Copyright (c) 2007-2014 Ariel Flesler - afleslergmailcom | http://flesler.blogspot.com + * Licensed under MIT + * http://flesler.blogspot.com/2007/10/jqueryscrollto.html + * @projectDescription Easy element scrolling using jQuery. + * @author Ariel Flesler + * @version 1.4.14 + */ +;(function (define) { + 'use strict'; + + define(['jquery'], function ($) { + + var $scrollTo = $.scrollTo = function( target, duration, settings ) { + return $(window).scrollTo( target, duration, settings ); + }; + + $scrollTo.defaults = { + axis:'xy', + duration: 0, + limit:true + }; + + // Returns the element that needs to be animated to scroll the window. + // Kept for backwards compatibility (specially for localScroll & serialScroll) + $scrollTo.window = function( scope ) { + return $(window)._scrollable(); + }; + + // Hack, hack, hack :) + // Returns the real elements to scroll (supports window/iframes, documents and regular nodes) + $.fn._scrollable = function() { + return this.map(function() { + var elem = this, + isWin = !elem.nodeName || $.inArray( elem.nodeName.toLowerCase(), ['iframe','#document','html','body'] ) != -1; + + if (!isWin) + return elem; + + var doc = (elem.contentWindow || elem).document || elem.ownerDocument || elem; + + return /webkit/i.test(navigator.userAgent) || doc.compatMode == 'BackCompat' ? + doc.body : + doc.documentElement; + }); + }; + + $.fn.scrollTo = function( target, duration, settings ) { + if (typeof duration == 'object') { + settings = duration; + duration = 0; + } + if (typeof settings == 'function') + settings = { onAfter:settings }; + + if (target == 'max') + target = 9e9; + + settings = $.extend( {}, $scrollTo.defaults, settings ); + // Speed is still recognized for backwards compatibility + duration = duration || settings.duration; + // Make sure the settings are given right + settings.queue = settings.queue && settings.axis.length > 1; + + if (settings.queue) + // Let's keep the overall duration + duration /= 2; + settings.offset = both( settings.offset ); + settings.over = both( settings.over ); + + return this._scrollable().each(function() { + // Null target yields nothing, just like jQuery does + if (target == null) return; + + var elem = this, + $elem = $(elem), + targ = target, toff, attr = {}, + win = $elem.is('html,body'); + + switch (typeof targ) { + // A number will pass the regex + case 'number': + case 'string': + if (/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(targ)) { + targ = both( targ ); + // We are done + break; + } + // Relative/Absolute selector, no break! + targ = win ? $(targ) : $(targ, this); + if (!targ.length) return; + case 'object': + // DOMElement / jQuery + if (targ.is || targ.style) + // Get the real position of the target + toff = (targ = $(targ)).offset(); + } + + var offset = $.isFunction(settings.offset) && settings.offset(elem, targ) || settings.offset; + + $.each( settings.axis.split(''), function( i, axis ) { + var Pos = axis == 'x' ? 'Left' : 'Top', + pos = Pos.toLowerCase(), + key = 'scroll' + Pos, + old = elem[key], + max = $scrollTo.max(elem, axis); + + if (toff) {// jQuery / DOMElement + attr[key] = toff[pos] + ( win ? 0 : old - $elem.offset()[pos] ); + + // If it's a dom element, reduce the margin + if (settings.margin) { + attr[key] -= parseInt(targ.css('margin'+Pos)) || 0; + attr[key] -= parseInt(targ.css('border'+Pos+'Width')) || 0; + } + + attr[key] += offset[pos] || 0; + + if(settings.over[pos]) + // Scroll to a fraction of its width/height + attr[key] += targ[axis=='x'?'width':'height']() * settings.over[pos]; + } else { + var val = targ[pos]; + // Handle percentage values + attr[key] = val.slice && val.slice(-1) == '%' ? + parseFloat(val) / 100 * max + : val; + } + + // Number or 'number' + if (settings.limit && /^\d+$/.test(attr[key])) + // Check the limits + attr[key] = attr[key] <= 0 ? 0 : Math.min( attr[key], max ); + + // Queueing axes + if (!i && settings.queue) { + // Don't waste time animating, if there's no need. + if (old != attr[key]) + // Intermediate animation + animate( settings.onAfterFirst ); + // Don't animate this axis again in the next iteration. + delete attr[key]; + } + }); + + animate( settings.onAfter ); + + function animate( callback ) { + $elem.animate( attr, duration, settings.easing, callback && function() { + callback.call(this, targ, settings); + }); + } + }).end(); + }; + + // Max scrolling position, works on quirks mode + // It only fails (not too badly) on IE, quirks mode. + $scrollTo.max = function( elem, axis ) { + var Dim = axis == 'x' ? 'Width' : 'Height', + scroll = 'scroll'+Dim; + + if (!$(elem).is('html,body')) + return elem[scroll] - $(elem)[Dim.toLowerCase()](); + + var size = 'client' + Dim, + html = elem.ownerDocument.documentElement, + body = elem.ownerDocument.body; + + return Math.max( html[scroll], body[scroll] ) - Math.min( html[size] , body[size] ); + }; + + function both( val ) { + return $.isFunction(val) || $.isPlainObject(val) ? val : { top:val, left:val }; + } + + // AMD requirement + return $scrollTo; + }) +}(typeof define === 'function' && define.amd ? define : function (deps, factory) { + if (typeof module !== 'undefined' && module.exports) { + // Node + module.exports = factory(require('jquery')); + } else { + factory(jQuery); + } +})); diff --git a/js/jquery.scrollTo.min.js b/js/jquery.scrollTo.min.js new file mode 100644 index 0000000..06f3845 --- /dev/null +++ b/js/jquery.scrollTo.min.js @@ -0,0 +1,7 @@ +/** + * Copyright (c) 2007 Ariel Flesler - aflesler ○ gmail • com | https://github.com/flesler + * Licensed under MIT + * @author Ariel Flesler + * @version 2.1.2 + */ +;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1=f[g]?0:Math.min(f[g],n));!a&&1', { src: href }); + img.one('load', function() { + var wrap = $('
    '); + wrap.append(img); + content.html(wrap).removeClass('nivo-lightbox-loading'); + + // Vertically center images + wrap.css({ + 'line-height': $('.nivo-lightbox-content').height() +'px', + 'height': $('.nivo-lightbox-content').height() +'px' // For Firefox + }); + $(window).resize(function() { + wrap.css({ + 'line-height': $('.nivo-lightbox-content').height() +'px', + 'height': $('.nivo-lightbox-content').height() +'px' // For Firefox + }); + }); + }).each(function() { + if(this.complete) $(this).load(); + }); + + img.error(function() { + var wrap = $('

    '+ $this.options.errorMessage +'

    '); + content.html(wrap).removeClass('nivo-lightbox-loading'); + }); + } + // Video (Youtube/Vimeo) + else if(video){ + var src = '', + classTerm = 'nivo-lightbox-video'; + + if(video[1] == 'youtube'){ + src = 'http://www.youtube.com/embed/'+ video[4]; + classTerm = 'nivo-lightbox-youtube'; + } + if(video[1] == 'youtu'){ + src = 'http://www.youtube.com/embed/'+ video[3]; + classTerm = 'nivo-lightbox-youtube'; + } + if(video[1] == 'vimeo'){ + src = 'http://player.vimeo.com/video/'+ video[3]; + classTerm = 'nivo-lightbox-vimeo'; + } + + if(src){ + var iframeVideo = $(''); - else - lyr1 = $(''); - - if (opts.theme) - lyr2 = $(''); - else - lyr2 = $(''); - - if (opts.theme && full) { - s = ''; - } - else if (opts.theme) { - s = ''; - } - else if (full) { - s = ''; - } - else { - s = ''; - } - lyr3 = $(s); - - // if we have a message, style it - if (msg) { - if (opts.theme) { - lyr3.css(themedCSS); - lyr3.addClass('ui-widget-content'); - } - else - lyr3.css(css); - } - - // style the overlay - if (!opts.theme /*&& (!opts.applyPlatformOpacityRules)*/) - lyr2.css(opts.overlayCSS); - lyr2.css('position', full ? 'fixed' : 'absolute'); - - // make iframe layer transparent in IE - if (msie || opts.forceIframe) - lyr1.css('opacity',0.0); - - //$([lyr1[0],lyr2[0],lyr3[0]]).appendTo(full ? 'body' : el); - var layers = [lyr1,lyr2,lyr3], $par = full ? $('body') : $(el); - $.each(layers, function() { - this.appendTo($par); - }); - - if (opts.theme && opts.draggable && $.fn.draggable) { - lyr3.draggable({ - handle: '.ui-dialog-titlebar', - cancel: 'li' - }); - } - - // ie7 must use absolute positioning in quirks mode and to account for activex issues (when scrolling) - var expr = setExpr && (!$.support.boxModel || $('object,embed', full ? null : el).length > 0); - if (ie6 || expr) { - // give body 100% height - if (full && opts.allowBodyStretch && $.support.boxModel) - $('html,body').css('height','100%'); - - // fix ie6 issue when blocked element has a border width - if ((ie6 || !$.support.boxModel) && !full) { - var t = sz(el,'borderTopWidth'), l = sz(el,'borderLeftWidth'); - var fixT = t ? '(0 - '+t+')' : 0; - var fixL = l ? '(0 - '+l+')' : 0; - } - - // simulate fixed position - $.each(layers, function(i,o) { - var s = o[0].style; - s.position = 'absolute'; - if (i < 2) { - if (full) - s.setExpression('height','Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:'+opts.quirksmodeOffsetHack+') + "px"'); - else - s.setExpression('height','this.parentNode.offsetHeight + "px"'); - if (full) - s.setExpression('width','jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'); - else - s.setExpression('width','this.parentNode.offsetWidth + "px"'); - if (fixL) s.setExpression('left', fixL); - if (fixT) s.setExpression('top', fixT); - } - else if (opts.centerY) { - if (full) s.setExpression('top','(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'); - s.marginTop = 0; - } - else if (!opts.centerY && full) { - var top = (opts.css && opts.css.top) ? parseInt(opts.css.top, 10) : 0; - var expression = '((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + '+top+') + "px"'; - s.setExpression('top',expression); - } - }); - } - - // show the message - if (msg) { - if (opts.theme) - lyr3.find('.ui-widget-content').append(msg); - else - lyr3.append(msg); - if (msg.jquery || msg.nodeType) - $(msg).show(); - } - - if ((msie || opts.forceIframe) && opts.showOverlay) - lyr1.show(); // opacity is zero - if (opts.fadeIn) { - var cb = opts.onBlock ? opts.onBlock : noOp; - var cb1 = (opts.showOverlay && !msg) ? cb : noOp; - var cb2 = msg ? cb : noOp; - if (opts.showOverlay) - lyr2._fadeIn(opts.fadeIn, cb1); - if (msg) - lyr3._fadeIn(opts.fadeIn, cb2); - } - else { - if (opts.showOverlay) - lyr2.show(); - if (msg) - lyr3.show(); - if (opts.onBlock) - opts.onBlock.bind(lyr3)(); - } - - // bind key and mouse events - bind(1, el, opts); - - if (full) { - pageBlock = lyr3[0]; - pageBlockEls = $(opts.focusableElements,pageBlock); - if (opts.focusInput) - setTimeout(focus, 20); - } - else - center(lyr3[0], opts.centerX, opts.centerY); - - if (opts.timeout) { - // auto-unblock - var to = setTimeout(function() { - if (full) - $.unblockUI(opts); - else - $(el).unblock(opts); - }, opts.timeout); - $(el).data('blockUI.timeout', to); - } - } - - // remove the block - function remove(el, opts) { - var count; - var full = (el == window); - var $el = $(el); - var data = $el.data('blockUI.history'); - var to = $el.data('blockUI.timeout'); - if (to) { - clearTimeout(to); - $el.removeData('blockUI.timeout'); - } - opts = $.extend({}, $.blockUI.defaults, opts || {}); - bind(0, el, opts); // unbind events - - if (opts.onUnblock === null) { - opts.onUnblock = $el.data('blockUI.onUnblock'); - $el.removeData('blockUI.onUnblock'); - } - - var els; - if (full) // crazy selector to handle odd field errors in ie6/7 - els = $(document.body).children().filter('.blockUI').add('body > .blockUI'); - else - els = $el.find('>.blockUI'); - - // fix cursor issue - if ( opts.cursorReset ) { - if ( els.length > 1 ) - els[1].style.cursor = opts.cursorReset; - if ( els.length > 2 ) - els[2].style.cursor = opts.cursorReset; - } - - if (full) - pageBlock = pageBlockEls = null; - - if (opts.fadeOut) { - count = els.length; - els.stop().fadeOut(opts.fadeOut, function() { - if ( --count === 0) - reset(els,data,opts,el); - }); - } - else - reset(els, data, opts, el); - } - - // move blocking element back into the DOM where it started - function reset(els,data,opts,el) { - var $el = $(el); - if ( $el.data('blockUI.isBlocked') ) - return; - - els.each(function(i,o) { - // remove via DOM calls so we don't lose event handlers - if (this.parentNode) - this.parentNode.removeChild(this); - }); - - if (data && data.el) { - data.el.style.display = data.display; - data.el.style.position = data.position; - data.el.style.cursor = 'default'; // #59 - if (data.parent) - data.parent.appendChild(data.el); - $el.removeData('blockUI.history'); - } - - if ($el.data('blockUI.static')) { - $el.css('position', 'static'); // #22 - } - - if (typeof opts.onUnblock == 'function') - opts.onUnblock(el,opts); - - // fix issue in Safari 6 where block artifacts remain until reflow - var body = $(document.body), w = body.width(), cssW = body[0].style.width; - body.width(w-1).width(w); - body[0].style.width = cssW; - } - - // bind/unbind the handler - function bind(b, el, opts) { - var full = el == window, $el = $(el); - - // don't bother unbinding if there is nothing to unbind - if (!b && (full && !pageBlock || !full && !$el.data('blockUI.isBlocked'))) - return; - - $el.data('blockUI.isBlocked', b); - - // don't bind events when overlay is not in use or if bindEvents is false - if (!full || !opts.bindEvents || (b && !opts.showOverlay)) - return; - - // bind anchors and inputs for mouse and key events - var events = 'mousedown mouseup keydown keypress keyup touchstart touchend touchmove'; - if (b) - $(document).bind(events, opts, handler); - else - $(document).unbind(events, handler); - - // former impl... - // var $e = $('a,:input'); - // b ? $e.bind(events, opts, handler) : $e.unbind(events, handler); - } - - // event handler to suppress keyboard/mouse events when blocking - function handler(e) { - // allow tab navigation (conditionally) - if (e.type === 'keydown' && e.keyCode && e.keyCode == 9) { - if (pageBlock && e.data.constrainTabKey) { - var els = pageBlockEls; - var fwd = !e.shiftKey && e.target === els[els.length-1]; - var back = e.shiftKey && e.target === els[0]; - if (fwd || back) { - setTimeout(function(){focus(back);},10); - return false; - } - } - } - var opts = e.data; - var target = $(e.target); - if (target.hasClass('blockOverlay') && opts.onOverlayClick) - opts.onOverlayClick(e); - - // allow events within the message content - if (target.parents('div.' + opts.blockMsgClass).length > 0) - return true; - - // allow events for content that is not being blocked - return target.parents().children().filter('div.blockUI').length === 0; - } - - function focus(back) { - if (!pageBlockEls) - return; - var e = pageBlockEls[back===true ? pageBlockEls.length-1 : 0]; - if (e) - e.focus(); - } - - function center(el, x, y) { - var p = el.parentNode, s = el.style; - var l = ((p.offsetWidth - el.offsetWidth)/2) - sz(p,'borderLeftWidth'); - var t = ((p.offsetHeight - el.offsetHeight)/2) - sz(p,'borderTopWidth'); - if (x) s.left = l > 0 ? (l+'px') : '0'; - if (y) s.top = t > 0 ? (t+'px') : '0'; - } - - function sz(el, p) { - return parseInt($.css(el,p),10)||0; - } - - } - - - /*global define:true */ - if (typeof define === 'function' && define.amd && define.amd.jQuery) { - define(['jquery'], setup); - } else { - setup(jQuery); - } - -})(); \ No newline at end of file diff --git a/plugins/wp-booking-system.zip b/plugins/wp-booking-system.zip deleted file mode 100644 index 7b79158..0000000 Binary files a/plugins/wp-booking-system.zip and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/._wp-booking-system b/plugins/wp-booking-system/__MACOSX/._wp-booking-system deleted file mode 100644 index 3476a30..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/._wp-booking-system and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._controllers b/plugins/wp-booking-system/__MACOSX/wp-booking-system/._controllers deleted file mode 100644 index 979931c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._controllers and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._css b/plugins/wp-booking-system/__MACOSX/wp-booking-system/._css deleted file mode 100644 index 72f530e..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._css and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._images b/plugins/wp-booking-system/__MACOSX/wp-booking-system/._images deleted file mode 100644 index 48fcecd..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._images and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._include b/plugins/wp-booking-system/__MACOSX/wp-booking-system/._include deleted file mode 100644 index 4c18817..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._include and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/._js deleted file mode 100644 index fb08a0b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._languages b/plugins/wp-booking-system/__MACOSX/wp-booking-system/._languages deleted file mode 100644 index 62d1bc3..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._languages and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._release notes.txt b/plugins/wp-booking-system/__MACOSX/wp-booking-system/._release notes.txt deleted file mode 100644 index 69c0a1c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._release notes.txt and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._views b/plugins/wp-booking-system/__MACOSX/wp-booking-system/._views deleted file mode 100644 index 9dad4d4..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._views and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._wp-booking-system.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/._wp-booking-system.php deleted file mode 100644 index 54fbac7..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/._wp-booking-system.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._ajax b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._ajax deleted file mode 100644 index 27ab220..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._ajax and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._bookings b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._bookings deleted file mode 100644 index afa9118..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._bookings and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._calendar b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._calendar deleted file mode 100644 index 4a15ffa..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._calendar and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._default-legend b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._default-legend deleted file mode 100644 index af6a0cc..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._default-legend and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._form b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._form deleted file mode 100644 index c8fe269..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._form and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._settings b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._settings deleted file mode 100644 index 491281f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/._settings and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/ajax/._ajax.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/ajax/._ajax.php deleted file mode 100644 index 04c726e..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/ajax/._ajax.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/bookings/._booking-delete.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/bookings/._booking-delete.php deleted file mode 100644 index 64d0884..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/bookings/._booking-delete.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._calendar-delete.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._calendar-delete.php deleted file mode 100644 index bf6d767..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._calendar-delete.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._calendar-save.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._calendar-save.php deleted file mode 100644 index b4bbb4b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._calendar-save.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._download-calendar.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._download-calendar.php deleted file mode 100644 index cf98924..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._download-calendar.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._download-export.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._download-export.php deleted file mode 100644 index 76ce668..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._download-export.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-delete.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-delete.php deleted file mode 100644 index bf230a4..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-delete.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-save.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-save.php deleted file mode 100644 index b241e59..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-save.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-auto-pending.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-auto-pending.php deleted file mode 100644 index 5c98985..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-auto-pending.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-default.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-default.php deleted file mode 100644 index efee7a6..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-default.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-order.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-order.php deleted file mode 100644 index 89d0de2..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-order.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-sync.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-sync.php deleted file mode 100644 index bcbab5b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-sync.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-visibility.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-visibility.php deleted file mode 100644 index 7f66e46..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._legend-set-visibility.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._print-bookings.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._print-bookings.php deleted file mode 100644 index 3e35f57..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._print-bookings.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._reset-private-key.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._reset-private-key.php deleted file mode 100644 index af53249..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/calendar/._reset-private-key.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-delete.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-delete.php deleted file mode 100644 index f70a675..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-delete.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-save.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-save.php deleted file mode 100644 index 79729f2..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-save.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-auto-pending.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-auto-pending.php deleted file mode 100644 index 3171b96..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-auto-pending.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-default.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-default.php deleted file mode 100644 index e635cf1..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-default.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-order.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-order.php deleted file mode 100644 index a18b328..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-order.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-sync.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-sync.php deleted file mode 100644 index 2b102bd..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-sync.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-visibility.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-visibility.php deleted file mode 100644 index 052004c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/default-legend/._legend-set-visibility.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/form/._form-delete.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/form/._form-delete.php deleted file mode 100644 index c18811d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/form/._form-delete.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/form/._form-save.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/form/._form-save.php deleted file mode 100644 index 1f0922f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/form/._form-save.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/settings/._save-settings.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/settings/._save-settings.php deleted file mode 100644 index a876fe9..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/controllers/settings/._save-settings.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._chosen.min.css b/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._chosen.min.css deleted file mode 100644 index ae019a3..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._chosen.min.css and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._colorpicker.css b/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._colorpicker.css deleted file mode 100644 index 1003d47..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._colorpicker.css and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._colorpicker.min.css b/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._colorpicker.min.css deleted file mode 100644 index d740681..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._colorpicker.min.css and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-admin.css b/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-admin.css deleted file mode 100644 index dfb0454..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-admin.css and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-admin.min.css b/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-admin.min.css deleted file mode 100644 index a15e43b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-admin.min.css and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-calendar-theme.css b/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-calendar-theme.css deleted file mode 100644 index 4a91f9d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-calendar-theme.css and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-calendar.css b/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-calendar.css deleted file mode 100644 index 2f7c43a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-calendar.css and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-calendar.min.css b/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-calendar.min.css deleted file mode 100644 index 067ee8f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/css/._wpbs-calendar.min.css and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._ajax-loader.gif b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._ajax-loader.gif deleted file mode 100644 index 529266c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._ajax-loader.gif and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._arrow-left.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._arrow-left.png deleted file mode 100644 index 7bb5e3d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._arrow-left.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._arrow-left@2x.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._arrow-left@2x.png deleted file mode 100644 index 3ed8ede..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._arrow-left@2x.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._arrow-right.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._arrow-right.png deleted file mode 100644 index 08c2c00..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._arrow-right.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._arrow-right@2x.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._arrow-right@2x.png deleted file mode 100644 index 9a97a90..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._arrow-right@2x.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._chevron-down.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._chevron-down.png deleted file mode 100644 index eed9c02..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._chevron-down.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._chosen-sprite.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._chosen-sprite.png deleted file mode 100644 index a88547a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._chosen-sprite.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._chosen-sprite@2x.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._chosen-sprite@2x.png deleted file mode 100644 index 867e227..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._chosen-sprite@2x.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._colorpicker_overlay.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._colorpicker_overlay.png deleted file mode 100644 index de0911b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._colorpicker_overlay.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._colorpicker_select.gif b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._colorpicker_select.gif deleted file mode 100644 index 7fbcb2f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._colorpicker_select.gif and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_background.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_background.png deleted file mode 100644 index 11d7861..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_background.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_hex.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_hex.png deleted file mode 100644 index 801a5db..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_hex.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_hsb_b.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_hsb_b.png deleted file mode 100644 index ad208c9..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_hsb_b.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_hsb_h.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_hsb_h.png deleted file mode 100644 index dcdf539..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_hsb_h.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_hsb_s.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_hsb_s.png deleted file mode 100644 index c16fdbc..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_hsb_s.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_indic.gif b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_indic.gif deleted file mode 100644 index 154657f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_indic.gif and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_rgb_b.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_rgb_b.png deleted file mode 100644 index 6be9dbd..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_rgb_b.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_rgb_g.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_rgb_g.png deleted file mode 100644 index 81c3fde..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_rgb_g.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_rgb_r.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_rgb_r.png deleted file mode 100644 index 41952ee..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_rgb_r.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_submit.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_submit.png deleted file mode 100644 index 8a17b96..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._custom_submit.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._date-button.gif b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._date-button.gif deleted file mode 100644 index 74e0154..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._date-button.gif and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._default-legend-delete-icon.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._default-legend-delete-icon.png deleted file mode 100644 index 661906c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._default-legend-delete-icon.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._default-legend.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._default-legend.png deleted file mode 100644 index 591e975..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._default-legend.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._down-arrow.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._down-arrow.png deleted file mode 100644 index addcda8..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._down-arrow.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._edit-icon.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._edit-icon.png deleted file mode 100644 index b9dc93f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._edit-icon.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._flags b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._flags deleted file mode 100644 index 051d597..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._flags and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._hourglass.gif b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._hourglass.gif deleted file mode 100644 index 24b07ae..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._hourglass.gif and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._not-default-legend.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._not-default-legend.png deleted file mode 100644 index 9f712eb..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._not-default-legend.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._select.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._select.png deleted file mode 100644 index ca1b026..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._select.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._select2.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._select2.png deleted file mode 100644 index 93541eb..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._select2.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._slider.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._slider.png deleted file mode 100644 index 0655bbf..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._slider.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._up-arrow.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._up-arrow.png deleted file mode 100644 index a9a893b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._up-arrow.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._visible-no.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._visible-no.png deleted file mode 100644 index 22f2aec..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._visible-no.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._visible-yes.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._visible-yes.png deleted file mode 100644 index 9046d93..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._visible-yes.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._wpbs-dropdown-arrow.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._wpbs-dropdown-arrow.png deleted file mode 100644 index 4f2c84c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._wpbs-dropdown-arrow.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._wpbs-dropdown-arrow@2x.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._wpbs-dropdown-arrow@2x.png deleted file mode 100644 index c5aa6e3..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._wpbs-dropdown-arrow@2x.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._wpbs-form-delete.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._wpbs-form-delete.png deleted file mode 100644 index 667abc4..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._wpbs-form-delete.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._wpbs-form-move.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._wpbs-form-move.png deleted file mode 100644 index 2f2d8ab..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/._wpbs-form-move.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ad.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ad.png deleted file mode 100644 index 9483542..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ad.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ae.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ae.png deleted file mode 100644 index 494037d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ae.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._af.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._af.png deleted file mode 100644 index 2ba8774..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._af.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ag.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ag.png deleted file mode 100644 index 0e078a1..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ag.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ai.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ai.png deleted file mode 100644 index e969af4..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ai.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._al.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._al.png deleted file mode 100644 index cfa94ba..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._al.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._am.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._am.png deleted file mode 100644 index f83c82e..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._am.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._an.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._an.png deleted file mode 100644 index 0be6672..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._an.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ao.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ao.png deleted file mode 100644 index c2ebcd0..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ao.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ar.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ar.png deleted file mode 100644 index e94e29e..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ar.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._as.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._as.png deleted file mode 100644 index f14fb48..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._as.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._at.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._at.png deleted file mode 100644 index b80dd33..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._at.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._au.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._au.png deleted file mode 100644 index fe0720e..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._au.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._aw.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._aw.png deleted file mode 100644 index d9aa5d2..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._aw.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ax.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ax.png deleted file mode 100644 index 86b1a9b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ax.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._az.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._az.png deleted file mode 100644 index 784175b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._az.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ba.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ba.png deleted file mode 100644 index dc2f600..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ba.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bb.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bb.png deleted file mode 100644 index 58c3e8b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bb.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bd.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bd.png deleted file mode 100644 index 2d8c66a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bd.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._be.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._be.png deleted file mode 100644 index 867b9b7..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._be.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bf.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bf.png deleted file mode 100644 index 7fef2df..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bf.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bg.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bg.png deleted file mode 100644 index 57456de..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bg.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bh.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bh.png deleted file mode 100644 index 97bc944..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bh.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bi.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bi.png deleted file mode 100644 index 20ef1ea..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bi.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bj.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bj.png deleted file mode 100644 index b446bc0..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bj.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bm.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bm.png deleted file mode 100644 index 5d49931..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bm.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bn.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bn.png deleted file mode 100644 index 2684cc1..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bn.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bo.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bo.png deleted file mode 100644 index 2fe029c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bo.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._br.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._br.png deleted file mode 100644 index 823fc96..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._br.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bs.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bs.png deleted file mode 100644 index 6e09f7f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bs.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bt.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bt.png deleted file mode 100644 index d854a98..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bt.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bv.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bv.png deleted file mode 100644 index f9b508e..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bv.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bw.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bw.png deleted file mode 100644 index df247e1..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bw.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._by.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._by.png deleted file mode 100644 index d20be9a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._by.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bz.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bz.png deleted file mode 100644 index a440713..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._bz.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ca.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ca.png deleted file mode 100644 index e79bc2a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ca.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cc.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cc.png deleted file mode 100644 index 970f9bb..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cc.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cd.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cd.png deleted file mode 100644 index b6dbfbd..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cd.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cf.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cf.png deleted file mode 100644 index f8e1eeb..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cf.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cg.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cg.png deleted file mode 100644 index 3a1e1a8..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cg.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ch.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ch.png deleted file mode 100644 index 393d9f7..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ch.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ci.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ci.png deleted file mode 100644 index 53c8d10..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ci.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ck.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ck.png deleted file mode 100644 index 2213e92..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ck.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cl.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cl.png deleted file mode 100644 index c06c20d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cl.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cm.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cm.png deleted file mode 100644 index 6c998e5..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cm.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._co.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._co.png deleted file mode 100644 index 39bac57..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._co.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cr.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cr.png deleted file mode 100644 index bad7d98..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cr.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cs.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cs.png deleted file mode 100644 index 6cc66d4..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cs.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cu.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cu.png deleted file mode 100644 index 4dec486..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cu.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cv.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cv.png deleted file mode 100644 index 89904c3..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cv.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cx.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cx.png deleted file mode 100644 index 57673d6..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cx.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cy.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cy.png deleted file mode 100644 index a24aa66..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cy.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cz.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cz.png deleted file mode 100644 index 8130547..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._cz.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._da.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._da.png deleted file mode 100644 index cac2141..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._da.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._de.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._de.png deleted file mode 100644 index 7163214..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._de.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._dj.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._dj.png deleted file mode 100644 index e89f5cd..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._dj.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._dk.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._dk.png deleted file mode 100644 index 45a4687..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._dk.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._dm.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._dm.png deleted file mode 100644 index 9b869b6..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._dm.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._do.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._do.png deleted file mode 100644 index ed0b278..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._do.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._dz.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._dz.png deleted file mode 100644 index ce0d5c7..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._dz.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ec.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ec.png deleted file mode 100644 index bdfefab..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ec.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ee.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ee.png deleted file mode 100644 index 4cee7dd..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ee.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._eg.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._eg.png deleted file mode 100644 index 9d31738..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._eg.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._eh.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._eh.png deleted file mode 100644 index c770be2..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._eh.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._el.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._el.png deleted file mode 100644 index 57bf617..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._el.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._en.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._en.png deleted file mode 100644 index d548e94..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._en.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._england.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._england.png deleted file mode 100644 index 06fa2b7..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._england.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._er.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._er.png deleted file mode 100644 index caa7ec6..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._er.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._es.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._es.png deleted file mode 100644 index d732408..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._es.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._et.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._et.png deleted file mode 100644 index b47ff09..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._et.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._europeanunion.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._europeanunion.png deleted file mode 100644 index 9450cbf..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._europeanunion.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fam.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fam.png deleted file mode 100644 index 3c910ef..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fam.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fi.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fi.png deleted file mode 100644 index 24883e8..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fi.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fj.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fj.png deleted file mode 100644 index 4472cc2..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fj.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fk.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fk.png deleted file mode 100644 index ff861f3..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fk.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fm.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fm.png deleted file mode 100644 index 8f08790..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fm.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fo.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fo.png deleted file mode 100644 index 6c8149d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fo.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fr.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fr.png deleted file mode 100644 index 840374d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._fr.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ga.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ga.png deleted file mode 100644 index 4ecf220..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ga.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gb.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gb.png deleted file mode 100644 index cae0957..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gb.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gd.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gd.png deleted file mode 100644 index d4c403c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gd.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ge.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ge.png deleted file mode 100644 index eb37305..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ge.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gf.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gf.png deleted file mode 100644 index e81f983..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gf.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gh.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gh.png deleted file mode 100644 index f16bae7..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gh.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gi.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gi.png deleted file mode 100644 index 76e4cf1..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gi.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gl.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gl.png deleted file mode 100644 index a44bd00..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gl.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gm.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gm.png deleted file mode 100644 index 87d3422..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gm.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gn.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gn.png deleted file mode 100644 index a36184a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gn.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gp.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gp.png deleted file mode 100644 index 7e5ea68..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gp.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gq.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gq.png deleted file mode 100644 index 642973f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gq.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gr.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gr.png deleted file mode 100644 index d4f7b4a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gr.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gs.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gs.png deleted file mode 100644 index 41f48e9..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gs.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gt.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gt.png deleted file mode 100644 index 36ab011..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gt.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gu.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gu.png deleted file mode 100644 index 6ac5510..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gu.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gw.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gw.png deleted file mode 100644 index 92213ce..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gw.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gy.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gy.png deleted file mode 100644 index bceab52..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._gy.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hk.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hk.png deleted file mode 100644 index 9cc137b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hk.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hm.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hm.png deleted file mode 100644 index a80c2b2..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hm.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hn.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hn.png deleted file mode 100644 index f12c167..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hn.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hr.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hr.png deleted file mode 100644 index 19b4946..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hr.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ht.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ht.png deleted file mode 100644 index 211aaa5..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ht.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hu.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hu.png deleted file mode 100644 index d6b4f88..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._hu.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._id.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._id.png deleted file mode 100644 index f49be56..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._id.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ie.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ie.png deleted file mode 100644 index 4aaf2e3..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ie.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._il.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._il.png deleted file mode 100644 index 810ffde..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._il.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._in.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._in.png deleted file mode 100644 index d07c509..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._in.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._io.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._io.png deleted file mode 100644 index ae18fc0..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._io.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._iq.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._iq.png deleted file mode 100644 index 004e057..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._iq.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ir.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ir.png deleted file mode 100644 index c022f14..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ir.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._is.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._is.png deleted file mode 100644 index 161f98c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._is.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._it.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._it.png deleted file mode 100644 index c96df60..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._it.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._jm.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._jm.png deleted file mode 100644 index 8cf8a6c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._jm.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._jo.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._jo.png deleted file mode 100644 index aad1720..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._jo.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._jp.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._jp.png deleted file mode 100644 index f3c44f6..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._jp.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ke.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ke.png deleted file mode 100644 index 18074b8..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ke.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kg.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kg.png deleted file mode 100644 index 862053a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kg.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kh.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kh.png deleted file mode 100644 index 22c631b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kh.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ki.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ki.png deleted file mode 100644 index bf00f0a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ki.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._km.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._km.png deleted file mode 100644 index 5690d36..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._km.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kn.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kn.png deleted file mode 100644 index b03b412..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kn.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kp.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kp.png deleted file mode 100644 index 63679ee..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kp.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kr.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kr.png deleted file mode 100644 index 7b294eb..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kr.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kw.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kw.png deleted file mode 100644 index c5d749b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kw.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ky.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ky.png deleted file mode 100644 index 0793b00..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ky.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kz.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kz.png deleted file mode 100644 index 1652124..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._kz.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._la.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._la.png deleted file mode 100644 index c4c8a39..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._la.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lb.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lb.png deleted file mode 100644 index b13737d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lb.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lc.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lc.png deleted file mode 100644 index 8624fcc..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lc.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._li.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._li.png deleted file mode 100644 index 25defec..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._li.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lk.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lk.png deleted file mode 100644 index b07a0ca..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lk.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lr.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lr.png deleted file mode 100644 index 27fbd55..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lr.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ls.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ls.png deleted file mode 100644 index 30e9518..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ls.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lt.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lt.png deleted file mode 100644 index 47d7fad..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lt.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lu.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lu.png deleted file mode 100644 index 2761729..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lu.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lv.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lv.png deleted file mode 100644 index 34a8f61..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._lv.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ly.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ly.png deleted file mode 100644 index 20e3bf0..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ly.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ma.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ma.png deleted file mode 100644 index 03573c9..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ma.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mc.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mc.png deleted file mode 100644 index 63a8276..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mc.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._md.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._md.png deleted file mode 100644 index 7c4b031..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._md.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._me.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._me.png deleted file mode 100644 index 74b6cee..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._me.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mg.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mg.png deleted file mode 100644 index e265362..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mg.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mh.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mh.png deleted file mode 100644 index 9a52096..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mh.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mk.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mk.png deleted file mode 100644 index e87493a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mk.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ml.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ml.png deleted file mode 100644 index ed24512..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ml.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mm.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mm.png deleted file mode 100644 index e4b3260..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mm.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mn.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mn.png deleted file mode 100644 index 26c7041..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mn.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mo.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mo.png deleted file mode 100644 index f80f5f2..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mo.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mp.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mp.png deleted file mode 100644 index 7c844a0..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mp.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mq.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mq.png deleted file mode 100644 index 21a54e5..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mq.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mr.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mr.png deleted file mode 100644 index 43b52ab..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mr.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ms.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ms.png deleted file mode 100644 index ce0cb25..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ms.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mt.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mt.png deleted file mode 100644 index 1efcf5b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mt.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mu.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mu.png deleted file mode 100644 index 028c0b5..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mu.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mv.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mv.png deleted file mode 100644 index 407e469..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mv.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mw.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mw.png deleted file mode 100644 index 2657652..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mw.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mx.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mx.png deleted file mode 100644 index b49cbe0..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mx.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._my.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._my.png deleted file mode 100644 index 4b20de1..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._my.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mz.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mz.png deleted file mode 100644 index 7721895..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._mz.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._na.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._na.png deleted file mode 100644 index 3cbf159..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._na.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nc.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nc.png deleted file mode 100644 index 843d55a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nc.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ne.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ne.png deleted file mode 100644 index a0be8b1..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ne.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nf.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nf.png deleted file mode 100644 index 908f369..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nf.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ng.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ng.png deleted file mode 100644 index 3877659..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ng.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ni.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ni.png deleted file mode 100644 index 48f1845..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ni.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nl.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nl.png deleted file mode 100644 index 7d21822..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nl.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._no.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._no.png deleted file mode 100644 index 88e8a84..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._no.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._np.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._np.png deleted file mode 100644 index e40ab73..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._np.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nr.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nr.png deleted file mode 100644 index ea62d43..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nr.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nu.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nu.png deleted file mode 100644 index a4c0053..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nu.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nz.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nz.png deleted file mode 100644 index 8776456..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._nz.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._om.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._om.png deleted file mode 100644 index d598c5b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._om.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pa.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pa.png deleted file mode 100644 index 9e28202..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pa.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pe.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pe.png deleted file mode 100644 index c6b3b6a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pe.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pf.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pf.png deleted file mode 100644 index 890f0f4..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pf.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pg.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pg.png deleted file mode 100644 index 5ae8bfd..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pg.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ph.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ph.png deleted file mode 100644 index b7d01b5..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ph.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pk.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pk.png deleted file mode 100644 index 87c0316..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pk.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pl.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pl.png deleted file mode 100644 index ec7cb0c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pl.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pm.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pm.png deleted file mode 100644 index 7d64eb0..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pm.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pn.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pn.png deleted file mode 100644 index cc7ed0f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pn.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pr.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pr.png deleted file mode 100644 index 1bf573b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pr.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ps.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ps.png deleted file mode 100644 index c48553e..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ps.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pt.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pt.png deleted file mode 100644 index 866761f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pt.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pw.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pw.png deleted file mode 100644 index eb61925..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._pw.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._py.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._py.png deleted file mode 100644 index d5e0d64..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._py.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._qa.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._qa.png deleted file mode 100644 index 347d3de..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._qa.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._re.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._re.png deleted file mode 100644 index f989825..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._re.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ro.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ro.png deleted file mode 100644 index 1384f82..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ro.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._rs.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._rs.png deleted file mode 100644 index be5acbb..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._rs.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ru.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ru.png deleted file mode 100644 index 2b64763..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ru.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._rw.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._rw.png deleted file mode 100644 index 3aaf2ce..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._rw.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sa.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sa.png deleted file mode 100644 index 18aae1e..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sa.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sb.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sb.png deleted file mode 100644 index c91dde0..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sb.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sc.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sc.png deleted file mode 100644 index 8166bea..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sc.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._scotland.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._scotland.png deleted file mode 100644 index 282c40e..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._scotland.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sd.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sd.png deleted file mode 100644 index fdddfb5..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sd.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._se.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._se.png deleted file mode 100644 index 4ffe99d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._se.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sg.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sg.png deleted file mode 100644 index 2414fc1..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sg.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sh.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sh.png deleted file mode 100644 index 25b77f0..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sh.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._si.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._si.png deleted file mode 100644 index f61cff1..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._si.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sj.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sj.png deleted file mode 100644 index d957af2..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sj.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sk.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sk.png deleted file mode 100644 index 75f9911..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sk.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sl.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sl.png deleted file mode 100644 index 198882b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sl.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sm.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sm.png deleted file mode 100644 index b9f32a1..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sm.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sn.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sn.png deleted file mode 100644 index 63bedca..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sn.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._so.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._so.png deleted file mode 100644 index 0f30273..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._so.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sr.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sr.png deleted file mode 100644 index dc3d900..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sr.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._st.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._st.png deleted file mode 100644 index c8a22b0..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._st.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sv.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sv.png deleted file mode 100644 index ea676e0..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sv.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sy.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sy.png deleted file mode 100644 index ac20768..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sy.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sz.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sz.png deleted file mode 100644 index bab08c9..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._sz.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tc.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tc.png deleted file mode 100644 index 4439343..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tc.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._td.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._td.png deleted file mode 100644 index 01e0ff4..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._td.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tf.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tf.png deleted file mode 100644 index f6f3c3d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tf.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tg.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tg.png deleted file mode 100644 index 4c13c24..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tg.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._th.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._th.png deleted file mode 100644 index 4ec35d8..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._th.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tj.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tj.png deleted file mode 100644 index cbc8749..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tj.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tk.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tk.png deleted file mode 100644 index 9bf2271..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tk.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tl.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tl.png deleted file mode 100644 index 9dea91d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tl.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tm.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tm.png deleted file mode 100644 index 81ea04e..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tm.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tn.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tn.png deleted file mode 100644 index 74f45b5..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tn.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._to.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._to.png deleted file mode 100644 index 75a9c63..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._to.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tr.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tr.png deleted file mode 100644 index 8b4984c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tr.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tt.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tt.png deleted file mode 100644 index 873ce8c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tt.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tv.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tv.png deleted file mode 100644 index 1da8235..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tv.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tw.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tw.png deleted file mode 100644 index df25763..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tw.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tz.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tz.png deleted file mode 100644 index 735cf22..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._tz.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ua.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ua.png deleted file mode 100644 index c55fa34..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ua.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ug.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ug.png deleted file mode 100644 index b8b6385..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ug.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._um.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._um.png deleted file mode 100644 index 0ff74ad..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._um.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._us.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._us.png deleted file mode 100644 index e630526..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._us.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._uy.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._uy.png deleted file mode 100644 index 476659f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._uy.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._uz.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._uz.png deleted file mode 100644 index d92f3a9..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._uz.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._va.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._va.png deleted file mode 100644 index e63a4c3..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._va.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vc.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vc.png deleted file mode 100644 index 4b87213..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vc.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ve.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ve.png deleted file mode 100644 index 1d64548..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ve.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vg.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vg.png deleted file mode 100644 index 87dab9e..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vg.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vi.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vi.png deleted file mode 100644 index 03500b0..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vi.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vn.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vn.png deleted file mode 100644 index 9dc1f57..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vn.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vu.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vu.png deleted file mode 100644 index cf3c4cb..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._vu.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._wales.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._wales.png deleted file mode 100644 index db8e275..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._wales.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._wf.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._wf.png deleted file mode 100644 index 6680255..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._wf.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ws.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ws.png deleted file mode 100644 index 347b0d6..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ws.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ye.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ye.png deleted file mode 100644 index 4bdf502..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._ye.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._yt.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._yt.png deleted file mode 100644 index b1beea2..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._yt.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._za.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._za.png deleted file mode 100644 index 6b5ca8c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._za.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._zh.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._zh.png deleted file mode 100644 index 75d6d34..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._zh.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._zm.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._zm.png deleted file mode 100644 index 102249d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._zm.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._zw.png b/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._zw.png deleted file mode 100644 index ea55a6f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/images/flags/._zw.png and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._bookingAjax.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._bookingAjax.php deleted file mode 100644 index c9859ec..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._bookingAjax.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._bookingCore.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._bookingCore.php deleted file mode 100644 index 61b2da6..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._bookingCore.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarAdmin.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarAdmin.php deleted file mode 100644 index e53bfa5..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarAdmin.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarAjax.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarAjax.php deleted file mode 100644 index 9d37782..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarAjax.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarCore.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarCore.php deleted file mode 100644 index 129055f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarCore.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarFunctions.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarFunctions.php deleted file mode 100644 index d2da91a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarFunctions.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarLanguages.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarLanguages.php deleted file mode 100644 index 851d553..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._calendarLanguages.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._createTables.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._createTables.php deleted file mode 100644 index 2b90d57..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._createTables.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._formAjax.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._formAjax.php deleted file mode 100644 index 121977a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._formAjax.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._formCore.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._formCore.php deleted file mode 100644 index 7da4114..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._formCore.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginShortcode.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginShortcode.php deleted file mode 100644 index 85d468c..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginShortcode.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginShortcodeButton.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginShortcodeButton.php deleted file mode 100644 index 48692e9..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginShortcodeButton.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginStructure.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginStructure.php deleted file mode 100644 index 199f0ad..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginStructure.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginWidget.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginWidget.php deleted file mode 100644 index 2ca16f2..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginWidget.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginiCal.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginiCal.php deleted file mode 100644 index 1fe075f..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/include/._pluginiCal.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._chosen.jquery.min.js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._chosen.jquery.min.js deleted file mode 100644 index 1413449..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._chosen.jquery.min.js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._colorpicker.js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._colorpicker.js deleted file mode 100644 index ec84c5d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._colorpicker.js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._colorpicker.min.js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._colorpicker.min.js deleted file mode 100644 index db56dad..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._colorpicker.min.js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._custom-select.js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._custom-select.js deleted file mode 100644 index 22c0403..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._custom-select.js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._jquery.dataTables.min.js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._jquery.dataTables.min.js deleted file mode 100644 index 93d1f60..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._jquery.dataTables.min.js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-admin.js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-admin.js deleted file mode 100644 index 1f6e29a..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-admin.js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-admin.min.js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-admin.min.js deleted file mode 100644 index 08e24b1..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-admin.min.js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-bookings.js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-bookings.js deleted file mode 100644 index a6bcc9d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-bookings.js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-bookings.min.js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-bookings.min.js deleted file mode 100644 index 17e3715..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-bookings.min.js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-forms.js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-forms.js deleted file mode 100644 index 7cf4529..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-forms.js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-forms.min.js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-forms.min.js deleted file mode 100644 index 1cda5f6..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs-forms.min.js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs.js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs.js deleted file mode 100644 index 63c6b40..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs.js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs.min.js b/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs.min.js deleted file mode 100644 index 9db4772..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/js/._wpbs.min.js and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/languages/._wpbs-en_EN.mo b/plugins/wp-booking-system/__MACOSX/wp-booking-system/languages/._wpbs-en_EN.mo deleted file mode 100644 index 23b368b..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/languages/._wpbs-en_EN.mo and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/languages/._wpbs-en_EN.po b/plugins/wp-booking-system/__MACOSX/wp-booking-system/languages/._wpbs-en_EN.po deleted file mode 100644 index 1573a74..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/languages/._wpbs-en_EN.po and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._calendar b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._calendar deleted file mode 100644 index e9552bc..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._calendar and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._default-legend b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._default-legend deleted file mode 100644 index 6b958ac..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._default-legend and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._export b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._export deleted file mode 100644 index 196e2c6..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._export and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._form b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._form deleted file mode 100644 index 41d4d06..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._form and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._ical b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._ical deleted file mode 100644 index 2c6c7bf..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._ical and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._settings b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._settings deleted file mode 100644 index 41d8ed1..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/._settings and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._calendars.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._calendars.php deleted file mode 100644 index fe180b9..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._calendars.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._edit-calendar.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._edit-calendar.php deleted file mode 100644 index d1e39b2..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._edit-calendar.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._edit-legend-item.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._edit-legend-item.php deleted file mode 100644 index 9374dc5..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._edit-legend-item.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._edit-legend.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._edit-legend.php deleted file mode 100644 index cd687c4..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._edit-legend.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._export-calendar.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._export-calendar.php deleted file mode 100644 index aa84c07..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/calendar/._export-calendar.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/default-legend/._edit-legend-item.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/default-legend/._edit-legend-item.php deleted file mode 100644 index b389eb8..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/default-legend/._edit-legend-item.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/default-legend/._edit-legend.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/default-legend/._edit-legend.php deleted file mode 100644 index 9c9cf82..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/default-legend/._edit-legend.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/export/._export.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/export/._export.php deleted file mode 100644 index 96c93d5..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/export/._export.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/export/._import.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/export/._import.php deleted file mode 100644 index 4bd430e..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/export/._import.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/export/._progress.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/export/._progress.php deleted file mode 100644 index 23510ee..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/export/._progress.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/form/._edit-form.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/form/._edit-form.php deleted file mode 100644 index 1bdeb5d..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/form/._edit-form.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/form/._forms.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/form/._forms.php deleted file mode 100644 index 151b8c1..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/form/._forms.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/ical/._ical.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/ical/._ical.php deleted file mode 100644 index 025fc22..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/ical/._ical.php and /dev/null differ diff --git a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/settings/._settings.php b/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/settings/._settings.php deleted file mode 100644 index 438c1f0..0000000 Binary files a/plugins/wp-booking-system/__MACOSX/wp-booking-system/views/settings/._settings.php and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/ajax/ajax.php b/plugins/wp-booking-system/wp-booking-system/controllers/ajax/ajax.php deleted file mode 100755 index 6806bcd..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/ajax/ajax.php +++ /dev/null @@ -1,534 +0,0 @@ -update( - $wpdb->prefix.'bs_calendars', - array( - 'calendarTitle' => $data['title'], - 'modifiedDate' => time() - ), - array( - 'calendarID' => $data['id'] - ) - ); - - if( json_decode( stripslashes( $data['data'] ) ) ) - { - $wpdb->update( - $wpdb->prefix.'bs_calendars', - array( - 'calendarData' => $data['data'], - ), - array( - 'calendarID' => $data['id'] - ) - ); - } - - if( current_user_can( 'manage_options' ) ) - { - $wpdb->update( - $wpdb->base_prefix.'bs_calendars', - array( - 'calendarUsers' => json_encode( $data['users'] ) - ), - array( - 'calendarID' => $data['id'] - ) - ); - } - - // wp_redirect(admin_url('admin.php?page=wp-booking-system&do=edit-calendar&id='.$data['id'].'&save=ok' . $goto)); - echo json_encode(array('result'=>true, 'class'=>'success', 'msg' => 'Calendar updated.')); - } - else - { - - if ( empty( $data['title'] ) ) - { - echo json_encode( - array( - 'result'=>true, - 'class'=>'error', - 'msg' => 'Please enter a title' - ) - ); - die; - } - - $random_string = wpbs_generateRandomString(32); - - $wpdb->insert( - $wpdb->prefix.'bs_calendars', - array( - 'calendarTitle' => $data['title'], - 'modifiedDate' => time(), - 'createdDate' => time(), - 'calendarLegend' => wpbs_defaultCalendarLegend(), - 'calendarHash' => $random_string - ) - ); - - if( json_decode( stripslashes( $data['data'] ) ) ) - { - $wpdb->update( - $wpdb->prefix.'bs_calendars', - array( - 'calendarData' => $data['data'] - ), - array( - 'calendarID' => $wpdb->insert_id - ) - ); - } - - if( current_user_can( 'manage_options' ) ) - { - $wpdb->update( - $wpdb->base_prefix.'bs_calendars', - array( - 'calendarUsers' => json_encode( $data['users'] ) - ), - array( - 'calendarID' => $wpdb->insert_id - ) - ); - } - - - // wp_redirect(admin_url('admin.php?page=wp-booking-system&do=edit-calendar&id='.$wpdb->insert_id.'&save=ok')); - echo json_encode( - array( - 'result'=>true, - 'class'=>'success', - 'url'=> admin_url('admin.php?page=wp-booking-system&do=edit-calendar&id='.$wpdb->insert_id.'&save=ok'), - 'msg' => 'Creating calendar...' - ) - ); - } - die(); - break; - case 'wpbs_bookingAction': - global $wpdb; - $response = array(); - if( !empty($data['bookingId']) ) - { - $goto = ''; - - if( !empty( $data['bookingAction'] ) && !empty( $data['bookingId'] ) ) - { - if ( $data['bookingAction'] == 'accept' ) - { - $wpdb->update( - $wpdb->prefix.'bs_bookings', - array( - 'bookingStatus' => 'accepted' - ), - array( - 'bookingID' => $data['bookingId'] - ) - ); - - $response = array( - 'status' => true, - 'id' => $data['bookingId'], - 'class' => 'success', - 'action_class' => 'wpbs-booking-move', - 'msg' => 'Booking accepted!', - 'statuses' => array( - 'pending' => '(' . ( (int)$data['statuses']['pending'] - 1) . ')', - 'accepted' => '(' . ( (int)$data['statuses']['accepted'] + 1) . ')', - 'trash' => '(' . (int)$data['statuses']['trash'] . ')' - ) - ); - } - elseif ( $data['bookingAction'] == 'delete' ) - { - $wpdb->update( - $wpdb->prefix.'bs_bookings', - array( - 'bookingStatus' => 'trash' - ), - array( - 'bookingID' => $data['bookingId'] - ) - ); - - $fromTab = $data['from']; - - $statuses = array(); - - switch ( $fromTab ) - { - case 'pending': - $statuses = array( - 'pending' => '(' . ( (int)$data['statuses']['pending'] - 1 ) . ')', - 'accepted' => '(' . (int)$data['statuses']['accepted'] . ')', - 'trash' => '(' . ( (int)$data['statuses']['trash'] + 1) . ')' - ); - break; - case 'accepted': - $statuses = array( - 'pending' => '(' . (int)$data['statuses']['pending'] . ')', - 'accepted' => '(' . ( (int)$data['statuses']['accepted'] - 1 ) . ')', - 'trash' => '(' . ( (int)$data['statuses']['trash'] + 1) . ')' - ); - break; - } - - $response = array( - 'status' => true, - 'id' => $data['bookingId'], - 'class' => 'success', - 'action_class' => 'wpbs-booking-delete', - 'msg' => 'Booking deleted!', - 'statuses' => $statuses - ); - } - elseif ( $data['bookingAction'] == 'edit' ) - { - $wpdb->update( - $wpdb->prefix.'bs_bookings', - array( - 'bookingStatus' => 'accepted' - ), - array( - 'bookingID' => $data['bookingId'] - ) - ); - - $response = array( - 'status' => true, - 'id' => $data['bookingId'], - 'class' => 'success', - 'action_class' => 'wpbs-booking-move', - 'msg' => 'Booking accepted!', - 'statuses' => array( - 'pending' => '(' . (int)$data['statuses']['pending'] . ')', - 'accepted' => '(' . (int)$data['statuses']['accepted'] . ')', - 'trash' => '(' . (int)$data['statuses']['trash'] . ')' - ) - ); - } - - if( !empty( $data['send_confirmation'] ) && $data['send_confirmation'] == '1' ) - { - $sql = 'SELECT * FROM ' . $wpdb->prefix . 'bs_bookings WHERE bookingID = '. $data['bookingId'] .''; - $booking = $wpdb->get_row( $sql, ARRAY_A ); - $bookingData = json_decode($booking['bookingData'],true); - - $sql = 'SELECT formData,formOptions FROM ' . $wpdb->prefix . 'bs_forms WHERE formID = '. $booking['formID'] .''; - $form = $wpdb->get_row( $sql, ARRAY_A ); - $formData = json_decode($form['formData'],true); - - - if( !empty($formData) ) - { - foreach ( $formData as $field ) - { - if( $field['fieldType'] == 'email' && !isset( $autoReplyEmailField ) ) - { - $autoReplyEmailField = $field['fieldName']; - break; - } - } - } - - $sendMessageTo = $bookingData[$autoReplyEmailField]; - - $wpbsOptions = json_decode(get_option('wpbs-options'),true); - $formOptions = json_decode($form['formOptions'],true); - - $headers = 'MIME-Version: 1.0' . "\r\n"; - $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n"; - $headers .= "X-Priority: 1\r\n"; - - if( !empty( $formOptions['replyFromEmail'] ) ) - { - $headers .= 'From: '. stripslashes(html_entity_decode($formOptions['replyFromName'])) . ' <' . stripslashes(html_entity_decode($formOptions['replyFromEmail'])) . '>' . "\r\n"; - $headers .= "Reply-To: ". stripslashes(html_entity_decode($formOptions['replyFromName'])) . ' <' . stripslashes(html_entity_decode($formOptions['replyFromEmail'])) . '>' . "\r\n"; - $headers .= "X-Mailer: PHP/" . phpversion(); - } - else - { - $headers .= 'From: '.get_option('blogname').' <'.get_option('admin_email').'>' . "\r\n"; - $headers .= "Reply-To: ".get_option('blogname').' <'.get_option('admin_email').'>' . "\r\n"; - $headers .= "X-Mailer: PHP/" . phpversion(); - } - - $wpbsOptions = json_decode( get_option( 'wpbs-options' ), true ); - - /*========================================= - = Labels Translated = - =========================================*/ - - $labelBookingId = (!empty($wpbsOptions['translationBookingId'][$bookingData['submittedLanguage']])) - ? $wpbsOptions['translationBookingId'][$bookingData['submittedLanguage']] - : 'Booking ID'; - $labelCheckIn = (!empty($wpbsOptions['translationCheckIn'][$bookingData['submittedLanguage']])) - ? $wpbsOptions['translationCheckIn'][$bookingData['submittedLanguage']] - : 'Check-In'; - $labelCheckOut = (!empty($wpbsOptions['translationCheckOut'][$bookingData['submittedLanguage']])) - ? $wpbsOptions['translationCheckOut'][$bookingData['submittedLanguage']] - : 'Check-Out'; - $labelBookingDetails = (!empty($wpbsOptions['translationYourBookingDetails'][$bookingData['submittedLanguage']])) - ? $wpbsOptions['translationYourBookingDetails'][$bookingData['submittedLanguage']] - : 'Your Booking Details'; - - /*===== End of Labels Translated ======*/ - - - - $subject = (!empty($wpbsOptions['translationBookingStatusUpdated'][$bookingData['submittedLanguage']])) - ? $wpbsOptions['translationBookingStatusUpdated'][$bookingData['submittedLanguage']] - : __('Booking status updated','wpbs'); - - $message = '

    ' . nl2br($data['confirmation_message']) . '

    '; - - $message .= $labelBookingDetails; - $message .= '

    '.$labelBookingId.' ' . $booking['bookingID'] . '

    '; - - $message .= ''.$labelCheckIn.' ' . wpbs_timeFormat($booking['startDate']) . '
    '; - $message .= ''.$labelCheckOut.' ' . wpbs_timeFormat($booking['endDate']) . '

    '; - - - // Translate Form Fields for Confirmation Email - if( !empty( $formData ) ) - { - foreach( $formData as $field ) - { - $translatedField = ( !empty($field['fieldLanguages'][$bookingData['submittedLanguage'] ] ) ) - ? $field['fieldLanguages'][$bookingData['submittedLanguage']] - : $field['fieldName']; - @$translatedBookingData[ $translatedField ] = $bookingData[ $field['fieldName'] ]; - } - } - - // Altering message/appending to the message - if(!empty($translatedBookingData)) - { - foreach($translatedBookingData as $formField => $formValue) - { - if(!is_array($formValue)) - $message .= ''.wpbs_replaceCustom(($formField)).': '.wpbs_replaceCustom(($formValue)).'
    '; - else - $message .= ''.wpbs_replaceCustom(($formField)).': '.wpbs_replaceCustom((implode(', ',$formValue))).'
    '; - } - } - - // Sending the Confirmation Email - wp_mail($sendMessageTo, $subject, $message, $headers); - - $response['msg'] .= ' Confirmation email sent!'; - - } - - - - } - } - else - { - $response = array( - 'status' => false - ); - } - - // outputing response - echo json_encode( $response ); - - die(); - break; - - case 'wpbs_saveForm': - global $wpdb, $enc; - - // $enc = new Encoding(); - - $formVars = $data['data']; - $formData = array(); - - // foreach ( json_decode($formVars['fields'], true) as $field ) - // { - // // Field Languages - // $fieldLanguages = $field['fieldLanguages']; - // $languages = array(); - // // $enc = mb_detect_encoding($field['fieldName']); - - // $field['fieldName'] = $field['fieldName']; - - // // foreach ( $fieldLanguages as $language ) { $languages[$language['lang']] = $language['value']; } - - // $field['fieldLanguages'] = $languages; - - // // Field Options Languages - // $fieldOptionsLanguages = $field['fieldOptionsLanguages']; - // $languages = array(); - // // foreach ( $fieldOptionsLanguages as $fieldLanguage ) { $languages[$fieldLanguage['lang']] = $fieldLanguage['value']; } - - // $field['fieldOptionsLanguages'] = $languages; - - // // Set the new field object - // $formData[] = $field; - // } - - $formData = $formVars['fields']; - - $redirect = false; - - if ( !empty($formVars['id']) ) - { - $wpdb->update( - $wpdb->prefix.'bs_forms', - array( - 'formTitle' => stripslashes( esc_html($formVars['title']) ), - 'formData' => stripslashes( $formData ) - ), - array('formID' => intval($formVars['id']) ) - ); - $formID = $formVars['id']; - echo json_encode(array('result'=>true, 'class'=>'success', 'msg' => 'Form updated.')); - } - // If no formID is present it is a new form so save it! - else - { - if ( empty( $formVars['title'] ) ) - { - echo json_encode( - array( - 'result'=>true, - 'class'=>'error', - 'msg' => 'Please enter a title' - ) - ); - die; - } - - $wpdb->insert( - $wpdb->prefix.'bs_forms', - array( - 'formTitle' => stripslashes( esc_html($formVars['title']) ), - 'formData' => stripslashes( $formData ) - ) - ); - $formID = $wpdb->insert_id; - - $redirect = true; - echo json_encode( - array( - 'result'=>true, - 'class'=>'success', - 'url'=> admin_url('admin.php?page=wp-booking-system-forms&do=edit-form&id='.$formID.'&save=ok'), - 'msg' => 'Creating form...' - ) - ); - } - - - $formSettings = wpbs_prettifyAjaxPayload($formVars['formSettings']); - $autoReply = wpbs_prettifyAjaxPayload($formVars['autoreply']); - $translations = wpbs_prettifyAjaxPayload($formVars['translations']); - $emailSettings = wpbs_prettifyAjaxPayload($formVars['emailSettings']); - - - $emails = ''; - if(!empty($formSettings['receive_emails']) && $formSettings['receive_emails'] == 'yes' && !empty($formSettings['sendto'])){ - $emails = explode(",",$formSettings['sendto']); - foreach($emails as $email){ - if(is_email($email)) - $emailList[] = sanitize_email($email); - } - $emails = implode(",",$emailList); - } - - $formOptions['sendTo'] = $emails; - - $formOptions['trackingScript'] = $formSettings['tracking_script']; - - $formOptions['enableAutoReply'] = $autoReply['enable_autoreply']; - - - - - $formOptions['submitLabel']['default'] = esc_html($translations['submitLabel']); - $formOptions['thankYou']['default'] = esc_html($translations['thankYou']); - $formOptions['selectDate']['default'] = esc_html($translations['selectDate']); - /* @since 3.7.2 */ - $formOptions['emailSubject']['default'] = esc_html($translations['emailSubject']); - $formOptions['emailHeading']['default'] = esc_html($translations['emailHeading']); - - $formOptions['replyFromName'] = esc_html($emailSettings['reply_from_name']); - $formOptions['replyFromEmail'] = esc_html($emailSettings['reply_from_email']); - - if($autoReply['enable_autoreply'] == 'yes') - { - $formOptions['autoReplyEmailBody']['default'] = esc_html($autoReply['autoreply_email_body']); - $formOptions['autoReplyEmailSubject']['default'] = esc_html($autoReply['autoreply_email_subject']); - $formOptions['autoReplyIncludeDetails'] = $autoReply['autoreply_include_details']; - } - $activeLanguages = json_decode(get_option('wpbs-languages'),true); - foreach ($activeLanguages as $code => $language) - { - $formOptions['submitLabel'][$code] = esc_html($translations['submitLabel_' . $code]); - $formOptions['thankYou'][$code] = esc_html($translations['thankYou_' . $code]); - $formOptions['selectDate'][$code] = esc_html($translations['selectDate_' . $code]); - - /* @since 3.7.2 */ - $formOptions['emailSubject'][$code] = esc_html($translations['emailSubject_' . $code]); - $formOptions['emailHeading'][$code] = esc_html($translations['emailHeading_' . $code]); - /* @since 4.0 */ - $formOptions['translationPoweringBy'][$code] = esc_html($translations['translationPoweringBy_' . $code]); - $formOptions['translationWebsite'][$code] = esc_html($translations['translationWebsite_' . $code]); - $formOptions['translationCalendar'][$code] = esc_html($translations['translationCalendar_' . $code]); - - if($autoReply['enable_autoreply'] == 'yes') - { - $formOptions['autoReplyEmailBody'][$code] = esc_html($autoReply['autoreply_email_body_' . $code]); - $formOptions['autoReplyEmailSubject'][$code] = esc_html($autoReply['autoreply_email_subject_' . $code]); - } - } - - - - - - if(empty($formOptions['submitLabel']['default'])) $formOptions['submitLabel']['default'] = "Book"; - if(empty($formOptions['thankYou']['default'])) $formOptions['thankYou']['default'] = "The form was successfully submitted."; - if(empty($formOptions['selectDate']['default'])) $formOptions['selectDate']['default'] = "Please select a date."; - /* @since 3.7.2 */ - if(empty($formOptions['emailSubject']['default'])) $formOptions['emailSubject']['default'] = "New booking"; - if(empty($formOptions['emailHeading']['default'])) $formOptions['emailHeading']['default'] = "A new booking was made via your website!"; - /* @since 4.0 */ - if(empty($formOptions['translationPoweringBy']['default'])) $formOptions['translationPoweringBy']['default'] = "Powered by WP Booking System"; - if(empty($formOptions['translationWebsite']['default'])) $formOptions['translationWebsite']['default'] = "Website"; - if(empty($formOptions['translationCalendar']['default'])) $formOptions['translationCalendar']['default'] = "Calendar"; - - if(empty($formOptions['autoReplyEmailBody']['default'])) $formOptions['autoReplyEmailBody']['default'] = "Thanks for your booking"; - if(empty($formOptions['autoReplyEmailSubject']['default'])) $formOptions['autoReplyEmailSubject']['default'] = "Your booking"; - - $wpdb->update( $wpdb->prefix.'bs_forms', array('formOptions' => json_encode($formOptions)), array('formID' => $formID) ); - die(); - break; -} -die(); \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/bookings/booking-delete.php b/plugins/wp-booking-system/wp-booking-system/controllers/bookings/booking-delete.php deleted file mode 100755 index cc6f38d..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/bookings/booking-delete.php +++ /dev/null @@ -1,17 +0,0 @@ -prefix . 'bs_bookings WHERE bookingID = '. $_GET['bookingID'] .''; -$booking = $wpdb->get_row( $sql, ARRAY_A ); -if($booking['bookingStatus'] == 'pending'){ - $wpdb->update( $wpdb->prefix.'bs_bookings', array('bookingStatus' => 'trash'), array('bookingID' => $_GET['bookingID']) ); -} elseif($booking['bookingStatus'] == 'trash') { - $wpdb->delete( $wpdb->prefix.'bs_bookings', array( 'bookingID' => $_GET['bookingID'] ) ); - $goto = '&goto=trash'; -} -wp_redirect(admin_url('admin.php?page=wp-booking-system&do=edit-calendar&id='.$_GET['calendarID'] . $goto)); - -die(); - - -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/calendar-delete.php b/plugins/wp-booking-system/wp-booking-system/controllers/calendar/calendar-delete.php deleted file mode 100755 index cbd1453..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/calendar-delete.php +++ /dev/null @@ -1,17 +0,0 @@ -prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID=%d',$calendarId); -$calendar = $wpdb->get_row( $sql, ARRAY_A ); -if($wpdb->num_rows > 0): - - $wpdb->delete( $wpdb->prefix . 'bs_calendars', array('calendarID' => $calendarId)); - $wpdb->delete( $wpdb->prefix . 'bs_bookings', array('calendarID' => $calendarId)); - -endif; - -wp_redirect(admin_url('admin.php?page=wp-booking-system')); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/calendar-save.php b/plugins/wp-booking-system/wp-booking-system/controllers/calendar/calendar-save.php deleted file mode 100755 index 7edaf97..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/calendar-save.php +++ /dev/null @@ -1,149 +0,0 @@ -update( $wpdb->prefix.'bs_calendars', array('calendarTitle' => $_POST['calendarTitle'], 'modifiedDate' => time()), array('calendarID' => $_POST['calendarID']) ); - - if(json_decode(stripslashes($_POST['wpbsCalendarData']))){ - $wpdb->update( $wpdb->prefix.'bs_calendars', array('calendarData' => stripslashes($_POST['wpbsCalendarData'])), array('calendarID' => $_POST['calendarID']) ); - } - - $goto = ''; - if(!empty($_POST['wpbs_booking_action']) && !empty($_POST['wpbs_booking_id'])){ - if($_POST['wpbs_booking_action'] == 'accept'){ - $wpdb->update( $wpdb->prefix.'bs_bookings', array('bookingStatus' => 'accepted'), array('bookingID' => $_POST['wpbs_booking_id']) ); - } elseif($_POST['wpbs_booking_action'] == 'delete'){ - $wpdb->update( $wpdb->prefix.'bs_bookings', array('bookingStatus' => 'trash'), array('bookingID' => $_POST['wpbs_booking_id']) ); - $goto = '&goto=accepted'; - } - - if(!empty($_POST['wpbs_send_confirmation_message']) && $_POST['wpbs_send_confirmation_message'] == '1'){ - $sql = 'SELECT * FROM ' . $wpdb->prefix . 'bs_bookings WHERE bookingID = '. $_POST['wpbs_booking_id'] .''; - $booking = $wpdb->get_row( $sql, ARRAY_A ); - $bookingData = json_decode($booking['bookingData'],true); - - $sql = 'SELECT formData,formOptions FROM ' . $wpdb->prefix . 'bs_forms WHERE formID = '. $booking['formID'] .''; - $form = $wpdb->get_row( $sql, ARRAY_A ); - $formData = json_decode($form['formData'],true); - - - if(!empty($formData)) foreach($formData as $field): - if($field['fieldType'] == 'email' && !isset($autoReplyEmailField)) { - $autoReplyEmailField = $field['fieldName']; break; - } - endforeach; - - - - $sendMessageTo = $bookingData[$autoReplyEmailField]; - - $wpbsOptions = json_decode(get_option('wpbs-options'),true); - $formOptions = json_decode($form['formOptions'],true); - - $headers = 'MIME-Version: 1.0' . "\r\n"; - $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n"; - $headers .= "X-Priority: 1\r\n"; - - if(!empty($formOptions['replyFromEmail'])){ - $headers .= 'From: '. stripslashes(html_entity_decode($formOptions['replyFromName'])) . ' <' . stripslashes(html_entity_decode($formOptions['replyFromEmail'])) . '>' . "\r\n"; - $headers .= "Reply-To: ". stripslashes(html_entity_decode($formOptions['replyFromName'])) . ' <' . stripslashes(html_entity_decode($formOptions['replyFromEmail'])) . '>' . "\r\n"; - $headers .= "X-Mailer: PHP/" . phpversion(); - } else { - $headers .= 'From: '.get_option('blogname').' <'.get_option('admin_email').'>' . "\r\n"; - $headers .= "Reply-To: ".get_option('blogname').' <'.get_option('admin_email').'>' . "\r\n"; - $headers .= "X-Mailer: PHP/" . phpversion(); - } - - $wpbsOptions = json_decode(get_option('wpbs-options'),true); - - /*========================================= - = Labels Translated = - =========================================*/ - - $labelBookingId = (!empty($wpbsOptions['translationBookingId'][$bookingData['submittedLanguage']])) - ? $wpbsOptions['translationBookingId'][$bookingData['submittedLanguage']] - : 'Booking ID'; - $labelCheckIn = (!empty($wpbsOptions['translationCheckIn'][$bookingData['submittedLanguage']])) - ? $wpbsOptions['translationCheckIn'][$bookingData['submittedLanguage']] - : 'Check-In'; - $labelCheckOut = (!empty($wpbsOptions['translationCheckOut'][$bookingData['submittedLanguage']])) - ? $wpbsOptions['translationCheckOut'][$bookingData['submittedLanguage']] - : 'Check-Out'; - $labelBookingDetails = (!empty($wpbsOptions['translationYourBookingDetails'][$bookingData['submittedLanguage']])) - ? $wpbsOptions['translationYourBookingDetails'][$bookingData['submittedLanguage']] - : 'Your Booking Details'; - - /*===== End of Labels Translated ======*/ - - - - $subject = (!empty($wpbsOptions['translationBookingStatusUpdated'][$bookingData['submittedLanguage']])) ? $wpbsOptions['translationBookingStatusUpdated'][$bookingData['submittedLanguage']] : __('Booking status updated','wpbs'); - $message = '

    ' . nl2br($_POST['wpbs_confirmation_message']) . '

    '; - - - $message .= $labelBookingDetails; - $message .= '

    '.$labelBookingId.' ' . $booking['bookingID'] . '

    '; - - $message .= ''.$labelCheckIn.' ' . wpbs_timeFormat($booking['startDate']) . '
    '; - $message .= ''.$labelCheckOut.' ' . wpbs_timeFormat($booking['endDate']) . '

    '; - - - // Translate Form Fields for Confirmation Email - if( !empty( $formData ) ) - { - foreach( $formData as $field ) - { - $translatedField = ( !empty($field['fieldLanguages'][$bookingData['submittedLanguage'] ] ) ) - ? $field['fieldLanguages'][$bookingData['submittedLanguage']] - : $field['fieldName']; - @$translatedBookingData[ $translatedField ] = $bookingData[ $field['fieldName'] ]; - } - } - - // Altering message/appending to the message - if(!empty($translatedBookingData)) - { - foreach($translatedBookingData as $formField => $formValue) - { - if(!is_array($formValue)) - $message .= ''.wpbs_replaceCustom(($formField)).': '.wpbs_replaceCustom(($formValue)).'
    '; - else - $message .= ''.wpbs_replaceCustom(($formField)).': '.wpbs_replaceCustom((implode(', ',$formValue))).'
    '; - } - } - - // Sending the Confirmation Email - wp_mail($sendMessageTo, $subject, $message, $headers); - } - - } - - if( current_user_can( 'manage_options' ) ){ - $wpdb->update( $wpdb->base_prefix.'bs_calendars', array('calendarUsers' => json_encode($_POST['wpbs-calendar-users']) ), array('calendarID' => $_POST['calendarID']) ); - } - - wp_redirect(admin_url('admin.php?page=wp-booking-system&do=edit-calendar&id='.$_POST['calendarID'].'&save=ok' . $goto)); -} else { - - $random_string = wpbs_generateRandomString(32); - - $wpdb->insert( $wpdb->prefix.'bs_calendars', array('calendarTitle' => $_POST['calendarTitle'], 'modifiedDate' => time(), 'createdDate' => time(), 'calendarLegend' => wpbs_defaultCalendarLegend(), 'calendarHash' => $random_string)); - - if(json_decode(stripslashes($_POST['wpbsCalendarData']))){ - $wpdb->update( $wpdb->prefix.'bs_calendars', array('calendarData' => stripslashes($_POST['wpbsCalendarData'])), array('calendarID' => $wpdb->insert_id) ); - } - - if( current_user_can( 'manage_options' ) ) - { - $wpdb->update( $wpdb->base_prefix.'bs_calendars', array('calendarUsers' => json_encode($_POST['wpbs-calendar-users']) ), array('calendarID' => $wpdb->insert_id) ); - } - - - wp_redirect(admin_url('admin.php?page=wp-booking-system&do=edit-calendar&id='.$wpdb->insert_id.'&save=ok')); -} -die(); - - -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/download-calendar.php b/plugins/wp-booking-system/wp-booking-system/controllers/calendar/download-calendar.php deleted file mode 100755 index 6495981..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/download-calendar.php +++ /dev/null @@ -1,154 +0,0 @@ -= 0)) -{ - wp_redirect(admin_url('admin.php?page=wp-booking-system&do=export-calendar&id=' . $calendarId . '&result=' . urlencode('PHP version not met') )); -} - - -if ( !isset($_GET['id']) ) - wp_redirect(admin_url('admin.php?page=wp-booking-system&do=export-calendar&id=' . $calendarId . '&result=' . urlencode('Unsuccesfull request!') )); - - -if ( isset($_GET['download']) ) -{ - global $wpdb; - - $calendarId = $_GET['id']; - - - function getForms( $calendarId ) - { - $getFormsQuery = $wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_bookings', null); - $results['calendars'] = $wpdb->get_results( $calendarsQuery ); - } - - - $calendarsQuery = $wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars', null); - $results['calendars'] = $wpdb->get_results( $calendarsQuery ); - - $formsQuery = $wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_forms', null); - $results['forms'] = $wpdb->get_results( $formsQuery ); - - $bookingsQuery = $wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_bookings', null); - $results['bookings'] = $wpdb->get_results( $bookingsQuery ); - - // echo'
    ';var_dump(json_encode($results));echo '
    '; - // die(); - // $calendarData = json_decode( $results['calendarData'], true ); - $calendarLegend = json_decode( $results['calendarLegend'], true ); - - // echo'
    ';var_dump($calendarData);echo'
    '; - - - // $csvArray = array(); - // $csvArray[] = array( 'year', 'month', 'day', 'note', 'availability', 'bookable', 'color', 'splitColor', 'auto-pending', 'sync' ); - - // $csvLine = array(); - - // foreach($calendarData as $year => $months) - // { - // $csvLine['year'] = $year; - - // if($months) - // { - // // Loop trought months - // foreach($months as $month => $days) - // { - // $csvLine['month'] = $month; - // $availabilityMonths = $availabilityMonths + count( $month ); - - // if($days) - // { - // // Loop trought days - // foreach($days as $day => $status) - // { - // if (is_int($day)) - // { - // $csvLine['day'] = $day; - // if ( isset( $calendarData[$year][$month]['description-' . $day] ) ) - // { - // $csvLine['note'] = $calendarData[$year][$month]['description-' . $day]; - // } - // $csvLine['availability'] = $calendarLegend[$status]['name']['default']; - // $csvLine['bookable'] = $calendarLegend[$status]['bookable']; - // $csvLine['color'] = $calendarLegend[$status]['color']; - // $csvLine['splitColor'] = $calendarLegend[$status]['splitColor']; - // $csvLine['auto-pending'] = $calendarLegend[$status]['auto-pending']; - // $csvLine['sync'] = $calendarLegend[$status]['sync']; - // } - - // $csvArray[] = $csvLine; - // } - // } - // } - // } - // } - - - // $sql = $wpdb->prepare('SELECT ' . $wpdb->prefix . 'bs_bookings.* FROM ' . $wpdb->prefix . 'bs_bookings WHERE ' . $wpdb->prefix . 'bs_bookings.calendarID=%d', $calendarId); - - // $bookings = $wpdb->get_results( $sql, ARRAY_A ); - - // $bookingsArray = array(); - // $bookingsArray[] = array('bookingID', 'calendarID', 'formID', 'startDate', 'endDate', 'createdDate', 'bookingStatus', 'bookingRead'); - - - // $bookingLine = array(); - - foreach ( $bookings as $booking ) - { - $bookingLine['bookingID'] = $booking['bookingID']; - $bookingLine['calendarID'] = $booking['calendarID']; - $bookingLine['formID'] = $booking['formID']; - $bookingLine['startDate'] = date( "Y-m-d", $booking['startDate'] ); - $bookingLine['endDate'] = date( "Y-m-d", $booking['endDate'] ); - $bookingLine['createdDate'] = date( "Y-m-d", $booking['createdDate'] ); - $bookingLine['bookingStatus'] = $booking['bookingStatus']; - $bookingLine['bookingRead'] = $booking['bookingRead']; - - $bookingsArray[] = $bookingLine; - } - - - - // Generate calendars.json - - file_put_contents( 'calendars.json', json_encode( $results ) ); - - $f = fopen('bookings.csv', 'w'); - - foreach ($bookingsArray as $line) - { - fputcsv($f, $line, ','); - } - - $year = date('Y'); - $month = date('m'); - $day = date('d'); - - $files = array('calendars.json', 'bookings.csv'); - $zipname = 'wpbs-export-'.$year.'-'.$month.'-'.$day.'.zip'; - $zip = new ZipArchive; - - $zip->open( $zipname, ZipArchive::OVERWRITE ); - - foreach ( $files as $file ) - { - $zip->addFile($file); - } - $zip->close(); - - - header('Content-Type: application/zip'); - header('Content-Disposition: attachment; filename="'.$zipname.'";'); - header('Content-Length: ' . filesize($zipname)); - readfile($zipname); -} - -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/download-export.php b/plugins/wp-booking-system/wp-booking-system/controllers/calendar/download-export.php deleted file mode 100755 index 41497d2..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/download-export.php +++ /dev/null @@ -1,58 +0,0 @@ -= 0)) - { - wp_redirect(admin_url('admin.php?page=wp-booking-system-export&result=' . urlencode('PHP version not met') )); - } - - - if ( isset($_GET['download']) ) - { - global $wpdb; - - $get_calendars = $wpdb->prepare('SELECT ' . $wpdb->prefix . 'bs_calendars.* FROM ' . $wpdb->prefix . 'bs_calendars;', null); - $get_bookings = $wpdb->prepare('SELECT ' . $wpdb->prefix . 'bs_bookings.* FROM ' . $wpdb->prefix . 'bs_bookings;', null); - $get_forms = $wpdb->prepare('SELECT ' . $wpdb->prefix . 'bs_forms.* FROM ' . $wpdb->prefix . 'bs_forms;', null); - - $export = array( - 'calendars' => $wpdb->get_results( $get_calendars, ARRAY_A ), - 'bookings' => $wpdb->get_results( $get_bookings, ARRAY_A ), - 'forms' => $wpdb->get_results( $get_forms ), - 'options' => array( - 'wpbs_db_version' => get_option('wpbs_db_version'), - 'wpbs-languages' => get_option('wpbs-languages'), - 'wpbs-options' => get_option('wpbs-options'), - 'wpbs-default-legend' => get_option('wpbs-default-legend'), - ) - ); - - $year = date('Y'); - $month = date('m'); - $day = date('d'); - - $filename = 'wpbs-export-'.$year.'-'.$month.'-'.$day.'.json'; - - - if ( is_writable( plugin_dir_path( __FILE__ ) ) ) - { - file_put_contents( $filename, json_encode( $export ) ); - } - else - { - wp_redirect(admin_url('admin.php?page=wp-booking-system-export&code=401&result=' . urlencode('Could not generate export file reason: Permission Denied!') )); - die(); - } - - - header('Content-Type: application/json'); - header('Content-Disposition: attachment; filename="'.$filename.'";'); - header('Content-Length: ' . filesize($filename)); - readfile($filename); - } - - die(); - -} -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-delete.php b/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-delete.php deleted file mode 100755 index 4fe23c4..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-delete.php +++ /dev/null @@ -1,34 +0,0 @@ -prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID=%d',$calendarId); -$calendar = $wpdb->get_row( $sql, ARRAY_A ); -if($wpdb->num_rows > 0): - $calendarLegend = json_decode($calendar['calendarLegend'],true); - $calendarData = json_decode($calendar['calendarData'],true); - - unset($calendarLegend[$legendId]); - - - - if(!empty($calendarData)) foreach($calendarData as $yearKey => $calendarYear){ - foreach($calendarYear as $monthKey => $calendarMonth){ - foreach($calendarMonth as $dayKey => $calendarDay){ - if($calendarDay == $legendId) - unset($calendarData[$yearKey][$monthKey][$dayKey]); - - } - } - } - $wpdb->update( $wpdb->prefix.'bs_calendars', array('calendarData' => json_encode($calendarData), 'calendarLegend' => json_encode($calendarLegend)), array('calendarID' => $calendarId)); - -endif; - -wp_redirect(admin_url('admin.php?page=wp-booking-system&do=edit-legend&id='.$_GET['id'])); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-save.php b/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-save.php deleted file mode 100755 index 70da54a..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-save.php +++ /dev/null @@ -1,54 +0,0 @@ -prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID=%d',$calendarId); -$calendar = $wpdb->get_row( $sql, ARRAY_A ); -if($wpdb->num_rows > 0): - $calendarLegend = json_decode($calendar['calendarLegend'],true); - - - if(empty($_POST['legendID'])) - { - $legendId = max(array_keys($calendarLegend)); - $i = 1; while(!empty($calendarLegend[$i])){ - $i++; - } - $legendId = $i; - } - else - { - $legendId = $_POST['legendID']; - } - - $availableLanguages = json_decode(get_option('wpbs-languages'),true); - foreach($availableLanguages as $languageCode => $languageName): - $calendarLegend[$legendId]['name'][$languageCode] = $_POST[$languageCode]; - endforeach; - - $calendarLegend[$legendId]['name']['default'] = $_POST['legendTitle']; - $calendarLegend[$legendId]['color'] = $_POST['color']; - - //Split Color - $splitColor = false; - if(!empty($_POST['activeSplitColor']) && $_POST['activeSplitColor'] == 'on'){ - $splitColor = $_POST['splitColor']; - } - $calendarLegend[$legendId]['splitColor'] = $splitColor; - - - if(!empty($_POST['bookable']) && $_POST['bookable'] == 'on'){ - $calendarLegend[$legendId]['bookable'] = 'yes'; - } else { - $calendarLegend[$legendId]['bookable'] = false; - } - - - $wpdb->update( $wpdb->prefix.'bs_calendars', array('calendarLegend' => json_encode($calendarLegend, JSON_UNESCAPED_UNICODE)), array('calendarID' => $calendarId)); -endif; - -wp_redirect(admin_url('admin.php?page=wp-booking-system&do=edit-legend&id='.$calendarId)); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-auto-pending.php b/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-auto-pending.php deleted file mode 100755 index 7cfe50f..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-auto-pending.php +++ /dev/null @@ -1,28 +0,0 @@ -prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID=%d',$calendarId); -$calendar = $wpdb->get_row( $sql, ARRAY_A ); -if($wpdb->num_rows > 0): - $calendarLegend = json_decode($calendar['calendarLegend'],true); - - foreach($calendarLegend as $ID => $value){ - if($ID == $legendId){ - $calendarLegend[$ID]['auto-pending'] = 'yes'; - } else { - $calendarLegend[$ID]['auto-pending'] = 'no'; - } - } - - - $wpdb->update( $wpdb->prefix.'bs_calendars', array('calendarLegend' => json_encode($calendarLegend)), array('calendarID' => $calendarId)); - -endif; - -wp_redirect(admin_url('admin.php?page=wp-booking-system&do=edit-legend&id='.$_GET['id'])); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-default.php b/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-default.php deleted file mode 100755 index afefd5b..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-default.php +++ /dev/null @@ -1,42 +0,0 @@ -prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID=%d',$calendarId); -$calendar = $wpdb->get_row( $sql, ARRAY_A ); -if($wpdb->num_rows > 0): - $calendarLegend = json_decode($calendar['calendarLegend'],true); - $calendarData = json_decode($calendar['calendarData'],true); - - foreach($calendarLegend as $ID => $value){ - if($ID == 'default'){ - $newCalendarLegend[$legendId] = $value; - } elseif ($ID == $legendId) { - $newCalendarLegend['default'] = $value; - } else { - $newCalendarLegend[$ID] = $value; - } - } - $calendarLegend = $newCalendarLegend; - - foreach($calendarData as $yearKey => $calendarYear){ - foreach($calendarYear as $monthKey => $calendarMonth){ - foreach($calendarMonth as $dayKey => $calendarDay){ - if($calendarDay == $legendId) - $calendarData[$yearKey][$monthKey][$dayKey] = 'default'; - elseif($calendarDay == 'default') - $calendarData[$yearKey][$monthKey][$dayKey] = $legendId; - } - } - } - - $wpdb->update( $wpdb->prefix.'bs_calendars', array('calendarData' => json_encode($calendarData), 'calendarLegend' => json_encode($calendarLegend)), array('calendarID' => $calendarId)); - -endif; - -wp_redirect(admin_url('admin.php?page=wp-booking-system&do=edit-legend&id='.$_GET['id'])); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-order.php b/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-order.php deleted file mode 100755 index 8acef0d..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-order.php +++ /dev/null @@ -1,54 +0,0 @@ - $value) { - if ($key == $key1) { - $newArray[$key2] = $array[$key2]; - } elseif ($key == $key2) { - $newArray[$key1] = $array[$key1]; - } else { - $newArray[$key] = $value; - } - } - return $newArray; -} - -global $wpdb; - -$calendarId = $_GET['id']; -$legendId = $_GET['legendID']; -$direction = $_GET['direction']; - -if($direction != 'up' && $direction != 'down') die(); - -$sql = $wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID=%d',$calendarId); -$calendar = $wpdb->get_row( $sql, ARRAY_A ); -if($wpdb->num_rows > 0): - $calendarLegend = json_decode($calendar['calendarLegend'],true); - //reset array just to be sure - - reset($calendarLegend); - - //set index to current key - while (key($calendarLegend) != $legendId) next($calendarLegend); - - //get prev or next position - if($direction == 'up'){ - prev($calendarLegend); - $swapKey = key($calendarLegend); - } elseif($direction == 'down') { - next($calendarLegend); - $swapKey = key($calendarLegend); - } - //check if prev or next exists - if(empty($swapKey)) die(); - - //if all good, swap them - $calendarLegend = array_swap_assoc($legendId,$swapKey,$calendarLegend); - - $wpdb->update( $wpdb->prefix.'bs_calendars', array('calendarLegend' => json_encode($calendarLegend)), array('calendarID' => $calendarId)); -endif; - -wp_redirect(admin_url('admin.php?page=wp-booking-system&do=edit-legend&id='.$_GET['id'])); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-sync.php b/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-sync.php deleted file mode 100755 index 756b4d1..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-sync.php +++ /dev/null @@ -1,25 +0,0 @@ -prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID=%d',$calendarId); -$calendar = $wpdb->get_row( $sql, ARRAY_A ); -if($wpdb->num_rows > 0): - $calendarLegend = json_decode($calendar['calendarLegend'],true); - - if($calendarLegend[$legendId]['sync'] == 'yes'){ - $calendarLegend[$legendId]['sync'] = 'no'; - } else { - $calendarLegend[$legendId]['sync'] = 'yes'; - } - - $wpdb->update( $wpdb->prefix.'bs_calendars', array('calendarLegend' => json_encode($calendarLegend)), array('calendarID' => $calendarId)); - -endif; - -wp_redirect(admin_url('admin.php?page=wp-booking-system&do=edit-legend&id='.$_GET['id'])); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-visibility.php b/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-visibility.php deleted file mode 100755 index 609c6b0..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/legend-set-visibility.php +++ /dev/null @@ -1,25 +0,0 @@ -prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID=%d',$calendarId); -$calendar = $wpdb->get_row( $sql, ARRAY_A ); -if($wpdb->num_rows > 0): - $calendarLegend = json_decode($calendar['calendarLegend'],true); - - if($calendarLegend[$legendId]['hide'] == 'hide'){ - $calendarLegend[$legendId]['hide'] = false; - } else { - $calendarLegend[$legendId]['hide'] = 'hide'; - } - - $wpdb->update( $wpdb->prefix.'bs_calendars', array('calendarLegend' => json_encode($calendarLegend)), array('calendarID' => $calendarId)); - -endif; - -wp_redirect(admin_url('admin.php?page=wp-booking-system&do=edit-legend&id='.$_GET['id'])); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/print-bookings.php b/plugins/wp-booking-system/wp-booking-system/controllers/calendar/print-bookings.php deleted file mode 100755 index 17e8e0c..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/print-bookings.php +++ /dev/null @@ -1,405 +0,0 @@ -prepare( 'SELECT ' . $wpdb->prefix . 'bs_bookings.* FROM ' . $wpdb->prefix . 'bs_bookings WHERE ' . $wpdb->prefix . 'bs_bookings.calendarID = %d AND ' . $wpdb->prefix . 'bs_bookings.bookingStatus != "trash" AND ' . $wpdb->prefix . 'bs_bookings.startDate >= ' . strtotime( date('Y-m-d') . ' 00:00:00' ) . ' ORDER BY ' . $wpdb->prefix . 'bs_bookings.startDate', $calendarId ); - $bookingsResult = $wpdb->get_results( $bookingsQuery, ARRAY_A ); - - return $bookingsResult; -} - -/** - * - * Get the Calendar Info - * - * - * @param int $calendarId - * - * @return associative array with the calendarTitle field from database - * - * @access public - * @static - * - */ - -function get_calendar_info( $calendarId ) -{ - global $wpdb; - - if ( !$calendarId ) - return false; - - $calendarInfoQuery = $wpdb->prepare( 'SELECT ' . $wpdb->prefix . 'bs_calendars.calendarTitle FROM ' . $wpdb->prefix . 'bs_calendars WHERE ' . $wpdb->prefix . 'bs_calendars.calendarID = %d', $calendarId ); - $calendarInfoResult = $wpdb->get_row( $calendarInfoQuery, ARRAY_A ); - - return $calendarInfoResult['calendarTitle']; -} - -/** - * - * GEt calendar info, wee need the title for now - * - */ - -$calendarTitle = get_calendar_info( $calendarId ); - -/** - * - * Get all the bookings attached to calendarId! - * - */ - -$bookings = get_bookings( $calendarId ); -?> - - - -
    - -

    - 0 ) - { - /** - * - * Looping trought the bookings - * - */ - - $i = 0; - $page_break = 4; - foreach ( $bookings as $booking ) - { - - $bookingData = json_decode($booking['bookingData'], true); - ?> -
    -
    -
    - Check-in: - -
    - -
    - Check-out: - -
    - -
    - Created Date: - -
    -
    - Status: - -
    -
    - Read: - -
    - -
    -
    - -
    - $value): - $count++; - ?> -
    - : - -
    - -
    - -
    - -
    -
    - -
    - Bookings
    have been made on calendar ' . $calendarTitle . '!', 'wpbs'); - } - ?> - -
    - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/reset-private-key.php b/plugins/wp-booking-system/wp-booking-system/controllers/calendar/reset-private-key.php deleted file mode 100755 index 4ab069a..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/calendar/reset-private-key.php +++ /dev/null @@ -1,14 +0,0 @@ -update( $wpdb->prefix.'bs_calendars', array('calendarHash' => $random_string), array('calendarID' => $_GET['id']) ); - - wp_redirect(admin_url('admin.php?page=wp-booking-system-ical&save=ok')); - - die(); -} - -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-delete.php b/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-delete.php deleted file mode 100755 index 81f31f8..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-delete.php +++ /dev/null @@ -1,17 +0,0 @@ - \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-save.php b/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-save.php deleted file mode 100755 index 2d10d19..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-save.php +++ /dev/null @@ -1,46 +0,0 @@ - $languageName): - $calendarLegend[$legendId]['name'][$languageCode] = $_POST[$languageCode]; -endforeach; - -$calendarLegend[$legendId]['name']['default'] = $_POST['legendTitle']; -$calendarLegend[$legendId]['color'] = $_POST['color']; - -//Split Color -$splitColor = false; -if(!empty($_POST['activeSplitColor']) && $_POST['activeSplitColor'] == 'on'){ - $splitColor = $_POST['splitColor']; -} -$calendarLegend[$legendId]['splitColor'] = $splitColor; - - -if(!empty($_POST['bookable']) && $_POST['bookable'] == 'on'){ - $calendarLegend[$legendId]['bookable'] = 'yes'; -} else { - $calendarLegend[$legendId]['bookable'] = false; -} - - -update_option( 'wpbs-default-legend', json_encode( $calendarLegend, JSON_UNESCAPED_UNICODE ) ); - - -wp_redirect(admin_url('admin.php?page=wp-booking-system-default-legend&do=edit-legend')); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-auto-pending.php b/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-auto-pending.php deleted file mode 100755 index b9d371f..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-auto-pending.php +++ /dev/null @@ -1,25 +0,0 @@ - $value){ - if($ID == $legendId){ - $calendarLegend[$ID]['auto-pending'] = 'yes'; - } else { - $calendarLegend[$ID]['auto-pending'] = 'no'; - } -} - - -update_option('wpbs-default-legend',json_encode($calendarLegend)); - - -wp_redirect(admin_url('admin.php?page=wp-booking-system-default-legend&do=edit-legend')); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-default.php b/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-default.php deleted file mode 100755 index 3ab0e43..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-default.php +++ /dev/null @@ -1,29 +0,0 @@ - $value){ - if($ID == 'default'){ - $newCalendarLegend[$legendId] = $value; - } elseif ($ID == $legendId) { - $newCalendarLegend['default'] = $value; - } else { - $newCalendarLegend[$ID] = $value; - } -} -$calendarLegend = $newCalendarLegend; - - - -update_option('wpbs-default-legend',json_encode($calendarLegend)); - - -wp_redirect(admin_url('admin.php?page=wp-booking-system-default-legend&do=edit-legend')); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-order.php b/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-order.php deleted file mode 100755 index 933c588..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-order.php +++ /dev/null @@ -1,51 +0,0 @@ - $value) { - if ($key == $key1) { - $newArray[$key2] = $array[$key2]; - } elseif ($key == $key2) { - $newArray[$key1] = $array[$key1]; - } else { - $newArray[$key] = $value; - } - } - return $newArray; -} -global $wpdb; - - -$legendId = $_GET['legendID']; -$direction = $_GET['direction']; - -if($direction != 'up' && $direction != 'down') die(); - - -$calendarLegend = json_decode(get_option('wpbs-default-legend'),true); -//reset array just to be sure - -reset($calendarLegend); - -//set index to current key -while (key($calendarLegend) != $legendId) next($calendarLegend); - -//get prev or next position -if($direction == 'up'){ - prev($calendarLegend); - $swapKey = key($calendarLegend); -} elseif($direction == 'down') { - next($calendarLegend); - $swapKey = key($calendarLegend); -} -//check if prev or next exists -if(empty($swapKey)) die(); - -//if all good, swap them -$calendarLegend = array_swap_assoc($legendId,$swapKey,$calendarLegend); - -update_option('wpbs-default-legend',json_encode($calendarLegend)); - - -wp_redirect(admin_url('admin.php?page=wp-booking-system-default-legend&do=edit-legend')); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-sync.php b/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-sync.php deleted file mode 100755 index 8b38c3a..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-sync.php +++ /dev/null @@ -1,24 +0,0 @@ - \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-visibility.php b/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-visibility.php deleted file mode 100755 index ba460cd..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/default-legend/legend-set-visibility.php +++ /dev/null @@ -1,24 +0,0 @@ - \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/form/form-delete.php b/plugins/wp-booking-system/wp-booking-system/controllers/form/form-delete.php deleted file mode 100755 index 4814fa1..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/form/form-delete.php +++ /dev/null @@ -1,15 +0,0 @@ -prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_forms WHERE formID=%d',$formID); -$calendar = $wpdb->get_row( $sql, ARRAY_A ); -if($wpdb->num_rows > 0): - $wpdb->delete( $wpdb->prefix . 'bs_forms', array('formID' => $formID)); - -endif; - -wp_redirect(admin_url('admin.php?page=wp-booking-system-forms')); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/form/form-save.php b/plugins/wp-booking-system/wp-booking-system/controllers/form/form-save.php deleted file mode 100755 index e9a0398..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/form/form-save.php +++ /dev/null @@ -1,92 +0,0 @@ -update( - $wpdb->prefix.'bs_forms', - array( - 'formTitle' => stripslashes( $_POST['formTitle'] ), - 'formData' => stripslashes( $_POST['formData'] ) - ), - array('formID' => intval($_POST['formID']) ) - ); - $formID = $_POST['formID']; -} -else -{ - $wpdb->insert( - $wpdb->prefix.'bs_forms', - array( - 'formTitle' => stripslashes( $_POST['formTitle'] ), - 'formData' => stripslashes( $_POST['formData'] ) - ) - ); - $formID = $wpdb->insert_id; -} - -$emails = ''; -if(!empty($_POST['receive_emails']) && $_POST['receive_emails'] == 'yes' && !empty($_POST['sendto'])){ - $emails = explode(",",$_POST['sendto']); - foreach($emails as $email){ - if(is_email($email)) - $emailList[] = sanitize_email($email); - } - $emails = implode(",",$emailList); -} - -$formOptions['sendTo'] = $emails; - -$formOptions['trackingScript'] = $_POST['tracking_script']; - -$formOptions['enableAutoReply'] = $_POST['enable_autoreply']; - - - - -$formOptions['submitLabel']['default'] = esc_html(trim(stripslashes($_POST['submitLabel']))); -$formOptions['thankYou']['default'] = esc_html(trim(stripslashes($_POST['thankYou']))); -$formOptions['selectDate']['default'] = esc_html(stripslashes(trim($_POST['selectDate']))); -/* @since 3.7.2 */ -$formOptions['emailSubject']['default'] = esc_html(trim(stripslashes($_POST['emailSubject']))); -$formOptions['emailHeading']['default'] = esc_html(trim(stripslashes($_POST['emailHeading']))); - -$formOptions['replyFromName'] = esc_html(trim(stripslashes($_POST['reply_from_name']))); -$formOptions['replyFromEmail'] = esc_html(trim(stripslashes($_POST['reply_from_email']))); - -// if($_POST['enable_autoreply'] == 'yes') -// { - $formOptions['autoReplyEmailBody']['default'] = esc_html(trim(stripslashes($_POST['autoreply_email_body']))); - $formOptions['autoReplyEmailSubject']['default'] = esc_html(trim(stripslashes($_POST['autoreply_email_subject']))); - $formOptions['autoReplyIncludeDetails'] = $_POST['autoreply_include_details']; -// } -$activeLanguages = json_decode(get_option('wpbs-languages'),true); -foreach ($activeLanguages as $code => $language) -{ - $formOptions['submitLabel'][$code] = esc_html(trim(stripslashes($_POST['submitLabel_' . $code]))); - $formOptions['thankYou'][$code] = esc_html(trim(stripslashes($_POST['thankYou_' . $code]))); - $formOptions['selectDate'][$code] = esc_html(trim(stripslashes($_POST['selectDate_' . $code]))); - - /* @since 3.7.2 */ - $formOptions['emailSubject'][$code] = esc_html(trim(stripslashes($_POST['emailSubject_' . $code]))); - $formOptions['emailHeading'][$code] = esc_html(trim(stripslashes($_POST['emailHeading_' . $code]))); - if($_POST['enable_autoreply'] == 'yes'){ - $formOptions['autoReplyEmailBody'][$code] = esc_html(trim(stripslashes($_POST['autoreply_email_body_' . $code]))); - $formOptions['autoReplyEmailSubject'][$code] = esc_html(trim(stripslashes($_POST['autoreply_email_subject_' . $code]))); - } -} - - - - - -if(empty($formOptions['submitLabel']['default'])) $formOptions['submitLabel']['default'] = "Book"; -if(empty($formOptions['thankYou']['default'])) $formOptions['thankYou']['default'] = "The form was successfully submitted."; -if(empty($formOptions['selectDate']['default'])) $formOptions['selectDate']['default'] = "Please select a date."; - -$wpdb->update( $wpdb->prefix.'bs_forms', array('formOptions' => json_encode($formOptions)), array('formID' => $formID) ); - -wp_redirect(admin_url('admin.php?page=wp-booking-system-forms&do=edit-form&id='.$formID.'&save=ok')); -die(); -?> \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/controllers/settings/save-settings.php b/plugins/wp-booking-system/wp-booking-system/controllers/settings/save-settings.php deleted file mode 100755 index 9634baa..0000000 --- a/plugins/wp-booking-system/wp-booking-system/controllers/settings/save-settings.php +++ /dev/null @@ -1,58 +0,0 @@ - 'English','bg'=>'Bulgarian','ca' => 'Catalan','zh' => 'Chinese','hr' => 'Croatian','cz' => 'Czech','da' => 'Danish','nl' => 'Dutch','et' => 'Estonian','fi' => 'Finnish','fr' => 'French','de' => 'German','el' => 'Greek','hu' => 'Hungarian','it' => 'Italian', 'no' => 'Norwegian','pl' => 'Polish','pt' => 'Portugese','ro' => 'Romanian','sr' => 'Serbian', 'ru' => 'Russian','sk' => 'Slovak','sl' => 'Slovenian','es' => 'Spanish','sv' => 'Swedish','tr' => 'Turkish','uk' => 'Ukrainian'); - -foreach($languages as $code => $language): - if(!empty($_POST[$code])) - $activeLanguages[$code] = $language; -endforeach; -if(empty($activeLanguages)) $activeLanguages['en'] = 'English'; - -update_option('wpbs-languages',json_encode($activeLanguages)); - -$activeLanguages = json_decode(get_option('wpbs-languages'),true); -foreach ($activeLanguages as $code => $language) -{ - $wpbsOptions['translationBookingId'][$code] = esc_html(trim(stripslashes($_POST['translation_bookingid_' . $code]))); - $wpbsOptions['translationYourBookingDetails'][$code] = esc_html(trim(stripslashes($_POST['translation_yourbookingdetails_' . $code]))); - $wpbsOptions['translationCheckIn'][$code] = esc_html(trim(stripslashes($_POST['translation_checkin_' . $code]))); - $wpbsOptions['translationCheckOut'][$code] = esc_html(trim(stripslashes($_POST['translation_checkout_' . $code]))); - $wpbsOptions['translationBookingStatusUpdated'][$code] = esc_html(trim(stripslashes($_POST['translation_booking_status_updated_' . $code]))); - $wpbsOptions['translationMinDays'][$code] = esc_html(trim(stripslashes($_POST['translation_min_days_' . $code]))); - $wpbsOptions['translationMaxDays'][$code] = esc_html(trim(stripslashes($_POST['translation_max_days_' . $code]))); - $wpbsOptions['translationBetweenDays'][$code] = esc_html(trim(stripslashes($_POST['translation_between_days_' . $code]))); - $wpbsOptions['translationCaptchaMessage'][$code] = esc_html(trim(stripslashes($_POST['translation_recaptchamessage_' . $code]))); - $wpbsOptions['translationPoweringBy'][$code] = esc_html(trim(stripslashes($_POST['translation_poweringby_' . $code]))); - $wpbsOptions['translationWebsite'][$code] = esc_html(trim(stripslashes($_POST['translation_website_' . $code]))); - $wpbsOptions['translationCalendar'][$code] = esc_html(trim(stripslashes($_POST['translation_calendar_' . $code]))); -} - - - -if(!empty($_POST['selectedColor'])) - $wpbsOptions['selectedColor'] = $_POST['selectedColor']; -else $wpbsOptions['selectedColor'] = '#3399cc'; - -if(!empty($_POST['selectedBorder'])) - $wpbsOptions['selectedBorder'] = $_POST['selectedBorder']; -else $wpbsOptions['selectedBorder'] = '#336699'; - -if(!empty($_POST['historyColor'])) - $wpbsOptions['historyColor'] = $_POST['historyColor']; -else $wpbsOptions['historyColor'] = '#eaeaea'; - -$wpbsOptions['dateFormat'] = $_POST['dateFormat']; - -if(isset($_POST['enable_ical'])) $wpbsOptions['enableiCal'] = $_POST['enable_ical']; -if(isset($_POST['enable_recaptcha'])) $wpbsOptions['enableReCaptcha'] = $_POST['enable_recaptcha']; -if(isset($_POST['recaptcha_public'])) $wpbsOptions['recaptcha_public'] = $_POST['recaptcha_public']; -if(isset($_POST['recaptcha_secret'])) $wpbsOptions['recaptcha_secret'] = $_POST['recaptcha_secret']; - -$wpbsOptions['backendStartDay'] = $_POST['backend-start-day']; - -update_option('wpbs-options',json_encode($wpbsOptions)); - - -wp_redirect(admin_url('admin.php?page=wp-booking-system-settings&save=ok')); -die(); diff --git a/plugins/wp-booking-system/wp-booking-system/css/chosen.min.css b/plugins/wp-booking-system/wp-booking-system/css/chosen.min.css deleted file mode 100755 index 1e7dfec..0000000 --- a/plugins/wp-booking-system/wp-booking-system/css/chosen.min.css +++ /dev/null @@ -1,3 +0,0 @@ -/* Chosen v1.1.0 | (c) 2011-2013 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */ - -.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;zoom:1;*display:inline;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chosen-container .chosen-drop{position:absolute;top:100%;left:-9999px;z-index:1010;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15)}.chosen-container.chosen-with-drop .chosen-drop{left:0}.chosen-container a{cursor:pointer}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:23px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),color-stop(100%,#f4f4f4));background:-webkit-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-moz-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-o-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url(../images/chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url(../images/chosen-sprite.png) no-repeat 0 2px}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:#fff url(../images/chosen-sprite.png) no-repeat 100% -20px;background:url(../images/chosen-sprite.png) no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;left:-9999px}.chosen-container .chosen-results{position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:-webkit-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-moz-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-o-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;width:100%;height:auto!important;height:1%;border:1px solid #aaa;background-color:#fff;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background-image:-webkit-linear-gradient(#eee 1%,#fff 15%);background-image:-moz-linear-gradient(#eee 1%,#fff 15%);background-image:-o-linear-gradient(#eee 1%,#fff 15%);background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:5px;height:auto;outline:0;border:0!important;background:transparent!important;box-shadow:none;color:#666;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-multi .chosen-choices li.search-field .default{color:#999}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 0 3px 5px;padding:3px 20px 3px 5px;border:1px solid #aaa;border-radius:3px;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(../images/chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#eee),color-stop(80%,#fff));background-image:-webkit-linear-gradient(#eee 20%,#fff 80%);background-image:-moz-linear-gradient(#eee 20%,#fff 80%);background-image:-o-linear-gradient(#eee 20%,#fff 80%);background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:0;background:transparent}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#111!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single-nosearch .chosen-search,.chosen-rtl .chosen-drop{left:9999px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:0}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:#fff url(../images/chosen-sprite.png) no-repeat -30px -20px;background:url(../images/chosen-sprite.png) no-repeat -30px -20px;direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-resolution:144dpi){.chosen-rtl .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-container-single .chosen-search input[type=text],.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span{background-image:url(chosen-sprite@2x.png)!important;background-size:52px 37px!important;background-repeat:no-repeat!important}} \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/css/colorpicker.css b/plugins/wp-booking-system/wp-booking-system/css/colorpicker.css deleted file mode 100755 index 0246e9f..0000000 --- a/plugins/wp-booking-system/wp-booking-system/css/colorpicker.css +++ /dev/null @@ -1,165 +0,0 @@ -.colorpicker { - width: 356px; - height: 176px; - overflow: hidden; - position: absolute; - background: url(../images/custom_background.png); - font-family: Arial, Helvetica, sans-serif; - display: none; -} -.colorpicker_color { - width: 150px; - height: 150px; - left: 14px; - top: 13px; - position: absolute; - background: #f00; - overflow: hidden; - cursor: crosshair; -} -.colorpicker_color div { - position: absolute; - top: 0; - left: 0; - width: 150px; - height: 150px; - background: url(../images/colorpicker_overlay.png); -} -.colorpicker_color div div { - position: absolute; - top: 0; - left: 0; - width: 11px; - height: 11px; - overflow: hidden; - background: url(../images/colorpicker_select.gif); - margin: -5px 0 0 -5px; -} -.colorpicker_hue { - position: absolute; - top: 13px; - left: 171px; - width: 35px; - height: 150px; - cursor: n-resize; -} -.colorpicker_hue div { - position: absolute; - width: 35px; - height: 9px; - overflow: hidden; - background: url(../images/custom_indic.gif) left top; - margin: -4px 0 0 0; - left: 0px; -} -.colorpicker_new_color { - position: absolute; - width: 60px; - height: 30px; - left: 213px; - top: 13px; - background: #f00; -} -.colorpicker_current_color { - position: absolute; - width: 60px; - height: 30px; - left: 283px; - top: 13px; - background: #f00; -} -.colorpicker input { - background-color: transparent; - border: 1px solid transparent !important; - position: absolute; - font-size: 10px; - font-family: Arial, Helvetica, sans-serif; - color: #898989; - top: 4px; - right: 11px; - text-align: right; - margin: 0; - padding: 0; - height: 11px; - -webkit-box-sizing: content-box; /* Safari/Chrome, other WebKit */ - -moz-box-sizing: content-box; /* Firefox, other Gecko */ - box-sizing: content-box; - line-height:11px; -} -.colorpicker_hex { - position: absolute; - width: 72px; - height: 22px; - background: url(../images/custom_hex.png) top; - left: 212px; - top: 142px; -} -.colorpicker_hex input { - right: 6px; -} -.colorpicker_field { - height: 22px; - width: 62px; - background-position: top; - position: absolute; -} -.colorpicker_field span { - position: absolute; - width: 12px; - height: 22px; - overflow: hidden; - top: 0; - right: 0; - cursor: n-resize; -} -.colorpicker_rgb_r { - background-image: url(../images/custom_rgb_r.png); - top: 52px; - left: 212px; -} -.colorpicker_rgb_g { - background-image: url(../images/custom_rgb_g.png); - top: 82px; - left: 212px; -} -.colorpicker_rgb_b { - background-image: url(../images/custom_rgb_b.png); - top: 112px; - left: 212px; -} -.colorpicker_hsb_h { - background-image: url(../images/custom_hsb_h.png); - top: 52px; - left: 282px; -} -.colorpicker_hsb_s { - background-image: url(../images/custom_hsb_s.png); - top: 82px; - left: 282px; -} -.colorpicker_hsb_b { - background-image: url(../images/custom_hsb_b.png); - top: 112px; - left: 282px; -} -.colorpicker_submit { - position: absolute; - width: 22px; - height: 22px; - background: url(../images/custom_submit.png) top; - left: 322px; - top: 142px; - overflow: hidden; -} -.colorpicker_focus { - background-position: center; -} -.colorpicker_hex.colorpicker_focus { - background-position: bottom; -} -.colorpicker_submit.colorpicker_focus { - background-position: bottom; -} -.colorpicker_slider { - background-position: bottom; -} diff --git a/plugins/wp-booking-system/wp-booking-system/css/colorpicker.min.css b/plugins/wp-booking-system/wp-booking-system/css/colorpicker.min.css deleted file mode 100755 index 47efbf2..0000000 --- a/plugins/wp-booking-system/wp-booking-system/css/colorpicker.min.css +++ /dev/null @@ -1 +0,0 @@ -.colorpicker{width:356px;height:176px;overflow:hidden;position:absolute;background:url(../images/custom_background.png);font-family:Arial,Helvetica,sans-serif;display:none}.colorpicker_color{width:150px;height:150px;left:14px;top:13px;position:absolute;background:red;overflow:hidden;cursor:crosshair}.colorpicker_color div{position:absolute;top:0;left:0;width:150px;height:150px;background:url(../images/colorpicker_overlay.png)}.colorpicker_color div div{position:absolute;top:0;left:0;width:11px;height:11px;overflow:hidden;background:url(../images/colorpicker_select.gif);margin:-5px 0 0 -5px}.colorpicker_hue{position:absolute;top:13px;left:171px;width:35px;height:150px;cursor:n-resize}.colorpicker_hue div{position:absolute;width:35px;height:9px;overflow:hidden;background:url(../images/custom_indic.gif) left top;margin:-4px 0 0 0;left:0}.colorpicker_new_color{position:absolute;width:60px;height:30px;left:213px;top:13px;background:red}.colorpicker_current_color{position:absolute;width:60px;height:30px;left:283px;top:13px;background:red}.colorpicker input{background-color:transparent;border:1px solid transparent!important;position:absolute;font-size:10px;font-family:Arial,Helvetica,sans-serif;color:#898989;top:4px;right:11px;text-align:right;margin:0;padding:0;height:11px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;line-height:11px}.colorpicker_hex{position:absolute;width:72px;height:22px;background:url(../images/custom_hex.png) top;left:212px;top:142px}.colorpicker_hex input{right:6px}.colorpicker_field{height:22px;width:62px;background-position:top;position:absolute}.colorpicker_field span{position:absolute;width:12px;height:22px;overflow:hidden;top:0;right:0;cursor:n-resize}.colorpicker_rgb_r{background-image:url(../images/custom_rgb_r.png);top:52px;left:212px}.colorpicker_rgb_g{background-image:url(../images/custom_rgb_g.png);top:82px;left:212px}.colorpicker_rgb_b{background-image:url(../images/custom_rgb_b.png);top:112px;left:212px}.colorpicker_hsb_h{background-image:url(../images/custom_hsb_h.png);top:52px;left:282px}.colorpicker_hsb_s{background-image:url(../images/custom_hsb_s.png);top:82px;left:282px}.colorpicker_hsb_b{background-image:url(../images/custom_hsb_b.png);top:112px;left:282px}.colorpicker_submit{position:absolute;width:22px;height:22px;background:url(../images/custom_submit.png) top;left:322px;top:142px;overflow:hidden}.colorpicker_focus{background-position:center}.colorpicker_hex.colorpicker_focus{background-position:bottom}.colorpicker_submit.colorpicker_focus{background-position:bottom}.colorpicker_slider{background-position:bottom} \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/css/wpbs-admin.css b/plugins/wp-booking-system/wp-booking-system/css/wpbs-admin.css deleted file mode 100755 index 1195b99..0000000 --- a/plugins/wp-booking-system/wp-booking-system/css/wpbs-admin.css +++ /dev/null @@ -1,621 +0,0 @@ -.wpbs-table-id {width:25px;} - -.wpbs-wrap .postbox-container {width:100%;} -.wpbs-buttons-wrapper { height:28px; right:0; position:absolute; top:13px;} -.wpbs-wrap .button-h2 {float:right; margin-left:10px;} -.wpbs-wrap .postbox {margin-bottom:0;} -.wpbs-wrap {position:relative;} - -body.wp-admin .hasCustomSelect {margin-left:1px;} - -@media screen and (-webkit-min-device-pixel-ratio:0) { - body.wp-admin .hasCustomSelect {margin-left:1px;} -} - -#inputCalendarData {display:none;} - -.wpbs_saveForm:last-child -{ - margin-top: 10px; -} - -/* .wpbs-wrap .metabox-holder {width:800px;} -.wpbs-wrap .wpbs-table-800 {width:799px;} */ - -.wpbs-ical-link {background:#fff; width:98%; display:inline-block; padding:4px 10px; line-height:16px; font-size:12px; border:1px solid #DFDFDF; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;} -.wpbs-table-ical-title {width:10%;} -.wpbs-wrap .wpbs-calendar-backend-wrap { position: absolute; left: 10px; top: 0; width: 250px;} -.wpbs-wrap .wp-dates-editor-wrapper {padding-left:250px; width:100%; box-sizing:border-box;} -.wpbs-wrap .wp-dates-editor-wrapper .wpbs-dates-editor {float:left !important; width: 99%; box-sizing: border-box;} -.wpbs-wrap .postbox .wpbs-container {float:none; clear:none;} - -.wpbs-wrap h3.hndle {cursor:pointer !important;} -.wpbs-wrap input.fullTitle {width:100%; padding-left:8px; margin:9px 0 0 0; height:32px; line-height:normal !important; font-size:20px;} - -.wpbs-wrap input.fullTitle.error {border: 1px solid #eb0707;} -.wpbs-wrap input.fullTitle.error::-webkit-input-placeholder {color: #eb0707;} -.wpbs-wrap input.fullTitle.error:-moz-placeholder {color: #eb0707;} -.wpbs-wrap input.fullTitle.error::-moz-placeholder {color: #eb0707;} -.wpbs-wrap input.fullTitle.error:-ms-input-placeholder {color: #eb0707;} - -.wpbs-warning {background-color:#FFC0BD; display: block; padding: 15px 10px; color:#444; text-decoration:none;} -.wpbs-warning:hover {text-decoration:underline; color:#444; } -.wpbs-legend-color {display:block; float:left; width:22px; height:22px; margin-right:5px; } -.wpbs-legend-item {min-height:22px; line-height:16px; display:block; margin-bottom:10px; font-size:14px;} -.wpbs-legend-item p {padding: 2px 0; margin:0;} - -.wpbs-wrap .wpbs-calendar {float:left; margin-right:0; } -.wpbs-dates-editor {width:494px; float:right; margin:0 0 0 8px; padding:10px; border:1px solid #CCC; background:#fff;} - -.wpbs-wrap div.updated {margin:9px 0 0 0; max-width:100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;} - -.wpbs-wrap .wpbs-hide {display:none;} -.wpbs-wrap .color-box {width:30px; height:30px; display:block;} -.wpbs-dates-editor ul {list-style:none; margin:0; padding:0;} - -.wpbs-dates-editor ul li {display:block; margin-bottom:2px; float:left; clear:left; position:relative; padding-left:158px; padding-right:5px; box-sizing: border-box; width: 100%;} -.wpbs-dates-editor ul li span.wpbs-day-and-status {position:absolute; left:0; top:0;} -.wpbs-dates-editor ul li span.wpbs-select-status {display:block; width:30px; height:30px; float:left; clear:left; position:relative; line-height:30px; text-align:center; margin-right:3px;} - -.wpbs-table div.wpbs-select-status {margin-top: 5px; display:block; width:22px; height:22px; float:left; clear:left; position:relative; line-height:22px; text-align:center; margin-right:3px; border:1px solid #cccccc; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;} -.wpbs-table div.wpbs-select-status .wpbs-day-split-top {border-width: 22px 22px 0 0;} -.wpbs-table div.wpbs-select-status .wpbs-day-split-bottom { border-width: 0 0 22px 22px; } - -.wpbs-table td.middle { vertical-align:middle} - -.wpbs-table td.middle.default-icon a, .wpbs-table td.middle.default-icon img.default-icon {margin-left:17px;} -.wpbs-table td.middle.visible-icon a {margin-left:14px;} -.branch-3-8 .wpbs-table td.status-icon div.wpbs-select-status {margin-left:5px; margin-top:9px;} - -.wpbs-table td.order-icon {padding-left:28px;} -.wpbs-table td.order-icon.double {padding-left:23px;} - - -.wpbs-dates-editor ul li select {height:28px; line-height:30px; padding:3px 2px 3px 0; border:1px solid #dfdfdf; width:120px; float:left; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } - -.wpbs-dates-editor ul li input { height:28px; line-height:1; float:left; border:1px solid #dfdfdf; margin-left:5px; width:100%; font-size: 12px; font-weight:normal; padding-left:3px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } - - -.wpbs-batch-update {background:#ffffff; border: 1px solid #CCC; width:250px; float:left; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding:10px; margin-top:10px;} -.wpbs-batch-update label {display:block; font-weight:bold;} -.wpbs-batch-update input[type="text"] {width:182px;} -.wpbs-batch-update select#changeStatus {width:182px;} -.wpbs-batch-update span.error {color:#eb0707; margin-top:7px; display:none;} - -.wpbs-batch-update p:first-of-type {margin-top:0 !important;} - -.wpbs-calendar-legend-container {background:#ffffff; border: 1px solid #CCC; width:250px; float:left; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding:10px; margin-top:10px;} - -.wpbs-select-status {height:30px; width:30px;} - - -.wpbs-wrap .wpbs-settings-col {margin-left: 20px; clear:both; padding:10px 0; width:100%;} -.wpbs-wrap .wpbs-settings-col strong {font-size:12px; line-height:22px;} -.wpbs-wrap .wpbs-settings-col small {font-style:italic; font-size:11px; line-height:16px;} -.wpbs-wrap .wpbs-settings-col .wpbs-settings-col-left {float:left; width:155px; padding-right:10px;} -.wpbs-wrap .wpbs-settings-col .wpbs-settings-col-right {float:left; width:650px;} -.wpbs-wrap .wpbs-settings-col .wpbs-settings-col-right label {display:block; height:34px; line-height:22px;} -.wpbs-wrap .wpbs-settings-col .wpbs-settings-col-right label input {line-height:1; margin-right:5px;} -.wpbs-wrap .wpbs-settings-col .wpbs-date-format label {margin-right:10px; float:left !important; height:auto !important;} - -.wpbs-wrap .translations h4 {color:#000; } -.wpbs-wrap .translations .wpbs-settings-col {margin:0; padding:3px 0;} - - - - -.wpbs-booking-delete -{ - background-color: #ffebee!important; - border: 1px solid #ffcdd2!important; -} - -.wpbs-booking-move -{ - background-color: #E8F5E9!important; - border: 1px solid #C8E6C9!important; -} - -.wpbs-booking-selected -{ - background-color: #E3F2FD!important; - border: 1px solid #BBDEFB!important; -} - - -.edit-legend-container div.edit-legend-top label {width:146px; float:left; display:block; height:22px; line-height:22px;} -.edit-legend-container div.edit-legend-top input {float:left;} -.edit-legend-container div.edit-legend-top div {float:left;} -.edit-legend-container div.edit-legend-top span {float:left;} - -.edit-legend-container div.edit-legend-top span.color-box {width:20px; height:20px; border:1px solid #dfdfdf; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;} - -.edit-legend-container div.edit-legend-top input[type="text"] {width:175px; height:22px; border:1px solid #dfdfdf; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; padding-left:5px; background-color:#ffffff; margin:0px 0px 0px 8px;} - -.edit-legend-container div.edit-legend-top input.split-color { margin:3px 7px 0 14px;} -.edit-legend-container div.edit-legend-top span.color-wrapper {height:22px; line-height:22px; margin-right:14px;} - -.edit-legend-container div.wpbs-can-be-booked {margin-top:20px;} -.edit-legend-container div.wpbs-can-be-booked label {width:147px; float:left; display:block; height:22px; line-height:22px;} -.edit-legend-container div.wpbs-can-be-booked input {line-height:22px;} - -.wpbs-wrap hr {clear:both; height:1px; border:none; background-color:#cccccc; display:block; margin:23px 0 28px 0;} - -.edit-legend-container ul.wpbs-legend-translations {list-style:none;} -.edit-legend-container ul.wpbs-legend-translations li {list-style:none; height:23px; line-height:23px; padding-top:6px;} -.edit-legend-container ul.wpbs-legend-translations li img {margin:2px 5px -1px 0;} -.edit-legend-container ul.wpbs-legend-translations li label {width:141px; display:block; float:left;} -.edit-legend-container ul.wpbs-legend-translations li input {width:140px;} - -#wpbs-form-container {padding:10px 0; margin-top:-10px;} -#add-field {margin-bottom:10px;} - -#wpbs-auto-reply {display:none;} -#wpbs-auto-reply.show {display:block;} - -.wpbs-form-field { display:block; min-height:40px; border:1px solid #ccc; background-color:#fafafa; line-height:40px; margin:10px 0 !important; position:relative;} -.wpbs-form-field.open {background:#fff;} -.wpbs-form-field a.wpbs-form-delete {width:18px; height:18px; position:absolute; top:11px; right:11px; background: transparent url(../images/wpbs-form-delete.png) no-repeat;} -.wpbs-form-field a.wpbs-form-move {width:18px; height:18px; position:absolute; top:11px; right:40px; background: transparent url(../images/wpbs-form-move.png) no-repeat; cursor:move;} - -.wpbs-wrap li.wpbs-bookable:hover {border:none !important; cursor:default; line-height:30px !important; } - -.wpbs-form-field span.wpbs-field-name {cursor:pointer; padding-left:13px; overflow:hidden; height:40px; font-weight:bold; width:215px; display:block; float:left;} -.wpbs-form-field span.wpbs-field-type {cursor:pointer; width:500px; display:block; float:left;} - -.wpbs-form-field div.wpbs-field-options {margin:0 10px; border-top:1px solid #cecece; padding:0 3px; clear:both;} -.wpbs-form-field div.wpbs-field-options p label {font-weight:600; width:110px; display:block; float:left;} -.wpbs-form-field div.wpbs-field-options input[type="text"], .wpbs-form-field div.wpbs-field-options select, .wpbs-settings-col input[type="text"] {width:100%; max-width:360px;} -.wpbs-form-field div.wpbs-field-options .wpbs-form-line {height:1px; width:100%; background-color:#cecece;} -.wpbs-form-field div.wpbs-field-options small {padding-left:5px;} - -.wpbs-colorpicker span {float:left; margin-right:5px; } -.wpbs-colorpicker .color-box {width:21px; height:21px; border:1px solid #ccc; margin-top:0px; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;} -.wpbs-colorpicker input {width:70px !important; margin-top:0px;} - - -.wpbs-bookings-container {padding:10px 0; margin-top:-10px;} - -.wpbs-bookings-container tr {display:block; width:100%; float:left; overflow:hidden;} -.wpbs-booking-field { display:block; min-height:40px; border:1px solid #ccc; background-color:#fff; line-height:40px; margin-bottom:10px; position:relative;} -.wpbs-booking-open-options { cursor:pointer;} -.wpbs-booking-field .wpbs-booking-field-date {width:200px; display:block; float:left;} -.wpbs-booking-field .wpbs-booking-field-date-padding {width:200px; padding-left:10px;} -.wpbs-booking-field .wpbs-booking-field-date-id {width:80px; padding-left:10px; float:right; background-color: #fff; z-index: 5; position: relative;} -.wpbs-booking-field.wpbs-booking-field-read-0 .wpbs-booking-field-date-id {background-color:#ffffca} -.wpbs-booking-field-preview {position: absolute; left: 0; top: 0; padding-left: 412px;} -.wpbs-booking-field-preview-wrap {display:block; float:left; height:40px; overflow:hidden; } - -.wpbs-booking-field-preview strong:first-child {padding-left:0px;} -.wpbs-booking-field-preview strong {padding-left:12px;} -.wpbs-booking-field a.wpbs-booking-delete {width:18px; z-index:10; height:18px; position:absolute; top:11px; right:11px; background: transparent url(../images/wpbs-form-delete.png) no-repeat;} - -.wpbs-booking-field div.wpbs-booking-field-options .wpbs-booking-line {height:1px; width:100%; background-color:#cecece;} - -.wpbs-booking-field div.wpbs-booking-field-options {margin:0 10px; border-top:1px solid #cecece; padding:0 3px; clear:both;} -.wpbs-booking-field-read-0 {background-color:#ffffca;} - -.wpbs-booking-field div.wpbs-booking-field-options strong {width:110px; display:inline-block; vertical-align: top;} -.wpbs-booking-field .wpbs-booking-field-options p {line-height:22px; vertical-align:top;} - -.wpbs-booking-field-text-wrap {display:inline-block; width:630px;} - -.wpbs-bookings-status {display:none;} - -.wpbs-bookings-statuses {margin-top:-39px;} - -.wpbs-bookings-tabs {height:44px; line-height:34px; width:250px; position:relative; z-index:3;} -.wpbs-bookings-count {color:#999999;} -.wpbs-bookings-tabs a {text-decoration:none;} -.wpbs-bookings-tabs a.active {font-weight:bold; color:#000000;} - - - -.wpbs-bookings-status {position:relative;} -.wpbs-data-table {margin-top:15px; width:100%;} -.wpbs-data-table-pagination {float:right;} -.wpbs-data-table-pagination input {width:40px; text-align:center;} -.wpbs-data-table-pagination a {padding: 0 7px !important;} -.dataTables_paginate {display:none;} -.wpbs-data-table-total-items {color:#999999; font-style:italic; padding-right:10px;} - -.wpbs-wrap .wpbs-calendar-users {background: #ffffff; border: 1px solid #CCC; width: 250px; float: left; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 10px; margin-top: 10px;} -.wpbs-wrap .wpbs-calendar-users select {width:100%;} -.wpbs-wrap .wpbs-calendar-users p {margin-top: 0; margin-bottom:4px;} - - -.dataTables_filter {margin-left:40%;} -.dataTables_filter input {display:inline; width:150px;} - - -.wpbs-modal-overlay {width:100%; height:100%; background-color:rgba(0,0,0,0.7); position:absolute; left:0; top:0; z-index:99999; display:none;} -.wpbs-modal-overlay .wpbs-modal-box {width:860px; padding:2px 20px 10px 20px; position:absolute; left:50%; margin-left:-450px; top:5%; background:#fff; min-height:100px;} -.wpbs-modal-overlay .wpbs-modal-box-header {height:46px; line-height:46px; border-bottom:1px solid #cccccc;} -.wpbs-modal-overlay .wpbs-modal-box-header h2 {margin:0;} -.wpbs-modal-overlay .wpbs-modal-box-header-buttons {margin-top:8px; float:right;} -.wpbs-modal-box-content {float:left;} -.wpbs-modal-box-content .wpbs-dates-editor {float:left; margin:0; } - - - -.wpbs-count {width:16px; height:16px; background:#000; color:#fff; font-size:11px; line-height:16px; text-align:center; margin-left:5px; display:inline-block; -webkit-border-radius: 8px !important; -khtml-border-radius: 8px !important; -moz-border-radius: 8px !important; border-radius: 8px !important;} -.wpbs-count-0 {display:none;} - -#wpbs-past-accepted-bookings {display:none;} - - -.edit-dates-popup {float:left; width:516px;} -.edit-dates-sidebar {float:left; width:324px; margin-left:20px; } - -.bulk-edit-dates-popup-container {padding:10px; border:1px solid #CCC; background:#fff;} -.bulk-edit-dates-popup-container .bulk-edit-legend-apply {margin-top:10px;} -.bulk-edit-dates-popup-container .bulk-edit-legend-text {width:173px; margin-left:5px;} -.bulk-edit-dates-popup-container .bulk-edit-legend-select {width:120px; vertical-align:top;} - -.edit-dates-popup-messages { margin-top:10px;} -.edit-dates-popup-messages-container {padding:10px; border:1px solid #CCC; background:#fff;} -.edit-dates-popup-messages select {margin:0; width:100%;} -.edit-dates-popup-messages textarea {margin:0; width:100%; height:100px; margin-top:10px;} -.edit-dates-popup-messages .send-confirmation-message-options {display:none;} - -.send-confirmation-message-options p {padding:0 2px;} -.send-confirmation-message-options p.small {font-size:12px; color:#999; font-style:italic;} - - - -h2.compare-boxes-title {font-size:23px; padding:30px 0 21px 0;} - -#compare-boxes div.compare-box {width:304px; float:left; padding:9px 0 0px 0; border:1px solid #cccccc; margin-right:15px; background-color:#fff;} -#compare-boxes div.compare-box h1 {display:block; text-align:center; font-weight:normal; font-size:26px; color:#0084ff; line-height:30px; border-bottom:1px solid #cccccc; padding-bottom:26px; margin-left:15px; margin-right:15px;} - -#compare-boxes div.compare-box ul {list-style:none; font-size:14px; color:#666666; padding:4px 15px 0 15px;} -#compare-boxes div.compare-box ul li {padding:5px 0 6px 20px; background: transparent url(../images/compare-checked-icon.png) no-repeat left 5px;} - -#compare-boxes div.compare-box div.box-bottom {background-color:#ececec; line-height:75px; height:75px;} -#compare-boxes div.compare-box div.box-bottom h2 {padding:0; margin:0; line-height:75px; display:block; color:#999999; font-size:18px; font-weight:normal; text-align:center;} - - -#compare-boxes div.compare-box div.box-bottom.padding {padding-top:15px; height:60px;} -#compare-boxes div.compare-box div.box-bottom .compare-box-button {display:block; margin:0 15px 0 15px; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; text-decoration:none; text-align:center; height:45px; line-height:45px; color:#ffffff; font-size:18px; text-shadow:1px 1px #36761c; background: transparent url(../images/compare-box-button-bg.png) repeat-x left top;} -#compare-boxes div.compare-box div.box-bottom .compare-box-button:hover {background-position:left bottom;} - -#compare-boxes div.compare-box div.price p {color:#0084ff; font-size:14px; padding:8px 0 19px 40px;} -#compare-boxes div.compare-box div.price p strong {font-size:30px; font-weight:normal; line-height:30px; display:block; float:left; margin-top:-5px; margin-right:8px;} - -#compare-boxes div.compare-box small {display:block; text-align:center; color:#666666; font-size:12px; height:30px; line-height:30px;} - -#compare-boxes div.compare-box.free {padding-bottom:30px;} -#compare-boxes div.compare-box.free ul {min-height:379px;} - - - -/*EXPORT PAGES CSS*/ -#wpbs-export .wrap -{ - max-width: 800px; -} -#wpbs-export .toolbar -{ - display: flex; - flex: 0 0 100%; - flex-direction: row; - justify-content: flex-start; - align-items: center; -} -#wpbs-export .toolbar h2 -{ - font-size: 28px; -} -#wpbs-export .flex -{ - flex: 1; -} -#wpbs-export .separator-top-bottom -{ - margin: 16px 0; -} -#wpbs-export .clearfix -{ - display: table; - -} -#wpbs-export .clearfix:after -{ - content: " "; - clear: both; -} -#wpbs-export .header -{ - display: block; - font-size: 24px; - line-height: 24px; - color: rgba(0,0,0,.87); - margin-bottom: 6px; -} -#wpbs-export .subheader -{ - display: block; - font-size: 20px; - line-height: 20px; - color: rgba(0,0,0,.54); -} -#wpbs-export table { - width: 800px; - background-color: #fff; - border-collapse:collapse; - border-radius: 3px; - box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12); - margin: 8px 0 16px 0; -} -#wpbs-export table > tbody > tr > td -{ - padding: 16px; -} -#wpbs-export table > tbody > tr > td:first-child -{ - background-color: rgba(0,0,0,.03); - width: 35%; -} -#wpbs-export table > tbody > tr > td:first-child span -{ - display: block; -} -#wpbs-export table > tbody > tr > td:first-child span:first-child -{ - font-weight: bold; - color: rgba(0,0,0,.87); -} -#wpbs-export table > tbody > tr > td:first-child span:last-child -{ - color: rgba(0,0,0,.54); - font-size: 12px; -} -#wpbs-export table > tbody > tr > td:first-child span.totals -{ - background: #44b1f1; - padding: 2px 4px 4px 4px; - display: inline; - border-radius: 6px; - font-size: 10px; - color: #fff; - line-height: 14px; -} -#wpbs-export table > tbody > tr > td:last-child -{ - background-color: #fff; - width: 65%; -} -#wpbs-export .card-row -{ - width: 100%; - display: flex; - flex-direction: row; - justify-content: space-around; - align-items: center; - margin-left: -16px; - margin-right: -16px; -} -#wpbs-export .mini-card -{ - display: inline-block; - background-color: #fff; - border-radius: 2px; - width: 75px; - margin: 8px; - padding:16px; - background-color: #FFF8E1; - box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12); -} -#wpbs-export .mini-card span -{ - display: block; - text-align: center; -} - -#wpbs-export .mini-card span:first-child -{ - font-weight: bold; -} -#wpbs-export .mini-card span:last-child -{ - margin-top: 8px; - font-size: 16px; -} -#wpbs-export .btn -{ - border-radius: 2px; - padding: 8px 16px; - margin: 0 8px; - text-decoration: none; - text-align: center; - box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12); -} -#wpbs-export .btn.btn-info -{ - background-color: #2196F3; - color: #fff; -} - -#wpbs-export .btn.btn-default -{ - background-color: #fff; - color: rgba(0,0,0,.87); -} -#wpbs-export .pull-right -{ - float: right; -} -#wpbs-export .import.hndle .import-loading -{ - display: flex; - flex-direction: row; - justify-content: flex-start; - align-items: center; -} -#wpbs-export .flex -{ - flex: 1; -} -#wpbs-export .import.hndle.importing -{ - background-color:rgba(179, 229, 252, .5); -} -#wpbs-export .import.hndle.imported-success -{ - background-color: rgba(139,195,74, .9); - color: #fff; -} -#wpbs-export .import.hndle.imported-error -{ - background-color:rgba(244,67,54, .9); - color: #fff; -} - -#wpbs-export .wpbs-exporter .inside .wpbs-manual-export -{ - overflow-y: hidden; - max-height: 500px; - - transition-property: all; - transition-duration: 0.5s; - transition-timing-function: cubic-bezier(0, 1, 0.5, 1); - /*transition: all 1s ease-in-out;*/ -} -#wpbs-export .wpbs-exporter .inside .wpbs-manual-export.close -{ - max-height: 0; -} -#wpbs-export .wpbs-exporter .inside .wpbs-manual-toggle -{ - border-bottom: 1px solid rgba(0,0,0,.1); - - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - - padding-bottom: 4px; - padding-top: 4px; - cursor: pointer; - margin-top: 8px; - color: rgba(0,0,0,.54); - text-transform: uppercase; - font-size: 10px; - font-weight: 400; - display: none; -} - -#wpbs-export .progress-wrapper -{ - display: flex; - flex-direction: row; - justify-content: flex-start; - align-items: center; -} -#wpbs-export .progress-wrapper .progress-bar -{ - min-height: 8px; - max-height: 8px; - height: 8px; - border: 1px solid rgba(0,0,0,.2); - background-color: rgba(0,0,0,.05); - min-width: 100px; - width: 100px; - max-width: 100px; - - margin-right: 8px; -} -#wpbs-export .progress-wrapper .progress-bar .progress-bar-bar -{ - height: 8px; - width: 0; -} -#wpbs-export .progress-wrapper .progress -{ - min-width: 35px; - text-align: right; -} -#wpbs-export .wpbs-exporter .inside .wpbs-manual-toggle:hover -{ - background-color:rgba(179, 229, 252, .2); -} -#wpbs-export .wpbs-exporter .inside .wpbs-manual-toggle.open -{ - display: flex; -} - - -textarea.tracking_script {font-family:'Courier New',Arial;} - -.wpbs-show-dropdown-translations {margin-left:110px; font-size:12px; display:inline-block;} -.wpbs-dropdown-translations p {margin: 0; margin-left: 110px; display: inline-block; } -.wpbs-form-field p {line-height:2; } -.wpbs-form-field a {line-height:1;} - -@media screen and (-webkit-min-device-pixel-ratio:0) { - #compare-boxes div.compare-box.free ul {min-height:371px;} -} - -.wpbs-responsive-options {display:none;} - -@media screen and (max-width: 782px){ - .auto-fold #adminmenu a.menu-top.toplevel_page_wp-booking-system {height:54px;} - - .wpbs-table-calendars tr td:nth-child(n+3) {display:none !important;} - .wpbs-table-calendars tr td:nth-child(-n+2) {display:table-cell !important;} - .wpbs-table-calendars tr th:nth-child(n+3) {display:none !important;} - - - .wpbs-table-legend tr td:nth-child(n+3) {display:none !important;} - .wpbs-table-legend tr td:nth-child(-n+2), .wpbs-responsive-options {display:table-cell !important;} - .wpbs-table-legend tr th:nth-child(n+3) {display:none !important;} - - - .wpbs-table-ical tr td, .wpbs-table-forms tr td {display:table-cell !important;} - - - - - .wpbs-bookings-statuses {margin-top:0;} - .wpbs-data-table-pagination {float:none; text-align:center;} - .dataTables_filter {margin: 0; text-align:center; margin-top:10px;} - .wpbs-booking-field .wpbs-booking-field-date {display:none;} - .wpbs-booking-field .wpbs-booking-field-date-padding,.wpbs-booking-field .wpbs-booking-field-date-id {display:block;} - - .wpbs-booking-field .wpbs-booking-field-options p {position:relative;} - .wpbs-booking-field-preview {display:none;} - .wpbs-booking-field-text-wrap {padding-left:110px; width:auto; position:absolute; left:0;} - - .wpbs-wrap .wpbs-calendar-backend-wrap {position:static;} - .wpbs-wrap .wp-dates-editor-wrapper {padding-left:0;} - .wpbs-wrap .wp-dates-editor-wrapper .wpbs-dates-editor {margin:10px 0 0 0;} - - .edit-legend-container div.edit-legend-top label {width:100%;} - .edit-legend-container div.edit-legend-top span.color-wrapper {clear:both;} - .edit-legend-container div.edit-legend-top input.split-color {margin-left:0px; } - - .edit-legend-container div.edit-legend-top .show-split-color {float: none; clear: both; padding-top: 10px;} - - .wpbs-wrap .wpbs-settings-col .wpbs-settings-col-right {width:90%; padding-right: 10%;} - .wpbs-wrap .wpbs-settings-col .wpbs-settings-col-left {width:100%;} - .wpbs-wrap .wpbs-settings-col .wpbs-settings-col-right label {line-height:38px;} - .wpbs-wrap .wpbs-settings-col .wpbs-date-format label {float:none !important;} - .wpbs-wrap .wpbs-settings-col small {display:block;} - - - - .wpbs-show-dropdown-translations {margin-left:0;} - .fieldHtmlContainer textarea {width:100%;} - .wpbs-form-field {overflow:hidden;} - .wpbs-form-field span.wpbs-field-name {width:100px;} - .wpbs-form-field span.wpbs-field-type {width:100px;} - - - .wpbs-modal-overlay .wpbs-modal-box {left:0; margin-left:0; width:100%; } - .wpbs-modal-overlay .wpbs-modal-box-header-buttons {float:none; width: 90%; text-align: right;} - .wpbs-modal-overlay .wpbs-modal-box-header {min-height:46px; height:auto;} - .edit-dates-popup {width:auto!important;} - .wpbs-dates-editor {width:93%;} - .edit-dates-sidebar {width:90%; margin-left:0px;} - input.bulk-edit-legend-text {padding:2px 10px;} -} \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/css/wpbs-admin.min.css b/plugins/wp-booking-system/wp-booking-system/css/wpbs-admin.min.css deleted file mode 100755 index 22b60df..0000000 --- a/plugins/wp-booking-system/wp-booking-system/css/wpbs-admin.min.css +++ /dev/null @@ -1 +0,0 @@ -.wpbs-table-id{width:25px}.wpbs-wrap .postbox-container{width:100%}.wpbs-buttons-wrapper{height:28px;right:0;position:absolute;top:13px}.wpbs-wrap .button-h2{float:right;margin-left:10px}.wpbs-wrap .postbox{margin-bottom:0}.wpbs-wrap{position:relative}body.wp-admin .hasCustomSelect{margin-left:1px}@media screen and (-webkit-min-device-pixel-ratio:0){body.wp-admin .hasCustomSelect{margin-left:1px}}#inputCalendarData{display:none}.wpbs_saveForm:last-child{margin-top:10px}.wpbs-ical-link{background:#fff;width:98%;display:inline-block;padding:4px 10px;line-height:16px;font-size:12px;border:1px solid #dfdfdf;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.wpbs-table-ical-title{width:10%}.wpbs-wrap .wpbs-calendar-backend-wrap{position:absolute;left:10px;top:0;width:250px}.wpbs-wrap .wp-dates-editor-wrapper{padding-left:250px;width:100%;box-sizing:border-box}.wpbs-wrap .wp-dates-editor-wrapper .wpbs-dates-editor{float:left!important;width:99%;box-sizing:border-box}.wpbs-wrap .postbox .wpbs-container{float:none;clear:none}.wpbs-wrap h3.hndle{cursor:pointer!important}.wpbs-wrap input.fullTitle{width:100%;padding-left:8px;margin:9px 0 0 0;height:32px;line-height:normal!important;font-size:20px}.wpbs-wrap input.fullTitle.error{border:1px solid #eb0707}.wpbs-wrap input.fullTitle.error::-webkit-input-placeholder{color:#eb0707}.wpbs-wrap input.fullTitle.error:-moz-placeholder{color:#eb0707}.wpbs-wrap input.fullTitle.error::-moz-placeholder{color:#eb0707}.wpbs-wrap input.fullTitle.error:-ms-input-placeholder{color:#eb0707}.wpbs-warning{background-color:#ffc0bd;display:block;padding:15px 10px;color:#444;text-decoration:none}.wpbs-warning:hover{text-decoration:underline;color:#444}.wpbs-legend-color{display:block;float:left;width:22px;height:22px;margin-right:5px}.wpbs-legend-item{min-height:22px;line-height:16px;display:block;margin-bottom:10px;font-size:14px}.wpbs-legend-item p{padding:2px 0;margin:0}.wpbs-wrap .wpbs-calendar{float:left;margin-right:0}.wpbs-dates-editor{width:494px;float:right;margin:0 0 0 8px;padding:10px;border:1px solid #ccc;background:#fff}.wpbs-wrap div.updated{margin:9px 0 0 0;max-width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpbs-wrap .wpbs-hide{display:none}.wpbs-wrap .color-box{width:30px;height:30px;display:block}.wpbs-dates-editor ul{list-style:none;margin:0;padding:0}.wpbs-dates-editor ul li{display:block;margin-bottom:2px;float:left;clear:left;position:relative;padding-left:158px;padding-right:5px;box-sizing:border-box;width:100%}.wpbs-dates-editor ul li span.wpbs-day-and-status{position:absolute;left:0;top:0}.wpbs-dates-editor ul li span.wpbs-select-status{display:block;width:30px;height:30px;float:left;clear:left;position:relative;line-height:30px;text-align:center;margin-right:3px}.wpbs-table div.wpbs-select-status{margin-top:5px;display:block;width:22px;height:22px;float:left;clear:left;position:relative;line-height:22px;text-align:center;margin-right:3px;border:1px solid #ccc;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.wpbs-table div.wpbs-select-status .wpbs-day-split-top{border-width:22px 22px 0 0}.wpbs-table div.wpbs-select-status .wpbs-day-split-bottom{border-width:0 0 22px 22px}.wpbs-table td.middle{vertical-align:middle}.wpbs-table td.middle.default-icon a,.wpbs-table td.middle.default-icon img.default-icon{margin-left:17px}.wpbs-table td.middle.visible-icon a{margin-left:14px}.branch-3-8 .wpbs-table td.status-icon div.wpbs-select-status{margin-left:5px;margin-top:9px}.wpbs-table td.order-icon{padding-left:28px}.wpbs-table td.order-icon.double{padding-left:23px}.wpbs-dates-editor ul li select{height:28px;line-height:30px;padding:3px 2px 3px 0;border:1px solid #dfdfdf;width:120px;float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpbs-dates-editor ul li input{height:28px;line-height:1;float:left;border:1px solid #dfdfdf;margin-left:5px;width:100%;font-size:12px;font-weight:400;padding-left:3px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpbs-batch-update{background:#fff;border:1px solid #ccc;width:250px;float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:10px;margin-top:10px}.wpbs-batch-update label{display:block;font-weight:700}.wpbs-batch-update input[type=text]{width:182px}.wpbs-batch-update select#changeStatus{width:182px}.wpbs-batch-update span.error{color:#eb0707;margin-top:7px;display:none}.wpbs-batch-update p:first-of-type{margin-top:0!important}.wpbs-calendar-legend-container{background:#fff;border:1px solid #ccc;width:250px;float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:10px;margin-top:10px}.wpbs-select-status{height:30px;width:30px}.wpbs-wrap .wpbs-settings-col{margin-left:20px;clear:both;padding:10px 0;width:100%}.wpbs-wrap .wpbs-settings-col strong{font-size:12px;line-height:22px}.wpbs-wrap .wpbs-settings-col small{font-style:italic;font-size:11px;line-height:16px}.wpbs-wrap .wpbs-settings-col .wpbs-settings-col-left{float:left;width:155px;padding-right:10px}.wpbs-wrap .wpbs-settings-col .wpbs-settings-col-right{float:left;width:650px}.wpbs-wrap .wpbs-settings-col .wpbs-settings-col-right label{display:block;height:34px;line-height:22px}.wpbs-wrap .wpbs-settings-col .wpbs-settings-col-right label input{line-height:1;margin-right:5px}.wpbs-wrap .wpbs-settings-col .wpbs-date-format label{margin-right:10px;float:left!important;height:auto!important}.wpbs-wrap .translations h4{color:#000}.wpbs-wrap .translations .wpbs-settings-col{margin:0;padding:3px 0}.wpbs-booking-delete{background-color:#ffebee!important;border:1px solid #ffcdd2!important}.wpbs-booking-move{background-color:#e8f5e9!important;border:1px solid #c8e6c9!important}.wpbs-booking-selected{background-color:#e3f2fd!important;border:1px solid #bbdefb!important}.edit-legend-container div.edit-legend-top label{width:146px;float:left;display:block;height:22px;line-height:22px}.edit-legend-container div.edit-legend-top input{float:left}.edit-legend-container div.edit-legend-top div{float:left}.edit-legend-container div.edit-legend-top span{float:left}.edit-legend-container div.edit-legend-top span.color-box{width:20px;height:20px;border:1px solid #dfdfdf;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.edit-legend-container div.edit-legend-top input[type=text]{width:175px;height:22px;border:1px solid #dfdfdf;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;padding-left:5px;background-color:#fff;margin:0 0 0 8px}.edit-legend-container div.edit-legend-top input.split-color{margin:3px 7px 0 14px}.edit-legend-container div.edit-legend-top span.color-wrapper{height:22px;line-height:22px;margin-right:14px}.edit-legend-container div.wpbs-can-be-booked{margin-top:20px}.edit-legend-container div.wpbs-can-be-booked label{width:147px;float:left;display:block;height:22px;line-height:22px}.edit-legend-container div.wpbs-can-be-booked input{line-height:22px}.wpbs-wrap hr{clear:both;height:1px;border:none;background-color:#ccc;display:block;margin:23px 0 28px 0}.edit-legend-container ul.wpbs-legend-translations{list-style:none}.edit-legend-container ul.wpbs-legend-translations li{list-style:none;height:23px;line-height:23px;padding-top:6px}.edit-legend-container ul.wpbs-legend-translations li img{margin:2px 5px -1px 0}.edit-legend-container ul.wpbs-legend-translations li label{width:141px;display:block;float:left}.edit-legend-container ul.wpbs-legend-translations li input{width:140px}#wpbs-form-container{padding:10px 0;margin-top:-10px}#add-field{margin-bottom:10px}#wpbs-auto-reply{display:none}#wpbs-auto-reply.show{display:block}.wpbs-form-field{display:block;min-height:40px;border:1px solid #ccc;background-color:#fafafa;line-height:40px;margin:10px 0!important;position:relative}.wpbs-form-field.open{background:#fff}.wpbs-form-field a.wpbs-form-delete{width:18px;height:18px;position:absolute;top:11px;right:11px;background:transparent url(../images/wpbs-form-delete.png) no-repeat}.wpbs-form-field a.wpbs-form-move{width:18px;height:18px;position:absolute;top:11px;right:40px;background:transparent url(../images/wpbs-form-move.png) no-repeat;cursor:move}.wpbs-wrap li.wpbs-bookable:hover{border:none!important;cursor:default;line-height:30px!important}.wpbs-form-field span.wpbs-field-name{cursor:pointer;padding-left:13px;overflow:hidden;height:40px;font-weight:700;width:215px;display:block;float:left}.wpbs-form-field span.wpbs-field-type{cursor:pointer;width:500px;display:block;float:left}.wpbs-form-field div.wpbs-field-options{margin:0 10px;border-top:1px solid #cecece;padding:0 3px;clear:both}.wpbs-form-field div.wpbs-field-options p label{font-weight:600;width:110px;display:block;float:left}.wpbs-form-field div.wpbs-field-options input[type=text],.wpbs-form-field div.wpbs-field-options select,.wpbs-settings-col input[type=text]{width:100%;max-width:360px}.wpbs-form-field div.wpbs-field-options .wpbs-form-line{height:1px;width:100%;background-color:#cecece}.wpbs-form-field div.wpbs-field-options small{padding-left:5px}.wpbs-colorpicker span{float:left;margin-right:5px}.wpbs-colorpicker .color-box{width:21px;height:21px;border:1px solid #ccc;margin-top:0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.wpbs-colorpicker input{width:70px!important;margin-top:0}.wpbs-bookings-container{padding:10px 0;margin-top:-10px}.wpbs-bookings-container tr{display:block;width:100%;float:left;overflow:hidden}.wpbs-booking-field{display:block;min-height:40px;border:1px solid #ccc;background-color:#fff;line-height:40px;margin-bottom:10px;position:relative}.wpbs-booking-open-options{cursor:pointer}.wpbs-booking-field .wpbs-booking-field-date{width:200px;display:block;float:left}.wpbs-booking-field .wpbs-booking-field-date-padding{width:200px;padding-left:10px}.wpbs-booking-field .wpbs-booking-field-date-id{width:80px;padding-left:10px;float:right;background-color:#fff;z-index:5;position:relative}.wpbs-booking-field.wpbs-booking-field-read-0 .wpbs-booking-field-date-id{background-color:#ffffca}.wpbs-booking-field-preview{position:absolute;left:0;top:0;padding-left:412px}.wpbs-booking-field-preview-wrap{display:block;float:left;height:40px;overflow:hidden}.wpbs-booking-field-preview strong:first-child{padding-left:0}.wpbs-booking-field-preview strong{padding-left:12px}.wpbs-booking-field a.wpbs-booking-delete{width:18px;z-index:10;height:18px;position:absolute;top:11px;right:11px;background:transparent url(../images/wpbs-form-delete.png) no-repeat}.wpbs-booking-field div.wpbs-booking-field-options .wpbs-booking-line{height:1px;width:100%;background-color:#cecece}.wpbs-booking-field div.wpbs-booking-field-options{margin:0 10px;border-top:1px solid #cecece;padding:0 3px;clear:both}.wpbs-booking-field-read-0{background-color:#ffffca}.wpbs-booking-field div.wpbs-booking-field-options strong{width:110px;display:inline-block;vertical-align:top}.wpbs-booking-field .wpbs-booking-field-options p{line-height:22px;vertical-align:top}.wpbs-booking-field-text-wrap{display:inline-block;width:630px}.wpbs-bookings-status{display:none}.wpbs-bookings-statuses{margin-top:-39px}.wpbs-bookings-tabs{height:44px;line-height:34px;width:250px;position:relative;z-index:3}.wpbs-bookings-count{color:#999}.wpbs-bookings-tabs a{text-decoration:none}.wpbs-bookings-tabs a.active{font-weight:700;color:#000}.wpbs-bookings-status{position:relative}.wpbs-data-table{margin-top:15px;width:100%}.wpbs-data-table-pagination{float:right}.wpbs-data-table-pagination input{width:40px;text-align:center}.wpbs-data-table-pagination a{padding:0 7px!important}.dataTables_paginate{display:none}.wpbs-data-table-total-items{color:#999;font-style:italic;padding-right:10px}.wpbs-wrap .wpbs-calendar-users{background:#fff;border:1px solid #ccc;width:250px;float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:10px;margin-top:10px}.wpbs-wrap .wpbs-calendar-users select{width:100%}.wpbs-wrap .wpbs-calendar-users p{margin-top:0;margin-bottom:4px}.dataTables_filter{margin-left:40%}.dataTables_filter input{display:inline;width:150px}.wpbs-modal-overlay{width:100%;height:100%;background-color:rgba(0,0,0,.7);position:absolute;left:0;top:0;z-index:99999;display:none}.wpbs-modal-overlay .wpbs-modal-box{width:860px;padding:2px 20px 10px 20px;position:absolute;left:50%;margin-left:-450px;top:5%;background:#fff;min-height:100px}.wpbs-modal-overlay .wpbs-modal-box-header{height:46px;line-height:46px;border-bottom:1px solid #ccc}.wpbs-modal-overlay .wpbs-modal-box-header h2{margin:0}.wpbs-modal-overlay .wpbs-modal-box-header-buttons{margin-top:8px;float:right}.wpbs-modal-box-content{float:left}.wpbs-modal-box-content .wpbs-dates-editor{float:left;margin:0}.wpbs-count{width:16px;height:16px;background:#000;color:#fff;font-size:11px;line-height:16px;text-align:center;margin-left:5px;display:inline-block;-webkit-border-radius:8px!important;-khtml-border-radius:8px!important;-moz-border-radius:8px!important;border-radius:8px!important}.wpbs-count-0{display:none}#wpbs-past-accepted-bookings{display:none}.edit-dates-popup{float:left;width:516px}.edit-dates-sidebar{float:left;width:324px;margin-left:20px}.bulk-edit-dates-popup-container{padding:10px;border:1px solid #ccc;background:#fff}.bulk-edit-dates-popup-container .bulk-edit-legend-apply{margin-top:10px}.bulk-edit-dates-popup-container .bulk-edit-legend-text{width:173px;margin-left:5px}.bulk-edit-dates-popup-container .bulk-edit-legend-select{width:120px;vertical-align:top}.edit-dates-popup-messages{margin-top:10px}.edit-dates-popup-messages-container{padding:10px;border:1px solid #ccc;background:#fff}.edit-dates-popup-messages select{margin:0;width:100%}.edit-dates-popup-messages textarea{margin:0;width:100%;height:100px;margin-top:10px}.edit-dates-popup-messages .send-confirmation-message-options{display:none}.send-confirmation-message-options p{padding:0 2px}.send-confirmation-message-options p.small{font-size:12px;color:#999;font-style:italic}h2.compare-boxes-title{font-size:23px;padding:30px 0 21px 0}#compare-boxes div.compare-box{width:304px;float:left;padding:9px 0 0 0;border:1px solid #ccc;margin-right:15px;background-color:#fff}#compare-boxes div.compare-box h1{display:block;text-align:center;font-weight:400;font-size:26px;color:#0084ff;line-height:30px;border-bottom:1px solid #ccc;padding-bottom:26px;margin-left:15px;margin-right:15px}#compare-boxes div.compare-box ul{list-style:none;font-size:14px;color:#666;padding:4px 15px 0 15px}#compare-boxes div.compare-box ul li{padding:5px 0 6px 20px;background:transparent url(../images/compare-checked-icon.png) no-repeat left 5px}#compare-boxes div.compare-box div.box-bottom{background-color:#ececec;line-height:75px;height:75px}#compare-boxes div.compare-box div.box-bottom h2{padding:0;margin:0;line-height:75px;display:block;color:#999;font-size:18px;font-weight:400;text-align:center}#compare-boxes div.compare-box div.box-bottom.padding{padding-top:15px;height:60px}#compare-boxes div.compare-box div.box-bottom .compare-box-button{display:block;margin:0 15px 0 15px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;text-decoration:none;text-align:center;height:45px;line-height:45px;color:#fff;font-size:18px;text-shadow:1px 1px #36761c;background:transparent url(../images/compare-box-button-bg.png) repeat-x left top}#compare-boxes div.compare-box div.box-bottom .compare-box-button:hover{background-position:left bottom}#compare-boxes div.compare-box div.price p{color:#0084ff;font-size:14px;padding:8px 0 19px 40px}#compare-boxes div.compare-box div.price p strong{font-size:30px;font-weight:400;line-height:30px;display:block;float:left;margin-top:-5px;margin-right:8px}#compare-boxes div.compare-box small{display:block;text-align:center;color:#666;font-size:12px;height:30px;line-height:30px}#compare-boxes div.compare-box.free{padding-bottom:30px}#compare-boxes div.compare-box.free ul{min-height:379px}#wpbs-export .wrap{max-width:800px}#wpbs-export .toolbar{display:flex;flex:0 0 100%;flex-direction:row;justify-content:flex-start;align-items:center}#wpbs-export .toolbar h2{font-size:28px}#wpbs-export .flex{flex:1}#wpbs-export .separator-top-bottom{margin:16px 0}#wpbs-export .clearfix{display:table}#wpbs-export .clearfix:after{content:" ";clear:both}#wpbs-export .header{display:block;font-size:24px;line-height:24px;color:rgba(0,0,0,.87);margin-bottom:6px}#wpbs-export .subheader{display:block;font-size:20px;line-height:20px;color:rgba(0,0,0,.54)}#wpbs-export table{width:800px;background-color:#fff;border-collapse:collapse;border-radius:3px;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);margin:8px 0 16px 0}#wpbs-export table>tbody>tr>td{padding:16px}#wpbs-export table>tbody>tr>td:first-child{background-color:rgba(0,0,0,.03);width:35%}#wpbs-export table>tbody>tr>td:first-child span{display:block}#wpbs-export table>tbody>tr>td:first-child span:first-child{font-weight:700;color:rgba(0,0,0,.87)}#wpbs-export table>tbody>tr>td:first-child span:last-child{color:rgba(0,0,0,.54);font-size:12px}#wpbs-export table>tbody>tr>td:first-child span.totals{background:#44b1f1;padding:2px 4px 4px 4px;display:inline;border-radius:6px;font-size:10px;color:#fff;line-height:14px}#wpbs-export table>tbody>tr>td:last-child{background-color:#fff;width:65%}#wpbs-export .card-row{width:100%;display:flex;flex-direction:row;justify-content:space-around;align-items:center;margin-left:-16px;margin-right:-16px}#wpbs-export .mini-card{display:inline-block;background-color:#fff;border-radius:2px;width:75px;margin:8px;padding:16px;background-color:#fff8e1;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12)}#wpbs-export .mini-card span{display:block;text-align:center}#wpbs-export .mini-card span:first-child{font-weight:700}#wpbs-export .mini-card span:last-child{margin-top:8px;font-size:16px}#wpbs-export .btn{border-radius:2px;padding:8px 16px;margin:0 8px;text-decoration:none;text-align:center;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12)}#wpbs-export .btn.btn-info{background-color:#2196f3;color:#fff}#wpbs-export .btn.btn-default{background-color:#fff;color:rgba(0,0,0,.87)}#wpbs-export .pull-right{float:right}#wpbs-export .import.hndle .import-loading{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}#wpbs-export .flex{flex:1}#wpbs-export .import.hndle.importing{background-color:rgba(179,229,252,.5)}#wpbs-export .import.hndle.imported-success{background-color:rgba(139,195,74,.9);color:#fff}#wpbs-export .import.hndle.imported-error{background-color:rgba(244,67,54,.9);color:#fff}#wpbs-export .wpbs-exporter .inside .wpbs-manual-export{overflow-y:hidden;max-height:500px;transition-property:all;transition-duration:.5s;transition-timing-function:cubic-bezier(0,1,.5,1)}#wpbs-export .wpbs-exporter .inside .wpbs-manual-export.close{max-height:0}#wpbs-export .wpbs-exporter .inside .wpbs-manual-toggle{border-bottom:1px solid rgba(0,0,0,.1);display:flex;flex-direction:row;justify-content:center;align-items:center;padding-bottom:4px;padding-top:4px;cursor:pointer;margin-top:8px;color:rgba(0,0,0,.54);text-transform:uppercase;font-size:10px;font-weight:400;display:none}#wpbs-export .progress-wrapper{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}#wpbs-export .progress-wrapper .progress-bar{min-height:8px;max-height:8px;height:8px;border:1px solid rgba(0,0,0,.2);background-color:rgba(0,0,0,.05);min-width:100px;width:100px;max-width:100px;margin-right:8px}#wpbs-export .progress-wrapper .progress-bar .progress-bar-bar{height:8px;width:0}#wpbs-export .progress-wrapper .progress{min-width:35px;text-align:right}#wpbs-export .wpbs-exporter .inside .wpbs-manual-toggle:hover{background-color:rgba(179,229,252,.2)}#wpbs-export .wpbs-exporter .inside .wpbs-manual-toggle.open{display:flex}textarea.tracking_script{font-family:'Courier New',Arial}.wpbs-show-dropdown-translations{margin-left:110px;font-size:12px;display:inline-block}.wpbs-dropdown-translations p{margin:0;margin-left:110px;display:inline-block}.wpbs-form-field p{line-height:2}.wpbs-form-field a{line-height:1}@media screen and (-webkit-min-device-pixel-ratio:0){#compare-boxes div.compare-box.free ul{min-height:371px}}.wpbs-responsive-options{display:none}@media screen and (max-width:782px){.auto-fold #adminmenu a.menu-top.toplevel_page_wp-booking-system{height:54px}.wpbs-table-calendars tr td:nth-child(n+3){display:none!important}.wpbs-table-calendars tr td:nth-child(-n+2){display:table-cell!important}.wpbs-table-calendars tr th:nth-child(n+3){display:none!important}.wpbs-table-legend tr td:nth-child(n+3){display:none!important}.wpbs-responsive-options,.wpbs-table-legend tr td:nth-child(-n+2){display:table-cell!important}.wpbs-table-legend tr th:nth-child(n+3){display:none!important}.wpbs-table-forms tr td,.wpbs-table-ical tr td{display:table-cell!important}.wpbs-bookings-statuses{margin-top:0}.wpbs-data-table-pagination{float:none;text-align:center}.dataTables_filter{margin:0;text-align:center;margin-top:10px}.wpbs-booking-field .wpbs-booking-field-date{display:none}.wpbs-booking-field .wpbs-booking-field-date-id,.wpbs-booking-field .wpbs-booking-field-date-padding{display:block}.wpbs-booking-field .wpbs-booking-field-options p{position:relative}.wpbs-booking-field-preview{display:none}.wpbs-booking-field-text-wrap{padding-left:110px;width:auto;position:absolute;left:0}.wpbs-wrap .wpbs-calendar-backend-wrap{position:static}.wpbs-wrap .wp-dates-editor-wrapper{padding-left:0}.wpbs-wrap .wp-dates-editor-wrapper .wpbs-dates-editor{margin:10px 0 0 0}.edit-legend-container div.edit-legend-top label{width:100%}.edit-legend-container div.edit-legend-top span.color-wrapper{clear:both}.edit-legend-container div.edit-legend-top input.split-color{margin-left:0}.edit-legend-container div.edit-legend-top .show-split-color{float:none;clear:both;padding-top:10px}.wpbs-wrap .wpbs-settings-col .wpbs-settings-col-right{width:90%;padding-right:10%}.wpbs-wrap .wpbs-settings-col .wpbs-settings-col-left{width:100%}.wpbs-wrap .wpbs-settings-col .wpbs-settings-col-right label{line-height:38px}.wpbs-wrap .wpbs-settings-col .wpbs-date-format label{float:none!important}.wpbs-wrap .wpbs-settings-col small{display:block}.wpbs-show-dropdown-translations{margin-left:0}.fieldHtmlContainer textarea{width:100%}.wpbs-form-field{overflow:hidden}.wpbs-form-field span.wpbs-field-name{width:100px}.wpbs-form-field span.wpbs-field-type{width:100px}.wpbs-modal-overlay .wpbs-modal-box{left:0;margin-left:0;width:100%}.wpbs-modal-overlay .wpbs-modal-box-header-buttons{float:none;width:90%;text-align:right}.wpbs-modal-overlay .wpbs-modal-box-header{min-height:46px;height:auto}.edit-dates-popup{width:auto!important}.wpbs-dates-editor{width:93%}.edit-dates-sidebar{width:90%;margin-left:0}input.bulk-edit-legend-text{padding:2px 10px}} \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/css/wpbs-calendar-theme.css b/plugins/wp-booking-system/wp-booking-system/css/wpbs-calendar-theme.css deleted file mode 100755 index 9368f3f..0000000 --- a/plugins/wp-booking-system/wp-booking-system/css/wpbs-calendar-theme.css +++ /dev/null @@ -1,113 +0,0 @@ -@import url('https://fonts.googleapis.com/css?family=Roboto'); - -div.wpsbc-calendar, -div.wpsbc-calendar.wpsbc-week-numbers, -div.wpbs-calendar, -div.wpbs-calendar.wpbs-week-numbers -{ - font-family: 'Roboto', sans-serif; - width: auto; - min-width: 252px; - /*height: 322px;*/ - height: 317px; - padding: 0px !important; - border: none; - /*border: 1px solid rgba(0,0,0,.08);*/ - border-radius: 2px; - margin: 0 8px 8px 0px; - box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12); -} -div.wpsbc-calendar div.wpsbc-heading, -div.wpbs-calendar div.wpbs-heading, -div.wpsbc-calendar.wpsbc-week-numbers div.wpsbc-heading, -div.wpbs-calendar.wpbs-week-numbers div.wpbs-heading -{ - display: flex; - flex-direction: row; - justify-content: space-around; - align-items: center; -} -div.wpsbc-calendar div.wpsbc-heading, -div.wpbs-calendar div.wpbs-heading -{ - height: 64px; - width: auto; - border-top-left-radius: 2px; - border-top-right-radius: 2px; - background-color: rgba(0,0,0,.08); - margin: 0; - line-height: 64px; - border-bottom: 1px solid rgba(0,0,0,.08); -} -div.wpsbc-calendar div.wpsbc-heading, -div.wpbs-calendar div.wpbs-heading, -div.wpsbc-calendar.wpsbc-week-numbers div.wpsbc-heading, -div.wpbs-calendar.wpbs-week-numbers div.wpbs-heading -{ - min-width: 252px; -} -div.wpsbc-calendar ul.wpsbc-weekdays, -div.wpbs-calendar ul.wpbs-weekdays -{ - margin: 0 !important; - padding: 0px !important; - display: block; - background-color: rgba(176, 190, 197, 0.3); -} -div.wpsbc-calendar ul li, -div.wpbs-calendar ul li, -div.wpsbc-calendar ul li:hover, -div.wpbs-calendar ul li:hover -{ - width: 36px !important; - height: 36px !important; - max-height: 36px !important; - line-height: 36px !important; - font-size: 14px; - font-size: inherit; - margin: 0 !important; - background-color: transparent; -} -div.wpsbc-calendar ul li:hover, -div.wpbs-calendar ul li:hover -{ - -} -div.wpsbc-calendar ul.wpsbc-weekdays li, -div.wpbs-calendar ul.wpbs-weekdays li -{ - background: transparent; -} -div.wpsbc-calendar ul:not(.wpsbc-weekdays) li, -div.wpbs-calendar ul:not(.wpbs-weekdays) li -{ - border: none !important; - cursor: default; - border-bottom: 1px solid rgba(0,0,0,.08) !important; -} -div.wpsbc-calendar ul:last-of-type li, -div.wpbs-calendar ul:last-of-type li -{ - border-bottom: none !important; -} -div.wpsbc-calendar div.wpsbc-heading span, -div.wpbs-calendar div.wpbs-heading span -{ - font-size: 14px; - line-height: 64px; - color: rgba(0,0,0,.7); -} -.wpsbc-select-status .wpsbc-day-split-top, -div.wpsbc-calendar ul li .wpsbc-day-split-top, -.wpbs-select-status .wpbs-day-split-top, -div.wpbs-calendar ul li .wpbs-day-split-top -{ - border-width: 36px 36px 0 0; -} -.wpsbc-select-status .wpsbc-day-split-bottom, -div.wpsbc-calendar ul li .wpsbc-day-split-bottom, -.wpbs-select-status .wpbs-day-split-bottom, -div.wpbs-calendar ul li .wpbs-day-split-bottom -{ - border-width: 0 0 36px 36px; -} \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/css/wpbs-calendar.css b/plugins/wp-booking-system/wp-booking-system/css/wpbs-calendar.css deleted file mode 100755 index dc7fc6e..0000000 --- a/plugins/wp-booking-system/wp-booking-system/css/wpbs-calendar.css +++ /dev/null @@ -1,174 +0,0 @@ -.wpbs-container {float:left; clear:both;} - -.wpbs-container * {color:#000000; text-indent:0 !important; font-weight: normal !important;} - -div.wpbs-calendar {width:231px; height:261px; padding:10px 7px 7px 10px !important; position:relative; border: 1px solid #cccccc; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; background-color:#ffffff; float:left; margin-right:10px; margin-bottom:10px; } - -div.wpbs-calendar.wpbs-week-numbers {width:283px; } - -div.wpbs-calendar div.wpbs-heading {height:29px; width:228px; border-bottom:1px solid #000; color:#000000; font-size:0px; text-align:center; float:left;} -div.wpbs-calendar.wpbs-week-numbers div.wpbs-heading {width:261px;} -div.wpbs-calendar div.wpbs-heading span {font-size:14px; color:#000000; line-height:18px;} -div.wpbs-calendar div.wpbs-heading a {display:block; width:20px; height:19px; color:#000000;} -div.wpbs-calendar div.wpbs-heading a img {margin:0; padding:0; border:0; vertical-align: top;} -div.wpbs-calendar div.wpbs-heading a.wpbs-prev {float:left; font-size:0; width:20px; height:19px; background: transparent url(../images/arrow-left.png) no-repeat left top; box-shadow: none;} -div.wpbs-calendar div.wpbs-heading a.wpbs-next {float:right; font-size:0; width:20px; height:19px; background: transparent url(../images/arrow-right.png) no-repeat left top; box-shadow: none;} - -div.wpbs-calendar div.wpbs-heading select {height:19px; width:168px; opacity:1; font-size: 14px; position:absolute; left:-1px; top:0; padding: 0; -webkit-appearance: menulist;} -div.wpbs-calendar.wpbs-week-numbers div.wpbs-heading select {width:201px;} -div.wpbs-calendar div.wpbs-heading div.wpbs-select-container { float:left; margin:0 10px; height:19px; width:168px; text-align:left; position:relative;} -div.wpbs-calendar.wpbs-week-numbers div.wpbs-heading div.wpbs-select-container {width:201px;} - -div.wpbs-calendar img {-webkit-box-shadow: none !important; -moz-box-shadow: none !important; box-shadow: none !important;} - -div.wpbs-calendar li {background-image:none !important; border:none;} -div.wpbs-calendar li:before {content:none !important;} -div.wpbs-calendar li:after {content:none !important;} - -div.wpbs-calendar ul {list-style:none; float:left; clear:left; margin:0 !important; padding:0 !important; display:block; width:100%;} -div.wpbs-calendar ul li {display:block; float:left; width:30px; padding:0 !important; height:30px; line-height:30px; font-size:14px !important; text-align:center; margin:0 3px 3px 0 !important; *margin:0 3px 6px 0px !important; position:relative; z-index:2;} -div.wpbs-calendar ul li.wpbs-bookable-hover, -div.wpbs-calendar ul li.wpbs-bookable-clicked { width: 28px !important; height: 28px !important; } -div.wpbs-calendar ul.wpbs-weekdays {margin:0 !important;} -div.wpbs-calendar ul.wpbs-weekdays li {background:#fff; color:#000000; font-size:14px !important;} -div.wpbs-calendar ul li.wpbs-pad {background:#fff;} -div.wpbs-calendar.wpbs-week-numbers li.wpbs-pad {background-color: #f5f5f5;} - -div.wpbs-calendar .wpbs-loading {display:none; position:absolute; left:50%; top:50%; margin:-16px 0 0 -16px} -.wpbs-form-loading {display:none; width:28px; height:28px; float:left; margin:10px 0 0 5px;} - -.wpbs-clear:before, .wpbs-clear:after {content: " "; display: table;} -.wpbs-clear:after {clear: both;} -.wpbs-clear {position:static !important;} - -.wpbs-calendar-options {display:none;} - -div.wpbs-calendar ul li .wpbs-tooltip-corner {width: 0; -height: 0; -border-style: solid; -border-width: 0 5px 5px 0; -border-color: transparent red transparent transparent; position:absolute; top:0; right:0;} - -div.wpbs-calendar ul li .wpbs-day-split-top, .wpbs-select-status .wpbs-day-split-top {z-index:1; position:absolute; left:0; top:0; width: 0px; height: 0px; border-style: solid; border-width: 30px 30px 0 0; line-height: 0px; _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000'); color:#000000;} - -div.wpbs-calendar ul li .wpbs-day-split-bottom, .wpbs-select-status .wpbs-day-split-bottom {z-index:1; position:absolute; right:0; bottom:0; width: 0px; height: 0px; border-style: solid; border-width: 0 0 30px 30px; line-height: 0px; _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000'); color:#000000;} -div.wpbs-calendar ul li .wpbs-day-split-day, .wpbs-select-status .wpbs-day-split-day {position:relative; z-index:2; color:#000000;} - -.wpbs-legend-color {position:relative;} - -.wpbs-legend-color .wpbs-day-split-top {z-index:1; position:absolute; left:0; top:0; width: 0px; height: 0px; border-style: solid; border-width: 22px 22px 0 0; line-height: 0px; _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');} - -.wpbs-legend-color .wpbs-day-split-bottom {z-index:1; position:absolute; right:0; bottom:0; width: 0px; height: 0px; border-style: solid; border-width: 0 0 22px 22px; line-height: 0px; _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');} - -.wpbs-wrap div.wpbs-select-container .wpbs-dropdown -{ - height: 19px; - line-height: 1; - border: 1px solid #999999; - color: #000000; - font-size: 12px; - padding: 0 0 0 4px !important; - cursor: pointer; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin-top: 0px !important; -} -/*div.wpbs-select-container {position:relative;} -div.wpbs-select-container .wpbs-dropdown {width:168px; height:19px; line-height:1; background:#fafafa url(../images/wpbs-dropdown-arrow.png) no-repeat 150px 6px; border:1px solid #999999; color:#000000; font-size:12px; padding-left:4px; cursor:pointer; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin-top:0px !important;} -div.wpbs-select-container .wpbs-dropdown span {line-height:1; margin:0; padding:0;} -div.wpbs-select-container .wpbs-dropdown.customSelectHover_wpbs {background-color:#efefef;} -div.wpbs-select-container .hasCustomSelect_wpbs {margin-left:1px;} - -div.wpbs-calendar.wpbs-week-numbers div.wpbs-select-container .wpbs-dropdown {width:201px; background-position: 183px 6px;} - -@media screen and (-webkit-min-device-pixel-ratio:0) { - div.wpbs-select-container .hasCustomSelect_wpbs {margin-left:2px;} -}*/ - -.two-columns .wpbs-form-and-legend {max-width:250px;} -.wpbs-legend {padding:10px 0 10px 0 !important; border-bottom:1px solid #ccc;} -.wpbs-form-no-form .wpbs-legend {border-bottom:none;} -.wpbs-legend .wpbs-legend-item {float:left; display:block; margin-bottom:10px;} -.two-columns .wpbs-legend .wpbs-legend-item {width:100%;} -.wpbs-legend .wpbs-legend-item p {float:left; line-height:30px; padding:0 !important; font-size:14px; margin:0 10px 0 5px !important; color:#000000;} -.wpbs-legend .wpbs-legend-color {width:30px; float:left; height:30px; border:1px solid #cccccc; display:block; position:relative; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;} -.wpbs-legend .wpbs-legend-color .wpbs-day-split-top {border-width: 28px 28px 0 0 !important; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;} -.wpbs-legend .wpbs-legend-color .wpbs-day-split-bottom { border-width: 0 0 28px 28px !important; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;} - -.wpbs-widget .wpbs-calendar, .wpbs-widget .wpbs-calendar:first-child {margin: 5px;} -.wpbs-widget .wpbs-legend {margin:0 5px;} - - -/***** Form *****/ -.wpbs-form-form {width:100%; float:none !important; margin:0 !important; padding:10px 0 0 0 !important; } - -.wpbs-form-form label {float:none !important; margin:0 !important; padding:0 !important; display:block !important; color:#000000 !important; font-size:14px !important; line-height:30px !important; font-weight:bold !important;} - -.wpbs-form-form label.wpbs-form-error { color:#ed2024 !important;} - - -.wpbs-form-form input {float:none !important; margin:0 !important; display:block !important; color:#000000 !important; height:30px !important; font-size:14px !important; border:1px solid #cccccc !important; width:250px !important; padding:0 0 0 5px !important; -webkit-border-radius: 0px !important; -moz-border-radius: 0px !important; border-radius: 0px !important;} - -.wpbs-form-form select {vertical-align:middle; float:none !important; margin:0 !important; display:block !important; color:#000000 !important; font-size:14px !important; padding:5px 5px 4px 0 !important; border:1px solid #cccccc !important; width:auto !important; max-width:245px !important; -webkit-border-radius: 0px !important; -moz-border-radius: 0px !important; border-radius: 0px !important;} - -.wpbs-form-form textarea {float:none !important; margin:0 !important; display:block; color:#000000 !important; height:78px !important; font-size:14px !important; line-height:20px !important; border:1px solid #cccccc !important; width:250px !important; padding:4px 0 0 5px !important; max-width:250px !important; -webkit-border-radius: 0px !important; -moz-border-radius: 0px !important; border-radius: 0px !important;} - -.g-recaptcha {-ms-transform: scale(0.83); /* IE 9 */ - -webkit-transform: scale(0.83); /* Chrome, Safari, Opera */ - transform: scale(0.83); - transform-origin: 0 0; -webkit-transform-origin: 0 0; -ms-transform-origin: 0 0;} - -.zn-recaptcha { - display: block; - -ms-transform: scale(0.83); /* IE 9 */ - -webkit-transform: scale(0.83); /* Chrome, Safari, Opera */ - transform: scale(0.83); - transform-origin: 0 0; - -webkit-transform-origin: 0 0; - -ms-transform-origin: 0 0; -} - -.wpbs-form-form .wpbs-form-label-checkbox, .wpbs-form-form .wpbs-form-label-radio {float:left !important; clear:left !important; margin:0 15px 0 0 !important; padding:0 !important; display:block !important; color:#000000 !important; font-size:14px !important; line-height:24px !important; font-weight:normal !important} -.wpbs-form-form .wpbs-form-field-radio {border:none !important; background:none !important; float:left !important; width:auto !important; height: auto !important; padding:0 !important; margin:5px 5px 0 5px !important;} - - -.wpbs-form-form .wpbs-form-item {clear:both !important; float:left !important; display:block !important; padding:0 !important; margin:0 0 10px 0 !important; width:250px !important;} -.wpbs-form-form .wpbs-form-item.wpbs-submit-button {z-index:2; position:relative;} - -.wpbs-form-form .wpbs-form-field-checkbox {border:none !important; background:none !important; float:left !important; width:auto !important; height: auto !important; padding:0 !important; margin:5px 5px 0 5px !important;} - -.wpbs-form-form .wpbs-form-submit {background-color:#f2f2f2 !important; width:auto !important; color:#000000 !important; text-decoration:none !important; font-size:14px !important; height:28px !important; line-height:28px !important; border:1px solid #cccccc !important; background-image:none !important; padding:0 9px 0 9px !important; margin:10px 0 0 0 !important; clear:both !important; display:block !important; float:left !important; -webkit-border-radius: 0px !important; -moz-border-radius: 0px !important; border-radius: 0px !important; cursor:pointer !important;} -.wpbs-form-form .wpbs-form-submit:hover {background-color:#eaeaea !important;} - - -.wpbs-day.wpbs-tooltip-active {z-index:9000;} -.wpbs-tooltip {width:180px; padding:3px 5px; min-height:30px; border:1px solid #cccccc; background:#fafafa; top:0px; left:33px; position:absolute; pointer-events:none; z-index:9001; opacity:0.95; font-size:12px; line-height: 18px; text-align:left;} -.wpbs-tooltip strong {font-weight:bold; display:block;} - - - -.wpbs-container.two-columns {float:none; clear:none;} -.wpbs-container.two-columns .wpbs-calendars {float:left; margin-bottom:10px;} -.wpbs-container.two-columns .wpbs-form-and-legend {float: left; max-width: 250px;} -.wpbs-container.two-columns .wpbs-legend {padding-top:0px !important;} - - -/* Selected Styles when selection type = "week" */ -/*.wpbs-selected { background-color: #B3E5FC !important; cursor: inherit !important; } -.wpbs-selected span { color: rgba(0,0,0,.6) !important; } - -.wpbs-bookable.wpbs-selected:hover, -.wpbs-bookable-clicked.wpbs-selected, -.wpbs-bookable-hover.wpbs-selected { background-color: #B3E5FC !important; border: 1px solid transparent !important; } - -.wpbs-bookable.wpbs-selected:hover span, -.wpbs-bookable-clicked.wpbs-selected span, -.wpbs-bookable-hover.wpbs-selected span { color: rgba(0,0,0,.6) !important; } -*/ - -/*@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) { - div.wpbs-calendar div.wpbs-heading a.wpbs-prev {background: transparent url(../images/arrow-left@2x.png) no-repeat left top; background-size:20px 19px;} - div.wpbs-calendar div.wpbs-heading a.wpbs-next {background: transparent url(../images/arrow-right@2x.png) no-repeat left top; background-size:20px 19px;} - div.wpbs-calendar div.wpbs-select-container .wpbs-dropdown {background:#fafafa url(../images/wpbs-dropdown-arrow@2x.png) no-repeat 150px 6px; background-size:9px 6px;} -}*/ \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/css/wpbs-calendar.min.css b/plugins/wp-booking-system/wp-booking-system/css/wpbs-calendar.min.css deleted file mode 100755 index 93db319..0000000 --- a/plugins/wp-booking-system/wp-booking-system/css/wpbs-calendar.min.css +++ /dev/null @@ -1 +0,0 @@ -.wpbs-container{float:left;clear:both}.wpbs-container *{color:#000;text-indent:0!important;font-weight:400!important}div.wpbs-calendar{width:231px;height:261px;padding:10px 7px 7px 10px!important;position:relative;border:1px solid #ccc;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;background-color:#fff;float:left;margin-right:10px;margin-bottom:10px}div.wpbs-calendar.wpbs-week-numbers{width:283px}div.wpbs-calendar div.wpbs-heading{height:29px;width:228px;border-bottom:1px solid #000;color:#000;font-size:0;text-align:center;float:left}div.wpbs-calendar.wpbs-week-numbers div.wpbs-heading{width:261px}div.wpbs-calendar div.wpbs-heading span{font-size:14px;color:#000;line-height:18px}div.wpbs-calendar div.wpbs-heading a{display:block;width:20px;height:19px;color:#000}div.wpbs-calendar div.wpbs-heading a img{margin:0;padding:0;border:0;vertical-align:top}div.wpbs-calendar div.wpbs-heading a.wpbs-prev{float:left;font-size:0;width:20px;height:19px;background:transparent url(../images/arrow-left.png) no-repeat left top;box-shadow:none}div.wpbs-calendar div.wpbs-heading a.wpbs-next{float:right;font-size:0;width:20px;height:19px;background:transparent url(../images/arrow-right.png) no-repeat left top;box-shadow:none}div.wpbs-calendar div.wpbs-heading select{height:19px;width:168px;opacity:1;font-size:14px;position:absolute;left:-1px;top:0;padding:0;-webkit-appearance:menulist}div.wpbs-calendar.wpbs-week-numbers div.wpbs-heading select{width:201px}div.wpbs-calendar div.wpbs-heading div.wpbs-select-container{float:left;margin:0 10px;height:19px;width:168px;text-align:left;position:relative}div.wpbs-calendar.wpbs-week-numbers div.wpbs-heading div.wpbs-select-container{width:201px}div.wpbs-calendar img{-webkit-box-shadow:none!important;-moz-box-shadow:none!important;box-shadow:none!important}div.wpbs-calendar li{background-image:none!important;border:none}div.wpbs-calendar li:before{content:none!important}div.wpbs-calendar li:after{content:none!important}div.wpbs-calendar ul{list-style:none;float:left;clear:left;margin:0!important;padding:0!important;display:block;width:100%}div.wpbs-calendar ul li{display:block;float:left;width:30px;padding:0!important;height:30px;line-height:30px;font-size:14px!important;text-align:center;margin:0 3px 3px 0!important;position:relative;z-index:2}div.wpbs-calendar ul li.wpbs-bookable-clicked,div.wpbs-calendar ul li.wpbs-bookable-hover{width:28px!important;height:28px!important}div.wpbs-calendar ul.wpbs-weekdays{margin:0!important}div.wpbs-calendar ul.wpbs-weekdays li{background:#fff;color:#000;font-size:14px!important}div.wpbs-calendar ul li.wpbs-pad{background:#fff}div.wpbs-calendar.wpbs-week-numbers li.wpbs-pad{background-color:#f5f5f5}div.wpbs-calendar .wpbs-loading{display:none;position:absolute;left:50%;top:50%;margin:-16px 0 0 -16px}.wpbs-form-loading{display:none;width:28px;height:28px;float:left;margin:10px 0 0 5px}.wpbs-clear:after,.wpbs-clear:before{content:" ";display:table}.wpbs-clear:after{clear:both}.wpbs-clear{position:static!important}.wpbs-calendar-options{display:none}div.wpbs-calendar ul li .wpbs-tooltip-corner{width:0;height:0;border-style:solid;border-width:0 5px 5px 0;border-color:transparent red transparent transparent;position:absolute;top:0;right:0}.wpbs-select-status .wpbs-day-split-top,div.wpbs-calendar ul li .wpbs-day-split-top{z-index:1;position:absolute;left:0;top:0;width:0;height:0;border-style:solid;border-width:30px 30px 0 0;line-height:0;color:#000}.wpbs-select-status .wpbs-day-split-bottom,div.wpbs-calendar ul li .wpbs-day-split-bottom{z-index:1;position:absolute;right:0;bottom:0;width:0;height:0;border-style:solid;border-width:0 0 30px 30px;line-height:0;color:#000}.wpbs-select-status .wpbs-day-split-day,div.wpbs-calendar ul li .wpbs-day-split-day{position:relative;z-index:2;color:#000}.wpbs-legend-color{position:relative}.wpbs-legend-color .wpbs-day-split-top{z-index:1;position:absolute;left:0;top:0;width:0;height:0;border-style:solid;border-width:22px 22px 0 0;line-height:0}.wpbs-legend-color .wpbs-day-split-bottom{z-index:1;position:absolute;right:0;bottom:0;width:0;height:0;border-style:solid;border-width:0 0 22px 22px;line-height:0}.wpbs-wrap div.wpbs-select-container .wpbs-dropdown{height:19px;line-height:1;border:1px solid #999;color:#000;font-size:12px;padding:0 0 0 4px!important;cursor:pointer;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-top:0!important}.two-columns .wpbs-form-and-legend{max-width:250px}.wpbs-legend{padding:10px 0 10px 0!important;border-bottom:1px solid #ccc}.wpbs-form-no-form .wpbs-legend{border-bottom:none}.wpbs-legend .wpbs-legend-item{float:left;display:block;margin-bottom:10px}.two-columns .wpbs-legend .wpbs-legend-item{width:100%}.wpbs-legend .wpbs-legend-item p{float:left;line-height:30px;padding:0!important;font-size:14px;margin:0 10px 0 5px!important;color:#000}.wpbs-legend .wpbs-legend-color{width:30px;float:left;height:30px;border:1px solid #ccc;display:block;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpbs-legend .wpbs-legend-color .wpbs-day-split-top{border-width:28px 28px 0 0!important;-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;box-sizing:border-box!important}.wpbs-legend .wpbs-legend-color .wpbs-day-split-bottom{border-width:0 0 28px 28px!important;-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;box-sizing:border-box!important}.wpbs-widget .wpbs-calendar,.wpbs-widget .wpbs-calendar:first-child{margin:5px}.wpbs-widget .wpbs-legend{margin:0 5px}.wpbs-form-form{width:100%;float:none!important;margin:0!important;padding:10px 0 0 0!important}.wpbs-form-form label{float:none!important;margin:0!important;padding:0!important;display:block!important;color:#000!important;font-size:14px!important;line-height:30px!important;font-weight:700!important}.wpbs-form-form label.wpbs-form-error{color:#ed2024!important}.wpbs-form-form input{float:none!important;margin:0!important;display:block!important;color:#000!important;height:30px!important;font-size:14px!important;border:1px solid #ccc!important;width:250px!important;padding:0 0 0 5px!important;-webkit-border-radius:0!important;-moz-border-radius:0!important;border-radius:0!important}.wpbs-form-form select{vertical-align:middle;float:none!important;margin:0!important;display:block!important;color:#000!important;font-size:14px!important;padding:5px 5px 4px 0!important;border:1px solid #ccc!important;width:auto!important;max-width:245px!important;-webkit-border-radius:0!important;-moz-border-radius:0!important;border-radius:0!important}.wpbs-form-form textarea{float:none!important;margin:0!important;display:block;color:#000!important;height:78px!important;font-size:14px!important;line-height:20px!important;border:1px solid #ccc!important;width:250px!important;padding:4px 0 0 5px!important;max-width:250px!important;-webkit-border-radius:0!important;-moz-border-radius:0!important;border-radius:0!important}.g-recaptcha{-ms-transform:scale(.83);-webkit-transform:scale(.83);transform:scale(.83);transform-origin:0 0;-webkit-transform-origin:0 0;-ms-transform-origin:0 0}.zn-recaptcha{display:block;-ms-transform:scale(.83);-webkit-transform:scale(.83);transform:scale(.83);transform-origin:0 0;-webkit-transform-origin:0 0;-ms-transform-origin:0 0}.wpbs-form-form .wpbs-form-label-checkbox,.wpbs-form-form .wpbs-form-label-radio{float:left!important;clear:left!important;margin:0 15px 0 0!important;padding:0!important;display:block!important;color:#000!important;font-size:14px!important;line-height:24px!important;font-weight:400!important}.wpbs-form-form .wpbs-form-field-radio{border:none!important;background:0 0!important;float:left!important;width:auto!important;height:auto!important;padding:0!important;margin:5px 5px 0 5px!important}.wpbs-form-form .wpbs-form-item{clear:both!important;float:left!important;display:block!important;padding:0!important;margin:0 0 10px 0!important;width:250px!important}.wpbs-form-form .wpbs-form-item.wpbs-submit-button{z-index:2;position:relative}.wpbs-form-form .wpbs-form-field-checkbox{border:none!important;background:0 0!important;float:left!important;width:auto!important;height:auto!important;padding:0!important;margin:5px 5px 0 5px!important}.wpbs-form-form .wpbs-form-submit{background-color:#f2f2f2!important;width:auto!important;color:#000!important;text-decoration:none!important;font-size:14px!important;height:28px!important;line-height:28px!important;border:1px solid #ccc!important;background-image:none!important;padding:0 9px 0 9px!important;margin:10px 0 0 0!important;clear:both!important;display:block!important;float:left!important;-webkit-border-radius:0!important;-moz-border-radius:0!important;border-radius:0!important;cursor:pointer!important}.wpbs-form-form .wpbs-form-submit:hover{background-color:#eaeaea!important}.wpbs-day.wpbs-tooltip-active{z-index:9000}.wpbs-tooltip{width:180px;padding:3px 5px;min-height:30px;border:1px solid #ccc;background:#fafafa;top:0;left:33px;position:absolute;pointer-events:none;z-index:9001;opacity:.95;font-size:12px;line-height:18px;text-align:left}.wpbs-tooltip strong{font-weight:700;display:block}.wpbs-container.two-columns{float:none;clear:none}.wpbs-container.two-columns .wpbs-calendars{float:left;margin-bottom:10px}.wpbs-container.two-columns .wpbs-form-and-legend{float:left;max-width:250px}.wpbs-container.two-columns .wpbs-legend{padding-top:0!important} \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/images/ajax-loader.gif b/plugins/wp-booking-system/wp-booking-system/images/ajax-loader.gif deleted file mode 100755 index 2a491ac..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/ajax-loader.gif and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/arrow-left.png b/plugins/wp-booking-system/wp-booking-system/images/arrow-left.png deleted file mode 100755 index 8fd62b4..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/arrow-left.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/arrow-left@2x.png b/plugins/wp-booking-system/wp-booking-system/images/arrow-left@2x.png deleted file mode 100755 index a408b25..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/arrow-left@2x.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/arrow-right.png b/plugins/wp-booking-system/wp-booking-system/images/arrow-right.png deleted file mode 100755 index 12ae053..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/arrow-right.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/arrow-right@2x.png b/plugins/wp-booking-system/wp-booking-system/images/arrow-right@2x.png deleted file mode 100755 index d91d0e2..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/arrow-right@2x.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/chevron-down.png b/plugins/wp-booking-system/wp-booking-system/images/chevron-down.png deleted file mode 100755 index 06b91ba..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/chevron-down.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/chosen-sprite.png b/plugins/wp-booking-system/wp-booking-system/images/chosen-sprite.png deleted file mode 100755 index 3611ae4..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/chosen-sprite.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/chosen-sprite@2x.png b/plugins/wp-booking-system/wp-booking-system/images/chosen-sprite@2x.png deleted file mode 100755 index ffe4d7d..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/chosen-sprite@2x.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/colorpicker_overlay.png b/plugins/wp-booking-system/wp-booking-system/images/colorpicker_overlay.png deleted file mode 100755 index 561cdd9..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/colorpicker_overlay.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/colorpicker_select.gif b/plugins/wp-booking-system/wp-booking-system/images/colorpicker_select.gif deleted file mode 100755 index 599f7f1..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/colorpicker_select.gif and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/custom_background.png b/plugins/wp-booking-system/wp-booking-system/images/custom_background.png deleted file mode 100755 index cf55ffd..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/custom_background.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/custom_hex.png b/plugins/wp-booking-system/wp-booking-system/images/custom_hex.png deleted file mode 100755 index 888f444..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/custom_hex.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/custom_hsb_b.png b/plugins/wp-booking-system/wp-booking-system/images/custom_hsb_b.png deleted file mode 100755 index 2f99dae..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/custom_hsb_b.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/custom_hsb_h.png b/plugins/wp-booking-system/wp-booking-system/images/custom_hsb_h.png deleted file mode 100755 index a217e92..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/custom_hsb_h.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/custom_hsb_s.png b/plugins/wp-booking-system/wp-booking-system/images/custom_hsb_s.png deleted file mode 100755 index 7826b41..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/custom_hsb_s.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/custom_indic.gif b/plugins/wp-booking-system/wp-booking-system/images/custom_indic.gif deleted file mode 100755 index 222fb94..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/custom_indic.gif and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/custom_rgb_b.png b/plugins/wp-booking-system/wp-booking-system/images/custom_rgb_b.png deleted file mode 100755 index 80764e5..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/custom_rgb_b.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/custom_rgb_g.png b/plugins/wp-booking-system/wp-booking-system/images/custom_rgb_g.png deleted file mode 100755 index fc9778b..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/custom_rgb_g.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/custom_rgb_r.png b/plugins/wp-booking-system/wp-booking-system/images/custom_rgb_r.png deleted file mode 100755 index 91b0cd4..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/custom_rgb_r.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/custom_submit.png b/plugins/wp-booking-system/wp-booking-system/images/custom_submit.png deleted file mode 100755 index cd202cd..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/custom_submit.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/date-button.gif b/plugins/wp-booking-system/wp-booking-system/images/date-button.gif deleted file mode 100755 index f486b67..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/date-button.gif and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/default-legend-delete-icon.png b/plugins/wp-booking-system/wp-booking-system/images/default-legend-delete-icon.png deleted file mode 100755 index bb56ce9..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/default-legend-delete-icon.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/default-legend.png b/plugins/wp-booking-system/wp-booking-system/images/default-legend.png deleted file mode 100755 index 0f74489..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/default-legend.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/down-arrow.png b/plugins/wp-booking-system/wp-booking-system/images/down-arrow.png deleted file mode 100755 index 77457dd..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/down-arrow.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/edit-icon.png b/plugins/wp-booking-system/wp-booking-system/images/edit-icon.png deleted file mode 100755 index 689876d..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/edit-icon.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ad.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ad.png deleted file mode 100755 index 625ca84..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ad.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ae.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ae.png deleted file mode 100755 index ef3a1ec..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ae.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/af.png b/plugins/wp-booking-system/wp-booking-system/images/flags/af.png deleted file mode 100755 index a4742e2..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/af.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ag.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ag.png deleted file mode 100755 index 556d550..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ag.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ai.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ai.png deleted file mode 100755 index 74ed29d..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ai.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/al.png b/plugins/wp-booking-system/wp-booking-system/images/flags/al.png deleted file mode 100755 index 92354cb..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/al.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/am.png b/plugins/wp-booking-system/wp-booking-system/images/flags/am.png deleted file mode 100755 index 344a2a8..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/am.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/an.png b/plugins/wp-booking-system/wp-booking-system/images/flags/an.png deleted file mode 100755 index 633e4b8..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/an.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ao.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ao.png deleted file mode 100755 index bcbd1d6..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ao.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ar.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ar.png deleted file mode 100755 index e5ef8f1..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ar.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/as.png b/plugins/wp-booking-system/wp-booking-system/images/flags/as.png deleted file mode 100755 index 32f30e4..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/as.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/at.png b/plugins/wp-booking-system/wp-booking-system/images/flags/at.png deleted file mode 100755 index 0f15f34..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/at.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/au.png b/plugins/wp-booking-system/wp-booking-system/images/flags/au.png deleted file mode 100755 index a01389a..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/au.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/aw.png b/plugins/wp-booking-system/wp-booking-system/images/flags/aw.png deleted file mode 100755 index a3579c2..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/aw.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ax.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ax.png deleted file mode 100755 index 1eea80a..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ax.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/az.png b/plugins/wp-booking-system/wp-booking-system/images/flags/az.png deleted file mode 100755 index 4ee9fe5..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/az.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ba.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ba.png deleted file mode 100755 index c774992..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ba.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bb.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bb.png deleted file mode 100755 index 0df19c7..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bb.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bd.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bd.png deleted file mode 100755 index 076a8bf..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bd.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/be.png b/plugins/wp-booking-system/wp-booking-system/images/flags/be.png deleted file mode 100755 index d86ebc8..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/be.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bf.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bf.png deleted file mode 100755 index ab5ce8f..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bf.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bg.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bg.png deleted file mode 100755 index 0469f06..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bg.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bh.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bh.png deleted file mode 100755 index ea8ce68..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bh.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bi.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bi.png deleted file mode 100755 index 5cc2e30..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bi.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bj.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bj.png deleted file mode 100755 index 1cc8b45..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bj.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bm.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bm.png deleted file mode 100755 index c0c7aea..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bm.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bn.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bn.png deleted file mode 100755 index 8fb0984..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bn.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bo.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bo.png deleted file mode 100755 index ce7ba52..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bo.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/br.png b/plugins/wp-booking-system/wp-booking-system/images/flags/br.png deleted file mode 100755 index 9b1a553..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/br.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bs.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bs.png deleted file mode 100755 index 639fa6c..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bs.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bt.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bt.png deleted file mode 100755 index 1d512df..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bt.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bv.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bv.png deleted file mode 100755 index 160b6b5..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bv.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bw.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bw.png deleted file mode 100755 index fcb1039..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bw.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/by.png b/plugins/wp-booking-system/wp-booking-system/images/flags/by.png deleted file mode 100755 index 504774e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/by.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/bz.png b/plugins/wp-booking-system/wp-booking-system/images/flags/bz.png deleted file mode 100755 index be63ee1..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/bz.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ca.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ca.png deleted file mode 100755 index 5041e30..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ca.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/cc.png b/plugins/wp-booking-system/wp-booking-system/images/flags/cc.png deleted file mode 100755 index aed3d3b..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/cc.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/cd.png b/plugins/wp-booking-system/wp-booking-system/images/flags/cd.png deleted file mode 100755 index 5e48942..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/cd.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/cf.png b/plugins/wp-booking-system/wp-booking-system/images/flags/cf.png deleted file mode 100755 index da687bd..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/cf.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/cg.png b/plugins/wp-booking-system/wp-booking-system/images/flags/cg.png deleted file mode 100755 index a859792..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/cg.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ch.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ch.png deleted file mode 100755 index 242ec01..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ch.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ci.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ci.png deleted file mode 100755 index 3f2c62e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ci.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ck.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ck.png deleted file mode 100755 index 746d3d6..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ck.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/cl.png b/plugins/wp-booking-system/wp-booking-system/images/flags/cl.png deleted file mode 100755 index 29c6d61..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/cl.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/cm.png b/plugins/wp-booking-system/wp-booking-system/images/flags/cm.png deleted file mode 100755 index f65c5bd..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/cm.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/co.png b/plugins/wp-booking-system/wp-booking-system/images/flags/co.png deleted file mode 100755 index a118ff4..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/co.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/cr.png b/plugins/wp-booking-system/wp-booking-system/images/flags/cr.png deleted file mode 100755 index c7a3731..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/cr.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/cs.png b/plugins/wp-booking-system/wp-booking-system/images/flags/cs.png deleted file mode 100755 index 8254790..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/cs.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/cu.png b/plugins/wp-booking-system/wp-booking-system/images/flags/cu.png deleted file mode 100755 index 083f1d6..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/cu.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/cv.png b/plugins/wp-booking-system/wp-booking-system/images/flags/cv.png deleted file mode 100755 index a63f7ea..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/cv.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/cx.png b/plugins/wp-booking-system/wp-booking-system/images/flags/cx.png deleted file mode 100755 index 48e31ad..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/cx.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/cy.png b/plugins/wp-booking-system/wp-booking-system/images/flags/cy.png deleted file mode 100755 index 5b1ad6c..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/cy.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/cz.png b/plugins/wp-booking-system/wp-booking-system/images/flags/cz.png deleted file mode 100755 index c8403dd..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/cz.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/da.png b/plugins/wp-booking-system/wp-booking-system/images/flags/da.png deleted file mode 100755 index e2993d3..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/da.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/de.png b/plugins/wp-booking-system/wp-booking-system/images/flags/de.png deleted file mode 100755 index ac4a977..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/de.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/dj.png b/plugins/wp-booking-system/wp-booking-system/images/flags/dj.png deleted file mode 100755 index 582af36..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/dj.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/dk.png b/plugins/wp-booking-system/wp-booking-system/images/flags/dk.png deleted file mode 100755 index e2993d3..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/dk.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/dm.png b/plugins/wp-booking-system/wp-booking-system/images/flags/dm.png deleted file mode 100755 index 5fbffcb..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/dm.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/do.png b/plugins/wp-booking-system/wp-booking-system/images/flags/do.png deleted file mode 100755 index 5a04932..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/do.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/dz.png b/plugins/wp-booking-system/wp-booking-system/images/flags/dz.png deleted file mode 100755 index 335c239..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/dz.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ec.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ec.png deleted file mode 100755 index 0caa0b1..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ec.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ee.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ee.png deleted file mode 100755 index 0c82efb..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ee.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/eg.png b/plugins/wp-booking-system/wp-booking-system/images/flags/eg.png deleted file mode 100755 index 8a3f7a1..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/eg.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/eh.png b/plugins/wp-booking-system/wp-booking-system/images/flags/eh.png deleted file mode 100755 index 90a1195..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/eh.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/el.png b/plugins/wp-booking-system/wp-booking-system/images/flags/el.png deleted file mode 100755 index 8651ade..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/el.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/en.png b/plugins/wp-booking-system/wp-booking-system/images/flags/en.png deleted file mode 100755 index 10f451f..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/en.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/england.png b/plugins/wp-booking-system/wp-booking-system/images/flags/england.png deleted file mode 100755 index 3a7311d..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/england.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/er.png b/plugins/wp-booking-system/wp-booking-system/images/flags/er.png deleted file mode 100755 index 13065ae..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/er.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/es.png b/plugins/wp-booking-system/wp-booking-system/images/flags/es.png deleted file mode 100755 index c2de2d7..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/es.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/et.png b/plugins/wp-booking-system/wp-booking-system/images/flags/et.png deleted file mode 100755 index 2e893fa..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/et.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/europeanunion.png b/plugins/wp-booking-system/wp-booking-system/images/flags/europeanunion.png deleted file mode 100755 index d6d8711..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/europeanunion.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/fam.png b/plugins/wp-booking-system/wp-booking-system/images/flags/fam.png deleted file mode 100755 index cf50c75..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/fam.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/fi.png b/plugins/wp-booking-system/wp-booking-system/images/flags/fi.png deleted file mode 100755 index 14ec091..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/fi.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/fj.png b/plugins/wp-booking-system/wp-booking-system/images/flags/fj.png deleted file mode 100755 index cee9988..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/fj.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/fk.png b/plugins/wp-booking-system/wp-booking-system/images/flags/fk.png deleted file mode 100755 index ceaeb27..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/fk.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/fm.png b/plugins/wp-booking-system/wp-booking-system/images/flags/fm.png deleted file mode 100755 index 066bb24..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/fm.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/fo.png b/plugins/wp-booking-system/wp-booking-system/images/flags/fo.png deleted file mode 100755 index cbceb80..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/fo.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/fr.png b/plugins/wp-booking-system/wp-booking-system/images/flags/fr.png deleted file mode 100755 index 8332c4e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/fr.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ga.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ga.png deleted file mode 100755 index 0e0d434..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ga.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gb.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gb.png deleted file mode 100755 index ff701e1..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gb.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gd.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gd.png deleted file mode 100755 index 9ab57f5..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gd.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ge.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ge.png deleted file mode 100755 index 728d970..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ge.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gf.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gf.png deleted file mode 100755 index 8332c4e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gf.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gh.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gh.png deleted file mode 100755 index 4e2f896..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gh.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gi.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gi.png deleted file mode 100755 index e76797f..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gi.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gl.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gl.png deleted file mode 100755 index ef12a73..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gl.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gm.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gm.png deleted file mode 100755 index 0720b66..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gm.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gn.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gn.png deleted file mode 100755 index ea660b0..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gn.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gp.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gp.png deleted file mode 100755 index dbb086d..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gp.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gq.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gq.png deleted file mode 100755 index ebe20a2..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gq.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gr.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gr.png deleted file mode 100755 index 8651ade..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gr.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gs.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gs.png deleted file mode 100755 index 7ef0bf5..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gs.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gt.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gt.png deleted file mode 100755 index c43a70d..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gt.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gu.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gu.png deleted file mode 100755 index 92f37c0..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gu.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gw.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gw.png deleted file mode 100755 index b37bcf0..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gw.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/gy.png b/plugins/wp-booking-system/wp-booking-system/images/flags/gy.png deleted file mode 100755 index 22cbe2f..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/gy.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/hk.png b/plugins/wp-booking-system/wp-booking-system/images/flags/hk.png deleted file mode 100755 index d5c380c..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/hk.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/hm.png b/plugins/wp-booking-system/wp-booking-system/images/flags/hm.png deleted file mode 100755 index a01389a..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/hm.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/hn.png b/plugins/wp-booking-system/wp-booking-system/images/flags/hn.png deleted file mode 100755 index 96f8388..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/hn.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/hr.png b/plugins/wp-booking-system/wp-booking-system/images/flags/hr.png deleted file mode 100755 index 696b515..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/hr.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ht.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ht.png deleted file mode 100755 index 416052a..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ht.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/hu.png b/plugins/wp-booking-system/wp-booking-system/images/flags/hu.png deleted file mode 100755 index 7baafe4..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/hu.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/id.png b/plugins/wp-booking-system/wp-booking-system/images/flags/id.png deleted file mode 100755 index c6bc0fa..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/id.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ie.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ie.png deleted file mode 100755 index 26baa31..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ie.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/il.png b/plugins/wp-booking-system/wp-booking-system/images/flags/il.png deleted file mode 100755 index 2ca772d..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/il.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/in.png b/plugins/wp-booking-system/wp-booking-system/images/flags/in.png deleted file mode 100755 index e4d7e81..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/in.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/io.png b/plugins/wp-booking-system/wp-booking-system/images/flags/io.png deleted file mode 100755 index 3e74b6a..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/io.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/iq.png b/plugins/wp-booking-system/wp-booking-system/images/flags/iq.png deleted file mode 100755 index 878a351..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/iq.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ir.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ir.png deleted file mode 100755 index c5fd136..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ir.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/is.png b/plugins/wp-booking-system/wp-booking-system/images/flags/is.png deleted file mode 100755 index b8f6d0f..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/is.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/it.png b/plugins/wp-booking-system/wp-booking-system/images/flags/it.png deleted file mode 100755 index 89692f7..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/it.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/jm.png b/plugins/wp-booking-system/wp-booking-system/images/flags/jm.png deleted file mode 100755 index 7be119e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/jm.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/jo.png b/plugins/wp-booking-system/wp-booking-system/images/flags/jo.png deleted file mode 100755 index 11bd497..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/jo.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/jp.png b/plugins/wp-booking-system/wp-booking-system/images/flags/jp.png deleted file mode 100755 index 325fbad..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/jp.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ke.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ke.png deleted file mode 100755 index 51879ad..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ke.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/kg.png b/plugins/wp-booking-system/wp-booking-system/images/flags/kg.png deleted file mode 100755 index 0a818f6..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/kg.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/kh.png b/plugins/wp-booking-system/wp-booking-system/images/flags/kh.png deleted file mode 100755 index 30f6bb1..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/kh.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ki.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ki.png deleted file mode 100755 index 2dcce4b..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ki.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/km.png b/plugins/wp-booking-system/wp-booking-system/images/flags/km.png deleted file mode 100755 index 812b2f5..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/km.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/kn.png b/plugins/wp-booking-system/wp-booking-system/images/flags/kn.png deleted file mode 100755 index febd5b4..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/kn.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/kp.png b/plugins/wp-booking-system/wp-booking-system/images/flags/kp.png deleted file mode 100755 index d3d509a..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/kp.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/kr.png b/plugins/wp-booking-system/wp-booking-system/images/flags/kr.png deleted file mode 100755 index 9c0a78e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/kr.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/kw.png b/plugins/wp-booking-system/wp-booking-system/images/flags/kw.png deleted file mode 100755 index 96546da..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/kw.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ky.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ky.png deleted file mode 100755 index 15c5f8e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ky.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/kz.png b/plugins/wp-booking-system/wp-booking-system/images/flags/kz.png deleted file mode 100755 index 45a8c88..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/kz.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/la.png b/plugins/wp-booking-system/wp-booking-system/images/flags/la.png deleted file mode 100755 index e28acd0..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/la.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/lb.png b/plugins/wp-booking-system/wp-booking-system/images/flags/lb.png deleted file mode 100755 index d0d452b..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/lb.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/lc.png b/plugins/wp-booking-system/wp-booking-system/images/flags/lc.png deleted file mode 100755 index a47d065..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/lc.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/li.png b/plugins/wp-booking-system/wp-booking-system/images/flags/li.png deleted file mode 100755 index 6469909..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/li.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/lk.png b/plugins/wp-booking-system/wp-booking-system/images/flags/lk.png deleted file mode 100755 index 088aad6..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/lk.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/lr.png b/plugins/wp-booking-system/wp-booking-system/images/flags/lr.png deleted file mode 100755 index 89a5bc7..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/lr.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ls.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ls.png deleted file mode 100755 index 33fdef1..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ls.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/lt.png b/plugins/wp-booking-system/wp-booking-system/images/flags/lt.png deleted file mode 100755 index c8ef0da..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/lt.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/lu.png b/plugins/wp-booking-system/wp-booking-system/images/flags/lu.png deleted file mode 100755 index 4cabba9..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/lu.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/lv.png b/plugins/wp-booking-system/wp-booking-system/images/flags/lv.png deleted file mode 100755 index 49b6998..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/lv.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ly.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ly.png deleted file mode 100755 index b163a9f..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ly.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ma.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ma.png deleted file mode 100755 index f386770..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ma.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mc.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mc.png deleted file mode 100755 index 1aa830f..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mc.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/md.png b/plugins/wp-booking-system/wp-booking-system/images/flags/md.png deleted file mode 100755 index 4e92c18..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/md.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/me.png b/plugins/wp-booking-system/wp-booking-system/images/flags/me.png deleted file mode 100755 index ac72535..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/me.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mg.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mg.png deleted file mode 100755 index d2715b3..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mg.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mh.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mh.png deleted file mode 100755 index fb523a8..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mh.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mk.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mk.png deleted file mode 100755 index db173aa..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mk.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ml.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ml.png deleted file mode 100755 index 2cec8ba..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ml.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mm.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mm.png deleted file mode 100755 index f464f67..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mm.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mn.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mn.png deleted file mode 100755 index 9396355..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mn.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mo.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mo.png deleted file mode 100755 index deb801d..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mo.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mp.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mp.png deleted file mode 100755 index 298d588..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mp.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mq.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mq.png deleted file mode 100755 index 010143b..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mq.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mr.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mr.png deleted file mode 100755 index 319546b..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mr.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ms.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ms.png deleted file mode 100755 index d4cbb43..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ms.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mt.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mt.png deleted file mode 100755 index 00af948..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mt.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mu.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mu.png deleted file mode 100755 index b7fdce1..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mu.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mv.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mv.png deleted file mode 100755 index 5073d9e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mv.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mw.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mw.png deleted file mode 100755 index 13886e9..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mw.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mx.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mx.png deleted file mode 100755 index 5bc58ab..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mx.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/my.png b/plugins/wp-booking-system/wp-booking-system/images/flags/my.png deleted file mode 100755 index 9034cba..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/my.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/mz.png b/plugins/wp-booking-system/wp-booking-system/images/flags/mz.png deleted file mode 100755 index 76405e0..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/mz.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/na.png b/plugins/wp-booking-system/wp-booking-system/images/flags/na.png deleted file mode 100755 index 63358c6..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/na.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/nc.png b/plugins/wp-booking-system/wp-booking-system/images/flags/nc.png deleted file mode 100755 index 2cad283..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/nc.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ne.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ne.png deleted file mode 100755 index d85f424..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ne.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/nf.png b/plugins/wp-booking-system/wp-booking-system/images/flags/nf.png deleted file mode 100755 index f9bcdda..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/nf.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ng.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ng.png deleted file mode 100755 index 3eea2e0..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ng.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ni.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ni.png deleted file mode 100755 index 3969aaa..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ni.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/nl.png b/plugins/wp-booking-system/wp-booking-system/images/flags/nl.png deleted file mode 100755 index fe44791..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/nl.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/no.png b/plugins/wp-booking-system/wp-booking-system/images/flags/no.png deleted file mode 100755 index 160b6b5..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/no.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/np.png b/plugins/wp-booking-system/wp-booking-system/images/flags/np.png deleted file mode 100755 index aeb058b..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/np.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/nr.png b/plugins/wp-booking-system/wp-booking-system/images/flags/nr.png deleted file mode 100755 index 705fc33..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/nr.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/nu.png b/plugins/wp-booking-system/wp-booking-system/images/flags/nu.png deleted file mode 100755 index c3ce4ae..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/nu.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/nz.png b/plugins/wp-booking-system/wp-booking-system/images/flags/nz.png deleted file mode 100755 index 10d6306..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/nz.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/om.png b/plugins/wp-booking-system/wp-booking-system/images/flags/om.png deleted file mode 100755 index 2ffba7e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/om.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/pa.png b/plugins/wp-booking-system/wp-booking-system/images/flags/pa.png deleted file mode 100755 index 9b2ee9a..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/pa.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/pe.png b/plugins/wp-booking-system/wp-booking-system/images/flags/pe.png deleted file mode 100755 index 62a0497..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/pe.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/pf.png b/plugins/wp-booking-system/wp-booking-system/images/flags/pf.png deleted file mode 100755 index 771a0f6..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/pf.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/pg.png b/plugins/wp-booking-system/wp-booking-system/images/flags/pg.png deleted file mode 100755 index 10d6233..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/pg.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ph.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ph.png deleted file mode 100755 index b89e159..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ph.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/pk.png b/plugins/wp-booking-system/wp-booking-system/images/flags/pk.png deleted file mode 100755 index e9df70c..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/pk.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/pl.png b/plugins/wp-booking-system/wp-booking-system/images/flags/pl.png deleted file mode 100755 index d413d01..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/pl.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/pm.png b/plugins/wp-booking-system/wp-booking-system/images/flags/pm.png deleted file mode 100755 index ba91d2c..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/pm.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/pn.png b/plugins/wp-booking-system/wp-booking-system/images/flags/pn.png deleted file mode 100755 index aa9344f..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/pn.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/pr.png b/plugins/wp-booking-system/wp-booking-system/images/flags/pr.png deleted file mode 100755 index 82d9130..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/pr.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ps.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ps.png deleted file mode 100755 index f5f5477..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ps.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/pt.png b/plugins/wp-booking-system/wp-booking-system/images/flags/pt.png deleted file mode 100755 index ece7980..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/pt.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/pw.png b/plugins/wp-booking-system/wp-booking-system/images/flags/pw.png deleted file mode 100755 index 6178b25..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/pw.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/py.png b/plugins/wp-booking-system/wp-booking-system/images/flags/py.png deleted file mode 100755 index cb8723c..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/py.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/qa.png b/plugins/wp-booking-system/wp-booking-system/images/flags/qa.png deleted file mode 100755 index ed4c621..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/qa.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/re.png b/plugins/wp-booking-system/wp-booking-system/images/flags/re.png deleted file mode 100755 index 8332c4e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/re.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ro.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ro.png deleted file mode 100755 index 57e74a6..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ro.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/rs.png b/plugins/wp-booking-system/wp-booking-system/images/flags/rs.png deleted file mode 100755 index 9439a5b..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/rs.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ru.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ru.png deleted file mode 100755 index 47da421..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ru.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/rw.png b/plugins/wp-booking-system/wp-booking-system/images/flags/rw.png deleted file mode 100755 index 5356491..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/rw.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sa.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sa.png deleted file mode 100755 index b4641c7..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sa.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sb.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sb.png deleted file mode 100755 index a9937cc..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sb.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sc.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sc.png deleted file mode 100755 index 39ee371..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sc.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/scotland.png b/plugins/wp-booking-system/wp-booking-system/images/flags/scotland.png deleted file mode 100755 index a0e57b4..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/scotland.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sd.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sd.png deleted file mode 100755 index eaab69e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sd.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/se.png b/plugins/wp-booking-system/wp-booking-system/images/flags/se.png deleted file mode 100755 index 1994653..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/se.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sg.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sg.png deleted file mode 100755 index dd34d61..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sg.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sh.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sh.png deleted file mode 100755 index 4b1d2a2..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sh.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/si.png b/plugins/wp-booking-system/wp-booking-system/images/flags/si.png deleted file mode 100755 index bb1476f..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/si.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sj.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sj.png deleted file mode 100755 index 160b6b5..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sj.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sk.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sk.png deleted file mode 100755 index 7ccbc82..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sk.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sl.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sl.png deleted file mode 100755 index 12d812d..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sl.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sm.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sm.png deleted file mode 100755 index 3df2fdc..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sm.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sn.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sn.png deleted file mode 100755 index eabb71d..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sn.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/so.png b/plugins/wp-booking-system/wp-booking-system/images/flags/so.png deleted file mode 100755 index 4a1ea4b..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/so.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sr.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sr.png deleted file mode 100755 index 5eff927..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sr.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/st.png b/plugins/wp-booking-system/wp-booking-system/images/flags/st.png deleted file mode 100755 index 2978557..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/st.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sv.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sv.png deleted file mode 100755 index 2498799..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sv.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sy.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sy.png deleted file mode 100755 index f5ce30d..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sy.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/sz.png b/plugins/wp-booking-system/wp-booking-system/images/flags/sz.png deleted file mode 100755 index 914ee86..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/sz.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/tc.png b/plugins/wp-booking-system/wp-booking-system/images/flags/tc.png deleted file mode 100755 index 8fc1156..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/tc.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/td.png b/plugins/wp-booking-system/wp-booking-system/images/flags/td.png deleted file mode 100755 index 667f21f..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/td.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/tf.png b/plugins/wp-booking-system/wp-booking-system/images/flags/tf.png deleted file mode 100755 index 80529a4..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/tf.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/tg.png b/plugins/wp-booking-system/wp-booking-system/images/flags/tg.png deleted file mode 100755 index 3aa00ad..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/tg.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/th.png b/plugins/wp-booking-system/wp-booking-system/images/flags/th.png deleted file mode 100755 index dd8ba91..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/th.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/tj.png b/plugins/wp-booking-system/wp-booking-system/images/flags/tj.png deleted file mode 100755 index 617bf64..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/tj.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/tk.png b/plugins/wp-booking-system/wp-booking-system/images/flags/tk.png deleted file mode 100755 index 67b8c8c..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/tk.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/tl.png b/plugins/wp-booking-system/wp-booking-system/images/flags/tl.png deleted file mode 100755 index 77da181..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/tl.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/tm.png b/plugins/wp-booking-system/wp-booking-system/images/flags/tm.png deleted file mode 100755 index 828020e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/tm.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/tn.png b/plugins/wp-booking-system/wp-booking-system/images/flags/tn.png deleted file mode 100755 index 183cdd3..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/tn.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/to.png b/plugins/wp-booking-system/wp-booking-system/images/flags/to.png deleted file mode 100755 index f89b8ba..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/to.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/tr.png b/plugins/wp-booking-system/wp-booking-system/images/flags/tr.png deleted file mode 100755 index be32f77..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/tr.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/tt.png b/plugins/wp-booking-system/wp-booking-system/images/flags/tt.png deleted file mode 100755 index 2a11c1e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/tt.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/tv.png b/plugins/wp-booking-system/wp-booking-system/images/flags/tv.png deleted file mode 100755 index 28274c5..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/tv.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/tw.png b/plugins/wp-booking-system/wp-booking-system/images/flags/tw.png deleted file mode 100755 index f31c654..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/tw.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/tz.png b/plugins/wp-booking-system/wp-booking-system/images/flags/tz.png deleted file mode 100755 index c00ff79..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/tz.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ua.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ua.png deleted file mode 100755 index 09563a2..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ua.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ug.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ug.png deleted file mode 100755 index 33f4aff..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ug.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/um.png b/plugins/wp-booking-system/wp-booking-system/images/flags/um.png deleted file mode 100755 index c1dd965..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/um.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/us.png b/plugins/wp-booking-system/wp-booking-system/images/flags/us.png deleted file mode 100755 index 10f451f..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/us.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/uy.png b/plugins/wp-booking-system/wp-booking-system/images/flags/uy.png deleted file mode 100755 index 31d948a..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/uy.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/uz.png b/plugins/wp-booking-system/wp-booking-system/images/flags/uz.png deleted file mode 100755 index fef5dc1..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/uz.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/va.png b/plugins/wp-booking-system/wp-booking-system/images/flags/va.png deleted file mode 100755 index b31eaf2..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/va.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/vc.png b/plugins/wp-booking-system/wp-booking-system/images/flags/vc.png deleted file mode 100755 index 8fa17b0..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/vc.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ve.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ve.png deleted file mode 100755 index 00c90f9..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ve.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/vg.png b/plugins/wp-booking-system/wp-booking-system/images/flags/vg.png deleted file mode 100755 index 4156907..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/vg.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/vi.png b/plugins/wp-booking-system/wp-booking-system/images/flags/vi.png deleted file mode 100755 index ed26915..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/vi.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/vn.png b/plugins/wp-booking-system/wp-booking-system/images/flags/vn.png deleted file mode 100755 index ec7cd48..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/vn.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/vu.png b/plugins/wp-booking-system/wp-booking-system/images/flags/vu.png deleted file mode 100755 index b3397bc..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/vu.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/wales.png b/plugins/wp-booking-system/wp-booking-system/images/flags/wales.png deleted file mode 100755 index e0d7cee..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/wales.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/wf.png b/plugins/wp-booking-system/wp-booking-system/images/flags/wf.png deleted file mode 100755 index 9f95587..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/wf.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ws.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ws.png deleted file mode 100755 index c169508..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ws.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/ye.png b/plugins/wp-booking-system/wp-booking-system/images/flags/ye.png deleted file mode 100755 index 468dfad..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/ye.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/yt.png b/plugins/wp-booking-system/wp-booking-system/images/flags/yt.png deleted file mode 100755 index c298f37..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/yt.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/za.png b/plugins/wp-booking-system/wp-booking-system/images/flags/za.png deleted file mode 100755 index 57c58e2..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/za.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/zh.png b/plugins/wp-booking-system/wp-booking-system/images/flags/zh.png deleted file mode 100755 index 8914414..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/zh.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/zm.png b/plugins/wp-booking-system/wp-booking-system/images/flags/zm.png deleted file mode 100755 index c25b07b..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/zm.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/flags/zw.png b/plugins/wp-booking-system/wp-booking-system/images/flags/zw.png deleted file mode 100755 index 53c9725..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/flags/zw.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/hourglass.gif b/plugins/wp-booking-system/wp-booking-system/images/hourglass.gif deleted file mode 100755 index c0c3099..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/hourglass.gif and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/not-default-legend.png b/plugins/wp-booking-system/wp-booking-system/images/not-default-legend.png deleted file mode 100755 index a937a99..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/not-default-legend.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/select.png b/plugins/wp-booking-system/wp-booking-system/images/select.png deleted file mode 100755 index 21213bf..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/select.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/select2.png b/plugins/wp-booking-system/wp-booking-system/images/select2.png deleted file mode 100755 index 2cd2cab..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/select2.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/slider.png b/plugins/wp-booking-system/wp-booking-system/images/slider.png deleted file mode 100755 index 8b03da9..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/slider.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/up-arrow.png b/plugins/wp-booking-system/wp-booking-system/images/up-arrow.png deleted file mode 100755 index 49117f8..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/up-arrow.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/visible-no.png b/plugins/wp-booking-system/wp-booking-system/images/visible-no.png deleted file mode 100755 index ace289e..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/visible-no.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/visible-yes.png b/plugins/wp-booking-system/wp-booking-system/images/visible-yes.png deleted file mode 100755 index 719e391..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/visible-yes.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/wpbs-dropdown-arrow.png b/plugins/wp-booking-system/wp-booking-system/images/wpbs-dropdown-arrow.png deleted file mode 100755 index 4642cd8..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/wpbs-dropdown-arrow.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/wpbs-dropdown-arrow@2x.png b/plugins/wp-booking-system/wp-booking-system/images/wpbs-dropdown-arrow@2x.png deleted file mode 100755 index 2baf461..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/wpbs-dropdown-arrow@2x.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/wpbs-form-delete.png b/plugins/wp-booking-system/wp-booking-system/images/wpbs-form-delete.png deleted file mode 100755 index 57a3d7d..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/wpbs-form-delete.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/images/wpbs-form-move.png b/plugins/wp-booking-system/wp-booking-system/images/wpbs-form-move.png deleted file mode 100755 index 83350e1..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/images/wpbs-form-move.png and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/include/bookingAjax.php b/plugins/wp-booking-system/wp-booking-system/include/bookingAjax.php deleted file mode 100755 index 4a7e1b9..0000000 --- a/plugins/wp-booking-system/wp-booking-system/include/bookingAjax.php +++ /dev/null @@ -1,18 +0,0 @@ -prefix . 'bs_calendars WHERE calendarID = ' . $_POST['calendarID']; - $calendar = $wpdb->get_row( $sql, ARRAY_A ); - echo '
    '; - echo wpbs_edit_dates( array( 'fromTab' => $_POST['from'], 'bookingAction' => $_POST['buttonAction'], 'customRange' => true, 'startDate' => $_POST['startDate'], 'endDate' => $_POST['endDate'], 'calendarData' => addslashes($calendar['calendarData']), 'calendarLegend' => addslashes($calendar['calendarLegend']), 'currentTimestamp' => time(), 'calendarLanguage' => 'en', 'bookingID' => $_POST['bookingID'] ) ) ; - - echo '
    '; - die(); -} - -function bookingMarkAsRead_callback() { - global $wpdb; - $wpdb->update( $wpdb->prefix.'bs_bookings', array('bookingRead' => '1'), array('bookingID' => $_POST['bookingID']) ); - die(); -} - diff --git a/plugins/wp-booking-system/wp-booking-system/include/bookingCore.php b/plugins/wp-booking-system/wp-booking-system/include/bookingCore.php deleted file mode 100755 index 60f6320..0000000 --- a/plugins/wp-booking-system/wp-booking-system/include/bookingCore.php +++ /dev/null @@ -1,220 +0,0 @@ - array('title' => __("Pending",'wpbs'),'sql' => 'ORDER BY createdDate ASC'), - 'accepted' => array('title' => __("Accepted",'wpbs'),'sql' => 'ORDER BY startDate ASC'), - 'trash' => array('title' => __("Trash",'wpbs'),'sql' => 'ORDER BY createdDate ASC') - ); - - - - $sql = 'SELECT bookingID FROM ' . $wpdb->prefix . 'bs_bookings WHERE calendarID = "'. $calendarID .'"'; - $rows = $wpdb->get_results( $sql, ARRAY_A ); - if($wpdb->num_rows > 0): - echo '
    '; - //menu - echo '
    '; - - $i = 0; - - foreach($bookingStatuses as $bookingStatusKey => $bookingStatus): - - if(++$i != 1) echo " | "; - $bookingsQuery = 'SELECT bookingID FROM ' . $wpdb->prefix . 'bs_bookings WHERE bookingStatus = "'.$bookingStatusKey.'" AND calendarID = '. $calendarID .' ' . $bookingStatus['sql']; - $bookings = $wpdb->get_results( $bookingsQuery, ARRAY_A ); - echo ''.$bookingStatus['title'].''; - echo ' ('.$wpdb->num_rows.')'; - - endforeach; - echo '
    '; - - //listings - echo '
    '; - foreach($bookingStatuses as $bookingStatusKey => $bookingStatus): - - $bookingsQuery = 'SELECT bookingID,bookingStatus FROM ' . $wpdb->prefix . 'bs_bookings WHERE bookingStatus = "'.$bookingStatusKey.'" AND calendarID = '. $calendarID .' ' . $bookingStatus['sql']; - $bookings = $wpdb->get_results( $bookingsQuery, ARRAY_A ); - - echo '
    '; - echo '
    '; - ?> - - - - « of »
    '; - echo '
    +
    ', + esc_html__( 'Upgrade message from the plugin author:', 'accesspress-parallax' ), + ' ', wp_kses_data( $item['upgrade_notice'] ), ' +
    +
    '; - if($wpdb->num_rows > 0): - foreach($bookings as $booking): - echo wpbs_display_single_booking($booking['bookingID']); - - endforeach; - endif; - echo '
    '; - echo '
    '; - - endforeach; - echo '
    '; - echo ''; - - $acceptedPast = 'SELECT bookingID FROM ' . $wpdb->prefix . 'bs_bookings WHERE bookingStatus = "accepted" AND startDate < '. time(); - $wpdb->get_results( $acceptedPast, ARRAY_A ); - echo "
    ". $wpdb->num_rows."
    "; - - else: - echo __("No bookings were made yet.",'wpbs'); - endif; - -} - - -function wpbs_display_single_booking($bookingID){ - global $wpdb; - $sql = 'SELECT * FROM ' . $wpdb->prefix . 'bs_bookings WHERE bookingID = '. $bookingID .''; - $booking = $wpdb->get_row( $sql, ARRAY_A ); - $bookingData = json_decode($booking['bookingData'],true); - $preview = ''; - if(!empty($bookingData)) - { - $preview .= ''.wpbs_replaceCustom("Enquiry Date").': ' . wpbs_timeFormat($booking['createdDate']) . ''; - foreach($bookingData as $formField => $formValue) - { - if($formField == 'submittedLanguage') continue; - - if(!is_array($formValue) && !empty($formValue)) - $preview .= "".wpbs_replaceCustom($formField).": " . $formValue . " "; - } - } - ?> - - - - - ID: #  - -   - - ... - - - - - prefix . 'bs_bookings WHERE bookingID = '. $ID .''; - $booking = $wpdb->get_row( $sql, ARRAY_A ); - switch($booking['bookingStatus']){ - case 'pending': - echo ''; - break; - case 'accepted': - echo ' '; - break; - case 'trash': - echo ''; - break; - default: - echo __("Invalid Status",'wpbs'); - } -} - -function wpbs_booking_status_button($ID) -{ - global $wpdb; - $sql = 'SELECT * FROM ' . $wpdb->prefix . 'bs_bookings WHERE bookingID = '. $ID .''; - $booking = $wpdb->get_row( $sql, ARRAY_A ); - switch($booking['bookingStatus']){ - case 'pending': - echo ''.__("Accept",'wpbs').' '; - echo ''.__("Delete",'wpbs').' '; - - break; - case 'accepted': - echo ''.__("Edit Availability",'wpbs').' '; - echo ''.__("Delete",'wpbs').' '; - break; - case 'trash': - echo ''.__("Delete",'wpbs').''; - break; - default: - echo __("Invalid Status"); - - - } - -} -add_action('admin_footer', 'wpbs_modal_overlay'); -function wpbs_modal_overlay(){ - ?> -
    -
    -
    -
    - - -
    -

    -
    -
    -
    -
    - $value) - { - if(empty($$key)) - $$key = $value; - } - - if(!empty($customRange) && $customRange == true) - { - - $calendarLanguage = wpbs_get_admin_language(); - $startDate = $_POST['startDate']; - $endDate = $_POST['endDate']; - - - global $wpdb; - $sql = 'SELECT bookingData,formID, calendarID FROM ' . $wpdb->prefix . 'bs_bookings WHERE bookingID = '. $bookingID .''; - $booking = $wpdb->get_row( $sql, ARRAY_A ); - $bookingData = json_decode($booking['bookingData'],true); - - - - $sql = 'SELECT formData FROM ' . $wpdb->prefix . 'bs_forms WHERE formID = '. $booking['formID'] .''; - $form = $wpdb->get_row( $sql, ARRAY_A ); - $formData = json_decode($form['formData'],true); - - if(!empty($formData)) foreach($formData as $field): - - if($field['fieldType'] == 'email' && !isset($autoReplyEmailField)) { - $autoReplyEmailField = $field['fieldName']; break; - } - endforeach; - - $sendMessageTo = false; - if(!empty($autoReplyEmailField) && !empty($bookingData[$autoReplyEmailField])) $sendMessageTo = $bookingData[$autoReplyEmailField]; - - // Information to be sent via AJAX - $output = ''; - - - - $output .= "
    "; - $output .= "

    ".__(date('F Y',$startDate))."

    "; - $output .= '
    '; - $output .= '
      '; - - $currentMonth = date('F',$startDate); - for($i=$startDate;$i<=($endDate+3600);$i=$i + 60*60*24): - if($currentMonth != date('F',$i)){ - $currentMonth = date('F',$i); - $output .= "

    ".__(date('F',$i))." ".date('Y',$i)."

      "; - } - $output .= wpbs_edit_date(stripslashes($calendarData),stripslashes($calendarLegend),date('j',$i),$i,$calendarLanguage); - endfor; - $output .= "
    "; - $output .= '
    '; - $output .= "
    "; - - $output .= "
    "; - - $output .= "
    "; - $output .= "

    ".__("Bulk Edit Dates",'wpbs')."

    "; - $output .= "
    "; - $output .= '"; - - $output .= ""; - - $output .= ""; - $output .= "
    "; - $output .= "
    "; - - $output .= "
    "; - $output .= "

    ".__("Messages",'wpbs')."

    "; - $output .= "
    "; - $output .= ""; - - $output .= "
    "; - $output .= ''; - if(!empty($sendMessageTo)){ - $output .= ""; - - $output .= "

    ".__('The email will be sent to','wpbs')." ".$sendMessageTo.", ".__('the booking details will be automatically included','wpbs')."

    "; - } else { - $output .= "

    ".__('There is no email address field in the form or the email address was not entered.','wpbs')."

    "; - } - - $output .= "
    "; - - $output .= "
    "; - $output .= "
    "; - - $output .= "
    "; - - } else { - $output = '
      '; - for($i=1;$i<=date('t',$currentTimestamp);$i++): - $output .= wpbs_edit_date(stripslashes($calendarData),stripslashes($calendarLegend),$i,$currentTimestamp,$calendarLanguage); - endfor; - $output .= "
    "; - $output .= ""; - $output .= ""; - $output .= ""; - $output .= ""; - $output .= ""; - } - - return $output; - - -} - -function wpbs_edit_date($calendarData,$legend,$day,$timestamp,$language) -{ - $calendarData = json_decode(wpbs_replaceCustom($calendarData),true); - $status = 'default'; - if(!empty($calendarData[date('Y',$timestamp)][date('n',$timestamp)][$day])) - $status = $calendarData[date('Y',$timestamp)][date('n',$timestamp)][$day]; - $description = ''; - if(!empty($calendarData[date('Y',$timestamp)][date('n',$timestamp)]["description-" . $day])) - $description = $calendarData[date('Y',$timestamp)][date('n',$timestamp)]["description-" . $day]; - - - $output = '
  • '; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''.$day.''; - $output .= ''; - - $output .= '"; - $output .= ''; - $output .= "
  • "; - return $output; -} - -function wpbs_edit_legend($calendarLegend,$showEdit, $calendarID){ - ob_start(); - ?> -
    - - -
    - prepare('SELECT * FROM ' . $wpdb->base_prefix . 'bs_calendars WHERE calendarID=%d',$calendarID); - $calendar = $wpdb->get_row( $sql, ARRAY_A ); - $calendarUsers = json_decode($calendar['calendarUsers']); - ?> - -
    -

    - -
    - -
    - -

    - - - - -

    - -

    - - - - -

    - -

    - - - -

    - -

    - - -

    - " /> - -
    -prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID = %s', $calendarID ); - $calendarResults = $wpdb->get_results( $sql, ARRAY_A ); - - $calendarLegend = new stdClass; - $calendarData = new stdClass; - - if ( $wpdb->num_rows > 0 ) - { - $calendarLegend = $calendarResults[0]['calendarLegend']; - $calendarData = stripslashes( $calendarResults[0]['calendarData'] ); - } - } - - $calendarData = wpbs_replaceCustom($calendarData); - - echo wpbs_calendar( - array( - 'ajaxCall' => true, - 'calendarLanguage' => $calendarLanguage, - 'calendarHistory' => $calendarHistory, - 'showDateEditor' => $showDateEditor, - 'calendarID' => $calendarID, - 'calendarData' => $calendarData, - 'currentTimestamp' => $currentTimestamp, - 'showTooltip' => $showTooltip, - 'showDropdown' => $showDropdown, - 'totalCalendars' => $totalCalendars, - 'firstDayOfWeek' => $firstDayOfWeek, - 'calendarLegend' => $calendarLegend, - 'calendarSelection' => $calendarSelection, - 'calendarSelectionType' => $calendarSelectionType, - 'autoPending' => $autoPending, - 'minDays' => $minDays, - 'maxDays' => $maxDays, - 'jump' => $jump, - 'weekNumbers' => $weekNumbers, - 'formID' => $formID, - 'formPosition' => $formPosition - ) - ); - - die(); -} - - -function wpbs_prettifyAjaxPayload( $payloadPart ) -{ - if ( !$payloadPart ) - return false; - - $result = array(); - foreach ( $payloadPart as $payload ) - { - $result[$payload['input']] = $payload['value']; - } - return $result; -} \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/include/calendarCore.php b/plugins/wp-booking-system/wp-booking-system/include/calendarCore.php deleted file mode 100755 index d7904e6..0000000 --- a/plugins/wp-booking-system/wp-booking-system/include/calendarCore.php +++ /dev/null @@ -1,503 +0,0 @@ -$from, 'end'=>$to); - //return "Week {$week} in {$year} is from {$from} to {$to}."; -} -/** - * This function prepares the calendar - */ -function wpbs_calendar($options = array()){ - - $default_options = array('ajaxCall' => false, 'monthToShow' => null, 'yearToShow' => null, 'currentCalendar' => 1, 'totalCalendars' => 1 , 'firstDayOfWeek' => 1, 'showDropdown' => 'yes', 'calendarLanguage' => 'en', 'calendarData' => null, 'currentTimestamp' => mktime(0, 0, 0, date('n') , 15, date('Y')),'calendarLegend' => false, 'calendarID' => false, 'formID' => false, 'showDateEditor' => false, 'showLegend' => false, 'calendarSelection' => '', 'calendarSelectionType' => 'multiple', 'showTooltip' => 1, 'calendarHistory' => 1, 'autoPending' => 'no', 'weekNumbers' => 'no', 'formID' => '', 'minDays' => 0, 'maxDays' => 0, 'jump' => 'no', 'formPosition' => 'below'); - - - foreach($default_options as $key => $value) - { - if(empty($$key)) - $$key = $value; - } - extract($options); - - - $output = ''; - if($ajaxCall == false): - $formPositionClass = ($formPosition == 'side') ? 'two-columns' : 'one-column'; - $output .= '
    '; - $output .= '
    '; - endif; - - if($showDateEditor == true){ - - $output .= "
    "; - } - - - /** - * Getting and populating booked weeks array if selectionType = "week" - * - * @since 3.5 - */ - if ( $calendarSelectionType == "week" ) - { - global $freeWeeks; - - $weeksCalendarData = json_decode( $calendarData, true ); - $freeWeeks = array( ); - $weeksStart = mktime( 0, 0, 0, date('n',$currentTimestamp) -1, 1, date('Y',$currentTimestamp)); - $weeksEnd = mktime( 0, 0, 0, date('n',$currentTimestamp) + $totalCalendars + 1, 1, date('Y',$currentTimestamp)); - - for ( $i = $weeksStart; $i <= $weeksEnd; $i = $i + (60*60*24) ) - { - if ( isset( $weeksCalendarData[ date( 'Y', $i ) ][ date( 'n', $i ) ][ date( 'j', $i ) ] ) ) - $freeWeeks[date('W', $i)] = 'booked'; - } - } - - /** - * Getting and populating booked weeks array if selectionType = "8days" - * - * @since 4.0 - */ - if ( $calendarSelectionType == "8days" ) - { - global $freeWeeks; - - $weeksCalendarData = json_decode( $calendarData, true ); - $freeWeeks = array( ); - $weeksStart = mktime( 0, 0, 0, date('n',$currentTimestamp) -1, 1, date('Y',$currentTimestamp)); - $weeksEnd = mktime( 0, 0, 0, date('n',$currentTimestamp) + $totalCalendars + 1, 1, date('Y',$currentTimestamp)); - - for ( $i = $weeksStart; $i <= $weeksEnd; $i = $i + (60*60*24) ) - { - if ( isset( $weeksCalendarData[ date( 'Y', $i ) ][ date( 'n', $i ) ][ date( 'j', $i ) ] ) ) - { - $freeWeeks[date('m/j', $i)] = $i; - } - } - } - - for ( $i = 0; $i < $totalCalendars; $i++ ) - { - $calendarTimestamp = mktime(0, 0, 0, date('n',$currentTimestamp) + $i, 1, date('Y',$currentTimestamp)); - $displayMonth = date('n', $calendarTimestamp); - $displayYear = date('Y', $calendarTimestamp); - - $output .= showCalendar( - array( - 'monthToShow' => $displayMonth, - 'yearToShow' => $displayYear, - 'currentCalendar' => $i + 1, - 'totalCalendars' => $totalCalendars , - 'firstDayOfWeek' => ($firstDayOfWeek == 7) ? 0 : $firstDayOfWeek, - 'calendarLanguage' => ($showDateEditor) ? wpbs_get_admin_language() : $calendarLanguage , - 'showDropdown' => $showDropdown, - 'calendarData' => $calendarData, - 'calendarID' => $calendarID, - 'calendarLegend' => $calendarLegend, - 'calendarSelection' => $calendarSelection, - 'calendarSelectionType' => $calendarSelectionType, - 'calendarHistory' => $calendarHistory, - 'showTooltip' => $showTooltip, - 'weekNumbers' => $weekNumbers, - 'minDays' => $minDays, - 'maxDays' => $maxDays, - 'jump' => $jump, - 'formID' => $formID - ) - ); - } - - if ( $showDateEditor == true ) - { - $output .= wpbs_edit_legend( $calendarLegend, true, $calendarID ); - $output .= wpbs_batch_update( $calendarLegend ); - $output .= wpbs_edit_users( $calendarID ); - - } - - if ( $showDateEditor == false && $showTooltip == 1 ) - { - $calendarData = json_decode($calendarData,true); - - foreach ( $calendarData as $year => $months ) - { - if ( $months ) - { - foreach ( $months as $month => $days ) - { - if ( $days ) - { - foreach ( $days as $day => $status ) - { - if ( strpos( $day, 'description' ) !== false ) - { - unset( $calendarData[$year][$month][$day] ); - } - } - } - } - } - } - $calendarData = json_encode($calendarData); - } - - $output .= "
    "; - - $output .= '
    '; - $output .= '
    ' . $showDropdown . '
    '; - $output .= '
    ' . $currentTimestamp . '
    '; - $output .= '
    ' . $totalCalendars . '
    '; - - if ( $showDateEditor == true) - $output .= "
    "; - - if ( $showDateEditor == true) - $output .= "
    "; - - $output .= '
    ' . $calendarHistory . '
    '; - $output .= '
    ' . $calendarLanguage . '
    '; - $output .= '
    ' . $showTooltip . '
    '; - $output .= '
    ' . $firstDayOfWeek . '
    '; - $output .= '
    ' . $calendarID . '
    '; - $output .= '
    ' . $formID . '
    '; - $output .= '
    '.$calendarSelection.'
    '; - $output .= '
    '.$calendarSelectionType.'
    '; - $output .= '
    '.$autoPending.'
    '; - $output .= '
    '.$minDays.'
    '; - $output .= '
    '.$maxDays.'
    '; - $output .= '
    '.$jump.'
    '; - $output .= '
    '.$weekNumbers.'
    '; - $output .= '
    '.$formPosition.'
    '; - $output .= '
    '; - - if ( $showDateEditor == true ) - { - $output .= '
    '; - $output .= wpbs_edit_dates( - array( - 'calendarData' => addslashes($calendarData), - 'calendarLegend' => addslashes($calendarLegend), - 'currentTimestamp' => $currentTimestamp, - 'calendarLanguage' => ($showDateEditor) ? wpbs_get_admin_language() : $calendarLanguage - ) - ); - } - - - if ( $ajaxCall == false ) - { - $output .= '
    '; - - if ( $showLegend == 'yes' ) - { - $output .= '
    '; - $output .= wpbs_print_legend($calendarLegend,$calendarLanguage); - $output .= '
    '; - } - - if ( $showDateEditor == false && $formID != 'no-form' ) - { - // Adding an anchor to scroll to on submit button click - $output .= ''; - $output .= '
    '; - $output .= wpbs_display_form($formID,$calendarLanguage,false,$calendarID, $autoPending, $minDays, $maxDays); - $output .= '
    '; - } - - $output .= '
    '; - - } - return $output; -} -/** - * This function is displays the calendar with the parameters given from the previous function - */ -function showCalendar($options = array()) -{ - - - foreach($options as $key => $value) - { - $$key = $value; - } - - - - - $calendarData = json_decode($calendarData,true); - - - - if ( ( $monthToShow === null ) || ( $yearToShow === null ) ) - { - $today = getdate(); - $monthToShow = $today['mon']; - $yearToShow = $today['year']; - } - else - { - $today = getdate(mktime(0, 0, 0, $monthToShow, 1, $yearToShow)); - } - - $calendarSelection = explode('-',$calendarSelection); - $selectionStart = (!empty($calendarSelection[0])) ? $calendarSelection[0] : 0; - $selectionEnd = (!empty($calendarSelection[1])) ? $calendarSelection[1] : 0; - $goingBackwards = false; - - if ($selectionStart != 0 && $selectionEnd !=0 && $selectionStart > $selectionEnd) - { - $temp = $selectionStart; - $selectionStart = $selectionEnd; - $selectionEnd = $temp; - $goingBackwards = true; - } - - - - $notBookable = false; - if ($formID == 'no-form') - { - $notBookable = true; - } - - - // get first and last days of the month - $firstDay = getdate( mktime( 0, 0, 0, $monthToShow, 1, $yearToShow ) ); - $lastDay = getdate( mktime( 0, 0, 0, $monthToShow + 1, 0, $yearToShow ) ); //trick! day = 0 - - - /** - * Get all the booked days in current month - * - * @var array - */ - $disabledDays = array(); - - $d = new DateTime(date('Y-m-d', mktime(0, 0, 0, $monthToShow + 1, 0, $yearToShow))); - $lDay = $d->format('d'); - $weeks = array(); - - for ($x = 1; $x <= $lDay; $x++) - { - $booked = wpbs_check_if_booked( $calendarData, $calendarLegend, $yearToShow, $monthToShow, $x ); - - $weekOptions= array( - 'firstDayOfWeek' => $firstDayOfWeek, - 'yearToShow' => $yearToShow, - 'monthToShow' => $monthToShow, - 'dayToShow' => $x - ); - - if ( $booked ) - $disabledDays[$yearToShow . '-' . wpbs_leadingZero( $monthToShow ) . '-' . wpbs_leadingZero( $x ) ] = true; - } - - - // Create a table with the necessary header information - $output = '
    '; - $output .= '
    '; - - if ( $currentCalendar == 1 ) - { - $output .= ''; - - if($showDropdown == 'yes') - { - $output .= '
    '; - break; - case 'email': - $output .= ''; - break; - case 'textarea': - $output .= ''; - break; - case 'checkbox': - $fieldOptions = (!empty($field['fieldOptionsLanguages'][$language])) ? $field['fieldOptionsLanguages'][$language] : $field['fieldOptions']; - $options = explode('|',$fieldOptions); - $i = 0; - foreach(array_filter($options) as $option) - { - $checked = null; - if(!empty($value) && in_array(esc_html(trim($option)),$value)) - $checked = 'checked="checked"'; - - $output .= ''; - $i++; - } - - break; - case 'html': - $output .= (wpbs_replaceCustom($field['fieldHTML'])); - break; - case 'radio': - - $fieldOptions = (!empty($field['fieldOptionsLanguages'][$language])) ? $field['fieldOptionsLanguages'][$language] : $field['fieldOptions']; - $options = explode('|',$fieldOptions); - $i = 0; foreach(array_filter($options) as $option){ - $checked = null; - if(esc_html(trim($option)) == $value) $checked = 'checked="checked"'; - - $output .= ''; - $i++; - } - break; - case 'dropdown': - $output .= ''; - break; - default: - $output .= __("Error: Invalid Field Type",'wpbs'); - } - return $output; -} - - -function wpbs_display_form($ID,$language = 'en',$errors = false, $calendarID, $autoPending = 'no', $minDays = 0, $maxDays = 0){ - global $wpdb; - $output = ''; - $sql = $wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_forms WHERE formID=%d',$ID); - $form = $wpdb->get_row( $sql, ARRAY_A ); - $wpbsOptions = json_decode(get_option('wpbs-options'),true); - - - - $formOptions = json_decode($form['formOptions'],true); - - if(!empty($formOptions['submitLabel'][$language])) - $submitLabel = esc_html($formOptions['submitLabel'][$language]); - else - $submitLabel = esc_html($formOptions['submitLabel']['default']); - - if(!empty($formOptions['selectDate'][$language])) - @$selectDate = esc_html($formOptions['selectDate'][$language]); - else - @$selectDate = esc_html($formOptions['selectDate']['default']); - - - if(!empty($errors['noDates']) && $errors['noDates'] == true){ - $output .= '
    '; - $output .= ''; - $output .= '
    '; - } - - if(!empty($errors['failedCaptcha']) && $errors['failedCaptcha'] == true){ - $output .= '
    '; - $output .= ''; - $output .= '
    '; - } - - /** - * Error labels for minDays, MaxDays and betweenDays. - * @since 3.5 - */ - if(!isset($errors['noDates']) && !empty($errors['minDays']) && $errors['minDays'] == true) - { - $minDaysMessage = (!empty($wpbsOptions['translationMinDays'][$language])) ? $wpbsOptions['translationMinDays'][$language] : __('Please select a minimum of %x days'); - $minDaysMessage = str_replace('%x',$minDays,$minDaysMessage); - - $output - .= '
    ' - . '' - . '
    '; - } - - if(!empty($errors['maxDays']) && $errors['maxDays'] == true) - { - $maxDaysMessage = (!empty($wpbsOptions['translationMaxDays'][$language])) ? $wpbsOptions['translationMaxDays'][$language] : __('Please select a maximum of %x days'); - $maxDaysMessage = str_replace('%x',$maxDays,$maxDaysMessage); - - $output - .= '
    ' - . '' - . '
    '; - } - - - if(!empty($errors['betweenDays']) && $errors['betweenDays'] == true) - { - - $betweenDaysMessage = (!empty($wpbsOptions['translationBetweenDays'][$language])) - ? $wpbsOptions['translationBetweenDays'][$language] - : __('Please select between a minimum of %x days and a maximum of %y days'); - - $betweenDaysMessage = str_replace( - array( - '%y', - '%x' - ), - array( - $maxDays, - $minDays - ), - $betweenDaysMessage - ); - - $output - .= '
    ' - . '' - . '
    '; - } - - - - - - - if(count($form) > 0): - - - $fields = json_decode($form['formData'],true); - - if(!empty($fields)) foreach($fields as $field): - $field_name = preg_replace('/[^a-zA-Z0-9_.]/', '', $field['fieldName']); - - $error = null; - if(!empty($errors[$field['fieldId']])) $error = $errors[$field['fieldId']]; - - $output .= '
    '; - $output .= wpbs_display_form_field($field,$language,$error); - $output .= '
    '; - endforeach; - - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= wp_nonce_field( 'wpbs_submit_form_'.$form["formID"] ); - - if(isset($wpbsOptions['enableReCaptcha']) && $wpbsOptions['enableReCaptcha'] == 'yes'){ - $output .= ''; - } - $output .= '
    '; - $output .= ''; - $output .= '
    '; - $output .= '
    '; - return $output; - else: - return __("WP Booking System: Invalid form ID.",'wpbs'); - endif; -} - -function wpbs_edit_form($options = array()){ - $default_options = array('formData' => '{}'); - foreach($default_options as $key => $value){ - if(empty($$key)) - $$key = $value; - } - extract($options); - - - $activeLanguages = json_decode(get_option('wpbs-languages'),true); - if(empty($formData)) $formData = "{}"; - - $elem = ''; - - $elem .= '
    '; - $i = 1; - foreach(json_decode($formData,true) as $field): - $fieldTypeFancy = str_replace(array('text','email','textarea','checkbox','radio','dropdown'),array('Text','Email','Textarea','Checkboxes','Radio Buttons','Dropdown'),$field['fieldType']); - $elem .= '
    '; - $elem .= ''; - $elem .= ''; - - $elem .= ''; - if(strlen(wpbs_replaceCustom($field['fieldName'])) > 30) { - - $fieldName = substr(wpbs_replaceCustom($field['fieldName'] ),0,27) . '...' ; - } else{ - $fieldName = wpbs_replaceCustom( $field['fieldName'] ); - } - - $elem .= $fieldName; - - $elem .= ' '.$fieldTypeFancy.''; - - $elem .= ''; - $elem .= '
    '; - endforeach; - $elem .= '
    '; - - $elem .= ''; - - - $elem .= ""; - - $elem .= ''; - - echo $elem; -} - -function wpbs_form_get_email_field($formData){ - $formData = json_decode($formData); - if($formData) foreach($formData as $form){ - if($form->fieldType == 'email'){ - return true; - } - } - return false; -} \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/include/pluginShortcode.php b/plugins/wp-booking-system/wp-booking-system/include/pluginShortcode.php deleted file mode 100755 index 4623256..0000000 --- a/plugins/wp-booking-system/wp-booking-system/include/pluginShortcode.php +++ /dev/null @@ -1,89 +0,0 @@ - null, - 'form' => null, - 'title' => 'no', - 'legend' => 'no', - 'start' => '1', - 'display' => '1', - 'language' => 'en', - 'dropdown' => '1', - 'history' => '1', - 'tooltip' => '1', - 'month' => 0, - 'year' => 0, - 'selection' => 'multiple', - 'autopending' => 'no', - 'minimumdays' => 0, - 'maximumdays' => 0, - 'jump' => 'no', - 'weeknumbers' => 'no', - 'formposition' => 'below' - ), $atts, 'wpbs' ) ); - - - if($id == null) return "WP Booking System: ID parameter missing."; - if($form == null) return "WP Booking System: Form ID parameter missing."; - - if(!in_array($month,array(1,2,3,4,5,6,7,8,9,10,11,12))) {$month = date('m');} - if(intval($year) < 1970 || intval($year) > 2100) { $year = date("Y");} - - if(!in_array($title,array('yes','no'))) $title = 'no'; - if(!in_array($selection,array('multiple','single','fixed','week', '8days'))) $selection = 'multiple'; - if(!in_array($formposition,array('below','side'))) $formposition = 'below'; - if(!in_array($legend,array('yes','no'))) $legend = 'no'; - if(!in_array($dropdown,array('yes','no'))) $dropdown = 'yes'; - if(!in_array($tooltip,array(1,2,3))) $tooltip = '1'; - if(!in_array($autopending,array('yes','no'))) $autopending = 'no'; - if(!in_array($weeknumbers,array('yes','no'))) $weeknumbers = 'no'; - if(!in_array(absint($start),array(1,2,3,4,5,6,7))) $start = 1; - if(intval($display) < 1 || intval($display) > 12) $display = 1; - if(!in_array(absint($history),array(1,2,3))) $history = 1; - if(intval($minimumdays) > 31 || intval($minimumdays) < 0) $minimumdays = 0; - if(intval($maximumdays) > 31 || intval($maximumdays) < 0) $maximumdays = 0; - if(!in_array($jump,array('yes','no'))) $jump = 'no'; - - global $wpdb; - - if($language == 'auto'){ - $language = wpbs_get_locale(); - } else { - $activeLanguages = json_decode(get_option('wpbs-languages'),true); if(!array_key_exists($language,$activeLanguages)) $language = 'en'; - } - - - - $sql = $wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID=%d',$id); - $calendar = $wpdb->get_row( $sql, ARRAY_A ); - if($wpdb->num_rows > 0): - - $output = wpbs_print_legend_css($calendar['calendarLegend'],$calendar['calendarID']); - if($title == 'yes') $output .= '

    ' . $calendar['calendarTitle'] . "

    "; - $output .= wpbs_calendar(array('ajaxCall' => false, 'calendarHistory' => $history, 'calendarID' => $calendar['calendarID'], 'formID' => $form, 'calendarData' => $calendar['calendarData'], 'totalCalendars' => $display, 'firstDayOfWeek' => $start, 'showDateEditor' => false, 'calendarLegend' => $calendar['calendarLegend'], 'showLegend' => $legend, 'calendarLanguage' => $language, 'showTooltip' => $tooltip, 'currentTimestamp' => strtotime(date("F", mktime(0, 0, 0, $month, 15, date('Y'))) . " " . $year), 'calendarSelectionType' => $selection, 'showDropdown' => $dropdown, 'autoPending' => $autopending, 'weekNumbers' => $weeknumbers, 'minDays' => $minimumdays, 'maxDays' => $maximumdays, 'jump' => $jump, 'formPosition' => $formposition )); - - return $output; - else: - return __('WP Booking System: Invalid calendar ID.','wpbs'); - endif; - -} -add_shortcode( 'wpbs', 'wpbs_shortcode' ); - diff --git a/plugins/wp-booking-system/wp-booking-system/include/pluginShortcodeButton.php b/plugins/wp-booking-system/wp-booking-system/include/pluginShortcodeButton.php deleted file mode 100755 index 704dd29..0000000 --- a/plugins/wp-booking-system/wp-booking-system/include/pluginShortcodeButton.php +++ /dev/null @@ -1,315 +0,0 @@ -' . __('; - } else { - // display button matching new UI - echo ' - ' . __("Add Calendar", "wpbs") . ''; - } -} - -add_action('admin_footer', 'wpbs_add_mce_popup'); -function wpbs_add_mce_popup(){ - global $wpdb; - ?> - - prefix . 'bs_calendars';?> - get_results( $CalendarQuery, ARRAY_A ); $calendarRows = $wpdb->num_rows;?> - - prefix . 'bs_forms';?> - get_results( $FormQuery, ARRAY_A ); $formRows = $wpdb->num_rows;?> - - - 'WP Booking System Widget' - )); - } - function widget($args, $instance) { - global $post; - extract( $args ); - - echo $args['before_widget']; - - echo '
    '; - echo do_shortcode('[wpbs id="'.$instance['wpbs_select_calendar'].'" form="'.$instance['wpbs_select_form'].'" title="'.$instance['wpbs_show_title'].'" legend="'.$instance['wpbs_show_legend'].'" dropdown="'.$instance['wpbs_show_dropdown'].'" start="'.$instance['wpbs_calendar_start'].'" display="'.$instance['wpbs_calendar_view'].'" language="'.$instance['wpbs_calendar_language'].'" tooltip="'.$instance['wpbs_calendar_tooltip'].'" history="'.$instance['wpbs_calendar_history'].'" selection="'.$instance['wpbs_calendar_selection_type'].'" autopending="'.$instance['wpbs_calendar_auto_pending'].'" weeknumbers="'.$instance['wpbs_calendar_weeknumbers'].'" minimumdays="'.$instance['wpbs_calendar_minimumdays'].'" formposition="'.$instance['wpbs_form_position'].'"]'); - echo '
    '; - - echo $args['after_widget']; - - } - function update($new_instance, $old_instance) { - return $new_instance; - } - function form($instance) { - global $wpdb; - /** - 'id' => null, - 'title' => 'no', - 'legend' => 'no', - 'start' => '1', - 'display' => '1', - 'language' => 'en' - */ - - $calendarId = 0; if(!empty($instance['wpbs_select_calendar'])) - $calendarId = $instance['wpbs_select_calendar']; - - $formId = 0; if(!empty($instance['wpbs_select_form'])) - $formId = $instance['wpbs_select_form']; - - $showTitle = 'yes'; if(!empty($instance['wpbs_show_title'])) - $showTitle = $instance['wpbs_show_title']; - - $showLegend = 'yes'; if(!empty($instance['wpbs_show_legend'])) - $showLegend = $instance['wpbs_show_legend']; - - $showDropdown = 'yes'; if(!empty($instance['wpbs_show_dropdown'])) - $showDropdown = $instance['wpbs_show_dropdown']; - - $calendarView = '1'; if(!empty($instance['wpbs_calendar_view'])) - $calendarView = $instance['wpbs_calendar_view']; - - - $calendarStart = '1'; if(!empty($instance['wpbs_calendar_start'])) - $calendarStart = $instance['wpbs_calendar_start']; - - $calendarLanguage = 'en'; if(!empty($instance['wpbs_calendar_language'])) - $calendarLanguage = $instance['wpbs_calendar_language']; - - $calendarHistory = '1'; if(!empty($instance['wpbs_calendar_history'])) - $calendarHistory = $instance['wpbs_calendar_history']; - - $calendarTooltip = '1'; if(!empty($instance['wpbs_calendar_tooltip'])) - $calendarTooltip = $instance['wpbs_calendar_tooltip']; - - $calendarSelectionType = 'multiple'; if(!empty($instance['wpbs_calendar_selection_type'])) - $calendarSelectionType = $instance['wpbs_calendar_selection_type']; - - $calendarAutoPending = 'no'; if(!empty($instance['wpbs_calendar_auto_pending'])) - $calendarAutoPending = $instance['wpbs_calendar_auto_pending']; - - $calendarWeekNumbers = 'no'; if(!empty($instance['wpbs_calendar_weeknumbers'])) - $calendarWeekNumbers = $instance['wpbs_calendar_weeknumbers']; - - $calendarMinDays = 0; if(!empty($instance['wpbs_calendar_minimumdays'])) - $calendarMinDays = $instance['wpbs_calendar_minimumdays']; - - $calendarMaxDays = 0; if(!empty($instance['wpbs_calendar_maximumdays'])) - $calendarMaxDays = $instance['wpbs_calendar_maximumdays']; - - $calendarJump = 'no'; if(!empty($instance['wpbs_calendar_jump'])) - $calendarJump = $instance['wpbs_calendar_jump']; - - $formPosition = 'below'; if(!empty($instance['wpbs_form_position'])) - $formPosition = $instance['wpbs_form_position']; - - - - - - - - $sql = 'SELECT * FROM ' . $wpdb->prefix . 'bs_calendars'; - $rows = $wpdb->get_results( $sql, ARRAY_A ); - - $formQuery = 'SELECT * FROM ' . $wpdb->prefix . 'bs_forms'; - $forms = $wpdb->get_results( $formQuery, ARRAY_A ); - - ?> - -

    - -

    - - -

    - - -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    - -

    - - - -

    - -

    - - - -

    - -

    - - - -

    - -

    - - - -

    - -

    - - - -

    - -

    - - - -

    - -

    - - - -

    - -

    - - - -

    - -

    - -

    - - -

    - -

    - - - -

    - - - prefix . 'bs_calendars WHERE calendarHash = "' . $calendarId . '"'; -$calendar = $wpdb->get_row( $sql, ARRAY_A ); -if($wpdb->num_rows > 0){ - - - $calendarData = json_decode($calendar['calendarData'],true); - $calendarLegend = json_decode($calendar['calendarLegend'],true); - - - - - - header("Content-Type: text/calendar"); - header("Content-Disposition: inline; filename=".strtolower($calendar['calendarHash']).".ics"); - - echo "BEGIN:VCALENDAR\r\n"; - echo "VERSION:2.0\r\n"; - echo "PRODID:WP Booking System - Calendar ID: ".$calendarId."\r\n"; - echo "CALSCALE:GREGORIAN\r\n"; - echo "METHOD:PUBLISH\r\n"; - echo "TZID:UTC+0\r\n"; - /* - echo "BEGIN:VTIMEZONE\r\n"; - if(get_option('timezone_string')){ - $tzid = get_option('timezone_string'); - } elseif(get_option('gmt_offset')){ - $tzid = wpbs_tz_offset_to_name(get_option('gmt_offset')); - } else { - $tzid = ''; - } - echo "TZID:". $tzid ."\r\n"; - echo "END:VTIMEZONE\r\n"; - - if(!empty($tzid)){ - $timezone = $tzid; - $time = new DateTime('now', new DateTimeZone($timezone)); - $timezoneOffset = $time->format('Z'); - } else { - $timezoneOffset = 0; - } - */ - foreach($calendarData as $year => $months){ - if($months) foreach($months as $month => $days){ - if($days) foreach($days as $day => $status){ - - if(strpos($day,'description') !== false) continue; - if(mktime(0,0,0,$month,$day,$year) < (time() - (60*60*24)) ) continue; - - if(!empty($calendarLegend[$status]) && !empty($calendarLegend[$status]['sync']) && $calendarLegend[$status]['sync'] == 'yes'){ - $vCalStart = $vCalEnd = date("Ymd", mktime(0,0,0,$month,$day,$year)); - $vCalEnd = date("Ymd", mktime(0,0,0,$month,$day+1,$year)); - - $description = (isset($calendarData[$year][$month]['description-' . $day])) ? $calendarData[$year][$month]['description-' . $day] : ''; - - - - echo "BEGIN:VEVENT\r\n"; - echo "DTSTART;VALUE=DATE:". $vCalStart . "\r\n"; - echo "DTEND;VALUE=DATE:". $vCalEnd . "\r\n"; - echo "CLASS:PUBLIC\r\n"; - echo "DESCRIPTION:". wpbs_replaceCustom($description) . "\r\n"; - echo "STATUS:CONFIRMED\r\n"; - echo "SUMMARY:". 'Booked' . "\r\n"; - echo "TRANSP:TRANSPARENT\r\n"; - echo "END:VEVENT\r\n"; - } - - } - } - } - - - echo "END:VCALENDAR"; - - -} else { - echo __("Invalid calendar ID."); -} \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/js/chosen.jquery.min.js b/plugins/wp-booking-system/wp-booking-system/js/chosen.jquery.min.js deleted file mode 100755 index cece231..0000000 --- a/plugins/wp-booking-system/wp-booking-system/js/chosen.jquery.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Chosen v1.1.0 | (c) 2011-2013 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */ -!function(){var a,AbstractChosen,Chosen,SelectParser,b,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};SelectParser=function(){function SelectParser(){this.options_index=0,this.parsed=[]}return SelectParser.prototype.add_node=function(a){return"OPTGROUP"===a.nodeName.toUpperCase()?this.add_group(a):this.add_option(a)},SelectParser.prototype.add_group=function(a){var b,c,d,e,f,g;for(b=this.parsed.length,this.parsed.push({array_index:b,group:!0,label:this.escapeExpression(a.label),children:0,disabled:a.disabled}),f=a.childNodes,g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(this.add_option(c,b,a.disabled));return g},SelectParser.prototype.add_option=function(a,b,c){return"OPTION"===a.nodeName.toUpperCase()?(""!==a.text?(null!=b&&(this.parsed[b].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,selected:a.selected,disabled:c===!0?c:a.disabled,group_array_index:b,classes:a.className,style:a.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1):void 0},SelectParser.prototype.escapeExpression=function(a){var b,c;return null==a||a===!1?"":/[\&\<\>\"\'\`]/.test(a)?(b={"<":"<",">":">",'"':""","'":"'","`":"`"},c=/&(?!\w+;)|[\<\>\"\'\`]/g,a.replace(c,function(a){return b[a]||"&"})):a},SelectParser}(),SelectParser.select_to_array=function(a){var b,c,d,e,f;for(c=new SelectParser,f=a.childNodes,d=0,e=f.length;e>d;d++)b=f[d],c.add_node(b);return c.parsed},AbstractChosen=function(){function AbstractChosen(a,b){this.form_field=a,this.options=null!=b?b:{},AbstractChosen.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers())}return AbstractChosen.prototype.set_default_values=function(){var a=this;return this.click_test_action=function(b){return a.test_active_click(b)},this.activate_action=function(b){return a.activate_field(b)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null!=this.options.enable_split_word_search?this.options.enable_split_word_search:!0,this.group_search=null!=this.options.group_search?this.options.group_search:!0,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null!=this.options.single_backstroke_delete?this.options.single_backstroke_delete:!0,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null!=this.options.display_selected_options?this.options.display_selected_options:!0,this.display_disabled_options=null!=this.options.display_disabled_options?this.options.display_disabled_options:!0},AbstractChosen.prototype.set_default_text=function(){return this.default_text=this.form_field.getAttribute("data-placeholder")?this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.options.placeholder_text_multiple||this.options.placeholder_text||AbstractChosen.default_multiple_text:this.options.placeholder_text_single||this.options.placeholder_text||AbstractChosen.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||AbstractChosen.default_no_result_text},AbstractChosen.prototype.mouse_enter=function(){return this.mouse_on_container=!0},AbstractChosen.prototype.mouse_leave=function(){return this.mouse_on_container=!1},AbstractChosen.prototype.input_focus=function(){var a=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return a.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},AbstractChosen.prototype.input_blur=function(){var a=this;return this.mouse_on_container?void 0:(this.active_field=!1,setTimeout(function(){return a.blur_test()},100))},AbstractChosen.prototype.results_option_build=function(a){var b,c,d,e,f;for(b="",f=this.results_data,d=0,e=f.length;e>d;d++)c=f[d],b+=c.group?this.result_add_group(c):this.result_add_option(c),(null!=a?a.first:void 0)&&(c.selected&&this.is_multiple?this.choice_build(c):c.selected&&!this.is_multiple&&this.single_set_selected_text(c.text));return b},AbstractChosen.prototype.result_add_option=function(a){var b,c;return a.search_match?this.include_option_in_results(a)?(b=[],a.disabled||a.selected&&this.is_multiple||b.push("active-result"),!a.disabled||a.selected&&this.is_multiple||b.push("disabled-result"),a.selected&&b.push("result-selected"),null!=a.group_array_index&&b.push("group-option"),""!==a.classes&&b.push(a.classes),c=document.createElement("li"),c.className=b.join(" "),c.style.cssText=a.style,c.setAttribute("data-option-array-index",a.array_index),c.innerHTML=a.search_text,this.outerHTML(c)):"":""},AbstractChosen.prototype.result_add_group=function(a){var b;return a.search_match||a.group_match?a.active_options>0?(b=document.createElement("li"),b.className="group-result",b.innerHTML=a.search_text,this.outerHTML(b)):"":""},AbstractChosen.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing?this.winnow_results():void 0},AbstractChosen.prototype.reset_single_select_options=function(){var a,b,c,d,e;for(d=this.results_data,e=[],b=0,c=d.length;c>b;b++)a=d[b],a.selected?e.push(a.selected=!1):e.push(void 0);return e},AbstractChosen.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},AbstractChosen.prototype.results_search=function(){return this.results_showing?this.winnow_results():this.results_show()},AbstractChosen.prototype.winnow_results=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m;for(this.no_results_clear(),e=0,g=this.get_search_text(),a=g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),d=this.search_contains?"":"^",c=new RegExp(d+a,"i"),j=new RegExp(a,"i"),m=this.results_data,k=0,l=m.length;l>k;k++)b=m[k],b.search_match=!1,f=null,this.include_option_in_results(b)&&(b.group&&(b.group_match=!1,b.active_options=0),null!=b.group_array_index&&this.results_data[b.group_array_index]&&(f=this.results_data[b.group_array_index],0===f.active_options&&f.search_match&&(e+=1),f.active_options+=1),(!b.group||this.group_search)&&(b.search_text=b.group?b.label:b.html,b.search_match=this.search_string_match(b.search_text,c),b.search_match&&!b.group&&(e+=1),b.search_match?(g.length&&(h=b.search_text.search(j),i=b.search_text.substr(0,h+g.length)+"
    "+b.search_text.substr(h+g.length),b.search_text=i.substr(0,h)+""+i.substr(h)),null!=f&&(f.group_match=!0)):null!=b.group_array_index&&this.results_data[b.group_array_index].search_match&&(b.search_match=!0)));return this.result_clear_highlight(),1>e&&g.length?(this.update_results_content(""),this.no_results(g)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},AbstractChosen.prototype.search_string_match=function(a,b){var c,d,e,f;if(b.test(a))return!0;if(this.enable_split_word_search&&(a.indexOf(" ")>=0||0===a.indexOf("["))&&(d=a.replace(/\[|\]/g,"").split(" "),d.length))for(e=0,f=d.length;f>e;e++)if(c=d[e],b.test(c))return!0},AbstractChosen.prototype.choices_count=function(){var a,b,c,d;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,d=this.form_field.options,b=0,c=d.length;c>b;b++)a=d[b],a.selected&&(this.selected_option_count+=1);return this.selected_option_count},AbstractChosen.prototype.choices_click=function(a){return a.preventDefault(),this.results_showing||this.is_disabled?void 0:this.results_show()},AbstractChosen.prototype.keyup_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),b){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(a.preventDefault(),this.results_showing)return this.result_select(a);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},AbstractChosen.prototype.clipboard_event_checker=function(){var a=this;return setTimeout(function(){return a.results_search()},50)},AbstractChosen.prototype.container_width=function(){return null!=this.options.width?this.options.width:""+this.form_field.offsetWidth+"px"},AbstractChosen.prototype.include_option_in_results=function(a){return this.is_multiple&&!this.display_selected_options&&a.selected?!1:!this.display_disabled_options&&a.disabled?!1:a.empty?!1:!0},AbstractChosen.prototype.search_results_touchstart=function(a){return this.touch_started=!0,this.search_results_mouseover(a)},AbstractChosen.prototype.search_results_touchmove=function(a){return this.touch_started=!1,this.search_results_mouseout(a)},AbstractChosen.prototype.search_results_touchend=function(a){return this.touch_started?this.search_results_mouseup(a):void 0},AbstractChosen.prototype.outerHTML=function(a){var b;return a.outerHTML?a.outerHTML:(b=document.createElement("div"),b.appendChild(a),b.innerHTML)},AbstractChosen.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:/iP(od|hone)/i.test(window.navigator.userAgent)?!1:/Android/i.test(window.navigator.userAgent)&&/Mobile/i.test(window.navigator.userAgent)?!1:!0},AbstractChosen.default_multiple_text="Select Some Options",AbstractChosen.default_single_text="Select an Option",AbstractChosen.default_no_result_text="No results match",AbstractChosen}(),a=jQuery,a.fn.extend({chosen:function(b){return AbstractChosen.browser_is_supported()?this.each(function(){var c,d;c=a(this),d=c.data("chosen"),"destroy"===b&&d?d.destroy():d||c.data("chosen",new Chosen(this,b))}):this}}),Chosen=function(c){function Chosen(){return b=Chosen.__super__.constructor.apply(this,arguments)}return d(Chosen,c),Chosen.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},Chosen.prototype.set_up_html=function(){var b,c;return b=["chosen-container"],b.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&b.push(this.form_field.className),this.is_rtl&&b.push("chosen-rtl"),c={"class":b.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(c.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("
    ",c),this.is_multiple?this.container.html('
      '):this.container.html(''+this.default_text+'
        '),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior(),this.form_field_jq.trigger("chosen:ready",{chosen:this})},Chosen.prototype.register_observers=function(){var a=this;return this.container.bind("mousedown.chosen",function(b){a.container_mousedown(b)}),this.container.bind("mouseup.chosen",function(b){a.container_mouseup(b)}),this.container.bind("mouseenter.chosen",function(b){a.mouse_enter(b)}),this.container.bind("mouseleave.chosen",function(b){a.mouse_leave(b)}),this.search_results.bind("mouseup.chosen",function(b){a.search_results_mouseup(b)}),this.search_results.bind("mouseover.chosen",function(b){a.search_results_mouseover(b)}),this.search_results.bind("mouseout.chosen",function(b){a.search_results_mouseout(b)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(b){a.search_results_mousewheel(b)}),this.search_results.bind("touchstart.chosen",function(b){a.search_results_touchstart(b)}),this.search_results.bind("touchmove.chosen",function(b){a.search_results_touchmove(b)}),this.search_results.bind("touchend.chosen",function(b){a.search_results_touchend(b)}),this.form_field_jq.bind("chosen:updated.chosen",function(b){a.results_update_field(b)}),this.form_field_jq.bind("chosen:activate.chosen",function(b){a.activate_field(b)}),this.form_field_jq.bind("chosen:open.chosen",function(b){a.container_mousedown(b)}),this.form_field_jq.bind("chosen:close.chosen",function(b){a.input_blur(b)}),this.search_field.bind("blur.chosen",function(b){a.input_blur(b)}),this.search_field.bind("keyup.chosen",function(b){a.keyup_checker(b)}),this.search_field.bind("keydown.chosen",function(b){a.keydown_checker(b)}),this.search_field.bind("focus.chosen",function(b){a.input_focus(b)}),this.search_field.bind("cut.chosen",function(b){a.clipboard_event_checker(b)}),this.search_field.bind("paste.chosen",function(b){a.clipboard_event_checker(b)}),this.is_multiple?this.search_choices.bind("click.chosen",function(b){a.choices_click(b)}):this.container.bind("click.chosen",function(a){a.preventDefault()})},Chosen.prototype.destroy=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},Chosen.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},Chosen.prototype.container_mousedown=function(b){return this.is_disabled||(b&&"mousedown"===b.type&&!this.results_showing&&b.preventDefault(),null!=b&&a(b.target).hasClass("search-choice-close"))?void 0:(this.active_field?this.is_multiple||!b||a(b.target)[0]!==this.selected_item[0]&&!a(b.target).parents("a.chosen-single").length||(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},Chosen.prototype.container_mouseup=function(a){return"ABBR"!==a.target.nodeName||this.is_disabled?void 0:this.results_reset(a)},Chosen.prototype.search_results_mousewheel=function(a){var b;return a.originalEvent&&(b=-a.originalEvent.wheelDelta||a.originalEvent.detail),null!=b?(a.preventDefault(),"DOMMouseScroll"===a.type&&(b=40*b),this.search_results.scrollTop(b+this.search_results.scrollTop())):void 0},Chosen.prototype.blur_test=function(){return!this.active_field&&this.container.hasClass("chosen-container-active")?this.close_field():void 0},Chosen.prototype.close_field=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},Chosen.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},Chosen.prototype.test_active_click=function(b){var c;return c=a(b.target).closest(".chosen-container"),c.length&&this.container[0]===c[0]?this.active_field=!0:this.close_field()},Chosen.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=SelectParser.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},Chosen.prototype.result_do_highlight=function(a){var b,c,d,e,f;if(a.length){if(this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass("highlighted"),d=parseInt(this.search_results.css("maxHeight"),10),f=this.search_results.scrollTop(),e=d+f,c=this.result_highlight.position().top+this.search_results.scrollTop(),b=c+this.result_highlight.outerHeight(),b>=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(f>c)return this.search_results.scrollTop(c)}},Chosen.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},Chosen.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},Chosen.prototype.update_results_content=function(a){return this.search_results.html(a)},Chosen.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},Chosen.prototype.set_tab_index=function(){var a;return this.form_field.tabIndex?(a=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=a):void 0},Chosen.prototype.set_label_behavior=function(){var b=this;return this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0?this.form_field_label.bind("click.chosen",function(a){return b.is_multiple?b.container_mousedown(a):b.activate_field()}):void 0},Chosen.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},Chosen.prototype.search_results_mouseup=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c.length?(this.result_highlight=c,this.result_select(b),this.search_field.focus()):void 0},Chosen.prototype.search_results_mouseover=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c?this.result_do_highlight(c):void 0},Chosen.prototype.search_results_mouseout=function(b){return a(b.target).hasClass("active-result")?this.result_clear_highlight():void 0},Chosen.prototype.choice_build=function(b){var c,d,e=this;return c=a("
      • ",{"class":"search-choice"}).html(""+b.html+""),b.disabled?c.addClass("search-choice-disabled"):(d=a("",{"class":"search-choice-close","data-option-array-index":b.array_index}),d.bind("click.chosen",function(a){return e.choice_destroy_link_click(a)}),c.append(d)),this.search_container.before(c)},Chosen.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),b.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(a(b.target))},Chosen.prototype.choice_destroy=function(a){return this.result_deselect(a[0].getAttribute("data-option-array-index"))?(this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),a.parents("li").first().remove(),this.search_field_scale()):void 0},Chosen.prototype.results_reset=function(){return this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field?this.results_hide():void 0},Chosen.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},Chosen.prototype.result_select=function(a){var b,c;return this.result_highlight?(b=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?b.removeClass("active-result"):this.reset_single_select_options(),c=this.results_data[b[0].getAttribute("data-option-array-index")],c.selected=!0,this.form_field.options[c.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(c):this.single_set_selected_text(c.text),(a.metaKey||a.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[c.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,this.search_field_scale())):void 0},Chosen.prototype.single_set_selected_text=function(a){return null==a&&(a=this.default_text),a===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").text(a)},Chosen.prototype.result_deselect=function(a){var b;return b=this.results_data[a],this.form_field.options[b.options_index].disabled?!1:(b.selected=!1,this.form_field.options[b.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[b.options_index].value}),this.search_field_scale(),!0)},Chosen.prototype.single_deselect_control_build=function(){return this.allow_single_deselect?(this.selected_item.find("abbr").length||this.selected_item.find("span").first().after(''),this.selected_item.addClass("chosen-single-with-deselect")):void 0},Chosen.prototype.get_search_text=function(){return this.search_field.val()===this.default_text?"":a("
        ").text(a.trim(this.search_field.val())).html()},Chosen.prototype.winnow_results_set_highlight=function(){var a,b;return b=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),a=b.length?b.first():this.search_results.find(".active-result").first(),null!=a?this.result_do_highlight(a):void 0},Chosen.prototype.no_results=function(b){var c;return c=a('
      • '+this.results_none_found+' ""
      • '),c.find("span").first().html(b),this.search_results.append(c),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},Chosen.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},Chosen.prototype.keydown_arrow=function(){var a;return this.results_showing&&this.result_highlight?(a=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(a):void 0:this.results_show()},Chosen.prototype.keyup_arrow=function(){var a;return this.results_showing||this.is_multiple?this.result_highlight?(a=this.result_highlight.prevAll("li.active-result"),a.length?this.result_do_highlight(a.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},Chosen.prototype.keydown_backstroke=function(){var a;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(a=this.search_container.siblings("li.search-choice").last(),a.length&&!a.hasClass("search-choice-disabled")?(this.pending_backstroke=a,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},Chosen.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},Chosen.prototype.keydown_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),8!==b&&this.pending_backstroke&&this.clear_backstroke(),b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a),this.mouse_on_container=!1;break;case 13:a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:a.preventDefault(),this.keydown_arrow()}},Chosen.prototype.search_field_scale=function(){var b,c,d,e,f,g,h,i,j;if(this.is_multiple){for(d=0,h=0,f="position:absolute; left: -1000px; top: -1000px; display:none;",g=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],i=0,j=g.length;j>i;i++)e=g[i],f+=e+":"+this.search_field.css(e)+";";return b=a("
        ",{style:f}),b.text(this.search_field.val()),a("body").append(b),h=b.width()+25,b.remove(),c=this.container.outerWidth(),h>c-10&&(h=c-10),this.search_field.css({width:h+"px"})}},Chosen}(AbstractChosen)}.call(this); \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/js/colorpicker.js b/plugins/wp-booking-system/wp-booking-system/js/colorpicker.js deleted file mode 100755 index 45f56ce..0000000 --- a/plugins/wp-booking-system/wp-booking-system/js/colorpicker.js +++ /dev/null @@ -1,484 +0,0 @@ -/** - * - * Color picker - * Author: Stefan Petre www.eyecon.ro - * - * Dual licensed under the MIT and GPL licenses - * - */ -(function ($) { - var ColorPicker = function () { - var - ids = {}, - inAction, - charMin = 65, - visible, - tpl = '
        ', - defaults = { - eventName: 'click', - onShow: function () {}, - onBeforeShow: function(){}, - onHide: function () {}, - onChange: function () {}, - onSubmit: function () {}, - color: 'ff0000', - livePreview: true, - flat: false - }, - fillRGBFields = function (hsb, cal) { - var rgb = HSBToRGB(hsb); - $(cal).data('colorpicker').fields - .eq(1).val(rgb.r).end() - .eq(2).val(rgb.g).end() - .eq(3).val(rgb.b).end(); - }, - fillHSBFields = function (hsb, cal) { - $(cal).data('colorpicker').fields - .eq(4).val(hsb.h).end() - .eq(5).val(hsb.s).end() - .eq(6).val(hsb.b).end(); - }, - fillHexFields = function (hsb, cal) { - $(cal).data('colorpicker').fields - .eq(0).val(HSBToHex(hsb)).end(); - }, - setSelector = function (hsb, cal) { - $(cal).data('colorpicker').selector.css('backgroundColor', '#' + HSBToHex({h: hsb.h, s: 100, b: 100})); - $(cal).data('colorpicker').selectorIndic.css({ - left: parseInt(150 * hsb.s/100, 10), - top: parseInt(150 * (100-hsb.b)/100, 10) - }); - }, - setHue = function (hsb, cal) { - $(cal).data('colorpicker').hue.css('top', parseInt(150 - 150 * hsb.h/360, 10)); - }, - setCurrentColor = function (hsb, cal) { - $(cal).data('colorpicker').currentColor.css('backgroundColor', '#' + HSBToHex(hsb)); - }, - setNewColor = function (hsb, cal) { - $(cal).data('colorpicker').newColor.css('backgroundColor', '#' + HSBToHex(hsb)); - }, - keyDown = function (ev) { - var pressedKey = ev.charCode || ev.keyCode || -1; - if ((pressedKey > charMin && pressedKey <= 90) || pressedKey == 32) { - return false; - } - var cal = $(this).parent().parent(); - if (cal.data('colorpicker').livePreview === true) { - change.apply(this); - } - }, - change = function (ev) { - var cal = $(this).parent().parent(), col; - if (this.parentNode.className.indexOf('_hex') > 0) { - cal.data('colorpicker').color = col = HexToHSB(fixHex(this.value)); - } else if (this.parentNode.className.indexOf('_hsb') > 0) { - cal.data('colorpicker').color = col = fixHSB({ - h: parseInt(cal.data('colorpicker').fields.eq(4).val(), 10), - s: parseInt(cal.data('colorpicker').fields.eq(5).val(), 10), - b: parseInt(cal.data('colorpicker').fields.eq(6).val(), 10) - }); - } else { - cal.data('colorpicker').color = col = RGBToHSB(fixRGB({ - r: parseInt(cal.data('colorpicker').fields.eq(1).val(), 10), - g: parseInt(cal.data('colorpicker').fields.eq(2).val(), 10), - b: parseInt(cal.data('colorpicker').fields.eq(3).val(), 10) - })); - } - if (ev) { - fillRGBFields(col, cal.get(0)); - fillHexFields(col, cal.get(0)); - fillHSBFields(col, cal.get(0)); - } - setSelector(col, cal.get(0)); - setHue(col, cal.get(0)); - setNewColor(col, cal.get(0)); - cal.data('colorpicker').onChange.apply(cal, [col, HSBToHex(col), HSBToRGB(col)]); - }, - blur = function (ev) { - var cal = $(this).parent().parent(); - cal.data('colorpicker').fields.parent().removeClass('colorpicker_focus'); - }, - focus = function () { - charMin = this.parentNode.className.indexOf('_hex') > 0 ? 70 : 65; - $(this).parent().parent().data('colorpicker').fields.parent().removeClass('colorpicker_focus'); - $(this).parent().addClass('colorpicker_focus'); - }, - downIncrement = function (ev) { - var field = $(this).parent().find('input').focus(); - var current = { - el: $(this).parent().addClass('colorpicker_slider'), - max: this.parentNode.className.indexOf('_hsb_h') > 0 ? 360 : (this.parentNode.className.indexOf('_hsb') > 0 ? 100 : 255), - y: ev.pageY, - field: field, - val: parseInt(field.val(), 10), - preview: $(this).parent().parent().data('colorpicker').livePreview - }; - $(document).bind('mouseup', current, upIncrement); - $(document).bind('mousemove', current, moveIncrement); - }, - moveIncrement = function (ev) { - ev.data.field.val(Math.max(0, Math.min(ev.data.max, parseInt(ev.data.val + ev.pageY - ev.data.y, 10)))); - if (ev.data.preview) { - change.apply(ev.data.field.get(0), [true]); - } - return false; - }, - upIncrement = function (ev) { - change.apply(ev.data.field.get(0), [true]); - ev.data.el.removeClass('colorpicker_slider').find('input').focus(); - $(document).unbind('mouseup', upIncrement); - $(document).unbind('mousemove', moveIncrement); - return false; - }, - downHue = function (ev) { - var current = { - cal: $(this).parent(), - y: $(this).offset().top - }; - current.preview = current.cal.data('colorpicker').livePreview; - $(document).bind('mouseup', current, upHue); - $(document).bind('mousemove', current, moveHue); - }, - moveHue = function (ev) { - change.apply( - ev.data.cal.data('colorpicker') - .fields - .eq(4) - .val(parseInt(360*(150 - Math.max(0,Math.min(150,(ev.pageY - ev.data.y))))/150, 10)) - .get(0), - [ev.data.preview] - ); - return false; - }, - upHue = function (ev) { - fillRGBFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0)); - fillHexFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0)); - $(document).unbind('mouseup', upHue); - $(document).unbind('mousemove', moveHue); - return false; - }, - downSelector = function (ev) { - var current = { - cal: $(this).parent(), - pos: $(this).offset() - }; - current.preview = current.cal.data('colorpicker').livePreview; - $(document).bind('mouseup', current, upSelector); - $(document).bind('mousemove', current, moveSelector); - }, - moveSelector = function (ev) { - change.apply( - ev.data.cal.data('colorpicker') - .fields - .eq(6) - .val(parseInt(100*(150 - Math.max(0,Math.min(150,(ev.pageY - ev.data.pos.top))))/150, 10)) - .end() - .eq(5) - .val(parseInt(100*(Math.max(0,Math.min(150,(ev.pageX - ev.data.pos.left))))/150, 10)) - .get(0), - [ev.data.preview] - ); - return false; - }, - upSelector = function (ev) { - fillRGBFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0)); - fillHexFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0)); - $(document).unbind('mouseup', upSelector); - $(document).unbind('mousemove', moveSelector); - return false; - }, - enterSubmit = function (ev) { - $(this).addClass('colorpicker_focus'); - }, - leaveSubmit = function (ev) { - $(this).removeClass('colorpicker_focus'); - }, - clickSubmit = function (ev) { - var cal = $(this).parent(); - var col = cal.data('colorpicker').color; - cal.data('colorpicker').origColor = col; - setCurrentColor(col, cal.get(0)); - cal.data('colorpicker').onSubmit(col, HSBToHex(col), HSBToRGB(col), cal.data('colorpicker').el); - }, - show = function (ev) { - var cal = $('#' + $(this).data('colorpickerId')); - cal.data('colorpicker').onBeforeShow.apply(this, [cal.get(0)]); - var pos = $(this).offset(); - var viewPort = getViewport(); - var top = pos.top + this.offsetHeight; - var left = pos.left; - if (top + 176 > viewPort.t + viewPort.h) { - top -= this.offsetHeight + 176; - } - if (left + 356 > viewPort.l + viewPort.w) { - left -= 356; - } - cal.css({left: left + 'px', top: top + 'px'}); - if (cal.data('colorpicker').onShow.apply(this, [cal.get(0)]) != false) { - cal.show(); - } - $(document).bind('mousedown', {cal: cal}, hide); - return false; - }, - hide = function (ev) { - if (!isChildOf(ev.data.cal.get(0), ev.target, ev.data.cal.get(0))) { - if (ev.data.cal.data('colorpicker').onHide.apply(this, [ev.data.cal.get(0)]) != false) { - ev.data.cal.hide(); - } - $(document).unbind('mousedown', hide); - } - }, - isChildOf = function(parentEl, el, container) { - if (parentEl == el) { - return true; - } - if (parentEl.contains) { - return parentEl.contains(el); - } - if ( parentEl.compareDocumentPosition ) { - return !!(parentEl.compareDocumentPosition(el) & 16); - } - var prEl = el.parentNode; - while(prEl && prEl != container) { - if (prEl == parentEl) - return true; - prEl = prEl.parentNode; - } - return false; - }, - getViewport = function () { - var m = document.compatMode == 'CSS1Compat'; - return { - l : window.pageXOffset || (m ? document.documentElement.scrollLeft : document.body.scrollLeft), - t : window.pageYOffset || (m ? document.documentElement.scrollTop : document.body.scrollTop), - w : window.innerWidth || (m ? document.documentElement.clientWidth : document.body.clientWidth), - h : window.innerHeight || (m ? document.documentElement.clientHeight : document.body.clientHeight) - }; - }, - fixHSB = function (hsb) { - return { - h: Math.min(360, Math.max(0, hsb.h)), - s: Math.min(100, Math.max(0, hsb.s)), - b: Math.min(100, Math.max(0, hsb.b)) - }; - }, - fixRGB = function (rgb) { - return { - r: Math.min(255, Math.max(0, rgb.r)), - g: Math.min(255, Math.max(0, rgb.g)), - b: Math.min(255, Math.max(0, rgb.b)) - }; - }, - fixHex = function (hex) { - var len = 6 - hex.length; - if (len > 0) { - var o = []; - for (var i=0; i -1) ? hex.substring(1) : hex), 16); - return {r: hex >> 16, g: (hex & 0x00FF00) >> 8, b: (hex & 0x0000FF)}; - }, - HexToHSB = function (hex) { - return RGBToHSB(HexToRGB(hex)); - }, - RGBToHSB = function (rgb) { - var hsb = { - h: 0, - s: 0, - b: 0 - }; - var min = Math.min(rgb.r, rgb.g, rgb.b); - var max = Math.max(rgb.r, rgb.g, rgb.b); - var delta = max - min; - hsb.b = max; - if (max != 0) { - - } - hsb.s = max != 0 ? 255 * delta / max : 0; - if (hsb.s != 0) { - if (rgb.r == max) { - hsb.h = (rgb.g - rgb.b) / delta; - } else if (rgb.g == max) { - hsb.h = 2 + (rgb.b - rgb.r) / delta; - } else { - hsb.h = 4 + (rgb.r - rgb.g) / delta; - } - } else { - hsb.h = -1; - } - hsb.h *= 60; - if (hsb.h < 0) { - hsb.h += 360; - } - hsb.s *= 100/255; - hsb.b *= 100/255; - return hsb; - }, - HSBToRGB = function (hsb) { - var rgb = {}; - var h = Math.round(hsb.h); - var s = Math.round(hsb.s*255/100); - var v = Math.round(hsb.b*255/100); - if(s == 0) { - rgb.r = rgb.g = rgb.b = v; - } else { - var t1 = v; - var t2 = (255-s)*v/255; - var t3 = (t1-t2)*(h%60)/60; - if(h==360) h = 0; - if(h<60) {rgb.r=t1; rgb.b=t2; rgb.g=t2+t3} - else if(h<120) {rgb.g=t1; rgb.b=t2; rgb.r=t1-t3} - else if(h<180) {rgb.g=t1; rgb.r=t2; rgb.b=t2+t3} - else if(h<240) {rgb.b=t1; rgb.r=t2; rgb.g=t1-t3} - else if(h<300) {rgb.b=t1; rgb.g=t2; rgb.r=t2+t3} - else if(h<360) {rgb.r=t1; rgb.g=t2; rgb.b=t1-t3} - else {rgb.r=0; rgb.g=0; rgb.b=0} - } - return {r:Math.round(rgb.r), g:Math.round(rgb.g), b:Math.round(rgb.b)}; - }, - RGBToHex = function (rgb) { - var hex = [ - rgb.r.toString(16), - rgb.g.toString(16), - rgb.b.toString(16) - ]; - $.each(hex, function (nr, val) { - if (val.length == 1) { - hex[nr] = '0' + val; - } - }); - return hex.join(''); - }, - HSBToHex = function (hsb) { - return RGBToHex(HSBToRGB(hsb)); - }, - restoreOriginal = function () { - var cal = $(this).parent(); - var col = cal.data('colorpicker').origColor; - cal.data('colorpicker').color = col; - fillRGBFields(col, cal.get(0)); - fillHexFields(col, cal.get(0)); - fillHSBFields(col, cal.get(0)); - setSelector(col, cal.get(0)); - setHue(col, cal.get(0)); - setNewColor(col, cal.get(0)); - }; - return { - init: function (opt) { - opt = $.extend({}, defaults, opt||{}); - if (typeof opt.color == 'string') { - opt.color = HexToHSB(opt.color); - } else if (opt.color.r != undefined && opt.color.g != undefined && opt.color.b != undefined) { - opt.color = RGBToHSB(opt.color); - } else if (opt.color.h != undefined && opt.color.s != undefined && opt.color.b != undefined) { - opt.color = fixHSB(opt.color); - } else { - return this; - } - return this.each(function () { - if (!$(this).data('colorpickerId')) { - var options = $.extend({}, opt); - options.origColor = opt.color; - var id = 'collorpicker_' + parseInt(Math.random() * 1000); - $(this).data('colorpickerId', id); - var cal = $(tpl).attr('id', id); - if (options.flat) { - cal.appendTo(this).show(); - } else { - cal.appendTo(document.body); - } - options.fields = cal - .find('input') - .bind('keyup', keyDown) - .bind('change', change) - .bind('blur', blur) - .bind('focus', focus); - cal - .find('span').bind('mousedown', downIncrement).end() - .find('>div.colorpicker_current_color').bind('click', restoreOriginal); - options.selector = cal.find('div.colorpicker_color').bind('mousedown', downSelector); - options.selectorIndic = options.selector.find('div div'); - options.el = this; - options.hue = cal.find('div.colorpicker_hue div'); - cal.find('div.colorpicker_hue').bind('mousedown', downHue); - options.newColor = cal.find('div.colorpicker_new_color'); - options.currentColor = cal.find('div.colorpicker_current_color'); - cal.data('colorpicker', options); - cal.find('div.colorpicker_submit') - .bind('mouseenter', enterSubmit) - .bind('mouseleave', leaveSubmit) - .bind('click', clickSubmit); - fillRGBFields(options.color, cal.get(0)); - fillHSBFields(options.color, cal.get(0)); - fillHexFields(options.color, cal.get(0)); - setHue(options.color, cal.get(0)); - setSelector(options.color, cal.get(0)); - setCurrentColor(options.color, cal.get(0)); - setNewColor(options.color, cal.get(0)); - if (options.flat) { - cal.css({ - position: 'relative', - display: 'block' - }); - } else { - $(this).bind(options.eventName, show); - } - } - }); - }, - showPicker: function() { - return this.each( function () { - if ($(this).data('colorpickerId')) { - show.apply(this); - } - }); - }, - hidePicker: function() { - return this.each( function () { - if ($(this).data('colorpickerId')) { - $('#' + $(this).data('colorpickerId')).hide(); - } - }); - }, - setColor: function(col) { - if (typeof col == 'string') { - col = HexToHSB(col); - } else if (col.r != undefined && col.g != undefined && col.b != undefined) { - col = RGBToHSB(col); - } else if (col.h != undefined && col.s != undefined && col.b != undefined) { - col = fixHSB(col); - } else { - return this; - } - return this.each(function(){ - if ($(this).data('colorpickerId')) { - var cal = $('#' + $(this).data('colorpickerId')); - cal.data('colorpicker').color = col; - cal.data('colorpicker').origColor = col; - fillRGBFields(col, cal.get(0)); - fillHSBFields(col, cal.get(0)); - fillHexFields(col, cal.get(0)); - setHue(col, cal.get(0)); - setSelector(col, cal.get(0)); - setCurrentColor(col, cal.get(0)); - setNewColor(col, cal.get(0)); - } - }); - } - }; - }(); - $.fn.extend({ - ColorPicker: ColorPicker.init, - ColorPickerHide: ColorPicker.hidePicker, - ColorPickerShow: ColorPicker.showPicker, - ColorPickerSetColor: ColorPicker.setColor - }); -})(jQuery) \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/js/colorpicker.min.js b/plugins/wp-booking-system/wp-booking-system/js/colorpicker.min.js deleted file mode 100755 index a91d2cf..0000000 --- a/plugins/wp-booking-system/wp-booking-system/js/colorpicker.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){var o=function(){var o=65,t={eventName:"click",onShow:function(){},onBeforeShow:function(){},onHide:function(){},onChange:function(){},onSubmit:function(){},color:"ff0000",livePreview:!0,flat:!1},r=function(o,t){var r=T(o);e(t).data("colorpicker").fields.eq(1).val(r.r).end().eq(2).val(r.g).end().eq(3).val(r.b).end()},i=function(o,t){e(t).data("colorpicker").fields.eq(4).val(o.h).end().eq(5).val(o.s).end().eq(6).val(o.b).end()},a=function(o,t){e(t).data("colorpicker").fields.eq(0).val(W(o)).end()},c=function(o,t){e(t).data("colorpicker").selector.css("backgroundColor","#"+W({h:o.h,s:100,b:100})),e(t).data("colorpicker").selectorIndic.css({left:parseInt(150*o.s/100,10),top:parseInt(150*(100-o.b)/100,10)})},n=function(o,t){e(t).data("colorpicker").hue.css("top",parseInt(150-150*o.h/360,10))},d=function(o,t){e(t).data("colorpicker").currentColor.css("backgroundColor","#"+W(o))},l=function(o,t){e(t).data("colorpicker").newColor.css("backgroundColor","#"+W(o))},s=function(t){var r=t.charCode||t.keyCode||-1;if(r>o&&r<=90||32==r)return!1;e(this).parent().parent().data("colorpicker").livePreview===!0&&p.apply(this)},p=function(o){var t,d=e(this).parent().parent();this.parentNode.className.indexOf("_hex")>0?d.data("colorpicker").color=t=Y(O(this.value)):this.parentNode.className.indexOf("_hsb")>0?d.data("colorpicker").color=t=S({h:parseInt(d.data("colorpicker").fields.eq(4).val(),10),s:parseInt(d.data("colorpicker").fields.eq(5).val(),10),b:parseInt(d.data("colorpicker").fields.eq(6).val(),10)}):d.data("colorpicker").color=t=E(H({r:parseInt(d.data("colorpicker").fields.eq(1).val(),10),g:parseInt(d.data("colorpicker").fields.eq(2).val(),10),b:parseInt(d.data("colorpicker").fields.eq(3).val(),10)})),o&&(r(t,d.get(0)),a(t,d.get(0)),i(t,d.get(0))),c(t,d.get(0)),n(t,d.get(0)),l(t,d.get(0)),d.data("colorpicker").onChange.apply(d,[t,W(t),T(t)])},u=function(o){e(this).parent().parent().data("colorpicker").fields.parent().removeClass("colorpicker_focus")},h=function(){o=this.parentNode.className.indexOf("_hex")>0?70:65,e(this).parent().parent().data("colorpicker").fields.parent().removeClass("colorpicker_focus"),e(this).parent().addClass("colorpicker_focus")},f=function(o){var t=e(this).parent().find("input").focus(),r={el:e(this).parent().addClass("colorpicker_slider"),max:this.parentNode.className.indexOf("_hsb_h")>0?360:this.parentNode.className.indexOf("_hsb")>0?100:255,y:o.pageY,field:t,val:parseInt(t.val(),10),preview:e(this).parent().parent().data("colorpicker").livePreview};e(document).bind("mouseup",r,m),e(document).bind("mousemove",r,v)},v=function(e){return e.data.field.val(Math.max(0,Math.min(e.data.max,parseInt(e.data.val+e.pageY-e.data.y,10)))),e.data.preview&&p.apply(e.data.field.get(0),[!0]),!1},m=function(o){return p.apply(o.data.field.get(0),[!0]),o.data.el.removeClass("colorpicker_slider").find("input").focus(),e(document).unbind("mouseup",m),e(document).unbind("mousemove",v),!1},g=function(o){var t={cal:e(this).parent(),y:e(this).offset().top};t.preview=t.cal.data("colorpicker").livePreview,e(document).bind("mouseup",t,b),e(document).bind("mousemove",t,k)},k=function(e){return p.apply(e.data.cal.data("colorpicker").fields.eq(4).val(parseInt(360*(150-Math.max(0,Math.min(150,e.pageY-e.data.y)))/150,10)).get(0),[e.data.preview]),!1},b=function(o){return r(o.data.cal.data("colorpicker").color,o.data.cal.get(0)),a(o.data.cal.data("colorpicker").color,o.data.cal.get(0)),e(document).unbind("mouseup",b),e(document).unbind("mousemove",k),!1},_=function(o){var t={cal:e(this).parent(),pos:e(this).offset()};t.preview=t.cal.data("colorpicker").livePreview,e(document).bind("mouseup",t,w),e(document).bind("mousemove",t,x)},x=function(e){return p.apply(e.data.cal.data("colorpicker").fields.eq(6).val(parseInt(100*(150-Math.max(0,Math.min(150,e.pageY-e.data.pos.top)))/150,10)).end().eq(5).val(parseInt(100*Math.max(0,Math.min(150,e.pageX-e.data.pos.left))/150,10)).get(0),[e.data.preview]),!1},w=function(o){return r(o.data.cal.data("colorpicker").color,o.data.cal.get(0)),a(o.data.cal.data("colorpicker").color,o.data.cal.get(0)),e(document).unbind("mouseup",w),e(document).unbind("mousemove",x),!1},y=function(o){e(this).addClass("colorpicker_focus")},C=function(o){e(this).removeClass("colorpicker_focus")},M=function(o){var t=e(this).parent(),r=t.data("colorpicker").color;t.data("colorpicker").origColor=r,d(r,t.get(0)),t.data("colorpicker").onSubmit(r,W(r),T(r),t.data("colorpicker").el)},I=function(o){var t=e("#"+e(this).data("colorpickerId"));t.data("colorpicker").onBeforeShow.apply(this,[t.get(0)]);var r=e(this).offset(),i=N(),a=r.top+this.offsetHeight,c=r.left;return a+176>i.t+i.h&&(a-=this.offsetHeight+176),c+356>i.l+i.w&&(c-=356),t.css({left:c+"px",top:a+"px"}),0!=t.data("colorpicker").onShow.apply(this,[t.get(0)])&&t.show(),e(document).bind("mousedown",{cal:t},q),!1},q=function(o){P(o.data.cal.get(0),o.target,o.data.cal.get(0))||(0!=o.data.cal.data("colorpicker").onHide.apply(this,[o.data.cal.get(0)])&&o.data.cal.hide(),e(document).unbind("mousedown",q))},P=function(e,o,t){if(e==o)return!0;if(e.contains)return e.contains(o);if(e.compareDocumentPosition)return!!(16&e.compareDocumentPosition(o));for(var r=o.parentNode;r&&r!=t;){if(r==e)return!0;r=r.parentNode}return!1},N=function(){var e="CSS1Compat"==document.compatMode;return{l:window.pageXOffset||(e?document.documentElement.scrollLeft:document.body.scrollLeft),t:window.pageYOffset||(e?document.documentElement.scrollTop:document.body.scrollTop),w:window.innerWidth||(e?document.documentElement.clientWidth:document.body.clientWidth),h:window.innerHeight||(e?document.documentElement.clientHeight:document.body.clientHeight)}},S=function(e){return{h:Math.min(360,Math.max(0,e.h)),s:Math.min(100,Math.max(0,e.s)),b:Math.min(100,Math.max(0,e.b))}},H=function(e){return{r:Math.min(255,Math.max(0,e.r)),g:Math.min(255,Math.max(0,e.g)),b:Math.min(255,Math.max(0,e.b))}},O=function(e){var o=6-e.length;if(o>0){for(var t=[],r=0;r-1?e.substring(1):e,16);return{r:e>>16,g:(65280&e)>>8,b:255&e}},Y=function(e){return E(z(e))},E=function(e){var o={h:0,s:0,b:0},t=Math.min(e.r,e.g,e.b),r=Math.max(e.r,e.g,e.b),i=r-t;return o.b=r,o.s=0!=r?255*i/r:0,0!=o.s?e.r==r?o.h=(e.g-e.b)/i:e.g==r?o.h=2+(e.b-e.r)/i:o.h=4+(e.r-e.g)/i:o.h=-1,o.h*=60,o.h<0&&(o.h+=360),o.s*=100/255,o.b*=100/255,o},T=function(e){var o={},t=Math.round(e.h),r=Math.round(255*e.s/100),i=Math.round(255*e.b/100);if(0==r)o.r=o.g=o.b=i;else{var a=i,c=(255-r)*i/255,n=t%60*(a-c)/60;360==t&&(t=0),t<60?(o.r=a,o.b=c,o.g=c+n):t<120?(o.g=a,o.b=c,o.r=a-n):t<180?(o.g=a,o.r=c,o.b=c+n):t<240?(o.b=a,o.r=c,o.g=a-n):t<300?(o.b=a,o.g=c,o.r=c+n):t<360?(o.r=a,o.g=c,o.b=a-n):(o.r=0,o.g=0,o.b=0)}return{r:Math.round(o.r),g:Math.round(o.g),b:Math.round(o.b)}},j=function(o){var t=[o.r.toString(16),o.g.toString(16),o.b.toString(16)];return e.each(t,function(e,o){1==o.length&&(t[e]="0"+o)}),t.join("")},W=function(e){return j(T(e))},B=function(){var o=e(this).parent(),t=o.data("colorpicker").origColor;o.data("colorpicker").color=t,r(t,o.get(0)),a(t,o.get(0)),i(t,o.get(0)),c(t,o.get(0)),n(t,o.get(0)),l(t,o.get(0))};return{init:function(o){if(o=e.extend({},t,o||{}),"string"==typeof o.color)o.color=Y(o.color);else if(void 0!=o.color.r&&void 0!=o.color.g&&void 0!=o.color.b)o.color=E(o.color);else{if(void 0==o.color.h||void 0==o.color.s||void 0==o.color.b)return this;o.color=S(o.color)}return this.each(function(){if(!e(this).data("colorpickerId")){var t=e.extend({},o);t.origColor=o.color;var v="collorpicker_"+parseInt(1e3*Math.random());e(this).data("colorpickerId",v);var m=e('
        ').attr("id",v);t.flat?m.appendTo(this).show():m.appendTo(document.body),t.fields=m.find("input").bind("keyup",s).bind("change",p).bind("blur",u).bind("focus",h),m.find("span").bind("mousedown",f).end().find(">div.colorpicker_current_color").bind("click",B),t.selector=m.find("div.colorpicker_color").bind("mousedown",_),t.selectorIndic=t.selector.find("div div"),t.el=this,t.hue=m.find("div.colorpicker_hue div"),m.find("div.colorpicker_hue").bind("mousedown",g),t.newColor=m.find("div.colorpicker_new_color"),t.currentColor=m.find("div.colorpicker_current_color"),m.data("colorpicker",t),m.find("div.colorpicker_submit").bind("mouseenter",y).bind("mouseleave",C).bind("click",M),r(t.color,m.get(0)),i(t.color,m.get(0)),a(t.color,m.get(0)),n(t.color,m.get(0)),c(t.color,m.get(0)),d(t.color,m.get(0)),l(t.color,m.get(0)),t.flat?m.css({position:"relative",display:"block"}):e(this).bind(t.eventName,I)}})},showPicker:function(){return this.each(function(){e(this).data("colorpickerId")&&I.apply(this)})},hidePicker:function(){return this.each(function(){e(this).data("colorpickerId")&&e("#"+e(this).data("colorpickerId")).hide()})},setColor:function(o){if("string"==typeof o)o=Y(o);else if(void 0!=o.r&&void 0!=o.g&&void 0!=o.b)o=E(o);else{if(void 0==o.h||void 0==o.s||void 0==o.b)return this;o=S(o)}return this.each(function(){if(e(this).data("colorpickerId")){var t=e("#"+e(this).data("colorpickerId"));t.data("colorpicker").color=o,t.data("colorpicker").origColor=o,r(o,t.get(0)),i(o,t.get(0)),a(o,t.get(0)),n(o,t.get(0)),c(o,t.get(0)),d(o,t.get(0)),l(o,t.get(0))}})}}}();e.fn.extend({ColorPicker:o.init,ColorPickerHide:o.hidePicker,ColorPickerShow:o.showPicker,ColorPickerSetColor:o.setColor})}(jQuery); \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/js/custom-select.js b/plugins/wp-booking-system/wp-booking-system/js/custom-select.js deleted file mode 100755 index 446d171..0000000 --- a/plugins/wp-booking-system/wp-booking-system/js/custom-select.js +++ /dev/null @@ -1,10 +0,0 @@ -/*! - * jquery.customSelect() - v0.4.1 - * http://adam.co/lab/jquery/customselect/ - * 2013-05-13 - * - * Copyright 2013 Adam Coulombe - * @license http://www.opensource.org/licenses/mit-license.html MIT License - * @license http://www.gnu.org/licenses/gpl.html GPL2 License - */ -(function(a){a.fn.extend({customSelect:function(c){if(typeof document.body.style.maxHeight==="undefined"){return this}var e={customClass:"customSelect_wpbs",mapClass:true,mapStyle:true},c=a.extend(e,c),d=c.customClass,f=function(h,k){var g=h.find(":selected"),j=k.children(":first"),i=g.html()||" ";j.html(i);if(g.attr("disabled")){k.addClass(b("DisabledOption"))}else{k.removeClass(b("DisabledOption"))}setTimeout(function(){k.removeClass(b("Open"));a(document).off("mouseup."+b("Open"))},60)},b=function(g){return d+g};return this.each(function(){var g=a(this),i=a("").addClass(b("Inner")),h=a("");g.after(h.append(i));h.addClass(d);if(c.mapClass){h.addClass(g.attr("class"))}if(c.mapStyle){h.attr("style",g.attr("style"))}g.addClass("hasCustomSelect_wpbs").on("update",function(){f(g,h);var k=parseInt(g.outerWidth(),10)-(parseInt(h.outerWidth(),10)-parseInt(h.width(),10));h.css({display:"inline-block"});var j=h.outerHeight();if(g.attr("disabled")){h.addClass(b("Disabled"))}else{h.removeClass(b("Disabled"))}i.css({width:k,display:"inline-block"});g.css({"-webkit-appearance":"menulist-button",width:h.outerWidth(),position:"absolute",opacity:0,height:j,fontSize:h.css("font-size")})}).on("change",function(){h.addClass(b("Changed"));f(g,h)}).on("keyup",function(j){if(!h.hasClass(b("Open"))){g.blur();g.focus()}else{if(j.which==13||j.which==27){f(g,h)}}}).on("mousedown",function(j){h.removeClass(b("Changed"))}).on("mouseup",function(j){if(!h.hasClass(b("Open"))){if(a("."+b("Open")).not(h).length>0&&typeof InstallTrigger!=="undefined"){g.focus()}else{h.addClass(b("Open"));j.stopPropagation();a(document).one("mouseup."+b("Open"),function(k){if(k.target!=g.get(0)&&a.inArray(k.target,g.find("*").get())<0){g.blur()}else{f(g,h)}})}}}).focus(function(){h.removeClass(b("Changed")).addClass(b("Focus"))}).blur(function(){h.removeClass(b("Focus")+" "+b("Open"))}).hover(function(){h.addClass(b("Hover"))},function(){h.removeClass(b("Hover"))}).trigger("update")})}})})(jQuery); \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/js/jquery.dataTables.min.js b/plugins/wp-booking-system/wp-booking-system/js/jquery.dataTables.min.js deleted file mode 100755 index 02694a4..0000000 --- a/plugins/wp-booking-system/wp-booking-system/js/jquery.dataTables.min.js +++ /dev/null @@ -1,155 +0,0 @@ -/* - * File: jquery.dataTables.min.js - * Version: 1.9.4 - * Author: Allan Jardine (www.sprymedia.co.uk) - * Info: www.datatables.net - * - * Copyright 2008-2012 Allan Jardine, all rights reserved. - * - * This source file is free software, under either the GPL v2 license or a - * BSD style license, available at: - * http://datatables.net/license_gpl2 - * http://datatables.net/license_bsd - * - * This source file is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. - */ -(function(X,l,n){var L=function(h){var j=function(e){function o(a,b){var c=j.defaults.columns,d=a.aoColumns.length,c=h.extend({},j.models.oColumn,c,{sSortingClass:a.oClasses.sSortable,sSortingClassJUI:a.oClasses.sSortJUI,nTh:b?b:l.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML:"",aDataSort:c.aDataSort?c.aDataSort:[d],mData:c.mData?c.oDefaults:d});a.aoColumns.push(c);if(a.aoPreSearchCols[d]===n||null===a.aoPreSearchCols[d])a.aoPreSearchCols[d]=h.extend({},j.models.oSearch);else if(c=a.aoPreSearchCols[d], -c.bRegex===n&&(c.bRegex=!0),c.bSmart===n&&(c.bSmart=!0),c.bCaseInsensitive===n)c.bCaseInsensitive=!0;m(a,d,null)}function m(a,b,c){var d=a.aoColumns[b];c!==n&&null!==c&&(c.mDataProp&&!c.mData&&(c.mData=c.mDataProp),c.sType!==n&&(d.sType=c.sType,d._bAutoType=!1),h.extend(d,c),p(d,c,"sWidth","sWidthOrig"),c.iDataSort!==n&&(d.aDataSort=[c.iDataSort]),p(d,c,"aDataSort"));var i=d.mRender?Q(d.mRender):null,f=Q(d.mData);d.fnGetData=function(a,b){var c=f(a,b);return d.mRender&&b&&""!==b?i(c,b,a):c};d.fnSetData= -L(d.mData);a.oFeatures.bSort||(d.bSortable=!1);!d.bSortable||-1==h.inArray("asc",d.asSorting)&&-1==h.inArray("desc",d.asSorting)?(d.sSortingClass=a.oClasses.sSortableNone,d.sSortingClassJUI=""):-1==h.inArray("asc",d.asSorting)&&-1==h.inArray("desc",d.asSorting)?(d.sSortingClass=a.oClasses.sSortable,d.sSortingClassJUI=a.oClasses.sSortJUI):-1!=h.inArray("asc",d.asSorting)&&-1==h.inArray("desc",d.asSorting)?(d.sSortingClass=a.oClasses.sSortableAsc,d.sSortingClassJUI=a.oClasses.sSortJUIAscAllowed):-1== -h.inArray("asc",d.asSorting)&&-1!=h.inArray("desc",d.asSorting)&&(d.sSortingClass=a.oClasses.sSortableDesc,d.sSortingClassJUI=a.oClasses.sSortJUIDescAllowed)}function k(a){if(!1===a.oFeatures.bAutoWidth)return!1;da(a);for(var b=0,c=a.aoColumns.length;bj[f])d(a.aoColumns.length+j[f],b[i]);else if("string"===typeof j[f]){e=0;for(w=a.aoColumns.length;eb&&a[d]--; -1!=c&&a.splice(c,1)}function S(a,b,c){var d=a.aoColumns[c];return d.fnRender({iDataRow:b,iDataColumn:c,oSettings:a,aData:a.aoData[b]._aData,mDataProp:d.mData},v(a,b,c,"display"))}function ea(a,b){var c=a.aoData[b],d;if(null===c.nTr){c.nTr=l.createElement("tr");c.nTr._DT_RowIndex=b;c._aData.DT_RowId&&(c.nTr.id=c._aData.DT_RowId);c._aData.DT_RowClass&& -(c.nTr.className=c._aData.DT_RowClass);for(var i=0,f=a.aoColumns.length;i=a.fnRecordsDisplay()?0:a.iInitDisplayStart,a.iInitDisplayStart=-1,y(a));if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++;else if(a.oFeatures.bServerSide){if(!a.bDestroying&&!wa(a))return}else a.iDraw++;if(0!==a.aiDisplay.length){var g= -a._iDisplayStart;d=a._iDisplayEnd;a.oFeatures.bServerSide&&(g=0,d=a.aoData.length);for(;g
        ")[0];a.nTable.parentNode.insertBefore(b,a.nTable);a.nTableWrapper=h('
        ')[0];a.nTableReinsertBefore=a.nTable.nextSibling;for(var c=a.nTableWrapper,d=a.sDom.split(""),i,f,g,e,w,o,k,m=0;m
        ")[0];w=d[m+ -1];if("'"==w||'"'==w){o="";for(k=2;d[m+k]!=w;)o+=d[m+k],k++;"H"==o?o=a.oClasses.sJUIHeader:"F"==o&&(o=a.oClasses.sJUIFooter);-1!=o.indexOf(".")?(w=o.split("."),e.id=w[0].substr(1,w[0].length-1),e.className=w[1]):"#"==o.charAt(0)?e.id=o.substr(1,o.length-1):e.className=o;m+=k}c.appendChild(e);c=e}else if(">"==g)c=c.parentNode;else if("l"==g&&a.oFeatures.bPaginate&&a.oFeatures.bLengthChange)i=ya(a),f=1;else if("f"==g&&a.oFeatures.bFilter)i=za(a),f=1;else if("r"==g&&a.oFeatures.bProcessing)i=Aa(a),f= -1;else if("t"==g)i=Ba(a),f=1;else if("i"==g&&a.oFeatures.bInfo)i=Ca(a),f=1;else if("p"==g&&a.oFeatures.bPaginate)i=Da(a),f=1;else if(0!==j.ext.aoFeatures.length){e=j.ext.aoFeatures;k=0;for(w=e.length;k'):""===c?'':c+' ',d=l.createElement("div");d.className=a.oClasses.sFilter;d.innerHTML="";a.aanFeatures.f||(d.id=a.sTableId+"_filter");c=h('input[type="text"]',d);d._DT_Input=c[0];c.val(b.sSearch.replace('"',"""));c.bind("keyup.DT",function(){for(var c=a.aanFeatures.f,d=this.value===""?"":this.value, -g=0,e=c.length;g=b.length)a.aiDisplay.splice(0,a.aiDisplay.length),a.aiDisplay=a.aiDisplayMaster.slice();else if(a.aiDisplay.length==a.aiDisplayMaster.length||i.sSearch.length>b.length||1==c||0!==b.indexOf(i.sSearch)){a.aiDisplay.splice(0, -a.aiDisplay.length);la(a,1);for(b=0;b").html(c).text()); -return c.replace(/[\n\r]/g," ")}function ma(a,b,c,d){if(c)return a=b?a.split(" "):oa(a).split(" "),a="^(?=.*?"+a.join(")(?=.*?")+").*$",RegExp(a,d?"i":"");a=b?a:oa(a);return RegExp(a,d?"i":"")}function Ja(a,b){return"function"===typeof j.ext.ofnSearch[b]?j.ext.ofnSearch[b](a):null===a?"":"html"==b?a.replace(/[\r\n]/g," ").replace(/<.*?>/g,""):"string"===typeof a?a.replace(/[\r\n]/g," "):a}function oa(a){return a.replace(RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"), -"\\$1")}function Ca(a){var b=l.createElement("div");b.className=a.oClasses.sInfo;a.aanFeatures.i||(a.aoDrawCallback.push({fn:Ka,sName:"information"}),b.id=a.sTableId+"_info");a.nTable.setAttribute("aria-describedby",a.sTableId+"_info");return b}function Ka(a){if(a.oFeatures.bInfo&&0!==a.aanFeatures.i.length){var b=a.oLanguage,c=a._iDisplayStart+1,d=a.fnDisplayEnd(),i=a.fnRecordsTotal(),f=a.fnRecordsDisplay(),g;g=0===f?b.sInfoEmpty:b.sInfo;f!=i&&(g+=" "+b.sInfoFiltered);g+=b.sInfoPostFix;g=ja(a,g); -null!==b.fnInfoCallback&&(g=b.fnInfoCallback.call(a.oInstance,a,c,d,i,f,g));a=a.aanFeatures.i;b=0;for(c=a.length;b",c,d,i=a.aLengthMenu;if(2==i.length&&"object"===typeof i[0]&&"object"===typeof i[1]){c=0;for(d=i[0].length;c'+i[1][c]+""}else{c=0;for(d=i.length;c'+i[c]+""}b+="";i=l.createElement("div");a.aanFeatures.l|| -(i.id=a.sTableId+"_length");i.className=a.oClasses.sLength;i.innerHTML="";h('select option[value="'+a._iDisplayLength+'"]',i).attr("selected",!0);h("select",i).bind("change.DT",function(){var b=h(this).val(),i=a.aanFeatures.l;c=0;for(d=i.length;ca.aiDisplay.length||-1==a._iDisplayLength?a.aiDisplay.length:a._iDisplayStart+a._iDisplayLength}function Da(a){if(a.oScroll.bInfinite)return null;var b=l.createElement("div");b.className=a.oClasses.sPaging+a.sPaginationType;j.ext.oPagination[a.sPaginationType].fnInit(a, -b,function(a){y(a);x(a)});a.aanFeatures.p||a.aoDrawCallback.push({fn:function(a){j.ext.oPagination[a.sPaginationType].fnUpdate(a,function(a){y(a);x(a)})},sName:"pagination"});return b}function qa(a,b){var c=a._iDisplayStart;if("number"===typeof b)a._iDisplayStart=b*a._iDisplayLength,a._iDisplayStart>a.fnRecordsDisplay()&&(a._iDisplayStart=0);else if("first"==b)a._iDisplayStart=0;else if("previous"==b)a._iDisplayStart=0<=a._iDisplayLength?a._iDisplayStart-a._iDisplayLength:0,0>a._iDisplayStart&&(a._iDisplayStart= -0);else if("next"==b)0<=a._iDisplayLength?a._iDisplayStart+a._iDisplayLengthh(a.nTable).height()-a.oScroll.iLoadGap&&a.fnDisplayEnd()d.offsetHeight||"scroll"==h(d).css("overflow-y")))a.nTable.style.width=q(h(a.nTable).outerWidth()-a.oScroll.iBarWidth)}else""!==a.oScroll.sXInner?a.nTable.style.width= -q(a.oScroll.sXInner):i==h(d).width()&&h(d).height()i-a.oScroll.iBarWidth&&(a.nTable.style.width=q(i))):a.nTable.style.width=q(i);i=h(a.nTable).outerWidth();C(s,e);C(function(a){p.push(q(h(a).width()))},e);C(function(a,b){a.style.width=p[b]},g);h(e).height(0);null!==a.nTFoot&&(C(s,j),C(function(a){n.push(q(h(a).width()))},j),C(function(a,b){a.style.width=n[b]},o),h(j).height(0));C(function(a,b){a.innerHTML= -"";a.style.width=p[b]},e);null!==a.nTFoot&&C(function(a,b){a.innerHTML="";a.style.width=n[b]},j);if(h(a.nTable).outerWidth()d.offsetHeight||"scroll"==h(d).css("overflow-y")?i+a.oScroll.iBarWidth:i;if(r&&(d.scrollHeight>d.offsetHeight||"scroll"==h(d).css("overflow-y")))a.nTable.style.width=q(g-a.oScroll.iBarWidth);d.style.width=q(g);a.nScrollHead.style.width=q(g);null!==a.nTFoot&&(a.nScrollFoot.style.width=q(g));""===a.oScroll.sX?D(a,1,"The table cannot fit into the current element which will cause column misalignment. The table has been drawn at its minimum possible width."): -""!==a.oScroll.sXInner&&D(a,1,"The table cannot fit into the current element which will cause column misalignment. Increase the sScrollXInner value or remove it to allow automatic calculation")}else d.style.width=q("100%"),a.nScrollHead.style.width=q("100%"),null!==a.nTFoot&&(a.nScrollFoot.style.width=q("100%"));""===a.oScroll.sY&&r&&(d.style.height=q(a.nTable.offsetHeight+a.oScroll.iBarWidth));""!==a.oScroll.sY&&a.oScroll.bCollapse&&(d.style.height=q(a.oScroll.sY),r=""!==a.oScroll.sX&&a.nTable.offsetWidth> -d.offsetWidth?a.oScroll.iBarWidth:0,a.nTable.offsetHeightd.clientHeight||"scroll"==h(d).css("overflow-y");b.style.paddingRight=c?a.oScroll.iBarWidth+"px":"0px";null!==a.nTFoot&&(R.style.width=q(r),l.style.width=q(r),l.style.paddingRight=c?a.oScroll.iBarWidth+"px":"0px");h(d).scroll();if(a.bSorted||a.bFiltered)d.scrollTop=0}function C(a,b,c){for(var d= -0,i=0,f=b.length,g,e;itd",b));j=N(a,f);for(f=d=0;fc)return null;if(null===a.aoData[c].nTr){var d=l.createElement("td");d.innerHTML=v(a,c,b,"");return d}return J(a,c)[b]}function Pa(a,b){for(var c=-1,d=-1,i=0;i/g,"");e.length>c&&(c=e.length,d=i)}return d}function q(a){if(null===a)return"0px";if("number"==typeof a)return 0>a?"0px":a+"px";var b=a.charCodeAt(a.length-1); -return 48>b||57/g,""),i=q[c].nTh,i.removeAttribute("aria-sort"),i.removeAttribute("aria-label"),q[c].bSortable?0d&&d++;f=RegExp(f+"[123]");var o;b=0;for(c=a.length;b
        ')[0];l.body.appendChild(b);a.oBrowser.bScrollOversize= -100===h("#DT_BrowserTest",b)[0].offsetWidth?!0:!1;l.body.removeChild(b)}function Va(a){return function(){var b=[s(this[j.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return j.ext.oApi[a].apply(this,b)}}var U=/\[.*?\]$/,Wa=X.JSON?JSON.stringify:function(a){var b=typeof a;if("object"!==b||null===a)return"string"===b&&(a='"'+a+'"'),a+"";var c,d,e=[],f=h.isArray(a);for(c in a)d=a[c],b=typeof d,"string"===b?d='"'+d+'"':"object"===b&&null!==d&&(d=Wa(d)),e.push((f?"":'"'+c+'":')+d);return(f? -"[":"{")+e+(f?"]":"}")};this.$=function(a,b){var c,d,e=[],f;d=s(this[j.ext.iApiIndex]);var g=d.aoData,o=d.aiDisplay,k=d.aiDisplayMaster;b||(b={});b=h.extend({},{filter:"none",order:"current",page:"all"},b);if("current"==b.page){c=d._iDisplayStart;for(d=d.fnDisplayEnd();c=d.fnRecordsDisplay()&&(d._iDisplayStart-=d._iDisplayLength,0>d._iDisplayStart&&(d._iDisplayStart=0));if(c===n||c)y(d),x(d);return g};this.fnDestroy=function(a){var b=s(this[j.ext.iApiIndex]),c=b.nTableWrapper.parentNode,d=b.nTBody,i,f,a=a===n?!1:a;b.bDestroying=!0;A(b,"aoDestroyCallback","destroy",[b]);if(!a){i=0;for(f=b.aoColumns.length;itr>td."+b.oClasses.sRowEmpty,b.nTable).parent().remove();b.nTable!=b.nTHead.parentNode&&(h(b.nTable).children("thead").remove(),b.nTable.appendChild(b.nTHead));b.nTFoot&&b.nTable!=b.nTFoot.parentNode&&(h(b.nTable).children("tfoot").remove(),b.nTable.appendChild(b.nTFoot));b.nTable.parentNode.removeChild(b.nTable);h(b.nTableWrapper).remove();b.aaSorting=[];b.aaSortingFixed=[];P(b);h(T(b)).removeClass(b.asStripeClasses.join(" "));h("th, td",b.nTHead).removeClass([b.oClasses.sSortable,b.oClasses.sSortableAsc, -b.oClasses.sSortableDesc,b.oClasses.sSortableNone].join(" "));b.bJUI&&(h("th span."+b.oClasses.sSortIcon+", td span."+b.oClasses.sSortIcon,b.nTHead).remove(),h("th, td",b.nTHead).each(function(){var a=h("div."+b.oClasses.sSortJUIWrapper,this),c=a.contents();h(this).append(c);a.remove()}));!a&&b.nTableReinsertBefore?c.insertBefore(b.nTable,b.nTableReinsertBefore):a||c.appendChild(b.nTable);i=0;for(f=b.aoData.length;i=t(d);if(!m)for(e=a;et<"F"ip>')):h.extend(g.oClasses,j.ext.oStdClasses);h(this).addClass(g.oClasses.sTable);if(""!==g.oScroll.sX||""!==g.oScroll.sY)g.oScroll.iBarWidth=Qa();g.iInitDisplayStart===n&&(g.iInitDisplayStart=e.iDisplayStart, -g._iDisplayStart=e.iDisplayStart);e.bStateSave&&(g.oFeatures.bStateSave=!0,Sa(g,e),z(g,"aoDrawCallback",ra,"state_save"));null!==e.iDeferLoading&&(g.bDeferLoading=!0,a=h.isArray(e.iDeferLoading),g._iRecordsDisplay=a?e.iDeferLoading[0]:e.iDeferLoading,g._iRecordsTotal=a?e.iDeferLoading[1]:e.iDeferLoading);null!==e.aaData&&(f=!0);""!==e.oLanguage.sUrl?(g.oLanguage.sUrl=e.oLanguage.sUrl,h.getJSON(g.oLanguage.sUrl,null,function(a){pa(a);h.extend(true,g.oLanguage,e.oLanguage,a);ba(g)}),i=!0):h.extend(!0, -g.oLanguage,e.oLanguage);null===e.asStripeClasses&&(g.asStripeClasses=[g.oClasses.sStripeOdd,g.oClasses.sStripeEven]);b=g.asStripeClasses.length;g.asDestroyStripes=[];if(b){c=!1;d=h(this).children("tbody").children("tr:lt("+b+")");for(a=0;a=g.aoColumns.length&&(g.aaSorting[a][0]=0);var k=g.aoColumns[g.aaSorting[a][0]];g.aaSorting[a][2]===n&&(g.aaSorting[a][2]=0);e.aaSorting===n&&g.saved_aaSorting===n&&(g.aaSorting[a][1]= -k.asSorting[0]);c=0;for(d=k.asSorting.length;c=parseInt(n,10)};j.fnIsDataTable=function(e){for(var h=j.settings,m=0;me)return e;for(var h=e+"",e=h.split(""),j="",h=h.length,k=0;k'+k.sPrevious+''+k.sNext+"":'';h(j).append(k);var l=h("a",j), -k=l[0],l=l[1];e.oApi._fnBindAction(k,{action:"previous"},n);e.oApi._fnBindAction(l,{action:"next"},n);e.aanFeatures.p||(j.id=e.sTableId+"_paginate",k.id=e.sTableId+"_previous",l.id=e.sTableId+"_next",k.setAttribute("aria-controls",e.sTableId),l.setAttribute("aria-controls",e.sTableId))},fnUpdate:function(e){if(e.aanFeatures.p)for(var h=e.oClasses,j=e.aanFeatures.p,k,l=0,n=j.length;l'+k.sFirst+''+k.sPrevious+''+k.sNext+''+k.sLast+"");var t=h("a",j),k=t[0],l=t[1],r=t[2],t=t[3];e.oApi._fnBindAction(k,{action:"first"},n);e.oApi._fnBindAction(l,{action:"previous"},n);e.oApi._fnBindAction(r,{action:"next"},n);e.oApi._fnBindAction(t,{action:"last"},n);e.aanFeatures.p||(j.id=e.sTableId+"_paginate",k.id=e.sTableId+"_first",l.id=e.sTableId+"_previous",r.id=e.sTableId+"_next",t.id=e.sTableId+"_last")}, -fnUpdate:function(e,o){if(e.aanFeatures.p){var m=j.ext.oPagination.iFullNumbersShowPages,k=Math.floor(m/2),l=Math.ceil(e.fnRecordsDisplay()/e._iDisplayLength),n=Math.ceil(e._iDisplayStart/e._iDisplayLength)+1,t="",r,B=e.oClasses,u,M=e.aanFeatures.p,L=function(h){e.oApi._fnBindAction(this,{page:h+r-1},function(h){e.oApi._fnPageChange(e,h.data.page);o(e);h.preventDefault()})};-1===e._iDisplayLength?n=k=r=1:l=l-k?(r=l-m+1,k=l):(r=n-Math.ceil(m/2)+1,k=r+m-1);for(m=r;m<=k;m++)t+= -n!==m?''+e.fnFormatNumber(m)+"":''+e.fnFormatNumber(m)+"";m=0;for(k=M.length;mh?1:0},"string-desc":function(e,h){return eh?-1:0},"html-pre":function(e){return e.replace(/<.*?>/g,"").toLowerCase()},"html-asc":function(e,h){return eh?1:0},"html-desc":function(e,h){return e< -h?1:e>h?-1:0},"date-pre":function(e){e=Date.parse(e);if(isNaN(e)||""===e)e=Date.parse("01/01/1970 00:00:00");return e},"date-asc":function(e,h){return e-h},"date-desc":function(e,h){return h-e},"numeric-pre":function(e){return"-"==e||""===e?0:1*e},"numeric-asc":function(e,h){return e-h},"numeric-desc":function(e,h){return h-e}});h.extend(j.ext.aTypes,[function(e){if("number"===typeof e)return"numeric";if("string"!==typeof e)return null;var h,j=!1;h=e.charAt(0);if(-1=="0123456789-".indexOf(h))return null; -for(var k=1;k")?"html":null}]);h.fn.DataTable=j;h.fn.dataTable=j;h.fn.dataTableSettings=j.settings;h.fn.dataTableExt=j.ext};"function"===typeof define&&define.amd?define(["jquery"],L):jQuery&&!jQuery.fn.dataTable&& -L(jQuery)})(window,document); diff --git a/plugins/wp-booking-system/wp-booking-system/js/wpbs-admin.js b/plugins/wp-booking-system/wp-booking-system/js/wpbs-admin.js deleted file mode 100755 index 782769e..0000000 --- a/plugins/wp-booking-system/wp-booking-system/js/wpbs-admin.js +++ /dev/null @@ -1,571 +0,0 @@ -var wpbs = jQuery.noConflict(); -var $instance; - -var $saveCalendarDisabled = false; -var $saveFormDisabled = false; - -// Strip Slashes -String.prototype.stripSlashes = function(){ - return this.replace(/\\(.)/mg, "$1"); -} - -function wpbs_htmlEscape(str) { - return String(str) - .replace(/&/g, '--AMP--') - .replace(/"/g, '--DOUBLEQUOTE--') - .replace(/'/g, '--QUOTE--') - .replace(//g, '--GT--'); -} -function wpbs_customReplace(str) { - return String(str) - .replace(/--AMP--/g, '&') - .replace(/--DOUBLEQUOTE--/g, '"') - .replace(/--QUOTE--/g, '\'') - .replace(/--LT--/g, '<') - .replace(/--GT--/g, '>'); -} -function showLoader(){ - wpbs('.wpbs-loading').fadeTo(0,0).css('display','block').fadeTo(200,1); - wpbs('.wpbs-calendar ul').animate({ - 'opacity' : '0.7' - },200); -} -function hideLoader(){ - wpbs('.wpbs-loading').css('display','none'); -} -function wpbs_changeDay(direction, timestamp) -{ - var data = { - action: 'wpbs_changeDayAdmin', - calendarDirection: direction, - totalCalendars: $instance.find(".wpbs-total-calendars").html(), - currentTimestamp: timestamp, - calendarData: $instance.find(".wpbs-calendar-data").attr('data-info'), - calendarHistory: $instance.find(".wpbs-calendar-history").html(), - calendarLegend: $instance.find(".wpbs-calendar-legend").attr('data-info'), - showDropdown: $instance.find(".wpbs-show-dropdown").html(), - autoPending: $instance.find(".wpbs-calendar-auto-pending").html(), - weekNumbers : $instance.find(".wpbs-calendar-week-numbers").html(), - calendarSelectionType: $instance.find(".wpbs-calendar-selection-type").html(), - calendarLanguage: $instance.find(".wpbs-calendar-language").html(), - weekStart : $instance.find(".wpbs-calendar-week-start").html(), - calendarID : $instance.find(".wpbs-calendar-ID").html() - }; - - wpbs.ajax({ - type: 'POST', - url: wpbs_ajaxurl, - contentType: 'application/json; charset=utf-8', - dataType: 'html', - data: JSON.stringify(data), - success: function ( response ) - { - $instance.find('.wpbs-calendars').html(response); - hideLoader(); - wpbs('.wpbs-chosen').chosen(); - } - }); -} - -function wpbs_makeid() -{ - var text = ""; - var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; - - for( var i=0; i < 5; i++ ) - text += possible.charAt(Math.floor(Math.random() * possible.length)); - - return text; -} - -function wpbs_saveCalendar(refresh) -{ - if ( $saveCalendarDisabled == true ) - return false; - - var data = { - action: 'wpbs_saveCalendar', - users: wpbs('[name="wpbs-calendar-users[]"]').map(function(){return wpbs(this).val();}).get(), - title: wpbs('[name="calendarTitle"]').val(), - data: wpbs('#inputCalendarData').val(), - id: wpbs('[name="calendarID"]').val() - } - - - wpbs.ajax({ - type: 'POST', - url: wpbs_ajaxurl, - contentType: 'application/json; charset=utf-8', - dataType: 'json', - data: JSON.stringify(data), - success: function ( response ) - { - wpbs('body').scrollTop(0); - - wpbs('#wpbs-notification-wrapper').append('

        ' + response.msg + '

        '); - - - var removeTimeout = setTimeout(function () { - wpbs('#wpbs-notice').remove(); - }, 2000); - - if ( typeof response.url !== 'undefined' ) - { - // disable "Save Changes" button till the calendar is created - $saveCalendarDisabled = true; - wpbs('.wpbs_saveCalendar').attr('disabled', true); - - // redirect to the newly created calendar - var timeout = setTimeout(function () { - window.location.href = ''+response.url+''; - }, 2050); - } else { - var timeout = setTimeout(function () { - window.location.reload(); - }, 1500); - - } - } - }); -} - -function objectifyForm(formArray) -{//serialize data function - var returnArray = {}; - for (var i = 0; i < formArray.length; i++) - { - returnArray[formArray[i]['name']] = formArray[i]['value']; - } - return returnArray; -} - -function wpbs_saveForm() -{ - var getFields = function () - { - var fields; - // var fields = []; - // var fieldTranslations = function ( el ) - // { - // var transs = []; - // el.find('.languageField').each(function () { - // trans = wpbs(this); - // transs.push({lang: trans.attr('name'), value: trans.val()}); - // }); - // return transs; - // } - // var fieldfieldOptionsTranslations = function ( el ) - // { - // var transs = []; - // el.find('.fieldOptionsLanguage').each(function () { - // trans = wpbs(this); - // transs.push({lang: trans.attr('name'), value: trans.val()}); - // }); - // return transs; - // } - // var j = 0; - // wpbs('.wpbs-field-options').each(function (i, e) - // { - // j++; - // field = wpbs( this ); - // fields.push({ - // fieldID: j, - // fieldName: field.find('.fieldName').val(), - // fieldType: field.find('.fieldType').val(), - // fieldRequired: ( field.find('.fieldRequired').is(':checked') ) ? true : false, - // fieldOptions: field.find('.fieldOptions').val(), - // fieldLanguages: fieldTranslations(field), - // fieldOptionsLanguages: fieldfieldOptionsTranslations(field) - // }) - // }); - - if ( wpbs('#wpbs-form-json').length > 0 ) - fields = wpbs('#wpbs-form-json').val(); - return fields; - } - var getInputs = function (selector) - { - var fields = []; - wpbs(selector + ' input, ' + selector + ' select, ' + selector + ' textarea').each(function (i, e) - { - field = wpbs( this ); - - if ( field.attr('name') == 'autoreply_include_details' ) - fields.push({input: field.attr('name'), value: field.prop('checked')}) - else - fields.push({input: field.attr('name'), value: field.val()}) - }); - return fields; - } - - if ( $saveFormDisabled == true ) - return false; - - var data = { - id: wpbs('[name="formID"]').val(), - title: wpbs('[name="formTitle"]').val(), - fields: getFields(), - translations: getInputs('.translations'), - formSettings: getInputs('.form-settings'), - autoreply: getInputs('.auto-reply'), - emailSettings: getInputs('.email-settings') - } - - var payload = { - action: 'wpbs_saveForm', - data: data - } - - - wpbs.ajax({ - type: 'POST', - url: wpbs_ajaxurl, - contentType: 'application/json; charset=utf-8', - dataType: 'json', - data: JSON.stringify(payload), - success: function ( response ) - { - wpbs('body').scrollTop(0); - - - wpbs('#wpbs-notification-wrapper').append('

        ' + response.msg + '

        '); - - if ( response.result == false ) - return false; - - - var removeTimeout = setTimeout(function () { - wpbs('#wpbs-notice').remove(); - }, 3000); - - if ( typeof response.url !== 'undefined' ) - { - // disable "Save Changes" button till the form is created - $saveFormDisabled = true; - wpbs('.wpbs_saveForm').attr('disabled', true); - - // redirect to the newly created form - var timeout = setTimeout(function () { - window.location.href = ''+response.url+''; - }, 3350); - } - else - { - var timeout = setTimeout(function () { - window.location.reload(); - }, 1500); - - } - - } - }); -} - -function wpbs_bookingAction() -{ - var info = wpbs('#bookingInfo'); - var statuses = wpbs('.wpbs-bookings-tabs'); - var data = { - action: 'wpbs_bookingAction', - bookingAction: info.attr('data-booking-action'), - bookingId: info.attr('data-booking-id'), - calendarId: info.attr('data-calendar-id'), - from: info.attr('data-booking-from'), - dates: JSON.stringify( wpbs('#wpbs_ModalDatesEditor').serializeArray() ), - statuses: { - pending: statuses.find('#status-pending').html().replace(/"/g, "").replace(/'/g, "").replace(/\(|\)/g, ""), - accepted: statuses.find('#status-accepted').html().replace(/"/g, "").replace(/'/g, "").replace(/\(|\)/g, ""), - trash: statuses.find('#status-trash').html().replace(/"/g, "").replace(/'/g, "").replace(/\(|\)/g, "") - }, - send_confirmation: wpbs('.send-confirmation-message').val(), - confirmation_message: wpbs('.send-confirmation-message-additional').val() - } - - - wpbs.ajax({ - type: 'POST', - url: wpbs_ajaxurl, - contentType: 'application/json; charset=utf-8', - dataType: 'json', - data: JSON.stringify(data), - success: function ( response ) - { - wpbs_random_id = wpbs_makeid(); - - if ( response.status ) - { - wpbs('body').scrollTop(0); - - - wpbs('#wpbs-notification-wrapper').append('

        ' + response.msg + '

        '); - - wpbs('#wpbs-booking-field-' + response.id).removeClass('wpbs-booking-selected wpbs-booking-move wpbs-booking-delete').addClass(response.action_class); - - wpbs('#status-pending').html(response.statuses.pending); - wpbs('#status-accepted').html(response.statuses.accepted); - wpbs('#status-trash').html(response.statuses.trash); - - var removeTimeout = setTimeout(function () { - wpbs('#wpbs-booking-field-' + response.id).closest('tr').remove(); - wpbs('#' + wpbs_random_id).remove(); - }, 1000); - - // wpbs('.wpbs_saveCalendar').first().click(); - wpbs_saveCalendar(true); - } - else - { - wpbs('#wpbs-notification-wrapper').append('

        Something went wrong

        '); - } - - var removeTimeout = setTimeout(function () { - wpbs('#' + wpbs_random_id).remove(); - }, 1000); - - } - }); -} - -wpbs(document).ready(function(){ - - wpbs('.wpbs-chosen').chosen(); - wpbs('.wpbs-wrap .meta-box-sortables').sortable({ - disabled: true - }); - - wpbs('.wpbs_saveCalendar').each(function () { - wpbs(this).on('click', function () { - wpbs_saveCalendar(); - }); - }) - - wpbs('.wpbs_saveForm').each(function () { - wpbs(this).on('click', function () { - wpbs_saveForm(); - }); - }) - - - - wpbs('#wpbs_bookingAction').each(function () { - wpbs(this).on('click', function () { - wpbs_bookingAction(); - }); - }) - - // wpbs('.wpbs-dropdown').customSelect(); - wpbs('.wpbs-container').each(function(){ - $instance = wpbs(this); - wpbs($instance).on('change','.wpbs-dropdown',function(e){ - showLoader(); - e.preventDefault(); - wpbs_changeDay('jump',wpbs(this).val()) - }); - - wpbs($instance).on('click','.wpbs-prev',function(e){ - showLoader(); - e.preventDefault(); - if($instance.find(".wpbs-current-timestamp a").length == 0) - timestamp = $instance.find(".wpbs-current-timestamp").html(); - else - timestamp = $instance.find(".wpbs-current-timestamp a").html(); - - wpbs_changeDay('prev',timestamp); - }); - - - wpbs($instance).on('click','.wpbs-next',function(e){ - showLoader(); - e.preventDefault(); - if($instance.find(".wpbs-current-timestamp a").length == 0) - timestamp = $instance.find(".wpbs-current-timestamp").html(); - else - timestamp = $instance.find(".wpbs-current-timestamp a").html(); - - wpbs_changeDay('next',timestamp); - }); - - }) - - wpbs(document).on('click',"#calendarBatchUpdate",function(e){ - e.preventDefault(); - var wpbsCalendarData = wpbs(".wpbs-calendar-data").attr('data-info'); - if (!wpbsCalendarData) - wpbsCalendarData = {}; - else { - // wpbsCalendarData = wpbsCalendarData.stripSlashes(); - wpbsCalendarData = JSON.parse(wpbsCalendarData); - } - var currentTimestamp = wpbs(".wpbs-current-timestamp").html(); - var currentDate = new Date(currentTimestamp * 1000); - - var startDay = wpbs("#startDay").val(); - var startMonth = wpbs("#startMonth").val(); - var startYear = wpbs("#startYear").val(); - - var endDay = wpbs("#endDay").val(); - var endMonth = wpbs("#endMonth").val(); - var endYear = wpbs("#endYear").val(); - - var selectStatus = wpbs("#changeStatus").val(); - - var bookingDetails = wpbs("#bookingDetails").val(); - - var startTime = (Date.parse(startDay + " " + startMonth + " " + startYear))/1000; - var endTime = (Date.parse(endDay + " " + endMonth + " " + endYear))/1000; - if(startTime < endTime){ - - for(i=startTime; i <= endTime + 60*60*23; i = i + 60*60*24){ - var changeDate = new Date(i * 1000); - - if(changeDate.getMonth() == currentDate.getMonth() && changeDate.getFullYear() == currentDate.getFullYear()){ - if(!wpbs("select.wpbs-day-"+(changeDate.getDate())).find('option.wpbs-option-' + selectStatus).prop('selected')){ - wpbs("select.wpbs-day-"+(changeDate.getDate())).find('option').prop("selected",false); - wpbs("select.wpbs-day-"+(changeDate.getDate())).find('option.wpbs-option-' + selectStatus).prop("selected",true); - } - wpbs("select.wpbs-day-"+(changeDate.getDate())).parents('li').find('span.wpbs-select-status').removeClass().addClass('wpbs-select-status status-' + selectStatus); - wpbs("select.wpbs-day-"+(changeDate.getDate())).parents('li').find('span.wpbs-day-split-top').removeClass().addClass('wpbs-day-split-top wpbs-day-split-top-' + selectStatus); - wpbs("select.wpbs-day-"+(changeDate.getDate())).parents('li').find('span.wpbs-day-split-bottom').removeClass().addClass('wpbs-day-split-bottom wpbs-day-split-bottom-' + selectStatus); - - wpbs("select.wpbs-day-"+(changeDate.getDate())).parents('li').find(".wpbs-input-description").val(bookingDetails); - - wpbs(".wpbs-calendars li.wpbs-day-" + changeDate.getDate()).removeClass().addClass('wpbs-day wpbs-day-' + changeDate.getDate() + ' status-' + selectStatus); - wpbs(".wpbs-calendars li.wpbs-day-" + changeDate.getDate() + " span.wpbs-day-split-top").removeClass().addClass('wpbs-day-split-top wpbs-day-split-top-' + selectStatus); - wpbs(".wpbs-calendars li.wpbs-day-" + changeDate.getDate() + " span.wpbs-day-split-bottom").removeClass().addClass('wpbs-day-split-bottom wpbs-day-split-bottom-' + selectStatus); - } - - var currentYear = 'year' + changeDate.getFullYear(); - var currentMonth = 'month' + (changeDate.getMonth()+1); - var currentDay = 'day' + (changeDate.getDate()); - - var currentTimestamp = wpbs(".wpbs-current-timestamp").html(); - var currentDate = new Date(currentTimestamp * 1000); - var currentMonth = changeDate.getMonth()+1; - var currentYear = changeDate.getFullYear(); - var currentDay = changeDate.getDate(); - - - if (!(currentYear in wpbsCalendarData)) { - wpbsCalendarData[currentYear] = {}; - } - - if (!(currentMonth in wpbsCalendarData[currentYear])) { - wpbsCalendarData[currentYear][currentMonth] = {}; - } - wpbsCalendarData[currentYear][currentMonth][currentDay] = selectStatus; - wpbsCalendarData[currentYear][currentMonth]['description-' + currentDay] = bookingDetails; - - wpbs("span.error").css('display','none'); - } - } else { - wpbs("span.error").css('display','block'); - } - wpbs(".wpbs-calendar-data").attr('data-info',JSON.stringify(wpbsCalendarData)); - wpbs("#inputCalendarData").val(JSON.stringify(wpbsCalendarData)); - }) - - - wpbs(document).on('change',".wpbs-day-select",function(e){ - - var wpbsCalendarData = wpbs_customReplace(wpbs(".wpbs-calendar-data").attr('data-info')); - if (!wpbsCalendarData) - wpbsCalendarData = {}; - else { - // wpbsCalendarData = wpbsCalendarData.stripSlashes(); - wpbsCalendarData = JSON.parse(wpbsCalendarData); - } - var currentTimestamp = wpbs(".wpbs-current-timestamp").html(); - var currentDate = new Date(currentTimestamp * 1000); - var currentMonth = wpbs(this).attr('data-month').replace('wpbs-month-',''); - var currentYear = wpbs(this).attr('data-year').replace('wpbs-year-',''); - var currentDay = wpbs(this).attr('data-name').replace('wpbs-day-',''); - var selectStatus = wpbs(this).val(); - - if (!(currentYear in wpbsCalendarData)) { - wpbsCalendarData[currentYear] = {}; - } - - if (!(currentMonth in wpbsCalendarData[currentYear])) { - wpbsCalendarData[currentYear][currentMonth] = {}; - } - wpbsCalendarData[currentYear][currentMonth][currentDay] = selectStatus; - - //change colors - - wpbs(this).parent().find('span.wpbs-select-status').removeClass().addClass('wpbs-select-status status-' + selectStatus); - wpbs(this).parent().find('span.wpbs-day-split-top').removeClass().addClass('wpbs-day-split-top wpbs-day-split-top-' + selectStatus); - wpbs(this).parent().find('span.wpbs-day-split-bottom').removeClass().addClass('wpbs-day-split-bottom wpbs-day-split-bottom-' + selectStatus); - - if(wpbs(this).parents(".wpbs-modal-box").length == 0){ - wpbs(".wpbs-calendar li.wpbs-day-" + currentDay).removeClass().addClass('wpbs-day wpbs-day-' + currentDay + ' status-' + selectStatus); - wpbs(".wpbs-calendar li.wpbs-day-" + currentDay + " span.wpbs-day-split-top").removeClass().addClass('wpbs-day-split-top wpbs-day-split-top-' + selectStatus); - wpbs(".wpbs-calendar li.wpbs-day-" + currentDay + " span.wpbs-day-split-bottom").removeClass().addClass('wpbs-day-split-bottom wpbs-day-split-bottom-' + selectStatus); - } - - - wpbs(".wpbs-calendar-data").attr('data-info',JSON.stringify(wpbsCalendarData)); - wpbs("#inputCalendarData").val(JSON.stringify(wpbsCalendarData)); - - }) - - wpbs(document).on('keyup',".wpbs-input-description",function(e){ - var wpbsCalendarData = wpbs(".wpbs-calendar-data").attr('data-info'); - if (!wpbsCalendarData) - wpbsCalendarData = {}; - else { - wpbsCalendarData = wpbs_customReplace(wpbsCalendarData.stripSlashes()); - wpbsCalendarData = JSON.parse(wpbsCalendarData); - } - var currentTimestamp = wpbs(".wpbs-current-timestamp").html(); - var currentDate = new Date(currentTimestamp * 1000); - var currentMonth = wpbs(this).attr('data-month').replace('wpbs-month-',''); - var currentYear = wpbs(this).attr('data-year').replace('wpbs-year-',''); - var currentDay = wpbs(this).attr('data-name').replace('wpbs-day-',''); - var selectStatus = wpbs(this).val(); - - if (!(currentYear in wpbsCalendarData)) { - wpbsCalendarData[currentYear] = {}; - } - - if (!(currentMonth in wpbsCalendarData[currentYear])) { - wpbsCalendarData[currentYear][currentMonth] = {}; - } - wpbsCalendarData[currentYear][currentMonth]['description-' + currentDay] = wpbs_htmlEscape(selectStatus); - - wpbs(".wpbs-calendar-data").attr('data-info',JSON.stringify(wpbsCalendarData)); - wpbs("#inputCalendarData").val(JSON.stringify(wpbsCalendarData)); - - }) - - wpbs(".saveCalendar").click(function(){ - - if (!wpbs.trim(wpbs(".fullTitle").val()).length) { - wpbs(".fullTitle").addClass('error').focus(); - return false; - } - return true; - - }) - - wpbs(document).on('click','.bulk-edit-legend-apply',function(){ - wpbs(".edit-dates-popup select").each(function(){ - wpbs(this).val(wpbs('.bulk-edit-legend-select').val()).trigger('change'); - }) - wpbs(".edit-dates-popup input").each(function(){ - wpbs(this).val(wpbs('.bulk-edit-legend-text').val()).trigger('keyup'); - }) - }) -}) - -function wpbs_select_text(containerid) { - if (document.selection) { - var range = document.body.createTextRange(); - range.moveToElementText(containerid); - range.select(); - } else if (window.getSelection) { - var range = document.createRange(); - range.selectNode(containerid); - window.getSelection().addRange(range); - } -} \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/js/wpbs-admin.min.js b/plugins/wp-booking-system/wp-booking-system/js/wpbs-admin.min.js deleted file mode 100755 index 736947e..0000000 --- a/plugins/wp-booking-system/wp-booking-system/js/wpbs-admin.min.js +++ /dev/null @@ -1 +0,0 @@ -function wpbs_htmlEscape(a){return String(a).replace(/&/g,"--AMP--").replace(/"/g,"--DOUBLEQUOTE--").replace(/'/g,"--QUOTE--").replace(//g,"--GT--")}function wpbs_customReplace(a){return String(a).replace(/--AMP--/g,"&").replace(/--DOUBLEQUOTE--/g,'"').replace(/--QUOTE--/g,"'").replace(/--LT--/g,"<").replace(/--GT--/g,">")}function showLoader(){wpbs(".wpbs-loading").fadeTo(0,0).css("display","block").fadeTo(200,1),wpbs(".wpbs-calendar ul").animate({opacity:"0.7"},200)}function hideLoader(){wpbs(".wpbs-loading").css("display","none")}function wpbs_changeDay(a,s){var t={action:"wpbs_changeDayAdmin",calendarDirection:a,totalCalendars:$instance.find(".wpbs-total-calendars").html(),currentTimestamp:s,calendarData:$instance.find(".wpbs-calendar-data").attr("data-info"),calendarHistory:$instance.find(".wpbs-calendar-history").html(),calendarLegend:$instance.find(".wpbs-calendar-legend").attr("data-info"),showDropdown:$instance.find(".wpbs-show-dropdown").html(),autoPending:$instance.find(".wpbs-calendar-auto-pending").html(),weekNumbers:$instance.find(".wpbs-calendar-week-numbers").html(),calendarSelectionType:$instance.find(".wpbs-calendar-selection-type").html(),calendarLanguage:$instance.find(".wpbs-calendar-language").html(),weekStart:$instance.find(".wpbs-calendar-week-start").html(),calendarID:$instance.find(".wpbs-calendar-ID").html()};wpbs.ajax({type:"POST",url:wpbs_ajaxurl,contentType:"application/json; charset=utf-8",dataType:"html",data:JSON.stringify(t),success:function(a){$instance.find(".wpbs-calendars").html(a),hideLoader(),wpbs(".wpbs-chosen").chosen()}})}function wpbs_makeid(){for(var a="",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",t=0;t<5;t++)a+=s.charAt(Math.floor(Math.random()*s.length));return a}function wpbs_saveCalendar(a){if(1==$saveCalendarDisabled)return!1;var s={action:"wpbs_saveCalendar",users:wpbs('[name="wpbs-calendar-users[]"]').map(function(){return wpbs(this).val()}).get(),title:wpbs('[name="calendarTitle"]').val(),data:wpbs("#inputCalendarData").val(),id:wpbs('[name="calendarID"]').val()};wpbs.ajax({type:"POST",url:wpbs_ajaxurl,contentType:"application/json; charset=utf-8",dataType:"json",data:JSON.stringify(s),success:function(a){wpbs("body").scrollTop(0),wpbs("#wpbs-notification-wrapper").append('

        '+a.msg+"

        ");setTimeout(function(){wpbs("#wpbs-notice").remove()},2e3);if(void 0!==a.url){$saveCalendarDisabled=!0,wpbs(".wpbs_saveCalendar").attr("disabled",!0);setTimeout(function(){window.location.href=""+a.url},2050)}else{setTimeout(function(){window.location.reload()},1500)}}})}function objectifyForm(a){for(var s={},t=0;t0&&(a=wpbs("#wpbs-form-json").val()),a}(),translations:a(".translations"),formSettings:a(".form-settings"),autoreply:a(".auto-reply"),emailSettings:a(".email-settings")},t={action:"wpbs_saveForm",data:s};wpbs.ajax({type:"POST",url:wpbs_ajaxurl,contentType:"application/json; charset=utf-8",dataType:"json",data:JSON.stringify(t),success:function(a){if(wpbs("body").scrollTop(0),wpbs("#wpbs-notification-wrapper").append('

        '+a.msg+"

        "),0==a.result)return!1;setTimeout(function(){wpbs("#wpbs-notice").remove()},3e3);if(void 0!==a.url){$saveFormDisabled=!0,wpbs(".wpbs_saveForm").attr("disabled",!0);setTimeout(function(){window.location.href=""+a.url},3350)}else{setTimeout(function(){window.location.reload()},1500)}}})}function wpbs_bookingAction(){var a=wpbs("#bookingInfo"),s=wpbs(".wpbs-bookings-tabs"),t={action:"wpbs_bookingAction",bookingAction:a.attr("data-booking-action"),bookingId:a.attr("data-booking-id"),calendarId:a.attr("data-calendar-id"),from:a.attr("data-booking-from"),dates:JSON.stringify(wpbs("#wpbs_ModalDatesEditor").serializeArray()),statuses:{pending:s.find("#status-pending").html().replace(/"/g,"").replace(/'/g,"").replace(/\(|\)/g,""),accepted:s.find("#status-accepted").html().replace(/"/g,"").replace(/'/g,"").replace(/\(|\)/g,""),trash:s.find("#status-trash").html().replace(/"/g,"").replace(/'/g,"").replace(/\(|\)/g,"")},send_confirmation:wpbs(".send-confirmation-message").val(),confirmation_message:wpbs(".send-confirmation-message-additional").val()};wpbs.ajax({type:"POST",url:wpbs_ajaxurl,contentType:"application/json; charset=utf-8",dataType:"json",data:JSON.stringify(t),success:function(a){if(wpbs_random_id=wpbs_makeid(),a.status){wpbs("body").scrollTop(0),wpbs("#wpbs-notification-wrapper").append('

        '+a.msg+"

        "),wpbs("#wpbs-booking-field-"+a.id).removeClass("wpbs-booking-selected wpbs-booking-move wpbs-booking-delete").addClass(a.action_class),wpbs("#status-pending").html(a.statuses.pending),wpbs("#status-accepted").html(a.statuses.accepted),wpbs("#status-trash").html(a.statuses.trash);setTimeout(function(){wpbs("#wpbs-booking-field-"+a.id).closest("tr").remove(),wpbs("#"+wpbs_random_id).remove()},1e3);wpbs_saveCalendar(!0)}else wpbs("#wpbs-notification-wrapper").append('

        Something went wrong

        ');setTimeout(function(){wpbs("#"+wpbs_random_id).remove()},1e3)}})}function wpbs_select_text(a){if(document.selection){var s=document.body.createTextRange();s.moveToElementText(a),s.select()}else if(window.getSelection){var s=document.createRange();s.selectNode(a),window.getSelection().addRange(s)}}var wpbs=jQuery.noConflict(),$instance,$saveCalendarDisabled=!1,$saveFormDisabled=!1;String.prototype.stripSlashes=function(){return this.replace(/\\(.)/gm,"$1")},wpbs(document).ready(function(){wpbs(".wpbs-chosen").chosen(),wpbs(".wpbs-wrap .meta-box-sortables").sortable({disabled:!0}),wpbs(".wpbs_saveCalendar").each(function(){wpbs(this).on("click",function(){wpbs_saveCalendar()})}),wpbs(".wpbs_saveForm").each(function(){wpbs(this).on("click",function(){wpbs_saveForm()})}),wpbs("#wpbs_bookingAction").each(function(){wpbs(this).on("click",function(){wpbs_bookingAction()})}),wpbs(".wpbs-container").each(function(){$instance=wpbs(this),wpbs($instance).on("change",".wpbs-dropdown",function(a){showLoader(),a.preventDefault(),wpbs_changeDay("jump",wpbs(this).val())}),wpbs($instance).on("click",".wpbs-prev",function(a){showLoader(),a.preventDefault(),0==$instance.find(".wpbs-current-timestamp a").length?timestamp=$instance.find(".wpbs-current-timestamp").html():timestamp=$instance.find(".wpbs-current-timestamp a").html(),wpbs_changeDay("prev",timestamp)}),wpbs($instance).on("click",".wpbs-next",function(a){showLoader(),a.preventDefault(),0==$instance.find(".wpbs-current-timestamp a").length?timestamp=$instance.find(".wpbs-current-timestamp").html():timestamp=$instance.find(".wpbs-current-timestamp a").html(),wpbs_changeDay("next",timestamp)})}),wpbs(document).on("click","#calendarBatchUpdate",function(a){a.preventDefault();var s=wpbs(".wpbs-calendar-data").attr("data-info");s=s?JSON.parse(s):{};var t=wpbs(".wpbs-current-timestamp").html(),e=new Date(1e3*t),n=wpbs("#startDay").val(),p=wpbs("#startMonth").val(),o=wpbs("#startYear").val(),l=wpbs("#endDay").val(),r=wpbs("#endMonth").val(),d=wpbs("#endYear").val(),b=wpbs("#changeStatus").val(),c=wpbs("#bookingDetails").val(),w=Date.parse(n+" "+p+" "+o)/1e3,m=Date.parse(l+" "+r+" "+d)/1e3;if(w dataId){ - formJson[wpbs(this).attr('data-order')-1] = formJson[wpbs(this).attr('data-order')]; - delete(formJson[wpbs(this).attr('data-order')]); - wpbs(this).attr('data-order',wpbs(this).attr('data-order')-1); - - }*/ - }) - var i=1; - wpbs('.wpbs-form-field').each(function(){ - wpbs(this).attr('data-order',i); - i++; - }) - - wpbs_form_saveJson(formJson); -} - - -function wpbs_sort_forms(sortOrder){ - tempFormJson = {}; - currFormJson = wpbs_form_getJson(); - for (var j in sortOrder){ - - tempFormJson[sortOrder[j]] = currFormJson[j]; - } - wpbs_form_saveJson(tempFormJson); - x = 1; - wpbs('.wpbs-form-field').each(function(){ - wpbs(this).attr('data-order',x); - x++; - }) -} - - - - -function wpbs_form_addNewField(){ - var field = ''; - i = (wpbs(".wpbs-form-field").length + 1); - - fieldId = 0; - wpbs('.wpbs-form-field').each(function(){ - if( parseInt(fieldId) < parseInt(wpbs(this).attr('id').replace('wpbs-form-field-',''))) - fieldId = parseInt(wpbs(this).attr('id').replace('wpbs-form-field-','')); - }) - fieldId++; - - - field += '
        '; - field += ''; - field += ''; - field += 'New FieldText'; - field += ''; - field += '
        '; - wpbs("#wpbs-form-container").append(field); - - formJson = wpbs_form_getJson(); - formJson[i] = {}; - formJson[i]['fieldId'] = fieldId; - formJson[i]['fieldName'] = ''; - formJson[i]['fieldType'] = 'text'; - formJson[i]['fieldOptions'] = ''; - formJson[i]['fieldHTML'] = ''; - formJson[i]['fieldRequired'] = 'false'; - formJson[i]['fieldLanguages'] = {}; - formJson[i]['fieldOptionsLanguages'] = {}; - for (var j in activeLanguages) { - formJson[i]['fieldLanguages'][j] = ''; - formJson[i]['fieldOptionsLanguages'][j] = ''; - } - - wpbs_form_saveJson(formJson); - - - wpbs('#wpbs-form-field-'+ fieldId +' .wpbs-field-name').click(); -} - - -function wpbs_form_getJson(){ - return JSON.parse(wpbs("#wpbs-form-json").val()); -} - -function wpbs_form_saveJson(obj){ - // DEBUG //wpbs("#json").html(JSON.stringify(obj)) - wpbs("#wpbs-form-json").val(JSON.stringify(obj)); -} diff --git a/plugins/wp-booking-system/wp-booking-system/js/wpbs-forms.min.js b/plugins/wp-booking-system/wp-booking-system/js/wpbs-forms.min.js deleted file mode 100755 index f5c4881..0000000 --- a/plugins/wp-booking-system/wp-booking-system/js/wpbs-forms.min.js +++ /dev/null @@ -1 +0,0 @@ -function wpbs_delete_field(e){formJson=wpbs_form_getJson(),wpbs(".wpbs-form-field").each(function(){fieldId=wpbs(this).attr("data-order"),fieldId==e&&(wpbs(this).remove(),delete formJson[e])});var s=1;wpbs(".wpbs-form-field").each(function(){wpbs(this).attr("data-order",s),s++}),wpbs_form_saveJson(formJson)}function wpbs_sort_forms(e){tempFormJson={},currFormJson=wpbs_form_getJson();for(var s in e)tempFormJson[e[s]]=currFormJson[s];wpbs_form_saveJson(tempFormJson),x=1,wpbs(".wpbs-form-field").each(function(){wpbs(this).attr("data-order",x),x++})}function wpbs_form_addNewField(){var e="";i=wpbs(".wpbs-form-field").length+1,fieldId=0,wpbs(".wpbs-form-field").each(function(){parseInt(fieldId)',e+='',e+='',e+='New FieldText',e+='",e+="
        ",wpbs("#wpbs-form-container").append(e),formJson=wpbs_form_getJson(),formJson[i]={},formJson[i].fieldId=fieldId,formJson[i].fieldName="",formJson[i].fieldType="text",formJson[i].fieldOptions="",formJson[i].fieldHTML="",formJson[i].fieldRequired="false",formJson[i].fieldLanguages={},formJson[i].fieldOptionsLanguages={};for(var s in activeLanguages)formJson[i].fieldLanguages[s]="",formJson[i].fieldOptionsLanguages[s]="";wpbs_form_saveJson(formJson),wpbs("#wpbs-form-field-"+fieldId+" .wpbs-field-name").click()}function wpbs_form_getJson(){return JSON.parse(wpbs("#wpbs-form-json").val())}function wpbs_form_saveJson(e){wpbs("#wpbs-form-json").val(JSON.stringify(e))}var activeLanguages={};wpbs(document).ready(function(){wpbs("#receive_emails").change(function(){wpbs(this).val(),wpbs("#send_to_emails").slideToggle()}),wpbs("#enable_autoreply").change(function(){wpbs(this).val(),wpbs("#wpbs-auto-reply").slideToggle()}),wpbs("#add-field").click(function(e){e.preventDefault(),wpbs(".wpbs-form-field.open").removeClass("open").find(".wpbs-field-options").hide(),wpbs_form_addNewField()}),wpbs("#wpbs-form-container").on("click",".wpbs-form-delete",function(e){e.preventDefault(),confirmation=confirm("Are you sure you want to delete this field?"),confirmation&&wpbs_delete_field(wpbs(this).parent().attr("data-order"))}),wpbs("#wpbs-form-container").on("mousedown click",".wpbs-form-move",function(e){e.preventDefault(),wpbs(this).parent().hasClass("open")&&(wpbs(this).parent().toggleClass("open"),wpbs(this).parent().find(".wpbs-field-options").hide())}),wpbs("#wpbs-form-container").on("click","span.wpbs-field-name, span.wpbs-field-type",function(e){e.preventDefault(),wpbs(".wpbs-form-field.open .wpbs-field-options").slideToggle(),wpbs(this).parent().hasClass("open")?wpbs(".wpbs-form-field.open").removeClass("open"):(wpbs(".wpbs-form-field.open").removeClass("open"),wpbs(this).parent().addClass("open"),wpbs(this).parent().find(".wpbs-field-options").slideToggle())}),wpbs("#wpbs-form-container").on("click",".wpbs-show-dropdown-translations",function(e){e.preventDefault();var s=wpbs(this).parents(".wpbs-form-field");s.find(".wpbs-dropdown-translations").hasClass("visible")?(wpbs(this).text("show translations"),s.find(".wpbs-dropdown-translations").hide().removeClass("visible")):(wpbs(this).text("hide translations"),s.find(".wpbs-dropdown-translations").show().addClass("visible"))}),wpbs("#wpbs-form-container").on("change",".fieldType",function(e){e.preventDefault(),"dropdown"==wpbs(this).val()||"radio"==wpbs(this).val()||"checkbox"==wpbs(this).val()?wpbs(this).parent().parent().find(".fieldOptionsContainer").show():wpbs(this).parent().parent().find(".fieldOptionsContainer").hide(),"html"==wpbs(this).val()?(wpbs(this).parent().parent().find(".fieldHtmlContainer").show(),wpbs(this).parent().parent().find(".fieldRequiredParent").hide()):(wpbs(this).parent().parent().find(".fieldHtmlContainer").hide(),wpbs(this).parent().parent().find(".fieldRequiredParent").show()),wpbs(this).parent().parent().parent().find("span.wpbs-field-type").html(wpbs(this).find("option:selected").text()),formJson=wpbs_form_getJson(),fieldId=wpbs(this).parents(".wpbs-form-field").attr("data-order"),formJson[fieldId].fieldType=wpbs(this).val(),wpbs_form_saveJson(formJson)}),wpbs("#wpbs-form-container").on("keyup change",".fieldName",function(e){e.preventDefault(),$val=wpbs(this).val(),""==$val&&($val=" "),wpbs(this).parent().parent().parent().find("span.wpbs-field-name").html($val),formJson=wpbs_form_getJson(),fieldId=wpbs(this).parents(".wpbs-form-field").attr("data-order"),formJson[fieldId].fieldName=wpbs_htmlEscape(wpbs(this).val()),wpbs_form_saveJson(formJson)}),wpbs("#wpbs-form-container").on("keyup change",".fieldOptions",function(e){e.preventDefault(),formJson=wpbs_form_getJson(),fieldId=wpbs(this).parents(".wpbs-form-field").attr("data-order"),formJson[fieldId].fieldOptions=wpbs_htmlEscape(wpbs(this).val()),wpbs_form_saveJson(formJson)}),wpbs("#wpbs-form-container").on("keyup change",".fieldOptionsLanguage",function(e){e.preventDefault(),formJson=wpbs_form_getJson(),fieldId=wpbs(this).parents(".wpbs-form-field").attr("data-order"),formJson[fieldId].fieldOptionsLanguages[wpbs(this).attr("name")]=wpbs_htmlEscape(wpbs(this).val()),wpbs_form_saveJson(formJson)}),wpbs("#wpbs-form-container").on("keyup change",".fieldHTML",function(e){e.preventDefault(),formJson=wpbs_form_getJson(),fieldId=wpbs(this).parents(".wpbs-form-field").attr("data-order"),formJson[fieldId].fieldHTML=wpbs_htmlEscape(wpbs(this).val()),wpbs_form_saveJson(formJson)}),wpbs("#wpbs-form-container").on("keyup change",".languageField",function(e){e.preventDefault(),formJson=wpbs_form_getJson(),fieldId=wpbs(this).parents(".wpbs-form-field").attr("data-order"),formJson[fieldId].fieldLanguages[wpbs(this).attr("name")]=wpbs_htmlEscape(wpbs(this).val()),wpbs_form_saveJson(formJson)}),wpbs("#wpbs-form-container").on("change",".fieldRequired",function(e){e.preventDefault(),$val=wpbs(this).prop("checked"),formJson=wpbs_form_getJson(),fieldId=wpbs(this).parents(".wpbs-form-field").attr("data-order"),formJson[fieldId].fieldRequired=$val,wpbs_form_saveJson(formJson)}),wpbs("#wpbs-form-container").sortable({axis:"y",handle:".wpbs-form-move",containment:"parent",stop:function(e,s){sorting=new Array,wpbs.map(wpbs(this).find("div.wpbs-form-field"),function(e){sorting[wpbs(e).attr("data-order")]=wpbs(e).index()+1}),wpbs_sort_forms(sorting)}})}); \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/js/wpbs.js b/plugins/wp-booking-system/wp-booking-system/js/wpbs.js deleted file mode 100755 index b77b964..0000000 --- a/plugins/wp-booking-system/wp-booking-system/js/wpbs.js +++ /dev/null @@ -1,1012 +0,0 @@ -var wpbs = jQuery.noConflict(); -function showLoader($this){ - $this.find('.wpbs-loading').fadeTo(0,0).css('display','block').fadeTo(200,1); - $this.find('.wpbs-calendar ul').animate({ - 'opacity' : '0.7' - },200); -} -function hideLoader(){ - wpbs('.wpbs-loading').css('display','none'); -} -function wpbs_changeDay(direction, timestamp, $this){ - var data = { - action: 'wpbs_changeDay', - calendarDirection: direction, - totalCalendars: $this.find(".wpbs-total-calendars").html(), - currentTimestamp: timestamp, - calendarData: $this.find(".wpbs-calendar-data").attr('data-info'), - calendarHistory: $this.find(".wpbs-calendar-history").html(), - calendarLegend: $this.find(".wpbs-calendar-legend").attr('data-info'), - showDropdown: $this.find(".wpbs-show-dropdown").html(), - calendarLanguage: $this.find(".wpbs-calendar-language").html(), - weekStart : $this.find(".wpbs-calendar-week-start").html(), - showTooltip: $this.find(".wpbs-calendar-tooltip").html(), - calendarSelection : $this.find(".wpbs-calendar-selection").html(), - calendarSelectionType : $this.find(".wpbs-calendar-selection-type").html(), - autoPending : $this.find(".wpbs-calendar-auto-pending").html(), - weekNumbers : $this.find(".wpbs-calendar-week-numbers").html(), - minDays : $this.find(".wpbs-calendar-minumum-days").html(), - maxDays : $this.find(".wpbs-calendar-maximum-days").html(), - jump : $this.find(".wpbs-calendar-jump").html(), - calendarID : $this.find(".wpbs-calendar-ID").html(), - formID : $this.find(".wpbs-calendar-form-ID").html(), - formPosition : $this.find(".wpbs-calendar-form-position").html() - }; - wpbs.post(ajaxurl, data, function(response) { - $this.find('.wpbs-calendars').html(response); - hideLoader(); - // $this.find('.wpbs-dropdown').selectpicker('destroy'); - // $this.find('.wpbs-dropdown').customSelect(); - }); -} - -function wpbs_clear_selection(){ - startDate = endDate = false; - wpbs('.wpbs-not-bookable').removeClass('wpbs-not-bookable').addClass('wpbs-bookable'); - wpbs('.wpbs-bookable-clicked').removeClass('wpbs-bookable-clicked'); - wpbs('.wpbs-bookable-hover').removeClass('wpbs-bookable-hover'); - wpbs('.wpbs-selected').removeClass('wpbs-selected'); - wpbs('.wpbs-start-date, .wpbs-end-date').val('') - wpbs('.wpbs-calendar-selection').html(''); -} -var onloadCallback = function(){ - wpbs("span.zn-recaptcha").each(function(index, el) { - grecaptcha.render(el, {'sitekey' : recaptcha_public}); }) -}; - -var startDate = false, - endDate = false; - - -var checkselectedDays = function () -{ - var periodStart, periodEnd = null, - start_val = wpbs('.wpbs-form-form .wpbs-start-date').val(), - end_val = wpbs('.wpbs-form-form .wpbs-end-date').val(); - - if ( !start_val ) - return false; - - if ( !end_val ) - return false; - - if ( start_val.length > 0 ) - periodStart = wpbs('[data-timestamp="' + parseInt(wpbs('.wpbs-form-form .wpbs-start-date').val() ) + '"]').data('order'); - if ( end_val.length > 0 ) - periodEnd = wpbs('[data-timestamp="' + parseInt(wpbs('.wpbs-form-form .wpbs-end-date').val() ) + '"]').data('order'); - - for ( var i = periodStart; i <= periodEnd; i++ ) - { - wpbs('[data-order=" ' + parseInt(i) + ' "]').addClass('wpbs-bookable-hover').removeClass('wpbs-bookable'); - } -} - -wpbs(document).ready(function() -{ - // On load - checkselectedDays(); - - wpbs('div.wpbs-container li[data-tooltip]').each(function() - { - wpbs( this ).on('mouseover', function () { - // var position = wpbs( this ).position(); - // console.log(position); - // if (position.left > 515) - // wpbs( this ) - // .addClass('wpbs-tt-left') - // .removeClass('wpbs-tt-right') - // .removeClass('wpbs-tt-bottom'); - - // if (position.left < 515) - // wpbs( this ) - // .addClass('wpbs-tt-right') - // .removeClass('wpbs-tt-left') - // .removeClass('wpbs-tt-bottom'); - - // if (position.top < 110) - // wpbs( this ) - // .addClass('wpbs-tt-bottom') - // .removeClass('wpbs-tt-right') - // .removeClass('wpbs-tt-left'); - - //get the height position of the current object - - - }); - }); - - - wpbs('div.wpbs-container').each(function() - { - - var $instance = wpbs(this); - - /* Calendar */ - - wpbs($instance).on('change','.wpbs-dropdown',function(e) - { - showLoader($instance); - e.preventDefault(); - wpbs_changeDay('jump',wpbs(this).val(), $instance); - }); - - wpbs($instance).on('click','.wpbs-prev',function(e) - { - showLoader($instance); - e.preventDefault(); - - if($instance.find(".wpbs-current-timestamp a").length == 0) - timestamp = $instance.find(".wpbs-current-timestamp").html(); - else - timestamp = $instance.find(".wpbs-current-timestamp a").html(); - - wpbs_changeDay('prev',timestamp, $instance); - }); - - - wpbs($instance).on('click','.wpbs-next',function(e) - { - showLoader($instance); - e.preventDefault(); - if($instance.find(".wpbs-current-timestamp a").length == 0) - timestamp = $instance.find(".wpbs-current-timestamp").html(); - else - timestamp = $instance.find(".wpbs-current-timestamp a").html() - wpbs_changeDay('next',timestamp, $instance); - }); - - /* Form */ - - wpbs($instance).on('click','.wpbs-form-submit',function(e) - { - e.preventDefault(); - $instance.find('.wpbs-form-loading').fadeTo(0,0).css('display','block').fadeTo(200,1); - $instance.find('.wpbs-form-item').animate({ - 'opacity' : '0.7' - },200); - - // Scroll to anchor on submit button click - var anchorTag = wpbs('a[name="wpbs-form-start"]'); - wpbs('html,body').animate({scrollTop: anchorTag.offset().top},'slow'); - - - var wpbsFormData = $instance.find('.wpbs-form-form').serialize(); - wpbsFormData = "action=submitForm&" + wpbsFormData; - wpbs.post(ajaxurl, wpbsFormData, function(response) { - - $instance.find(".wpbs-form-form").html(response); - if($("#recaptcha-" + $instance.find('.wpbs-form-form').data('id') + '-' + $instance.find('.wpbs-form-form').data('calendar-id')).length > 0) - grecaptcha.render("recaptcha-" + $instance.find('.wpbs-form-form').data('id') + '-' + $instance.find('.wpbs-form-form').data('calendar-id'),{'sitekey' : recaptcha_public}); - }); - }); - - - /* Booking - Multiple Days */ - if(wpbs($instance).find('.wpbs-calendar-selection-type').html() == 'multiple') - { - wpbs($instance).on('click','.wpbs-bookable',function(e){ - - e.preventDefault(); - $this = wpbs(this); - - if (startDate == false) - { - wpbs_clear_selection(); - $this.addClass('wpbs-bookable-clicked'); - $instance.find('.wpbs-start-date').val($this.attr('data-timestamp')); - startDate = true; - $instance.find('.wpbs-calendar-selection').html($instance.find('.wpbs-start-date').val() + "-0"); - //$instance.find('.wpbs-bookable').each(function(){ - // if(parseInt(wpbs(this).attr('data-order')) < parseInt($this.attr('data-order'))) wpbs(this).addClass('wpbs-not-bookable').removeClass('wpbs-bookable'); - //}) - } else if(endDate == false){ - $this.addClass('wpbs-bookable-clicked'); - $instance.find('.wpbs-end-date').val($this.attr('data-timestamp')); - $instance.find('.wpbs-not-bookable').removeClass('wpbs-not-bookable').addClass('wpbs-bookable'); - - endDate = true; - startDate = false; - $instance.find('.wpbs-calendar-selection').html($instance.find('.wpbs-start-date').val() + "-" + $instance.find('.wpbs-end-date').val()); - } - }); - - wpbs($instance).find(".wpbs-calendars").mouseleave(function(){ - if(wpbs($instance).find('.wpbs-bookable-clicked').length == 1 && endDate == false){ - // wpbs($instance).find('.wpbs-bookable-clicked').trigger('click'); - // $instance.find('.wpbs-bookable-hover').removeClass('wpbs-bookable-hover'); - } - }) - } - - - - - /* Booking - Single Days */ - if(wpbs($instance).find('.wpbs-calendar-selection-type').html() == 'single') - { - wpbs($instance).on('click','.wpbs-bookable',function(e) - { - e.preventDefault(); - $this = wpbs(this); - - wpbs_clear_selection(); - wpbs(this).addClass('wpbs-bookable-clicked'); - $instance.find('.wpbs-start-date').val($this.attr('data-timestamp')); - $instance.find('.wpbs-end-date').val($this.attr('data-timestamp')); - $instance.find('.wpbs-not-bookable').removeClass('wpbs-not-bookable').addClass('wpbs-bookable'); - - endDate = false; - startDate = false; - $instance.find('.wpbs-calendar-selection').html($instance.find('.wpbs-start-date').val() + "-" + $instance.find('.wpbs-end-date').val()); - - }); - } - - /*============================================= - = Booking fixed dates (7 days) = - = current day + next 6 days = - =============================================*/ - - if(wpbs($instance).find('.wpbs-calendar-selection-type').html() == 'fixed') - { - wpbs($instance).on('click','.wpbs-bookable',function(e) - { - e.preventDefault(); - $this = wpbs(this); - - wpbs_clear_selection(); - - startHover = parseInt($this.data('order')); - endHover = startHover+6; - - selectable = true; - - for(i = startHover; i <= endHover; i++) - { - elem = $instance.find('.wpbs-bookable-' + i); - - if ( elem.hasClass('status-1') ) - { - alert('There is already booked date in this range!'); - selectable = false; - return false; - } - - - } - - if ( selectable ) - { - wpbs(this).addClass('wpbs-bookable-clicked'); - - for(i = startHover; i <= endHover; i++) - { - elem = $instance.find('.wpbs-bookable-' + i); - - if ( elem.hasClass('wpbs-bookable') ) - elem.addClass('wpbs-selected'); - - - } - - endElem = $instance.find('.wpbs-selected').last(); - - $instance.find('.wpbs-start-date').val($this.attr('data-timestamp')); - $instance.find('.wpbs-end-date').val(endElem.attr('data-timestamp')); - $instance.find('.wpbs-not-bookable').removeClass('wpbs-not-bookable').addClass('wpbs-bookable'); - - endDate = false; - startDate = false; - $instance.find('.wpbs-calendar-selection').html($instance.find('.wpbs-start-date').val() + "-" + $instance.find('.wpbs-end-date').val()); - } - - - }); - } - - /*===== End of Section comment block ======*/ - - - /*============================================= - = Booking week (current week) = - = the week of current selected day = - =============================================*/ - - if(wpbs($instance).find('.wpbs-calendar-selection-type').html() == 'week') - { - wpbs($instance).on('click','.wpbs-bookable',function(e) - { - e.preventDefault(); - $this = wpbs(this); - - wpbs_clear_selection(); - - - currentWeek = $this.parent('ul'); - selectable = true; - expandedSelection = false; - - currentWeek.children('li').each(function () { - elem = wpbs(this); - - if ( elem.hasClass('wpbs-disabled') ) - { - alert('There is already booked date in this range!'); - selectable = false; - return false; - } - - if ( elem.hasClass('wpbs-pad') ) - expandedSelection = true; - }); - - - if ( selectable && !expandedSelection ) - { - wpbs(this).addClass('wpbs-bookable-clicked'); - - currentWeek.children('li').each(function () - { - elem = wpbs(this); - - if ( elem.hasClass('wpbs-bookable') || elem.hasClass('status-default') ) - elem.addClass('wpbs-selected'); - }); - - - } - - currentWeek = $this.parent('ul'); - hoverable = true; - expandedSelection = false; - - currentWeek.children('li').each(function () - { - elem = wpbs(this); - - if ( elem.hasClass('status-1') || elem.hasClass('wpbs-disabled') ) - { - hoverable = false; - return false; - } - - if ( hoverable && elem.hasClass('wpbs-pad') ) - expandedSelection = true; - }); - - if ( hoverable && expandedSelection ) - { - currentWeekStart= currentWeek.children('li:not(.wpbs-week-number):not(.wpbs-pad)').first(); - firstItem = currentWeek.children('li:not(.wpbs-week-number)').first(); - onwords = true; - - if ( firstItem.hasClass('wpbs-pad') ) - onwords = false; - - - if ( onwords ) - { - hoverStart = currentWeekStart.data('order'); - hoverEnd = hoverStart+6; - } - else - { - newfirstItem = currentWeek.children('li:not(.wpbs-week-number)').last(); - hoverEnd = newfirstItem.data('order')+1; - hoverStart = hoverEnd-7; - } - - for(i = hoverStart; i <= hoverEnd; i++) - { - elem = $instance.find('.wpbs-bookable-' + i); - - if ( elem.hasClass('wpbs-bookable') ) - elem.addClass('wpbs-selected'); - } - } - - selectionStart = currentWeek.find('li.wpbs-selected').first(); - selectionEnd = currentWeek.find('li.wpbs-selected').last(); - - - - if ( selectionEnd.hasClass('wpbs-pad') ) - selectionEnd= currentWeek.find('li.wpbs-bookable').last(); - - $instance.find('.wpbs-start-date').val(selectionStart.attr('data-timestamp')); - $instance.find('.wpbs-end-date').val(selectionEnd.attr('data-timestamp')); - $instance.find('.wpbs-not-bookable').removeClass('wpbs-not-bookable').addClass('wpbs-bookable'); - - endDate = false; - startDate = false; - $instance.find('.wpbs-calendar-selection').html(selectionStart.attr('data-timestamp') + "-" + selectionEnd.attr('data-timestamp')); - - - }); - } - - - - /*===== End of Section comment block ======*/ - - - /*============================================= - = Booking week (current week) = - = the week of current selected day = - =============================================*/ - - var checkIfBooked = function (elem, displayalert) - { - // if ( elem.hasClass('wpbs-disabled') || elem.hasClass('status-1') ) - if ( elem.hasClass('status-1') ) - { - if ( displayalert ) - alert('There is already booked date in this range!'); - - return true; - } - - return false; - } - - var removeSelected = function () - { - $instance.find('.wpbs-selected').each(function () { - wpbs(this).removeClass('wpbs-selected'); - }); - } - - - if(wpbs($instance).find('.wpbs-calendar-selection-type').html() == '8days') - { - wpbs($instance).on('click','.wpbs-bookable',function(e) - { - e.preventDefault(); - $this = wpbs(this); - - wpbs_clear_selection(); - - var checkIfBookedInRange = function (start, end) - { - for(i = hoverStart; i <= hoverEnd; i++) - { - elem = $instance.find('.wpbs-bookable-' + i); - - // if ( elem.hasClass('wpbs-disabled') || elem.hasClass('status-1') ) - if ( elem.hasClass('status-1') ) - { - alert('There is already booked date in this range!'); - return true; - } - } - - return false; - } - - - - currentWeek = $this.parent('ul'); - selectable = true; - expandedSelection = false; - - currentWeek.children('li').each(function () { - elem = wpbs(this); - - if (checkIfBooked(elem, false)) - return false; - - if ( elem.hasClass('wpbs-pad') ) - expandedSelection = true; - }); - - // Selection current month - if ( selectable && !expandedSelection ) - { - currentWeekStart= currentWeek.children('li:not(.wpbs-week-number):not(.wpbs-pad)').first(); - firstItem = currentWeek.children('li:not(.wpbs-week-number)').first(); - onwords = true; - - if ( firstItem.hasClass('wpbs-pad') ) - onwords = false; - - - if ( onwords ) - { - hoverStart = currentWeekStart.data('order'); - hoverEnd = hoverStart+7; - } - else - { - newfirstItem = currentWeek.children('li:not(.wpbs-week-number)').last(); - hoverEnd = newfirstItem.data('order') + 1; - hoverStart = hoverEnd-7; - } - - for(i = hoverStart; i <= hoverEnd; i++) - { - elem = $instance.find('.wpbs-bookable-' + i); - - if ( elem.hasClass('wpbs-bookable') ) - elem.addClass('wpbs-selected'); - } - - // checkIfBookedInRange(hoverStart, hoverEnd); - - } - - currentWeek = $this.parent('ul'); - hoverable = true; - expandedSelection = false; - - currentWeek.children('li').each(function () - { - elem = wpbs(this); - - if (checkIfBooked(elem, false) ) - return false; - - if ( hoverable && elem.hasClass('wpbs-pad') ) - expandedSelection = true; - }); - - - if ( hoverable && expandedSelection ) - { - currentWeekStart= currentWeek.children('li:not(.wpbs-week-number):not(.wpbs-pad)').first(); - firstItem = currentWeek.children('li:not(.wpbs-week-number)').first(); - onwords = true; - - - if ( firstItem.hasClass('wpbs-pad') ) - onwords = false; - - - if ( onwords ) - { - hoverStart = currentWeekStart.data('order'); - hoverEnd = hoverStart+7; - } - else - { - newfirstItem = currentWeek.children('li:not(.wpbs-week-number)').last(); - hoverEnd = newfirstItem.data('order')+1; - hoverStart = hoverEnd-7; - } - - for(i = hoverStart; i <= hoverEnd; i++) - { - elem = $instance.find('.wpbs-bookable-' + i); - - if ( checkIfBooked(elem, false) ) - { - removeSelected(); - break; - } - - if ( elem.hasClass('wpbs-bookable') ) - elem.addClass('wpbs-selected'); - } - } - - selectionStart = $instance.find('li.wpbs-selected').first(); - selectionEnd = $instance.find('li.wpbs-selected').last(); - - if ( selectionEnd.hasClass('wpbs-pad') ) - selectionEnd= currentWeek.find('li.wpbs-bookable').last(); - - $instance.find('.wpbs-start-date').val(selectionStart.attr('data-timestamp')); - $instance.find('.wpbs-end-date').val(selectionEnd.attr('data-timestamp')); - $instance.find('.wpbs-not-bookable').removeClass('wpbs-not-bookable').addClass('wpbs-bookable'); - - endDate = false; - startDate = false; - $instance.find('.wpbs-calendar-selection').html(selectionStart.attr('data-timestamp') + "-" + selectionEnd.attr('data-timestamp')); - - - }); - } - - - - /*===== End of Section comment block ======*/ - - - - wpbs($instance).on('mouseenter','.wpbs-bookable',function(e) - { - e.preventDefault(); - - $this = wpbs(this); - - var temp = 0; - - if ( $instance.find('.wpbs-bookable-clicked').length == 0 ) - $instance.find('.wpbs-bookable-hover').removeClass('wpbs-bookable-hover'); - - - if(wpbs($instance).find('.wpbs-calendar-selection-type').html() == 'week') - { - // de-hoverize - $instance.find('.wpbs-bookable-hover').removeClass('wpbs-bookable-hover'); - - currentWeek = $this.parent('ul'); - hoverable = true; - expandedSelection = false; - - currentWeek.children('li').each(function () - { - elem = wpbs(this); - - if ( elem.hasClass('status-1') || elem.hasClass('wpbs-disabled') ) - { - hoverable = false; - return false; - } - - if ( hoverable && elem.hasClass('wpbs-pad') ) - expandedSelection = true; - }); - - if ( hoverable && !expandedSelection ) - { - currentWeek.children('li').each(function () - { - elem = wpbs(this); - - if ( elem.hasClass('wpbs-bookable') || elem.hasClass('status-default') ) - elem.addClass('wpbs-bookable-hover'); - }); - - } - - if ( hoverable && expandedSelection ) - { - currentWeekStart= currentWeek.children('li:not(.wpbs-week-number):not(.wpbs-pad)').first(); - firstItem = currentWeek.children('li:not(.wpbs-week-number)').first(); - onwords = true; - - - if ( firstItem.hasClass('wpbs-pad') ) - onwords = false; - - - if ( onwords ) - { - hoverStart = currentWeekStart.data('order'); - hoverEnd = hoverStart+6; - } - else - { - newfirstItem = currentWeek.children('li:not(.wpbs-week-number)').last(); - hoverEnd = newfirstItem.data('order'); - hoverStart = hoverEnd-6; - } - - for(i = hoverStart; i <= hoverEnd; i++) - { - elem = $instance.find('.wpbs-bookable-' + i); - - if ( elem.hasClass('wpbs-bookable') ) - elem.addClass('wpbs-bookable-hover'); - } - } - } - - if(wpbs($instance).find('.wpbs-calendar-selection-type').html() == 'fixed') - { - // de-hoverize - $instance.find('.wpbs-bookable-hover').removeClass('wpbs-bookable-hover'); - - startHover = parseInt($this.data('order')); - endHover = startHover+6; - - selectable = true; - - // for(i = startHover; i <= endHover; i++) - // { - // elem = $instance.find('.wpbs-bookable-' + i); - - // if ( elem.hasClass('status-1') ) - // { - // alert('There is already booked date in this range!'); - // selectable = false; - // return false; - // } - - - // } - - if ( selectable ) - { - for(i = startHover; i <= endHover; i++) - { - elem = $instance.find('.wpbs-bookable-' + i); - - if ( elem.hasClass('wpbs-bookable') ) - elem.addClass('wpbs-bookable-hover'); - } - } - // currentWeek.children('li').each(function () - // { - // elem = wpbs(this); - - // if ( elem.hasClass('status-1') ) - // { - // hoverable = false; - // return false; - // } - // }); - - // if ( hoverable ) - // { - // currentWeek.children('li').each(function () - // { - // elem = wpbs(this); - - // if ( elem.hasClass('wpbs-bookable') || elem.hasClass('status-default') ) - // elem.addClass('wpbs-bookable-hover'); - // }); - - // } - - } - - - if(wpbs($instance).find('.wpbs-calendar-selection-type').html() == 'multiple') - { - if(startDate == true && endDate == false) - { - $instance.find('.wpbs-bookable-hover').removeClass('wpbs-bookable-hover'); - - if($instance.find('.wpbs-bookable-clicked').length > 0) - startHover = parseInt($instance.find('.wpbs-bookable-clicked').attr('data-order')); - - endHover = parseInt(wpbs(this).attr('data-order')); - - if(startHover > endHover) - { - startHoverSelection = endHover; - endHoverSelection = startHover; - reverse = true; - } else { - startHoverSelection = startHover; - endHoverSelection = endHover; - reverse = false; - } - - for(i = startHoverSelection; i <= endHoverSelection; i++) - { - - - if($instance.find('.wpbs-bookable-' + parseInt(i)).length > 0 && $instance.find('.wpbs-bookable-' + parseInt(i)).hasClass('wpbs-bookable')) - { - $instance.find('.wpbs-bookable-' + parseInt(i)).addClass('wpbs-bookable-hover'); - } - else if ($instance.find('.wpbs-bookable-' + parseInt(i)).length > 0) - { - $instance.find('.wpbs-bookable').each(function() - { - if(!reverse) - { - if (parseInt(wpbs(this).attr('data-order')) > i) - wpbs(this).addClass('wpbs-not-bookable').removeClass('wpbs-bookable wpbs-bookable-hover'); - } - else - { - if (parseInt(wpbs(this).attr('data-order')) <= i) - wpbs(this).addClass('wpbs-not-bookable').removeClass('wpbs-bookable wpbs-bookable-hover'); - } - }) - } - } - - - } - - } - - - /** - * 8 Day hover - */ - - if(wpbs($instance).find('.wpbs-calendar-selection-type').html() == '8days') - { - // de-hoverize - $instance.find('.wpbs-bookable-hover').removeClass('wpbs-bookable-hover'); - - currentWeek = $this.parent('ul'); - hoverable = true; - expandedSelection = false; - - currentWeek.children('li').each(function () - { - elem = wpbs(this); - - // if ( elem.hasClass('status-1') || elem.hasClass('wpbs-disabled') ) - // { - // hoverable = false; - // return false; - // } - - if ( hoverable && elem.hasClass('wpbs-pad') ) - expandedSelection = true; - }); - - if ( hoverable && !expandedSelection ) - { - currentWeekStart= currentWeek.children('li:not(.wpbs-week-number):not(.wpbs-pad)').first(); - firstItem = currentWeek.children('li:not(.wpbs-week-number)').first(); - - hoverStart = currentWeekStart.data('order'); - hoverEnd = hoverStart+7; - - for(i = hoverStart; i <= hoverEnd; i++) - { - elem = $instance.find('.wpbs-bookable-' + i); - if (checkIfBooked(elem, false)) - return false; - - if ( elem.hasClass('wpbs-bookable') ) - elem.addClass('wpbs-bookable-hover'); - } - - } - - if ( hoverable && expandedSelection ) - { - currentWeekStart= currentWeek.children('li:not(.wpbs-week-number):not(.wpbs-pad)').first(); - firstItem = currentWeek.children('li:not(.wpbs-week-number)').first(); - onwords = true; - - - if ( firstItem.hasClass('wpbs-pad') ) - onwords = false; - - - if ( onwords ) - { - hoverStart = currentWeekStart.data('order'); - hoverEnd = hoverStart+7; - } - else - { - newfirstItem = currentWeek.children('li:not(.wpbs-week-number)').last(); - hoverEnd = newfirstItem.data('order')+1; - hoverStart = hoverEnd-7; - } - - for(i = hoverStart; i <= hoverEnd; i++) - { - elem = $instance.find('.wpbs-bookable-' + i); - - if (checkIfBooked(elem, false)) - return false; - - if ( elem.hasClass('wpbs-bookable') ) - elem.addClass('wpbs-bookable-hover'); - } - } - } - - - }); - - // wpbs($instance).on('mouseleave', '.wpbs-bookable', function (e) - // { - // $instance.find('.wpbs-bookable-hover').removeClass('wpbs-bookable-hover'); - // }); - - - - // wpbs('.wpbs-booking-clear').click(function(e){ - // e.preventDefault(); - // wpbs_clear_selection() - // }) - - }) - - - // Tooltip feature - wpbs("div.wpbs-container").on('mouseenter','li.wpbs-day', function(){ - $li = wpbs(this); - if(typeof $li.attr('data-tooltip') != 'undefined'){ - $li.addClass('wpbs-tooltip-active'); - $li.append('
        ' + $li.attr('data-tooltip-date') + '' + $li.attr('data-tooltip') + '
        '); - - var elementHeight = $li.height(); - - var rt = ($(window).width() - ($li.offset().left + $li.outerWidth())); - // console.log('right:', rt); - - if (rt > 154 && rt < 190) - $('.wpbs-tooltip').css({ 'top': '33px', 'left': '-80px' }); - - if (rt < 154 && rt > 10) - $('.wpbs-tooltip').css({ 'left': '-195px' }); - } - }); - - wpbs("div.wpbs-container").on('mouseleave','li.wpbs-day', function(){ - wpbs(".wpbs-tooltip-active").removeClass('wpbs-tooltip-active'); - wpbs("li.wpbs-day .wpbs-tooltip").remove(); - - }); - -}) - -var defaultCalendars = wpbs('div.wpbs-total-calendars').text(); - -wpbs(window).resize(function (e) -{ - e.preventDefault(); - console.log('window resize'); - var width = wpbs(window).width(); - - // Check this only if there are more then 1 calendar - // On the page - if ( defaultCalendars > 1 ) - { - // XS Layout (Mobile) - if ( width < 768 ) - { - wpbs('div.wpbs-total-calendars').text(1); - - wpbs('div.wpbs-container').each(function() - { - var $instance = wpbs(this); - var timestamp = null; - - if($instance.find(".wpbs-current-timestamp a").length == 0) - timestamp = $instance.find(".wpbs-current-timestamp").html(); - else - timestamp = $instance.find(".wpbs-current-timestamp a").html() - - wpbs_changeDay('refresh',timestamp, $instance); - }); - - } - - // SM Layout (Tablet) - if ( width >= 768 && width < 992) - { - wpbs('div.wpbs-total-calendars').text(2); - - wpbs('div.wpbs-container').each(function() - { - var $instance = wpbs(this); - var timestamp = null; - - if($instance.find(".wpbs-current-timestamp a").length == 0) - timestamp = $instance.find(".wpbs-current-timestamp").html(); - else - timestamp = $instance.find(".wpbs-current-timestamp a").html() - - wpbs_changeDay('refresh',timestamp, $instance); - }); - - } - - // MD Layout (Laptops/Desktops) - if ( width >= 992 ) - { - wpbs('div.wpbs-total-calendars').text(defaultCalendars); - - wpbs('div.wpbs-container').each(function() - { - var $instance = wpbs(this); - var timestamp = null; - - if( $instance.find(".wpbs-current-timestamp a").length == 0 ) - timestamp = $instance.find(".wpbs-current-timestamp").html(); - else - timestamp = $instance.find(".wpbs-current-timestamp a").html() - - wpbs_changeDay('refresh',timestamp, $instance); - }); - - } - - } -}); -$ = jQuery.noConflict(); \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/js/wpbs.min.js b/plugins/wp-booking-system/wp-booking-system/js/wpbs.min.js deleted file mode 100755 index 62f81fe..0000000 --- a/plugins/wp-booking-system/wp-booking-system/js/wpbs.min.js +++ /dev/null @@ -1 +0,0 @@ -function showLoader(e){e.find(".wpbs-loading").fadeTo(0,0).css("display","block").fadeTo(200,1),e.find(".wpbs-calendar ul").animate({opacity:"0.7"},200)}function hideLoader(){wpbs(".wpbs-loading").css("display","none")}function wpbs_changeDay(e,t,a){var s={action:"wpbs_changeDay",calendarDirection:e,totalCalendars:a.find(".wpbs-total-calendars").html(),currentTimestamp:t,calendarData:a.find(".wpbs-calendar-data").attr("data-info"),calendarHistory:a.find(".wpbs-calendar-history").html(),calendarLegend:a.find(".wpbs-calendar-legend").attr("data-info"),showDropdown:a.find(".wpbs-show-dropdown").html(),calendarLanguage:a.find(".wpbs-calendar-language").html(),weekStart:a.find(".wpbs-calendar-week-start").html(),showTooltip:a.find(".wpbs-calendar-tooltip").html(),calendarSelection:a.find(".wpbs-calendar-selection").html(),calendarSelectionType:a.find(".wpbs-calendar-selection-type").html(),autoPending:a.find(".wpbs-calendar-auto-pending").html(),weekNumbers:a.find(".wpbs-calendar-week-numbers").html(),minDays:a.find(".wpbs-calendar-minumum-days").html(),maxDays:a.find(".wpbs-calendar-maximum-days").html(),jump:a.find(".wpbs-calendar-jump").html(),calendarID:a.find(".wpbs-calendar-ID").html(),formID:a.find(".wpbs-calendar-form-ID").html(),formPosition:a.find(".wpbs-calendar-form-position").html()};wpbs.post(ajaxurl,s,function(e){a.find(".wpbs-calendars").html(e),hideLoader()})}function wpbs_clear_selection(){startDate=endDate=!1,wpbs(".wpbs-not-bookable").removeClass("wpbs-not-bookable").addClass("wpbs-bookable"),wpbs(".wpbs-bookable-clicked").removeClass("wpbs-bookable-clicked"),wpbs(".wpbs-bookable-hover").removeClass("wpbs-bookable-hover"),wpbs(".wpbs-selected").removeClass("wpbs-selected"),wpbs(".wpbs-start-date, .wpbs-end-date").val(""),wpbs(".wpbs-calendar-selection").html("")}var wpbs=jQuery.noConflict(),onloadCallback=function(){wpbs("span.zn-recaptcha").each(function(e,t){grecaptcha.render(t,{sitekey:recaptcha_public})})},startDate=!1,endDate=!1,checkselectedDays=function(){var e,t=null,a=wpbs(".wpbs-form-form .wpbs-start-date").val(),s=wpbs(".wpbs-form-form .wpbs-end-date").val();if(!a)return!1;if(!s)return!1;a.length>0&&(e=wpbs('[data-timestamp="'+parseInt(wpbs(".wpbs-form-form .wpbs-start-date").val())+'"]').data("order")),s.length>0&&(t=wpbs('[data-timestamp="'+parseInt(wpbs(".wpbs-form-form .wpbs-end-date").val())+'"]').data("order"));for(var r=e;r<=t;r++)wpbs('[data-order=" '+parseInt(r)+' "]').addClass("wpbs-bookable-hover").removeClass("wpbs-bookable")};wpbs(document).ready(function(){checkselectedDays(),wpbs("div.wpbs-container li[data-tooltip]").each(function(){wpbs(this).on("mouseover",function(){})}),wpbs("div.wpbs-container").each(function(){var e=wpbs(this);wpbs(e).on("change",".wpbs-dropdown",function(t){showLoader(e),t.preventDefault(),wpbs_changeDay("jump",wpbs(this).val(),e)}),wpbs(e).on("click",".wpbs-prev",function(t){showLoader(e),t.preventDefault(),0==e.find(".wpbs-current-timestamp a").length?timestamp=e.find(".wpbs-current-timestamp").html():timestamp=e.find(".wpbs-current-timestamp a").html(),wpbs_changeDay("prev",timestamp,e)}),wpbs(e).on("click",".wpbs-next",function(t){showLoader(e),t.preventDefault(),0==e.find(".wpbs-current-timestamp a").length?timestamp=e.find(".wpbs-current-timestamp").html():timestamp=e.find(".wpbs-current-timestamp a").html(),wpbs_changeDay("next",timestamp,e)}),wpbs(e).on("click",".wpbs-form-submit",function(t){t.preventDefault(),e.find(".wpbs-form-loading").fadeTo(0,0).css("display","block").fadeTo(200,1),e.find(".wpbs-form-item").animate({opacity:"0.7"},200);var a=wpbs('a[name="wpbs-form-start"]');wpbs("html,body").animate({scrollTop:a.offset().top},"slow");var s=e.find(".wpbs-form-form").serialize();s="action=submitForm&"+s,wpbs.post(ajaxurl,s,function(t){e.find(".wpbs-form-form").html(t),$("#recaptcha-"+e.find(".wpbs-form-form").data("id")+"-"+e.find(".wpbs-form-form").data("calendar-id")).length>0&&grecaptcha.render("recaptcha-"+e.find(".wpbs-form-form").data("id")+"-"+e.find(".wpbs-form-form").data("calendar-id"),{sitekey:recaptcha_public})})}),"multiple"==wpbs(e).find(".wpbs-calendar-selection-type").html()&&(wpbs(e).on("click",".wpbs-bookable",function(t){t.preventDefault(),$this=wpbs(this),0==startDate?(wpbs_clear_selection(),$this.addClass("wpbs-bookable-clicked"),e.find(".wpbs-start-date").val($this.attr("data-timestamp")),startDate=!0,e.find(".wpbs-calendar-selection").html(e.find(".wpbs-start-date").val()+"-0")):0==endDate&&($this.addClass("wpbs-bookable-clicked"),e.find(".wpbs-end-date").val($this.attr("data-timestamp")),e.find(".wpbs-not-bookable").removeClass("wpbs-not-bookable").addClass("wpbs-bookable"),endDate=!0,startDate=!1,e.find(".wpbs-calendar-selection").html(e.find(".wpbs-start-date").val()+"-"+e.find(".wpbs-end-date").val()))}),wpbs(e).find(".wpbs-calendars").mouseleave(function(){wpbs(e).find(".wpbs-bookable-clicked").length})),"single"==wpbs(e).find(".wpbs-calendar-selection-type").html()&&wpbs(e).on("click",".wpbs-bookable",function(t){t.preventDefault(),$this=wpbs(this),wpbs_clear_selection(),wpbs(this).addClass("wpbs-bookable-clicked"),e.find(".wpbs-start-date").val($this.attr("data-timestamp")),e.find(".wpbs-end-date").val($this.attr("data-timestamp")),e.find(".wpbs-not-bookable").removeClass("wpbs-not-bookable").addClass("wpbs-bookable"),endDate=!1,startDate=!1,e.find(".wpbs-calendar-selection").html(e.find(".wpbs-start-date").val()+"-"+e.find(".wpbs-end-date").val())}),"fixed"==wpbs(e).find(".wpbs-calendar-selection-type").html()&&wpbs(e).on("click",".wpbs-bookable",function(t){for(t.preventDefault(),$this=wpbs(this),wpbs_clear_selection(),startHover=parseInt($this.data("order")),endHover=startHover+6,selectable=!0,i=startHover;i<=endHover;i++)if(elem=e.find(".wpbs-bookable-"+i),elem.hasClass("status-1"))return alert("There is already booked date in this range!"),selectable=!1,!1;if(selectable){for(wpbs(this).addClass("wpbs-bookable-clicked"),i=startHover;i<=endHover;i++)elem=e.find(".wpbs-bookable-"+i),elem.hasClass("wpbs-bookable")&&elem.addClass("wpbs-selected");endElem=e.find(".wpbs-selected").last(),e.find(".wpbs-start-date").val($this.attr("data-timestamp")),e.find(".wpbs-end-date").val(endElem.attr("data-timestamp")),e.find(".wpbs-not-bookable").removeClass("wpbs-not-bookable").addClass("wpbs-bookable"),endDate=!1,startDate=!1,e.find(".wpbs-calendar-selection").html(e.find(".wpbs-start-date").val()+"-"+e.find(".wpbs-end-date").val())}}),"week"==wpbs(e).find(".wpbs-calendar-selection-type").html()&&wpbs(e).on("click",".wpbs-bookable",function(t){if(t.preventDefault(),$this=wpbs(this),wpbs_clear_selection(),currentWeek=$this.parent("ul"),selectable=!0,expandedSelection=!1,currentWeek.children("li").each(function(){if(elem=wpbs(this),elem.hasClass("wpbs-disabled"))return alert("There is already booked date in this range!"),selectable=!1,!1;elem.hasClass("wpbs-pad")&&(expandedSelection=!0)}),selectable&&!expandedSelection&&(wpbs(this).addClass("wpbs-bookable-clicked"),currentWeek.children("li").each(function(){elem=wpbs(this),(elem.hasClass("wpbs-bookable")||elem.hasClass("status-default"))&&elem.addClass("wpbs-selected")})),currentWeek=$this.parent("ul"),hoverable=!0,expandedSelection=!1,currentWeek.children("li").each(function(){if(elem=wpbs(this),elem.hasClass("status-1")||elem.hasClass("wpbs-disabled"))return hoverable=!1,!1;hoverable&&elem.hasClass("wpbs-pad")&&(expandedSelection=!0)}),hoverable&&expandedSelection)for(currentWeekStart=currentWeek.children("li:not(.wpbs-week-number):not(.wpbs-pad)").first(),firstItem=currentWeek.children("li:not(.wpbs-week-number)").first(),onwords=!0,firstItem.hasClass("wpbs-pad")&&(onwords=!1),onwords?(hoverStart=currentWeekStart.data("order"),hoverEnd=hoverStart+6):(newfirstItem=currentWeek.children("li:not(.wpbs-week-number)").last(),hoverEnd=newfirstItem.data("order")+1,hoverStart=hoverEnd-7),i=hoverStart;i<=hoverEnd;i++)elem=e.find(".wpbs-bookable-"+i),elem.hasClass("wpbs-bookable")&&elem.addClass("wpbs-selected");selectionStart=currentWeek.find("li.wpbs-selected").first(),selectionEnd=currentWeek.find("li.wpbs-selected").last(),selectionEnd.hasClass("wpbs-pad")&&(selectionEnd=currentWeek.find("li.wpbs-bookable").last()),e.find(".wpbs-start-date").val(selectionStart.attr("data-timestamp")),e.find(".wpbs-end-date").val(selectionEnd.attr("data-timestamp")),e.find(".wpbs-not-bookable").removeClass("wpbs-not-bookable").addClass("wpbs-bookable"),endDate=!1,startDate=!1,e.find(".wpbs-calendar-selection").html(selectionStart.attr("data-timestamp")+"-"+selectionEnd.attr("data-timestamp"))});var t=function(e,t){return!!e.hasClass("status-1")&&(t&&alert("There is already booked date in this range!"),!0)},a=function(){e.find(".wpbs-selected").each(function(){wpbs(this).removeClass("wpbs-selected")})};"8days"==wpbs(e).find(".wpbs-calendar-selection-type").html()&&wpbs(e).on("click",".wpbs-bookable",function(s){s.preventDefault(),$this=wpbs(this),wpbs_clear_selection();if(currentWeek=$this.parent("ul"),selectable=!0,expandedSelection=!1,currentWeek.children("li").each(function(){if(elem=wpbs(this),t(elem,!1))return!1;elem.hasClass("wpbs-pad")&&(expandedSelection=!0)}),selectable&&!expandedSelection)for(currentWeekStart=currentWeek.children("li:not(.wpbs-week-number):not(.wpbs-pad)").first(),firstItem=currentWeek.children("li:not(.wpbs-week-number)").first(),onwords=!0,firstItem.hasClass("wpbs-pad")&&(onwords=!1),onwords?(hoverStart=currentWeekStart.data("order"),hoverEnd=hoverStart+7):(newfirstItem=currentWeek.children("li:not(.wpbs-week-number)").last(),hoverEnd=newfirstItem.data("order")+1,hoverStart=hoverEnd-7),i=hoverStart;i<=hoverEnd;i++)elem=e.find(".wpbs-bookable-"+i),elem.hasClass("wpbs-bookable")&&elem.addClass("wpbs-selected");if(currentWeek=$this.parent("ul"),hoverable=!0,expandedSelection=!1,currentWeek.children("li").each(function(){if(elem=wpbs(this),t(elem,!1))return!1;hoverable&&elem.hasClass("wpbs-pad")&&(expandedSelection=!0)}),hoverable&&expandedSelection)for(currentWeekStart=currentWeek.children("li:not(.wpbs-week-number):not(.wpbs-pad)").first(),firstItem=currentWeek.children("li:not(.wpbs-week-number)").first(),onwords=!0,firstItem.hasClass("wpbs-pad")&&(onwords=!1),onwords?(hoverStart=currentWeekStart.data("order"),hoverEnd=hoverStart+7):(newfirstItem=currentWeek.children("li:not(.wpbs-week-number)").last(),hoverEnd=newfirstItem.data("order")+1,hoverStart=hoverEnd-7),i=hoverStart;i<=hoverEnd;i++){if(elem=e.find(".wpbs-bookable-"+i),t(elem,!1)){a();break}elem.hasClass("wpbs-bookable")&&elem.addClass("wpbs-selected")}selectionStart=e.find("li.wpbs-selected").first(),selectionEnd=e.find("li.wpbs-selected").last(),selectionEnd.hasClass("wpbs-pad")&&(selectionEnd=currentWeek.find("li.wpbs-bookable").last()),e.find(".wpbs-start-date").val(selectionStart.attr("data-timestamp")),e.find(".wpbs-end-date").val(selectionEnd.attr("data-timestamp")),e.find(".wpbs-not-bookable").removeClass("wpbs-not-bookable").addClass("wpbs-bookable"),endDate=!1,startDate=!1,e.find(".wpbs-calendar-selection").html(selectionStart.attr("data-timestamp")+"-"+selectionEnd.attr("data-timestamp"))}),wpbs(e).on("mouseenter",".wpbs-bookable",function(a){a.preventDefault(),$this=wpbs(this);if(0==e.find(".wpbs-bookable-clicked").length&&e.find(".wpbs-bookable-hover").removeClass("wpbs-bookable-hover"),"week"==wpbs(e).find(".wpbs-calendar-selection-type").html()&&(e.find(".wpbs-bookable-hover").removeClass("wpbs-bookable-hover"),currentWeek=$this.parent("ul"),hoverable=!0,expandedSelection=!1,currentWeek.children("li").each(function(){if(elem=wpbs(this),elem.hasClass("status-1")||elem.hasClass("wpbs-disabled"))return hoverable=!1,!1;hoverable&&elem.hasClass("wpbs-pad")&&(expandedSelection=!0)}),hoverable&&!expandedSelection&¤tWeek.children("li").each(function(){elem=wpbs(this),(elem.hasClass("wpbs-bookable")||elem.hasClass("status-default"))&&elem.addClass("wpbs-bookable-hover")}),hoverable&&expandedSelection))for(currentWeekStart=currentWeek.children("li:not(.wpbs-week-number):not(.wpbs-pad)").first(),firstItem=currentWeek.children("li:not(.wpbs-week-number)").first(),onwords=!0,firstItem.hasClass("wpbs-pad")&&(onwords=!1),onwords?(hoverStart=currentWeekStart.data("order"),hoverEnd=hoverStart+6):(newfirstItem=currentWeek.children("li:not(.wpbs-week-number)").last(),hoverEnd=newfirstItem.data("order"),hoverStart=hoverEnd-6),i=hoverStart;i<=hoverEnd;i++)elem=e.find(".wpbs-bookable-"+i),elem.hasClass("wpbs-bookable")&&elem.addClass("wpbs-bookable-hover");if("fixed"==wpbs(e).find(".wpbs-calendar-selection-type").html()&&(e.find(".wpbs-bookable-hover").removeClass("wpbs-bookable-hover"),startHover=parseInt($this.data("order")),endHover=startHover+6,selectable=!0,selectable))for(i=startHover;i<=endHover;i++)elem=e.find(".wpbs-bookable-"+i),elem.hasClass("wpbs-bookable")&&elem.addClass("wpbs-bookable-hover");if("multiple"==wpbs(e).find(".wpbs-calendar-selection-type").html()&&1==startDate&&0==endDate)for(e.find(".wpbs-bookable-hover").removeClass("wpbs-bookable-hover"),e.find(".wpbs-bookable-clicked").length>0&&(startHover=parseInt(e.find(".wpbs-bookable-clicked").attr("data-order"))),endHover=parseInt(wpbs(this).attr("data-order")),startHover>endHover?(startHoverSelection=endHover,endHoverSelection=startHover,reverse=!0):(startHoverSelection=startHover,endHoverSelection=endHover,reverse=!1),i=startHoverSelection;i<=endHoverSelection;i++)e.find(".wpbs-bookable-"+parseInt(i)).length>0&&e.find(".wpbs-bookable-"+parseInt(i)).hasClass("wpbs-bookable")?e.find(".wpbs-bookable-"+parseInt(i)).addClass("wpbs-bookable-hover"):e.find(".wpbs-bookable-"+parseInt(i)).length>0&&e.find(".wpbs-bookable").each(function(){reverse?parseInt(wpbs(this).attr("data-order"))<=i&&wpbs(this).addClass("wpbs-not-bookable").removeClass("wpbs-bookable wpbs-bookable-hover"):parseInt(wpbs(this).attr("data-order"))>i&&wpbs(this).addClass("wpbs-not-bookable").removeClass("wpbs-bookable wpbs-bookable-hover")});if("8days"==wpbs(e).find(".wpbs-calendar-selection-type").html()){if(e.find(".wpbs-bookable-hover").removeClass("wpbs-bookable-hover"),currentWeek=$this.parent("ul"),hoverable=!0,expandedSelection=!1,currentWeek.children("li").each(function(){elem=wpbs(this),hoverable&&elem.hasClass("wpbs-pad")&&(expandedSelection=!0)}),hoverable&&!expandedSelection)for(currentWeekStart=currentWeek.children("li:not(.wpbs-week-number):not(.wpbs-pad)").first(),firstItem=currentWeek.children("li:not(.wpbs-week-number)").first(),hoverStart=currentWeekStart.data("order"),hoverEnd=hoverStart+7,i=hoverStart;i<=hoverEnd;i++){if(elem=e.find(".wpbs-bookable-"+i),t(elem,!1))return!1;elem.hasClass("wpbs-bookable")&&elem.addClass("wpbs-bookable-hover")}if(hoverable&&expandedSelection)for(currentWeekStart=currentWeek.children("li:not(.wpbs-week-number):not(.wpbs-pad)").first(),firstItem=currentWeek.children("li:not(.wpbs-week-number)").first(),onwords=!0,firstItem.hasClass("wpbs-pad")&&(onwords=!1),onwords?(hoverStart=currentWeekStart.data("order"),hoverEnd=hoverStart+7):(newfirstItem=currentWeek.children("li:not(.wpbs-week-number)").last(),hoverEnd=newfirstItem.data("order")+1,hoverStart=hoverEnd-7),i=hoverStart;i<=hoverEnd;i++){if(elem=e.find(".wpbs-bookable-"+i),t(elem,!1))return!1;elem.hasClass("wpbs-bookable")&&elem.addClass("wpbs-bookable-hover")}}})}),wpbs("div.wpbs-container").on("mouseenter","li.wpbs-day",function(){if($li=wpbs(this),void 0!==$li.attr("data-tooltip")){$li.addClass("wpbs-tooltip-active"),$li.append('
        '+$li.attr("data-tooltip-date")+""+$li.attr("data-tooltip")+"
        ");var e=($li.height(),$(window).width()-($li.offset().left+$li.outerWidth()));e>154&&e<190&&$(".wpbs-tooltip").css({top:"33px",left:"-80px"}),e<154&&e>10&&$(".wpbs-tooltip").css({left:"-195px"})}}),wpbs("div.wpbs-container").on("mouseleave","li.wpbs-day",function(){wpbs(".wpbs-tooltip-active").removeClass("wpbs-tooltip-active"),wpbs("li.wpbs-day .wpbs-tooltip").remove()})});var defaultCalendars=wpbs("div.wpbs-total-calendars").text();wpbs(window).resize(function(e){e.preventDefault(),console.log("window resize");var t=wpbs(window).width();defaultCalendars>1&&(t<768&&(wpbs("div.wpbs-total-calendars").text(1),wpbs("div.wpbs-container").each(function(){var e=wpbs(this),t=null;t=0==e.find(".wpbs-current-timestamp a").length?e.find(".wpbs-current-timestamp").html():e.find(".wpbs-current-timestamp a").html(),wpbs_changeDay("refresh",t,e)})),t>=768&&t<992&&(wpbs("div.wpbs-total-calendars").text(2),wpbs("div.wpbs-container").each(function(){var e=wpbs(this),t=null;t=0==e.find(".wpbs-current-timestamp a").length?e.find(".wpbs-current-timestamp").html():e.find(".wpbs-current-timestamp a").html(),wpbs_changeDay("refresh",t,e)})),t>=992&&(wpbs("div.wpbs-total-calendars").text(defaultCalendars),wpbs("div.wpbs-container").each(function(){var e=wpbs(this),t=null;t=0==e.find(".wpbs-current-timestamp a").length?e.find(".wpbs-current-timestamp").html():e.find(".wpbs-current-timestamp a").html(),wpbs_changeDay("refresh",t,e)})))}),$=jQuery.noConflict(); \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/languages/wpbs-en_EN.mo b/plugins/wp-booking-system/wp-booking-system/languages/wpbs-en_EN.mo deleted file mode 100755 index 7dc7ee2..0000000 Binary files a/plugins/wp-booking-system/wp-booking-system/languages/wpbs-en_EN.mo and /dev/null differ diff --git a/plugins/wp-booking-system/wp-booking-system/languages/wpbs-en_EN.po b/plugins/wp-booking-system/wp-booking-system/languages/wpbs-en_EN.po deleted file mode 100755 index 46ce6ac..0000000 --- a/plugins/wp-booking-system/wp-booking-system/languages/wpbs-en_EN.po +++ /dev/null @@ -1,1283 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: wpbs\n" -"POT-Creation-Date: 2017-03-02 11:54+0200\n" -"PO-Revision-Date: 2017-03-15 13:15+0200\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" -"X-Poedit-Basepath: D:/wpbs/wp-content/plugins/wp-booking-system\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-KeywordsList: __;_;_e\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-SearchPath-0: D:/wpbs/wp-content/plugins/wp-booking-system\n" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/controllers/calendar/calendar-save.php:59 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:245 -msgid "Booking status updated" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/controllers/calendar/calendar-save.php:63 -msgid "Your booking details:" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/controllers/calendar/print-bookings.php:288 -msgid "Calendar: " -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/controllers/calendar/print-bookings.php:382 -msgid "No Bookings have been made on calendar " -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:6 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:115 -msgid "Pending" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:7 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:120 -msgid "Accepted" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:8 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:125 -msgid "Trash" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:44 -msgid "Print Bookings" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:67 -msgid "No bookings were made yet." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:87 -msgid "Check In:" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:87 -msgid "Check Out:" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:113 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:137 -msgid "Are you sure you want to delete this booking?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:121 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:145 -msgid "Are you sure you want to permanently delete this booking?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:124 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:148 -msgid "Invalid Status" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:136 -msgid "Accept" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:137 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:142 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:145 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:174 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:47 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:41 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:36 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/forms.php:33 -msgid "Delete" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:141 -#: D:/wpbs/wp-content/plugins/wp-booking-system/wp-booking-system.php:142 -msgid "Edit Availability" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:161 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:282 -msgid "Cancel" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:162 -#: D:/wpbs/wp-content/plugins/wp-booking-system/wp-booking-system.php:143 -msgid "Accept Booking" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/bookingCore.php:164 -msgid "Accept Booking - Edit Availability" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:56 -msgid "Bulk Edit Dates" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:68 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:239 -msgid "Apply Changes" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:73 -msgid "Messages" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:76 -msgid "Don't send confirmation message" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:77 -msgid "Send confirmation message" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:83 -msgid "Additional message (optional)..." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:85 -msgid "The email will be sent to" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:85 -msgid "the booking details will be automatically included" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:87 -msgid "" -"There is no email address field in the form or the email address was not " -"entered." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:148 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend-item.php:4 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:4 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend-item.php:4 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:4 -msgid "Edit Legend" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:166 -msgid "Assign users to this calendar" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:167 -msgid "Select users" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:184 -msgid "Start time must be lower than end time" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:186 -msgid "Start Date:" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:205 -msgid "End Date:" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:224 -msgid "Booking Details" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarAdmin.php:230 -msgid "Status:" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarCore.php:160 -msgid "Previous Month" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarCore.php:175 -msgid "Next Month" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarCore.php:191 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarCore.php:272 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/calendarCore.php:319 -msgid "Week" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formAjax.php:62 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:155 -msgid "WP Booking System: Invalid form ID." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:78 -msgid "Error: Invalid Field Type" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:116 -#, php-format -msgid "Please select a minimum of %x days" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:173 -msgid "Move" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:186 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:21 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:16 -msgid "Title" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:187 -msgid "Type" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:188 -msgid "Text" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:189 -msgid "Email" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:190 -msgid "Textarea" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:191 -msgid "Checkboxes" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:192 -msgid "Radio Buttons" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:193 -msgid "Dropdown" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:194 -msgid "HTML" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:197 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:22 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:17 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/ical/ical.php:21 -msgid "Options" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:197 -msgid "Separate values with an | (eg. Option 1|Option 2|Option 3)" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:209 -msgid "Content" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:210 -msgid "Required" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/formCore.php:221 -msgid "Add New Field" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcode.php:75 -msgid "WP Booking System: Invalid calendar ID." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:14 -msgid "Add Gravity Form" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:14 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:31 -msgid "Add Calendar" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:83 -msgid "Calendar Options" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:88 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:98 -msgid "Calendar" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:99 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:108 -msgid "Display title?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:101 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:109 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:117 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:199 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:215 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:223 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:110 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:117 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:124 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:164 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:195 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:205 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:120 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:167 -msgid "Yes" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:102 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:110 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:118 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:198 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:216 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:224 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:111 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:118 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:125 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:163 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:194 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:204 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:121 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:166 -msgid "No" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:107 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:115 -msgid "Display legend?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:115 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:122 -msgid "Display dropdown?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:124 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:129 -msgid "Week starts on" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:126 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:132 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:79 -msgid "Monday" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:127 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:133 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:80 -msgid "Tuesday" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:128 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:134 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:81 -msgid "Wednesday" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:129 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:135 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:82 -msgid "Thursday" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:130 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:136 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:83 -msgid "Friday" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:131 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:137 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:84 -msgid "Saturday" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:132 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:138 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:85 -msgid "Sunday" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:138 -msgid "Months to display?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:147 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:150 -msgid "Language" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:149 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:152 -msgid "Auto (let WP choose)" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:158 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:172 -msgid "Show history?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:160 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:174 -msgid "Display booking history" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:161 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:175 -msgid "Replace booking history with the default legend item" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:162 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:176 -msgid "Use the Booking History Color from the Settings" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:167 -msgid "Start Month" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:169 -msgid "Current Month" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:170 -msgid "January" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:171 -msgid "February" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:172 -msgid "March" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:173 -msgid "April" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:174 -msgid "May" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:175 -msgid "June" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:176 -msgid "July" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:177 -msgid "August" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:178 -msgid "September" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:179 -msgid "October" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:180 -msgid "November" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:181 -msgid "December" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:186 -msgid "Start Year" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:188 -msgid "Current Year" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:196 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:161 -msgid "Show Tooltip?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:200 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:165 -msgid "Yes, with red indicator" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:205 -msgid "Selection Type" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:207 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:184 -msgid "Multiple Dates (Range)" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:208 -msgid "Single Date" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:213 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:192 -msgid "Auto Pending?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:221 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:202 -msgid "Show week numbers?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:229 -msgid "Minimum Days?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:241 -msgid "You have to create a calendar first." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:249 -msgid "Form Options" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:254 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:226 -msgid "Form" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:265 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:236 -msgid "Form position" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:267 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:238 -msgid "Below the calendar" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:268 -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:239 -msgid "To the right of the calendar" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:274 -msgid "You have to create a form first." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginShortcodeButton.php:280 -msgid "Insert Calendar" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:95 -msgid "Calendar options" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:142 -msgid "Calendar View" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:182 -msgid "Selection Type?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:185 -msgid "Single Dates" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:212 -msgid "Minimum days to book?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:223 -msgid "Form options" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginWidget.php:228 -msgid "Don't display form" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/include/pluginiCal.php:79 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-calendar.php:71 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend-item.php:114 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:129 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:277 -msgid "Invalid calendar ID." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:4 -msgid "WP Booking System" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:4 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:4 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:4 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/forms.php:4 -msgid "Add New" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:7 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-calendar.php:15 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend-item.php:7 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:7 -msgid "The calendar was updated" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:19 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/forms.php:19 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/ical/ical.php:18 -msgid "ID" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:20 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/ical/ical.php:19 -msgid "Calendar Title" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:21 -msgid "Date Created" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:22 -msgid "Date Modified" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:23 -msgid "Unread Bookings" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:24 -msgid "Total Bookings" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:41 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:39 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:34 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/forms.php:32 -msgid "Edit this item" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:41 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:39 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:34 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/forms.php:32 -msgid "Edit" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:43 -msgid "Export this calendar" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:43 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-calendar.php:30 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/export/export.php:157 -msgid "Export" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:45 -msgid "Print this calendar's data" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:45 -msgid "Print" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:47 -msgid "Are you sure you want to delete this calendar?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:52 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:55 -msgid "booking" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:52 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:55 -msgid "bookings" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:61 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:185 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/ical/ical.php:45 -msgid "No calendars found." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/calendars.php:61 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:185 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/ical/ical.php:45 -msgid "Click here to create your first calendar." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-calendar.php:12 -msgid "Edit Calendar" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-calendar.php:28 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-calendar.php:67 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend-item.php:22 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend-item.php:67 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend-item.php:20 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend-item.php:65 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:19 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:273 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:16 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:275 -msgid "Save Changes" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-calendar.php:32 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend-item.php:23 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:16 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend-item.php:21 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:20 -msgid "Back" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-calendar.php:34 -msgid "Calendar title" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-calendar.php:38 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-calendar.php:53 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend-item.php:27 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend-item.php:25 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:35 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:111 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:156 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:246 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:20 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:110 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:163 -msgid "Click to toggle" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-calendar.php:40 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:107 -msgid "Bookings" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-calendar.php:54 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:134 -msgid "Availability" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend-item.php:20 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend-item.php:18 -msgid "Legend title" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend-item.php:28 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend-item.php:26 -msgid "Legend Item" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend-item.php:32 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend-item.php:30 -msgid "Color:" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend-item.php:35 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend-item.php:33 -msgid "Split Color" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend-item.php:46 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend-item.php:44 -msgid "Can be booked" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend-item.php:53 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend-item.php:51 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:36 -msgid "Translations" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:23 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:18 -msgid "Color" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:24 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:19 -msgid "Default" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:25 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:20 -msgid "Auto-Pending" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:26 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:21 -msgid "Visible" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:27 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:22 -msgid "Ordering" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:28 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:23 -msgid "Sync as booked" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:41 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:36 -msgid "Are you sure you want to delete this legend item?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:41 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:36 -msgid "Move this item to the Trash" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:47 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:42 -msgid "Make Default Legend" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:49 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:44 -#: D:/wpbs/wp-content/plugins/wp-booking-system/wp-booking-system.php:87 -msgid "Default Legend" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:53 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:48 -msgid "Auto-Pending Default" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:55 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:50 -msgid "Make Auto-Pending Default" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:59 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:54 -msgid "Hidden, click to show" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:61 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:56 -msgid "Visible, click to hide" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:65 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:60 -msgid "Move Up" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:69 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:64 -msgid "Move Down" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:72 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:67 -msgid "Syncing, click to remove sync" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/edit-legend.php:74 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:69 -msgid "Not Syncing, click to sync" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:13 -msgid "Export Calendar" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:14 -msgid "" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:109 -msgid "There will be exported all Booking types" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:135 -msgid "Export of all the availabilities" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:140 -msgid "Year(s)" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:145 -msgid "Month(s)" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:150 -msgid "Day(s)" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:160 -msgid "Notes" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:161 -msgid "Separate export of calendar notes" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:163 -msgid "Notes are calendar availability descriptions" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:167 -msgid "Legend" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:168 -msgid "Exporting the legend object" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/calendar/export-calendar.php:170 -msgid "The legend object contains" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend-item.php:7 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/default-legend/edit-legend.php:7 -msgid "The legend was updated" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/export/export.php:40 -msgid "Unsuported file extension! This is not our export file!" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/export/export.php:153 -msgid "Export " -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/export/export.php:156 -msgid "To export all data of " -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/export/export.php:165 -msgid "" -"Sorry, i can't generate the export file for you! But no worries, here is how " -"to do it yourself!" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/export/export.php:166 -msgid "Follow these simple steps:" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/export/export.php:168 -msgid "Copy the results from the above textarea" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/export/export.php:169 -msgid "" -"Open any text editor (e.g: Notepad) and paste the results " -"in a new file" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/export/export.php:170 -msgid "" -"Save the file and name it <your_prefered_filename>.wpbs (Note: the file extension needs to be ." -"wpbs otherwise the import wont read it!)" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/export/export.php:184 -msgid "Import " -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/export/export.php:187 -msgid "To import all data from a " -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/export/export.php:191 -msgid "Import" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:5 -msgid "Edit Form" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:8 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/forms.php:7 -msgid "The form was updated" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:22 -msgid "Form title" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:38 -msgid "Submit Button" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:41 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:63 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:85 -msgid "Default Label" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:60 -msgid "Thank you message" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:82 -msgid "Select Date message" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:112 -msgid "Form Settings" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:116 -msgid "Receive messages by mail" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:129 -msgid "Send to:" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:133 -msgid "Separate multiple e-mail addresses with a comma" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:140 -msgid "Tracking Script" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:157 -msgid "Auto Reply" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:162 -msgid "Enable Auto-Reply" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:176 -msgid "" -"If you are using the Auto-Reply feature, we strongly recommend enabling " -"reCaptcha in the plugins settings page to prevent spammers from abusing the " -"plugin." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:181 -msgid "Email Subject" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:184 -msgid "Default Subject" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:203 -msgid "Email Body" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:207 -msgid "Default Body" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:227 -msgid "Include details of the submitted booking" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:235 -msgid "" -"To enable auto reply you must add an email field to the form. If more than " -"one email field exists, the first one will be used." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:247 -msgid "Email Settings" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:251 -msgid "Sender Name" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/edit-form.php:262 -msgid "Sender Email" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/forms.php:4 -#: D:/wpbs/wp-content/plugins/wp-booking-system/wp-booking-system.php:88 -msgid "Forms" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/forms.php:20 -msgid "Form Title" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/forms.php:33 -msgid "Are you sure you want to delete this form?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/forms.php:42 -msgid "No forms found." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/form/forms.php:42 -msgid "Click here to create your first form." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/ical/ical.php:4 -#: D:/wpbs/wp-content/plugins/wp-booking-system/wp-booking-system.php:89 -msgid "Sync" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/ical/ical.php:8 -msgid "Sync is disabled. Please go to the settings page to enable it." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/ical/ical.php:20 -msgid "iCalendar Link" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/ical/ical.php:39 -msgid "" -"Are you sure you want to reset the private key? The current key will no " -"longer work." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:5 -#: D:/wpbs/wp-content/plugins/wp-booking-system/wp-booking-system.php:90 -msgid "Settings" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:8 -msgid "The settings were saved." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:21 -msgid "General Settings" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:26 -msgid "Date Format" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:39 -msgid "Selected date background" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:44 -msgid "The color that is being used for selected days on the front-end." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:51 -msgid "Selected date border color" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:56 -msgid "The border color that is being used for selected days on the front-end." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:62 -msgid "Booking History Color" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:67 -msgid "" -"The color that will be used if you select 'Use Booking History Color' when " -"you generate a shortcode." -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:74 -msgid "Backend Start Day" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:93 -msgid "iCalendar Sync" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:97 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:120 -msgid "Enable" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:111 -msgid "Captcha" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:116 -msgid "reCaptcha" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:129 -msgid "reCaptcha Site Key" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:142 -msgid "reCaptcha Secret Key" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:164 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:170 -msgid "Languages" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:171 -msgid "What languages do you" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:171 -msgid "want to use?" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:188 -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:189 -msgid "General Translations" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:193 -msgid "Booking ID" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:206 -msgid "Your Booking Details" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:219 -msgid "Check-In" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:232 -msgid "Check-Out" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/views/settings/settings.php:258 -#, php-format -msgid "Select a minimum of %x days" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/wp-booking-system.php:86 -msgid "Calendars" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/wp-booking-system.php:91 -msgid "Export/Import" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/wp-booking-system.php:109 -msgid "" -"WP Booking System - If you like our plugin please help us " -"spread the word by rating ★★★★★ on WordPress.org! It helps us a lot!" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/wp-booking-system.php:144 -msgid "Edit Booking" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/wp-booking-system.php:145 -msgid "Delete Booking" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/wp-booking-system.php:176 -msgid "New Booking" -msgstr "" - -#: D:/wpbs/wp-content/plugins/wp-booking-system/wp-booking-system.php:178 -msgid "New Bookings" -msgstr "" diff --git a/plugins/wp-booking-system/wp-booking-system/release notes.txt b/plugins/wp-booking-system/wp-booking-system/release notes.txt deleted file mode 100755 index b5bfa6a..0000000 --- a/plugins/wp-booking-system/wp-booking-system/release notes.txt +++ /dev/null @@ -1,248 +0,0 @@ -== Release notes == -= 4.2 = -* Changed dropdown to show 6 months in the past - -= 4.1.9 = -* Added extra filter when changing legend of a calendar - -= 4.1.8 = -* Added extra filter when saving default legend single quote "'" breaked JSON - -= 4.1.7 = -* Added Bulgarian language support and translations - -= 4.1.6 = @ 18/08/2017 -* Improvement added multiple classes to form elements so it can be styled better - -= 4.1.5 = @ 17/08/2017 -* Fixed Czech translation not displaying issue -* Added Serbian translations of month names and day names -* Improved notification notes timing with page reload timing - -= 4.1.4 = @ 16/08/2017 -* Improvment/Fix sender name in some situations was not set -* Fix for sending confirmation email on manually accepting bookings - -= 4.1.3 = @ 31/07/2017 -* Improvment: improved user management - -= 4.1.1 = @ 20/07/2017 -* Feature: now you can add required one option checkbox (terms & conditions) - - -= 4.1.0 = @ 07/07/2017 -* Fixed reCaptcha callback (sometimes was not called) -* Backup/restore file extension issue -* New on form submission scrolling on the top of the form so the errors are clearly visible -* Fixed form edit auto reply "Include details of the submitted booking" checkbox behavior -* Prevention of double click/submit on form/calendar creation - -= 4.0.1 = @ 16/06/2017 -* Fixed reCaptcha conflict with other plugin(s) -* Improved character encoding -* New feature selection type of 8 days - -= 4.0 = @ 09/06/2017 -* Fixed Mod_Security update issues -* Improved character encoding -* Everything is translatable in email(s) -* Added tooltip change direction if not enough space - -= 3.7.3 = @ 16/05/2017 -* Fixed Mod_Security SQL injection filter conflict -* Fixed Dropdown styling in Dashboard -* Fixed CSS box-sizing issue when zoom-in or zoom-out -* Added ability to translate "Email subject message", "A new booking was made via your website!" & "Captcha verification has failed." - -= 3.7.2 = @ 11/05/2017 -* Fixed multiple selection not remaining selected when changing months -* Minor CSS fixes on multiple selection type -* Settings to translate reCaptcha failed message - -= 3.7.1 = @ 28/04/2017 -* Fixed tooltip conflict on front-end -* Fixed conflict with other plugins *maybe* same javascript functions -* Added posibility to react on *pending* booking deletion -* Minor CSS tweaks - -= 3.7 = @ 24/04/2017 -* Added filters to sanitize user input and prevent SQL injections - -= 3.6 = @ 07/04/2017 -* Added jump functionality (jump displayed months when next/prev or dropdown select) -* Added selection type "week" enables entire week selection/booking -* Added selection type "7 days" enables to book 7 days from start date -* Added maximum bookable days option -* Added translation to Admin Confirmation email (when Accepting Bookings) - -= 3.5.2 = @ 10/03/2017 -* Added user compatibility check for navigation -* Added counter functionality by user assesment -* Fixed Backup/Restore visibility issue - -= 3.5.1 = @ 03/03/2017 -* Added user compatibility check for navigation -* Added counter functionality by user assesment -* Fixed Backup/Restore visibility issue - -= 3.5 = @ 02/03/2017 -* Added the functionality to print upcoming bookings -* Added Export functionality -* Added Import functionality -* Added footer message to rate the plugin -* Changed on click event to on mouseenter event for the highlighted bookable days - -= 3.4.7 = @ 20/02/2017 -* Fixed translation for the Admin Notification Email -* Fixed reCaptcha error in JavaScript - -= 3.4.6 = @ 27/10/2016 -* Fixed conflict with other plugins - -= 3.4.5 = @ 24/10/2016 -* Fixed JSON problems (saving) - -= 3.4.4 = @ 10/10/2016 -* Removed unwanted notices on settings page -* Fixed small issue with tooltips - -= 3.4.3 = @ 10/6/2016 -* Improved Slovenian translations - -= 3.4.2 = @ 14/4/2016 -* Fixed iCal Sync issues - -= 3.4.1 = @ 12/4/2016 -* Replaced random_int by a more common function. - -= 3.4 = @ 11/4/2016 -* Hashed the calendar ID for syncing purposes. -* Fixed: Multilpe instances of Captcha not working. - -= 3.3 = -* Improved compatibility with PHP7. -* Added the booking details in the confirmation email when accepting a booking. - -= 3.2 = -* Added reCaptcha: If you are using the Auto-Reply feature, we strongly recommend enabling reCaptcha in the plugins settings page to prevent spammers from abusing the plugin, otherwise they could use the plugin as spam bot. -* Added nonce for extra security. - -= 3.1 = -* Small design tweaks. - -= 3.0.9 = -* Restricted access to default legend and settings for non-admin users. -* Made the dropdown arrow retina ready. - -= 3.0.8 = -* Fixed bug when accepting bookings. - -= 3.0.7 = -* Fixed iCal sync. - -= 3.0.6 = -* Fixed a bug in quick edit. -* Fixed Chinese implementation. -* Changed iCal to sync only future dates. -* Added "Show Dropdown" option to shortcode and widget. -* Added retina navigation. - -= 3.0.5 = -* Added chinese translation. - -= 3.0.5 = -* Added chinese translation. - -= 3.0.4 = -* Deleted the Edit and Delete links from the Sync page. - -= 3.0.3 = -* Bug: Couldn't make a booking after changing 3 or 4 months. -* Updated iCalendar dates. - -= 3.0.3 = -* Bug: Couldn't make a booking after changing 3 or 4 months. -* Updated iCalendar dates. - -= 3.0.2 = -* Added phrases to 'General translations'. - -= 3.0.1 = -* Improved the iCal sync feed -* Added extra phrases to Settings > General Translations. -* Legend items, line and form can now use full width. - -= 3.0 = -* You can now sync your calendar to other websites. -* Added a new setting for legend items: Sync as Booked. -* Added the possibility to send an additional message when a booking is accepted or deleted. -* Updated and fixed some translations. -* Updated the admin panel of the plugin and made it responsive. -* Form: Field options can now be translated. -* Forms: removed the sender address from Auto Reply and created a new section with sender name and sender email, which is used in more places. -* Front-end: when clicking on a date and moving the cursor outside the calendar, the date is automatically selected. -* Front-end: you can select the position of the form to be below or besides the calendar. On small widths, the form drops below the calendar. - -= 2.36 = -* Fixed the flag of Catalonia. - -= 2.35 = -* Fixed sender name in auto reply. - -= 2.34 = -* Added the option to require a minimum number of days to be booked. - -= 2.33 = -* Small tweak to support PHP 7. - -= 2.32 = -* Fixed a problem with slashes. -* If you reply to a booking it will now reply to the users email address. - -= 2.31 = -* Fixed another problem with QUOTES and DOUBLEQUOTES. - -= 2.30 = -* Fixed a problem with QUOTES and DOUBLEQUOTES. - -= 2.29 = -* Fixed a QUOTE problem in the form builder. - -= 2.28 = -* Added auto-reply functionality. - -= 2.27 = -* Fixed a problem with form fields which were being deleted in rare cases. - -= 2.26 = -* Fixed W3C Markup Validation errors. -* Added a tracking code textarea to the form settings. - -= 2.25 = -* Updated PO file. - -= 2.24 = -* Updated PO file. - -= 2.23 = -* Decode booking details before saving. -* Updated PO file. - -= 2.22 = -* Added the possibility to translate feedback messages from the admin panel. -* Added the possibility to only display the calendar without a form. -* Added the option to show a red indicator when a tooltip is present. -* Added 'Booking Details' to the quick edit box. - -= 2.21 = -* Fixed a bug where a notification could still exist for a deleted calendar. - -= 2.20 = -* Only load JavaScript and CSS of the plugin on the front-end when a calendar is present. - -= 2.19 = -* Added 'Show week number' functionality. -* Added 'Auto-Pending' functionality. - -= 2.18 = -* Fixed long legend item title glitch in admin panel. \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/views/calendar/calendars.php b/plugins/wp-booking-system/wp-booking-system/views/calendar/calendars.php deleted file mode 100755 index 3201a2b..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/calendar/calendars.php +++ /dev/null @@ -1,63 +0,0 @@ - -
        -
        -

        - -
        -

        -
        - - - - prefix . 'bs_calendars';?> - get_results( $sql, ARRAY_A );?> - - num_rows > 0):?> - - - - - - - - - - - - - - - prefix . 'bs_bookings WHERE calendarID = '.$calendar['calendarID'].' AND bookingRead=0';?> - get_results( $bCount, ARRAY_A ); ?> - - - class="alternate"> - - - - - - - - - -
        # -
        num_rows;?>
        -
        - - "> | - - - - "> | - - ');" class="submitdelete" href=""> -
        -
        num_rows;?> num_rows == 1) ? _e('booking','wpbs') : _e('bookings','wpbs');?> - prefix . 'bs_bookings WHERE calendarID = '.$calendar['calendarID'].'';?> - get_results( $totalBookings, ARRAY_A ); echo $wpdb->num_rows;?> num_rows == 1) ? _e('booking','wpbs') : _e('bookings','wpbs');?>
        - - - -
        \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/views/calendar/edit-calendar.php b/plugins/wp-booking-system/wp-booking-system/views/calendar/edit-calendar.php deleted file mode 100755 index f578a38..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/calendar/edit-calendar.php +++ /dev/null @@ -1,86 +0,0 @@ - - -
        -
        -

        - -
        - -
        - -
        -

        -
        - - - - prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID=%d',$_GET['id']); ?> - get_row( $sql, ARRAY_A );?> - num_rows > 0 || $_GET['id'] == 'wpbs-new-calendar') && (@in_array( get_current_user_id(), json_decode($calendar['calendarUsers'])) || current_user_can( 'manage_options' )) ):?> - - -
        - -
        -
        - - - -
        - " value=""/> - - -
        -
        -
        ">
        -

        - -

        - - - -
        - -
        -
        -
        - - -
        -
        -
        ">
        -

        -
        - - - - true, 'calendarData' => $calendar['calendarData'], 'calendarLegend' => $calendar['calendarLegend'], 'calendarID' => (!empty($calendar['calendarID'])) ? $calendar['calendarID'] : "", 'firstDayOfWeek' => $wpbsOptions['backendStartDay'] ) );?> - " name="calendarID" /> - - -
        -
        -
        -
        - -
        -
        - - - - - - -
        - diff --git a/plugins/wp-booking-system/wp-booking-system/views/calendar/edit-legend-item.php b/plugins/wp-booking-system/wp-booking-system/views/calendar/edit-legend-item.php deleted file mode 100755 index 004cd38..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/calendar/edit-legend-item.php +++ /dev/null @@ -1,117 +0,0 @@ - -
        -
        -

        - -
        -

        -
        - - - prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID=%d',$_GET['id']); ?> - get_row( $sql, ARRAY_A );?> - num_rows > 0): $legendID = (!empty($_GET['legendID'])) ? $_GET['legendID'] : ''; - $calendarLegend = json_decode($calendar['calendarLegend'],true); if(!empty($_GET['legendID'])) $legend = $calendarLegend[$legendID]; ?> -
        -
        - - - - " value=""/> -
        - " /> - -
        -
        -
        -
        ">
        -

        -
        - -
        - - - - checked="checked" /> - -
        - - - -
        -
        -
        - -
        - - checked="checked" /> -
        -
        - - - - -
          - $languageName): ++$i;?> -
        • class="odd" > - - -
        • - -
        -
        - -
        -
        -
        -
        " /> -
        -
        - - - - - -
        - diff --git a/plugins/wp-booking-system/wp-booking-system/views/calendar/edit-legend.php b/plugins/wp-booking-system/wp-booking-system/views/calendar/edit-legend.php deleted file mode 100755 index cb81100..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/calendar/edit-legend.php +++ /dev/null @@ -1,132 +0,0 @@ - -
        -
        -

        - -
        -

        -
        - - - prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID=%d',$_GET['id']); ?> - get_row( $sql, ARRAY_A );?> - num_rows > 0):?> - -
        - -
        - - - - - - - - - - - - - - - $legendItem): ++$i;?> - - class="alternate"> - - - - - - - - - - - - - - - -
        - - - - - - - - -
        - - - - - -
        - - . - - . - -
        - - - - - - - -
        - - . - - . - - -
        -
        -
        -
        -
        -
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        - - - - - -
        - diff --git a/plugins/wp-booking-system/wp-booking-system/views/calendar/export-calendar.php b/plugins/wp-booking-system/wp-booking-system/views/calendar/export-calendar.php deleted file mode 100755 index ee44c9d..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/calendar/export-calendar.php +++ /dev/null @@ -1,188 +0,0 @@ - -
        -
        - prepare('SELECT ' . $wpdb->prefix . 'bs_calendars.* FROM ' . $wpdb->prefix . 'bs_calendars WHERE calendarID=%d',$_GET['id']); - $calendar = $wpdb->get_row( $sql, ARRAY_A ); - ?> - - Export Calendar",'wpbs'); ?> - " . $calendar['calendarTitle'] . "",'wpbs') ;?> - - -
        -

        -
        - - - - - - prepare('SELECT COUNT(' . $wpdb->prefix . 'bs_bookings.bookingID) as total, - (SELECT COUNT(' . $wpdb->prefix . 'bs_bookings.bookingID) FROM ' . $wpdb->prefix . 'bs_bookings WHERE ' . $wpdb->prefix . 'bs_bookings.calendarID=%d AND ' . $wpdb->prefix . 'bs_bookings.bookingStatus = "pending") AS pendingTotal, - (SELECT COUNT(' . $wpdb->prefix . 'bs_bookings.bookingID) FROM ' . $wpdb->prefix . 'bs_bookings WHERE ' . $wpdb->prefix . 'bs_bookings.calendarID=%d AND ' . $wpdb->prefix . 'bs_bookings.bookingStatus = "accepted") AS accepted, - (SELECT COUNT(' . $wpdb->prefix . 'bs_bookings.bookingID) FROM ' . $wpdb->prefix . 'bs_bookings WHERE ' . $wpdb->prefix . 'bs_bookings.calendarID=%d AND ' . $wpdb->prefix . 'bs_bookings.bookingStatus = "trash") AS trash - FROM ' . $wpdb->prefix . 'bs_bookings WHERE ' . $wpdb->prefix . 'bs_bookings.calendarID=%d', $calendarID, $calendarID, $calendarID, $calendarID); - - $bookings = $wpdb->get_row( $sql, ARRAY_A ); - - $legendTotal = count((array)json_decode($calendar['calendarLegend'])) ? count((array)json_decode($calendar['calendarLegend'])) : 0; - - // $calendarData = (array)json_decode($calendar['calendarData']); - $calendarData = json_decode($calendar['calendarData'],true); - - $availabilityYears = 0; - - // sum of months in the array - $availabilityMonths = 0; - - // sum of days in the array - $availabilityDays = 0; - - // sum of all notes - $notesTotal = 0; - - $downloadableArray = array(); - - - // Loop trought years - foreach($calendarData as $year => $months) - { - $availabilityYears = $availabilityYears + count( $year ); - - if($months) - { - // Loop trought months - foreach($months as $month => $days) - { - $availabilityMonths = $availabilityMonths + count( $month ); - - if($days) - { - // Loop trought days - foreach($days as $day => $status) - { - if (strpos($day,'description') !== false) - { - // unsetting the note so we can count the days - unset( $calendarData[$year][$month][$day] ); - // Incrementing notes - $notesTotal++; - } - else - $availabilityDays = $availabilityDays + count( $day ); - } - } - } - } - } - - // sum of all availablity - $availabilityTotal = $availabilityYears + $availabilityMonths + $availabilityDays; - - ?> - -
        - Export generates 2 files calendarData.csv and bookings.csv - - Back - Download -
        - - - - - - - - - - - - - - - - - - - - -
        - - - - - -
        -
        - - -
        - -
        - - -
        - -
        - - -
        -
        - -
        - - - -
        -
        - - -
        - -
        - - -
        - -
        - - -
        - - -
        -
        - - -
        - - -
        - -
        - Export generates 2 files calendarData.csv and bookings.csv - - Back - Download -
        - - - - - - - -
        -
        \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/views/default-legend/edit-legend-item.php b/plugins/wp-booking-system/wp-booking-system/views/default-legend/edit-legend-item.php deleted file mode 100755 index 523536d..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/default-legend/edit-legend-item.php +++ /dev/null @@ -1,113 +0,0 @@ - -
        -
        -

        - -
        -

        -
        - - - - -
        -
        - - - " value=""/> -
        - " /> - -
        -
        -
        -
        ">
        -

        -
        - -
        - - - - checked="checked" /> - -
        - - - -
        -
        -
        - -
        - - checked="checked" /> -
        -
        - - - - -
          - $languageName): ++$i;?> -
        • class="odd" > - - -
        • - -
        -
        - -
        -
        -
        -
        " /> -
        -
        - - - -
        - diff --git a/plugins/wp-booking-system/wp-booking-system/views/default-legend/edit-legend.php b/plugins/wp-booking-system/wp-booking-system/views/default-legend/edit-legend.php deleted file mode 100755 index a56eaa7..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/default-legend/edit-legend.php +++ /dev/null @@ -1,126 +0,0 @@ - -
        -
        -

        - -
        -

        -
        - - - - - - - - - - - - - - - - - - - $legendItem): ++$i;?> - - class="alternate"> - - - - - - - - - - - - - - - - - -
        - - - - - - - - -
        - - - - - -
        - - . - - . - -
        - - - - - - - -
        - - . - - . - - -
        -
        -
        -
        -
        -
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        - -
        - diff --git a/plugins/wp-booking-system/wp-booking-system/views/export/export.php b/plugins/wp-booking-system/wp-booking-system/views/export/export.php deleted file mode 100755 index 9a435d2..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/export/export.php +++ /dev/null @@ -1,246 +0,0 @@ - -
        - - - - -

        Export / Import

        - - -
        -

        -
        - - - - - - - -
        -
        -
        -
        -

        - -
        -

        export all data of ' . WPBS_NAME . ', please click the Export button.', 'wpbs');?>

        - - - - - -
        - - open manual export panel - -
        -
        - -

        - export.wpbs manually.'); ?>
        -
          -
        1. -
        2. Notepad) and paste the copied text'); ?>
        3. -
        4. export.wpbs (the file extension needs to be .wpbs)'); ?>
        5. -
        - - prepare('SELECT ' . $wpdb->prefix . 'bs_calendars.* FROM ' . $wpdb->prefix . 'bs_calendars;', null); - $get_bookings = $wpdb->prepare('SELECT ' . $wpdb->prefix . 'bs_bookings.* FROM ' . $wpdb->prefix . 'bs_bookings;', null); - $get_forms = $wpdb->prepare('SELECT ' . $wpdb->prefix . 'bs_forms.* FROM ' . $wpdb->prefix . 'bs_forms;', null); - - $export = array( - 'calendars' => $wpdb->get_results( $get_calendars, ARRAY_A ), - 'bookings' => $wpdb->get_results( $get_bookings, ARRAY_A ), - 'forms' => $wpdb->get_results( $get_forms ), - 'options' => array( - 'wpbs_db_version' => get_option('wpbs_db_version'), - 'wpbs-languages' => get_option('wpbs-languages'), - 'wpbs-options' => get_option('wpbs-options'), - 'wpbs-default-legend' => get_option('wpbs-default-legend'), - ) - ); - $export = json_encode( $export ); - ?> - - - -
        - -
        -
        -
        - - - - - - - - - - - - - - - - - - - - - -
        -
        -
        -

        - -
        -

        import all data from a ' . WPBS_NAME . ' export file, browse for that file and click the Import button.', 'wpbs'); ?>

        - -
        -

        - -
        -
        -
        -
        -
        -
        - - \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/views/export/import.php b/plugins/wp-booking-system/wp-booking-system/views/export/import.php deleted file mode 100755 index 3245c46..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/export/import.php +++ /dev/null @@ -1,270 +0,0 @@ - true, - 'message' => 'No DATA received' - ) ); - die(); -} - - -function get_extension($file) -{ - $extension = end(explode(".", $file)); - return $extension ? $extension : false; -} - -if ( isset( $_data['name'] ) ) -{ - - - if ( !empty( $_data['name'] ) ) - { - - $extension = get_extension( $_data['name'] ); - - if ( !$extension || $extension != "json" ) - { - echo json_encode( array( - 'error' => true, - 'message' => __('Unsuported file extension! This is not our export file!') - ) ); - die(); - } - else - { - - delete_option('wpbs-update-total'); - delete_option('wpbs-update-progress'); - - $total = 0; - $progress = 0; - - add_option('wpbs-update-total', $total); - add_option('wpbs-update-progress', $progress); - - /** - * - * Everything looks good, we can proceed with the import - * - */ - - - $content = file_get_contents( $_data['tmp_name'] ); - $content = json_decode( $content ); - - $tables = array( - 'calendars' => $wpdb->prefix . 'bs_calendars', - 'bookings' => $wpdb->prefix . 'bs_bookings', - 'forms' => $wpdb->prefix . 'bs_forms' - ); - - foreach ( $tables as $table ) - { - $sql = "DROP TABLE IF EXISTS ". $table; - $wpdb->query($sql); - } - - - $sql = "CREATE TABLE ".$wpdb->prefix."bs_bookings ( - bookingID int(10) NOT NULL AUTO_INCREMENT, - calendarID int(10) NOT NULL DEFAULT '0', - formID int(10) NOT NULL DEFAULT '0', - startDate int(11) NOT NULL DEFAULT '0', - endDate int(11) NOT NULL DEFAULT '0', - createdDate int(11) NOT NULL DEFAULT '0', - bookingData text NOT NULL, - bookingStatus tinytext NOT NULL, - bookingRead varchar(1) NOT NULL DEFAULT '0', - UNIQUE KEY (bookingID) - ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='WP Booking System - Bookings';"; - $sql .= "CREATE TABLE ".$wpdb->prefix."bs_calendars ( - calendarID int(10) NOT NULL AUTO_INCREMENT, - calendarTitle text, - createdDate int(11) DEFAULT NULL, - modifiedDate int(11) DEFAULT NULL, - calendarData text, - calendarLegend text, - calendarUsers text, - calendarHash varchar(32), - UNIQUE KEY (calendarID) - ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='WP Booking System - Calendars';"; - $sql .= "CREATE TABLE ".$wpdb->prefix."bs_forms ( - formID int(10) NOT NULL AUTO_INCREMENT, - formTitle text, - formData text, - formOptions text, - UNIQUE KEY (formID) - ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='WP Booking System - Forms';"; - - require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); - dbDelta( $sql, true ); - - - - $options = (array) $content->options; - - // Adding options - update_option( "wpbs_db_version", $options['wpbs_db_version'] ); - update_option( "wpbs-languages", $options['wpbs-languages'], '' ); - update_option( "wpbs-options", $options['wpbs-options'], '' ); - update_option( "wpbs-default-legend", $options['wpbs-default-legend'] ); - - - - - unset($content->options); - - - - $wpbsDB = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME); - - if ($wpbsDB->connect_errno) - { - echo json_encode( array( - 'error' => true, - 'message' => __('Sorry, this website is experiencing problems.') - ) ); - die; - } - - $total = $total + count( $content->calendars ); - $total = $total + count( $content->forms ); - $total = $total + count( $content->bookings ); - - update_option('wpbs-update-total', $total); - - - - foreach ( $content->calendars as $calendar ) - { - // Creating the queries - $calendarQuery = "INSERT INTO " - . $wpdb->prefix - ."bs_calendars (`calendarID`, `calendarTitle`, `createdDate`, `modifiedDate`, `calendarData`, `calendarLegend`, `calendarUsers`, `calendarHash`) VALUES (" - . $calendar->calendarID . ", " - . "'" . $calendar->calendarTitle . "', " - . $calendar->createdDate . ", " - . $calendar->modifiedDate . ", " - . "'" . $calendar->calendarData . "', " - . "'" . $calendar->calendarLegend . "', " - . "'" . $calendar->calendarUsers . "', " - . "'" . $calendar->calendarHash . "'" - . ");"; - - if ( !$calendarResults = $wpbsDB->query($calendarQuery) ) - { - echo json_encode( array( - 'error' => true, - 'message' => __('Query failed to execute for table "calendars"!') - ) ); - die; - } - - $progress++; - update_option('wpbs-update-progress', ($progress / $total ) * 100 ); - } - - foreach ( $content->forms as $form ) - { - // Creating the queries - $formQuery = "INSERT INTO " - . $wpdb->prefix - ."bs_forms (`formID`, `formTitle`, `formData`, `formOptions`) VALUES (" - . (int) $form->formID . ", " - . "'" . $wpbsDB->real_escape_string( $form->formTitle ) . "', " - . "'" . $wpbsDB->real_escape_string( $form->formData ) . "', " - . "'" . $wpbsDB->real_escape_string( $form->formOptions ) . "'" - . ");"; - - if ( !$formResults = $wpbsDB->query($formQuery) ) - { - echo json_encode( array( - 'error' => true, - 'message' => __('Query failed to execute for table "forms"!') - ) ); - die; - } - - $progress++; - update_option('wpbs-update-progress', ($progress / $total ) * 100 ); - } - - - - foreach ( $content->bookings as $booking ) - { - // Creating the queries - $bookingQuery = "INSERT INTO " - . $wpdb->prefix - ."bs_bookings (`bookingID`, `calendarID`, `formID`, `startDate`, `endDate`, `createdDate`, `bookingData`, `bookingStatus`, `bookingRead`) VALUES (" - . (int) $booking->bookingID . ", " - . (int) $booking->calendarID . ", " - . (int) $booking->formID . ", " - . (int) $booking->startDate . ", " - . (int) $booking->endDate . ", " - . (int) $booking->createdDate . ", " - . "'" . $wpbsDB->real_escape_string( $booking->bookingData ) . "', " - . "'" . $wpbsDB->real_escape_string( $booking->bookingStatus ) . "', " - . "'" . $wpbsDB->real_escape_string( $booking->bookingRead ) . "'" - . ");"; - - if ( !$bookingResults = $wpbsDB->query($bookingQuery) ) - { - echo json_encode( array( - 'error' => true, - 'message' => __('Query failed to execute for table "bookings"!') - ) ); - die; - } - - $progress++; - update_option('wpbs-update-progress', ($progress / $total ) * 100 ); - } - - - $time_elapsed = microtime(true) - $start; - - if ( $wpdb->last_error == '' ) - { - echo json_encode( array( - 'error' => false, - 'message' => __('Import was succesfull!') - ) ); - - - } - else - { - echo json_encode( array( - 'error' => true, - 'message' => '

        ' . __('Import error: ') . $wpdb->last_error . '

        ' - ) ); - } - - - delete_option('wpbs-update-total'); - delete_option('wpbs-update-progress'); - - die; - - } - } - else - { - echo json_encode( array( - 'error' => true, - 'message' => __('

        You have to add the backup/exported file first then hit Import

        ') - ) ); - die; - } -} \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/views/export/progress.php b/plugins/wp-booking-system/wp-booking-system/views/export/progress.php deleted file mode 100755 index 8a0351f..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/export/progress.php +++ /dev/null @@ -1,9 +0,0 @@ -$progress)); -die; \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/views/form/edit-form.php b/plugins/wp-booking-system/wp-booking-system/views/form/edit-form.php deleted file mode 100755 index 8858b3f..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/form/edit-form.php +++ /dev/null @@ -1,402 +0,0 @@ - - -
        -
        -

        - -
        - - -
        -

        -
        - - - prepare('SELECT * FROM ' . $wpdb->prefix . 'bs_forms WHERE formID=%d',$_GET['id']); ?> - get_row( $sql, ARRAY_A );?> - num_rows > 0 || $_GET['id'] == 'wpbs-new-form'): $formOptions = json_decode($form['formOptions'],true);?> -
        - -
        -
        - - - -
        - " value=""/> - - - -
        - $form['formData']) );?> - " name="formID" /> -
        - - - -
        -
        -
        ">
        -

        -
        -

        -
        -
        - -
        -
        - -
        -
        -
        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - -

        -
        -
        - -
        -
        - -
        -
        -
        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - -

        -
        -
        - -
        -
        - -
        -
        -
        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - - -

        -
        -
        - -
        -
        - -
        -
        -
        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - -

        -
        -
        - -
        -
        - -
        -
        -
        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - - - - - -

        -
        -
        - -
        -
        - -
        -
        -
        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - - -

        -
        -
        - -
        -
        - -
        -
        -
        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - - -

        -
        -
        - -
        -
        - -
        -
        -
        - $language): ?> -
        -
        - -
        -
        - -
        -
        -
        - - -
        - -
        -
        - -
        -
        -
        ">
        -

        -
        -
        -
        - -
        -
        - -
        -
        -
        - -
        style="display:none;"> -
        - -
        -
        - - -
        -
        -
        - -
        -
        - -
        -
        - - -
        -
        -
        - -
        -
        -
        - - -
        -
        -
        ">
        -

        -
        - -
        -
        - -
        -
        - -
        -
        -
        - -
        - - - - - - - -

        -
        -
        - -
        -
        - -
        -
        -
        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - -

        - -
        -
        - -
        -
        - -
        -
        -
        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - -
        -
        - -
        -
        - /> -
        -
        -
        - -

        - - -
        -
        - -
        -
        - -
        -
        -
        ">
        -

        - -
        -
        - - -
        -
        - - - -
        - diff --git a/plugins/wp-booking-system/wp-booking-system/views/form/forms.php b/plugins/wp-booking-system/wp-booking-system/views/form/forms.php deleted file mode 100755 index d76fb8f..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/form/forms.php +++ /dev/null @@ -1,44 +0,0 @@ - -
        -
        -

        - -
        -

        -
        - - - - prefix . 'bs_forms';?> - get_results( $sql, ARRAY_A );?> - - num_rows > 0):?> - - - - - - - - - - - - class="alternate"> - - - - - - -
        # - - -
        - - - -
        \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/views/ical/ical.php b/plugins/wp-booking-system/wp-booking-system/views/ical/ical.php deleted file mode 100755 index 6d15bc7..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/ical/ical.php +++ /dev/null @@ -1,48 +0,0 @@ - -
        -
        -

        - - -
        -

        -
        - - prefix . 'bs_calendars';?> - get_results( $sql, ARRAY_A );?> - - num_rows > 0):?> - - - - - - - - - - - - - - - - - class="alternate"> - - - - - - - -
        # - - - /?wp-booking-system-ical=');" href="">reset private link
        - - - - -
        \ No newline at end of file diff --git a/plugins/wp-booking-system/wp-booking-system/views/settings/settings.php b/plugins/wp-booking-system/wp-booking-system/views/settings/settings.php deleted file mode 100755 index 369a166..0000000 --- a/plugins/wp-booking-system/wp-booking-system/views/settings/settings.php +++ /dev/null @@ -1,385 +0,0 @@ - - - 'English','bg' => 'Bulgarian','ca' => 'Catalan','zh' => 'Chinese','hr' => 'Croatian','cs' => 'Czech','da' => 'Danish','nl' => 'Dutch','et' => 'Estonian','fi' => 'Finnish','fr' => 'French','de' => 'German','el' => 'Greek','hu' => 'Hungarian','it' => 'Italian', 'no' => 'Norwegian' ,'pl' => 'Polish','pt' => 'Portugese','ro' => 'Romanian','ru' => 'Russian','sk' => 'Slovak','sl' => 'Slovenian','es' => 'Spanish','sv' => 'Swedish','sr'=>'Serbian','tr' => 'Turkish','uk' => 'Ukrainian');?> -
        -
        -

        - -
        -

        -
        - - -
        - -
        -
        - " /> -
        -
        -
        -
        ">
        -

        -
        - -
        -
        - -
        -
        - - - - - -
        -
        -
        -
        -
        - -
        -
        - - - -
        -
        -
        - -
        -
        - -
        -
        - - - -
        -
        -
        -
        -
        - -
        -
        - - - -
        -
        -
        - -
        -
        - -
        - -
        - -
        -
        -
        - -
        -
        -
        -
        -
        - - - -
        -
        - -
        - -
        -
        -
        - -
        -
        -
        ">
        -

        -
        - -
        -
        -
        -
        -
        - - - -
        -
        - -
        - -
        -
        -
        -
        -
        - - - -
        -
        - -
        - -
        -
        -
        -
        -
        - - - -
        -
        - -
        - -
        -

        Get your API keys from https://www.google.com/recaptcha/admin. You will need a google account for this.

        -
        - - - -
        -
        -
        - - -
        -
        -
        ">
        -

        -
        - -
        -
        -
        -
        -
        -
        - $language):?> - - -
        -
        - -
        - -
        -
        -
        - -
        -
        -
        ">
        -

        -
        - - -

        :

        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - -

        :

        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - -

        :

        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - -

        :

        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - -

        :

        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - - -

        :

        - $language):?> -
        -
        - -
        -
        - -
        -
        -
        - - - -

        :

        - $language):?> -
        -
        - -
        -
        - -
        -
        - -
        - - (note that %x will be replaced with the number of days) - - -

        :

        - $language):?> -
        -
        - -
        -
        - -
        -
        - -
        - - (note that %x will be replaced with the number of days) - - - -

        :

        - $language):?> -
        -
        - -
        -
        - -
        -
        - -
        - - (note that %x and %y will be replaced with the number of days) - - - - - -
        -
        -
        -
        " /> -
        -
        -
        - - diff --git a/plugins/wp-booking-system/wp-booking-system/wp-booking-system.php b/plugins/wp-booking-system/wp-booking-system/wp-booking-system.php deleted file mode 100755 index 9d5f2d1..0000000 --- a/plugins/wp-booking-system/wp-booking-system/wp-booking-system.php +++ /dev/null @@ -1,401 +0,0 @@ -id ) && strpos( $screen->id, 'wp-booking-system' ) !== false ) - { - echo __('WP Booking System - If you like our plugin please help us spread the word by rating ★★★★★ on WordPress.org! It helps us a lot!', 'wpbs'); - return; - } - - return $text; -} - -function wpbs_dashboard_toggle() -{ - wp_enqueue_script('dashboard'); -} - -// Ajax Hooks -add_action('wp_ajax_wpbs_changeDayAdmin', 'wpbs_changeDayAdmin_callback'); -add_action('wp_ajax_wpbs_changeDay', 'wpbs_changeDay_callback'); -add_action('wp_ajax_nopriv_wpbs_changeDay', 'wpbs_changeDay_callback'); - -add_action('wp_ajax_submitForm' , 'wpbs_submitForm_callback'); -add_action('wp_ajax_nopriv_submitForm' , 'wpbs_submitForm_callback'); - -add_action('wp_ajax_bookingModalData' , 'bookingModalData_callback'); -add_action('wp_ajax_bookingMarkAsRead' , 'bookingMarkAsRead_callback'); - - -function wpbs_ajaxurl() -{ - $wpbsOptions = json_decode(get_option('wpbs-options'),true); - ?> - - - - prefix . 'bs_bookings WHERE bookingRead = 0'; - else - { - $userCalendars = wpbs_get_user_calendars( get_current_user_id() ); - - if ( $userCalendars && count($userCalendars) > 0) - { - $calendarIds = implode(",", $userCalendars); - - $sql = 'SELECT bookingRead FROM ' . $wpdb->prefix . 'bs_bookings WHERE bookingRead = 0 AND calendarID IN (' . $calendarIds . ')'; - } - else - $sql = 'SELECT bookingRead FROM ' . $wpdb->prefix . 'bs_bookings WHERE bookingRead = 0'; - } - - $rows = $wpdb->get_results( $sql, ARRAY_A ); - $count = $wpdb->num_rows; - $menu['375.457'][0] .= " " . number_format_i18n($count) . ''; -} - -add_action('wp_before_admin_bar_render', 'wpbs_admin_bar_notifications',1); - -function wpbs_admin_bar_notifications($wp_admin_bar) -{ - global $wp_admin_bar, $wpdb; - - if ( current_user_can('manage_options') ) - $sql = 'SELECT bookingRead FROM ' . $wpdb->prefix . 'bs_bookings WHERE bookingRead = 0'; - else - { - $userCalendars = wpbs_get_user_calendars( get_current_user_id() ); - if ( $userCalendars && count($userCalendars) > 0) - { - $calendarIds = implode(",", $userCalendars); - - $sql = 'SELECT bookingRead FROM ' . $wpdb->prefix . 'bs_bookings WHERE bookingRead = 0 AND calendarID IN (' . $calendarIds . ')'; - } - else - { - return false; - // $sql = 'SELECT bookingRead FROM ' . $wpdb->prefix . 'bs_bookings WHERE bookingRead = 0'; - } - } - - $rows = $wpdb->get_results( $sql, ARRAY_A ); - $count = $wpdb->num_rows; - - $args = array( - 'id' => 'wp-bookig-system-admin', - 'href' => admin_url('admin.php?page=wp-booking-system'), - 'parent' => 'root-default', - ); - - if($count == 1) - { - $title = ' ' . __('New Booking','wpbs'); - } - else - { - $title = ' ' . __('New Bookings','wpbs'); - } - $args['meta']['title'] = $title; - - if($count == 0) - { - $display = ''.$count.' '.$title.''; - } - else - { - $display = ''.$count.''.$title.''; - } - $args['title'] = $display; - $wp_admin_bar->add_node($args); -} -$wpbsOptions = json_decode(get_option('wpbs-options'),true); -if( @$wpbsOptions['enableiCal'] == 'yes' && isset($_GET['wp-booking-system-ical']) && !empty($_GET['wp-booking-system-ical'])) -{ - include 'include/pluginiCal.php'; - die(); -} - -/** - * - * Returns all the calendars the user is assegned to or FALSE - * - * @param $userid The current users ID - * - * @return List of calendarIDs on success or FALSE on failure - */ - -function wpbs_get_user_calendars( $userid ) -{ - if ( wpbs_user_has_calendars( $userid ) ) - { - global $wpdb; - - $sql = 'SELECT calendarUsers, calendarID FROM ' . $wpdb->prefix . 'bs_calendars;'; - $rows = $wpdb->get_results( $sql, ARRAY_A ); - - - $calendars = array(); - foreach ($rows as $calendar ) - { - $users = json_decode( $calendar['calendarUsers'] ); - if ( in_array( $userid, $users ) ) - { - $calendars[] = $calendar['calendarID']; - } - } - - return $calendars; - } - else - return false; -} - -/** - * - * Checks if the current user has calendars assigned - * - * @param $userid The current users ID - * - * @return TRUE on success or FALSE on failure - */ -function wpbs_user_has_calendars( $userid ) -{ - global $wpdb; - - $sql = 'SELECT calendarUsers FROM ' . $wpdb->prefix . 'bs_calendars;'; - $rows = $wpdb->get_results( $sql, ARRAY_A ); - - foreach ($rows as $calendar ) - { - $users = json_decode( $calendar['calendarUsers'] ); - if ( in_array( $userid, $users ) ) - { - return true; - } - } - - return false; -} diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..6f44f90 --- /dev/null +++ b/readme.txt @@ -0,0 +1,312 @@ +License: GNU General Public License v3 or later +License URI: http://www.gnu.org/licenses/gpl-3.0.html +AccessPress Parallax WordPress Theme, Copyright 2014 AccessPress Themes +AccessPress Parallax is distributed under the terms of the GNU GPL v3 + + +Install Steps: +-------------- + +1. Activate the theme +2. Go to the Theme Option page +3. Setup theme options + + +------------------------------------------ + +JS Files + HTML5-Shiv: MIT and GPL licenses + https://code.google.com/p/html5shiv/ + + bxSlider: WTFPL and MIT license + https://github.com/stevenwanderski/bxslider-4 + + Nivo Lightbox: MIT licenses + http://dev7studios.com/plugins/nivo-lightbox/ + + jQuery Actual: MIT licenses + https://github.com/dreamerslab/jquery.actual/ + + jQuery Easing: Open source under the BSD License. + https://github.com/gdsmith/jquery.easing + + jQuery Easing: Released under the WTFPL license + https://github.com/davatron5000/FitVids.js + + jQuery Easing: MIT Licenses + https://github.com/flesler/jquery.scrollTo + + Parallax JS: MIT and GPL licenses + https://github.com/IanLunn/jQuery-Parallax/ + + WOw JS: MIT Licenses + https://github.com/matthieua/WOW + + Smooth Scroll JS: MIT Licenses + https://gist.github.com/galambalazs/6477177/ + + +------------------------------------------- +Fonts + Font Awesome: MIT and GPL licenses + http://fontawesome.io/license/ + + Roboto + http://www.google.com/fonts/specimen/Roboto + Apache License, version 2.0 + + Oxygen + http://www.google.com/fonts/specimen/Oxygen + License: SIL Open Font License, 1.1 + +------------------------------------------- +Images + All the images used are from http://pixabay.com and are fully GPL compatible. + http://pixabay.com/en/sunset-afterglow-landscape-208771/ + https://unsplash.com/photos/tAKXap853rY/ + + Slider Image + http://www.pexels.com/photo/154/ + http://www.pexels.com/photo/2170/ + + + Background Image + http://www.pexels.com/photo/1883/ + http://www.pexels.com/photo/2255/ + http://www.pexels.com/photo/3578/ + http://www.pexels.com/photo/3545/ + + Portfolio Image + http://www.pexels.com/photo/2059/ + http://www.pexels.com/photo/2818/ + http://www.pexels.com/photo/232/ + http://www.pexels.com/photo/2242/ + http://www.pexels.com/photo/2170/ + http://www.pexels.com/photo/2886/ + http://www.pexels.com/photo/3510/ + http://www.pexels.com/photo/3521/ + +--------------------------------------------- +== Changelog == +Version 1.60 + * Theme Option Panel error on PHP7 fixed + * Styling Issue fixed + +== Changelog == +Version 1.59 + * Responsive issue in team section fixed + +Version 1.58 + * Minor CSS issue fixed + * Recommended plugin activate and deactive button not working - Fixed + +Version 1.57 + * All Element using bx slider replaced by slick slider for better performance + +Version 1.56 + * Smooth Scrolling issue on back to top and slider down button fixed + +Version 1.55 + * Menu Scrolling issue fixed - jquery.nav.js updated + +Version 1.54 + * Design issue of submenu in responsive fixed + +Version 1.53 + * Updated bxSlider Plugin + * Update Fontawesome + +Version 1.52 + * Minor Bug Fixes + +Version 1.51 + * Alignment Issue with Center Header fixed + * Unwanted text removed. + +Version 1.50 + * Minor Bug Fixes + +Version 1.40 + * Added Welcome Page with demo import functionality + * Some Minor Design fixes + +Version 1.30 + * HTML validation + * Optmization for Better SEO + +Version 1.26.2 + * Fixed some escapting value + * Updated .pot file + +Version 1.26.1 +* Translation Bug fixed + +Version 1.26.0 +* Fixed escaping security error +* Core WordPress Function used of pagination/navigaion for post and archive page + +Version 1.25.9 +* TGMPA Updated with the latest version + +Version 1.25.8 +* Logo alignment bug fixed for centered logo in Responsive Layout +* Responsive bug fixed for the footer +* Header Menu Bug fixed for home page template +* PolyLang support for Theme Option Panel Text + +Version 1.25.7 +* Section Files Compatibility with Child Theme +* CSS bug on bottom margin of the Google Map Section fixed + +Version 1.25.6 +* Woocommerce Compatible bug fixed + +Version 1.25.5 +* Woocommerce Compatible + +Version 1.25.4 +* Plugin Recommended via TGM +* Screenshot changed + +Version 1.25.3 +* Indonesian Translation Added +Contributer - Rio Bermano + +Version 1.25.2 +* Added the theme support for title tag and removed the hardcoded title tag + +Version 1.25.1 +* Fixes for the compatibility with Polylang Plugin +* Post Navigation in the single post shows the post with same term only + +Version 1.25.0 +* CSS fixes to make compaltible with the latest release of WordPress 4.4 +* Auto Transition Bug in main slider fixed + +Version 1.24.9 +* Minor bug on Slider fixed for RTL +* Google Map Section content not displaying issue fixed + +Version 1.24.8 +* Additional CSS added for RTL Support + +Version 1.24.7 +* More Theme Page added + +Version 1.24.6 +* Menu Center alignment Bug fixed for the header 2 layout +* New Plugin Suggested Via TGM Plugin Activation + +Version 1.24.5 +* Main navigation bug fixed +* Missing Translation ready fixed +* Minor bug in accesspress_letter_count function fixed + +Version 1.24.4 +* FontAwesome updated to latest version +* Translation pot file updated +* Minor Bug fixed in Home Page + +Version 1.24.3 +* Polylang Plugin translation bug for Call to action section fixed +* Minor CSS fix in the admin Panel + +Version 1.24.2 +* Option name mismatch for the child theme fixed +* Issue of bxslider not working for RTL Website fixed + +Version 1.24.0 +* Theme Demo Url Changed +* Changed Author url from http to https +* Jquery bug in Team Section fixed +* Text Domain Issue fixed + +Version 1.23.9 +* Demo Slider Content Removed +* Demo and Documentation Link added in Theme Option Panel +* Minor change in theme option panel + +Version 1.23.5 +* TGM Plugin Class Updated to latest version +* Content bug for the parallax section fixed +* Jquery bug fixed for multiple team section added +* Slider caption overlapping the menu issue fixed + +Version 1.23.4 +* Loop Issue fixed in Parallax Section. +* Missing Translation text fixed. +* Plugins recomemded via TGM Plugin Activation + +Version 1.23.3 +* Compatibility issues with multilingual plugin (polylang) fixed. +* Issue with Google Map Section fixed. +* Removed the unused script from the demo content. + +Version 1.23 +* Main Navigation Bug fixed + +Version 1.22 +* Team section slides bug fixed +* Background Image bug in Mobile device fixed + +Version 1.21 +* Main Navigation Bug fixed +* Minor Changes in Theme Option Panel +* New pot file generated for translation +* Jquery bug fixed while adding multiple team section + +Version 1.20 +* Archive page Title link fixed +* ScreenShot Changed +* Few adjustment in Theme Option Panel +* Added Theme support for title tag +* Added callback for custom TinyMCE editor stylesheets + +Version 1.19 +* Navigation not clickalbe in innpages issue solved. +* Minor CSS bugs fixed. +* Text translation added. +* New Options Added in Theme Options Panel +* Option to change the home text added in menu + +Version 1.18 +* Nav unclickable issue solved. +* Minor CSS bugs fixed. +* Text translation added. +* Remove emails from Theme Options due to spams. + +Version 1.17 +* Fixed the link on the Scroll down arrow over the banner. +* Added New Translation language (Russian). +* Minor CSS bugs fixed. + +Version 1.16 +* Theme option value not saving bug fixed. + +Version 1.15 +* Changed the Option name to theme text domain to prevent the lose of theme option data while making child theme. + +Version 1.14 +* Section ID changed by page ID instead of Page name (Page name created problem with other language then english.) +* Header spacing bug fixed when logged in. +* Design bug on 2nd level menu fixed on responsive layout. + +Version 1.13 +* Div with clearfix class added in service section to prevent misalignment +* Overlapping of Heading with date in the blog/archive page fixed + +Version 1.11 +* Smooth Scroll Js added for smooth scrolling in Chrome +* ScreenShot Changed +* Minor Changes in styles +* Minor Bugs Fixed +* Demo Content Added + +Version 1.1 +* Parallax background Effect added for blank Sections in Main page. +* Wow animation effect added +* Google JavaScript Maps API V3 added +* Minor Changes in styles + +Version 1.0 +* Submitted theme for review in http://wordpress.org \ No newline at end of file diff --git a/screenshot.png b/screenshot.png index 2ce02dc..6873f40 100644 Binary files a/screenshot.png and b/screenshot.png differ diff --git a/search.php b/search.php new file mode 100644 index 0000000..23c8ff5 --- /dev/null +++ b/search.php @@ -0,0 +1,46 @@ + +
        +
        +
        + + + + + + + + + + + + + + + + + + + + +
        +
        + + +
        + + + diff --git a/single-elementor_library.php b/single-elementor_library.php deleted file mode 100644 index b6624fb..0000000 --- a/single-elementor_library.php +++ /dev/null @@ -1,34 +0,0 @@ - - - -
        - - - - - - - - - - -
        -
        - -
        -
        - - - - - - - - -
        \ No newline at end of file diff --git a/single-themo_room.php b/single-themo_room.php deleted file mode 100644 index ab4ac33..0000000 --- a/single-themo_room.php +++ /dev/null @@ -1,43 +0,0 @@ - - - -
        - - - - - - - - - - - - - - -
        -
        - -
        -
        - - - - - - - - -
        \ No newline at end of file diff --git a/single.php b/single.php index fe32722..8f8756b 100644 --- a/single.php +++ b/single.php @@ -1,95 +1,42 @@ - - -
        - - - - - - - - -
        - +/** + * The template for displaying all single posts. + * + * @package accesspress_parallax + */ + +get_header(); ?> +
        +
        +
        + + + + + + '' . __( '%title', 'accesspress-parallax' ), + 'next_text' => __( '%title', 'accesspress-parallax' ) . '', + 'in_same_term' => true, + )); + endif; + ?> - - - - -
        -
        - -
        > - -
        - - -
        -
        + // If comments are open or we have at least one comment, load up the comment template + if ( comments_open() || '0' != get_comments_number() ) : + comments_template(); + endif; + ?> + + - - -
        + +
        - - - - - -
        \ No newline at end of file + + + ul, +li > ol { + margin-bottom: 0; + margin-left: 20px; +} + +dt { + font-weight: bold; +} + +dd { + margin: 0 20px 20px; +} + +img { + height: auto; + /* Make sure images are scaled correctly. */ + max-width: 100%; + /* Adhere to container width. */ + vertical-align: middle; + +} + +figure { + margin: 0; +} + +table { + margin: 0 0 20px; + width: 100%; +} + +th { + font-weight: bold; +} + +/*-------------------------------------------------------------- +Forms +--------------------------------------------------------------*/ + +button, +input[type="button"], +input[type="reset"], +input[type="submit"] { + position: relative; + background: #E66432; + display: inline-block; + padding: 0 20px; + text-decoration: none; + color: #ffffff; + -webkit-transition: all 0.3s ease 0s; + -o-transition: all 0.3s ease 0s; + transition: all 0.3s ease 0s; + cursor: pointer; + border: none; + line-height: 36px; + height: 36px; +} + +button:focus, +input[type="button"]:focus, +input[type="reset"]:focus, +input[type="submit"]:focus, +button:active, +input[type="button"]:active, +input[type="reset"]:active, +input[type="submit"]:active { + outline: 0; +} + +input[type="text"], +input[type="email"], +input[type="url"], +input[type="password"], +input[type="search"], +input[type="number"], +input[type="tel"], +input[type="range"], +input[type="date"], +input[type="month"], +input[type="week"], +input[type="time"], +input[type="datetime"], +input[type="datetime-local"], +input[type="color"], +textarea { + color: #333; + border: 1px solid #DDD; + border-radius: 1px; + max-width: 100%; +} + +select { + color: #333; + border: 1px solid #DDD; + border-radius: 1px; + max-width: 100%; + height: 36px; +} + +input[type="text"]:focus, +input[type="email"]:focus, +input[type="url"]:focus, +input[type="password"]:focus, +input[type="search"]:focus, +input[type="number"]:focus, +input[type="tel"]:focus, +input[type="range"]:focus, +input[type="date"]:focus, +input[type="month"]:focus, +input[type="week"]:focus, +input[type="time"]:focus, +input[type="datetime"]:focus, +input[type="datetime-local"]:focus, +input[type="color"]:focus, +textarea:focus, +select:focus { + color: #111; + outline: 0; +} + +input[type="text"], +input[type="email"], +input[type="url"], +input[type="password"], +input[type="search"], +input[type="number"], +input[type="tel"], +input[type="range"], +input[type="date"], +input[type="month"], +input[type="week"], +input[type="time"], +input[type="datetime"], +input[type="datetime-local"], +input[type="color"] { + padding: 3px; + height: 36px; +} + +textarea { + overflow: auto; + /* Removes default vertical scrollbar in IE6/7/8/9 */ + padding: 5px 10px; + vertical-align: top; + /* Improves readability and alignment in all browsers */ + width: 100%; +} + +/*-------------------------------------------------------------- +Links +--------------------------------------------------------------*/ + +a { + color: #E66432; + text-decoration: none; +} + +/*-------------------------------------------------------------- +Accessibility +--------------------------------------------------------------*/ + +/* Text meant only for screen readers */ + +.screen-reader-text { + clip: rect(1px, 1px, 1px, 1px); + position: absolute !important; + height: 1px; + width: 1px; + overflow: hidden; +} + +.screen-reader-text:hover, +.screen-reader-text:active, +.screen-reader-text:focus { + background-color: #f1f1f1; + border-radius: 3px; + box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); + clip: auto !important; + color: #21759b; + display: block; + font-size: 14px; + font-weight: bold; + height: auto; + left: 5px; + line-height: normal; + padding: 15px 23px 14px; + text-decoration: none; + top: 5px; + width: auto; + z-index: 100000; + /* Above WP toolbar */ +} + +/*-------------------------------------------------------------- +Alignments +--------------------------------------------------------------*/ + +.alignleft { + float: left; + margin-right: 20px; +} + +.alignright { + float: right; + margin-left: 20px; +} + +.aligncenter { + clear: both; + display: block; + margin: 0 auto; +} + +/*-------------------------------------------------------------- +Clearings +--------------------------------------------------------------*/ + +.clearfix:before, +.clearfix:after, +.entry-content:before, +.entry-content:after, +.comment-content:before, +.comment-content:after, +.site-header:before, +.site-header:after, +.site-content:before, +.site-content:after, +.site-footer:before, +.site-footer:after, +.row:after, +.row:before, +.nav-links:before { + content: ''; + display: table; +} + +.clearfix:after, +.entry-content:after, +.comment-content:after, +.site-header:after, +.site-content:after, +.site-footer:after, +.row:after, +.nav-links:after { + clear: both; +} + +/*-------------------------------------------------------------- +Widgets +--------------------------------------------------------------*/ + +.widget { + margin: 0 0 20px; +} + +/* Make sure select elements fit in widgets */ + +.widget select { + max-width: 100%; +} + +/* Search widget */ + +.widget_search .search-submit { + display: none; +} + +#secondary .widget { + background: #FFF; + padding: 30px; + margin-bottom: 40px; +} + +/*-------------------------------------------------------------- +Content +--------------------------------------------------------------*/ + +.mid-content { + width: 1200px; + margin: 0 auto; +} + +@media screen and (max-width: 1000px){ + .header-contact{ + position: absolute; + bottom: 15px; + right: 19%; + transform: translateX(50%); + } +} +@media screen and (min-width: 1200px){ + .home .mid-content{ + width: 1200px; + margin: 0 auto; + } + .header-contact{ + position: relative; + top: 25px; + /* margin-left: 50px; */ + } +} + +/* @media (min-width: 770px){ + .parallax-section .mid-content{ + width: 1200px; + } +} */ +.parallax-section { + padding: 60px 0 80px; + position: relative; +} + +.parallax-section h2 { + font-size: 38px; + text-transform: uppercase; + line-height: 1.2; + text-align: center; + padding: 0 20px; + font-weight: 700; + margin-bottom: 60px; +} + +.parallax-section h2 span { + position: relative; + display: inline-block; +} + +.parallax-section h2 span:after { + content: ""; + position: absolute; + width: 50%; + top: 100%; + left: 50%; + margin-left: -25%; + margin-top: 10px; + border-bottom: 2px solid; + border-color: inherit; +} + +.parallax-section .overlay { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + z-index: 99; +} + +.parallax-section .mid-content { + position: relative; + z-index: 999; +} + +.parallax-section .page-content { + /* margin: 0 0 60px; */ +} + +#content > .mid-content { + /* margin-top: 50px; */ +} + +#primary { + width: 69%; + float: left; +} + +#secondary { + width: 28%; + float: right; + font-size: 16px; +} + +#secondary ul { + list-style: none; + margin-left: 0; +} + +#secondary ul li { + padding-bottom: 6px; +} + +#secondary ul li a { + text-decoration: none; + color: #333; +} + +#secondary h2.widget-title { + border-bottom: 3px solid #E66432; + margin-bottom: 20px; + line-height: 1.2; + font-size: 18px; + text-transform: uppercase; +} + +#secondary h2.widget-title span { + color: #333; + display: inline-block; + padding: 8px 0; +} + +#secondary .search-form input[type="search"] { + width: 100%; +} + +/*-------------------------------------------------------------- +Posts and pages +--------------------------------------------------------------*/ + +.sticky {} + +.site-title { + font-size: 24px; + font-weight: bold; + text-transform: uppercase; + white-space: nowrap; + margin-bottom: 0; +} + +.site-title a { + text-decoration: none; +} + +.site-description { + font-size: 14px; + font-style: italic; + margin-bottom: 0; +} + +.hentry { + margin: 0 0 40px; + background: #FFF; + padding: 20px; + margin-bottom: 40px; + position: relative; +} + +.single .hentry { + margin-bottom: 0; +} + +.archive .hentry { + margin-bottom: 60px; +} + +.byline, +.updated { + display: none; +} + +.single .byline, +.group-blog .byline { + display: inline; + font-style: italic; + font-size: 14px; +} + +.single .byline a, +.group-blog .byline a { + color: #333; + text-decoration: none; +} + +.page-content, +.entry-content, +.entry-summary { + margin: 20px 0 0; +} + +.page-links { + clear: both; + margin: 0 0 20px; +} + +.entry-header h1.entry-title { + margin-left: 80px; +} + +.entry-header h1.entry-title.no-date { + margin-left: 0; +} + +.page .entry-header h1.entry-title { + margin-left: 0; +} + +.entry-header h1.entry-title a { + color: #333; + text-decoration: none; +} + +.posted-on { + position: absolute; + left: 20px; + top: -14px; + background: #E66432; + width: 60px; + text-align: center; + color: #FFF; + font-size: 14px; + padding: 10px; + line-height: 1.2; + text-transform: uppercase; +} + +.posted-on:before { + border-color: transparent transparent #BA4F28 #BA4F28; + border-style: solid; + border-width: 7px 5px; + top: 0; + content: ""; + height: 0; + right: -10px; + position: absolute; + width: 0; + z-index: -1; +} + +.posted-on span { + display: block; +} + +.posted-on span.posted-day { + font-size: 24px; + font-weight: bold; + margin-bottom: 3px; +} + +.bypostauthor {} + +.entry-footer { + font-size: 14px; + margin-top: 30px; +} + +.entry-footer span { + margin-right: 15px; +} + +.entry-footer .fa { + margin-right: 5px; + color: #666; +} + +.entry-footer a { + text-decoration: none; + color: #333; +} + +.edit-link { + background: #333; + display: inline-block; + padding: 5px 10px; + line-height: 1.2; + border-radius: 2px; + font-size: 13px; + margin-top: 15px; +} + +.edit-link a { + color: #FFF; + text-decoration: none; +} + +.edit-link a .fa { + color: #FFF; + margin-right: 5px; +} + +.page .entry-footer .edit-link { + float: none; +} + +.page-header { + background: #FFF; + padding: 30px 40px; + margin-bottom: 40px; +} + +.page-header h1 { + margin-bottom: 0; +} + +.entry-thumb { + margin: -40px -40px 30px; + text-align: center; +} + +/*-------------------------------------------------------------- +Asides +--------------------------------------------------------------*/ + +.blog .format-aside .entry-title, +.archive .format-aside .entry-title { + display: none; +} + +/*-------------------------------------------------------------- +Comments +--------------------------------------------------------------*/ + +#comments { + background: #FFF; + padding: 40px; + margin-bottom: 40px; + font-size: 16px; +} + +#comments p { + margin-bottom: 10px; +} + +#reply-title { + background: #333; + color: #fff; + display: inline-block; + padding: 8px 10px; + font-size: 18px; + line-height: 1.2; + margin-bottom: 0; +} + +#commentform { + border-top: 2px solid #333; + padding-top: 15px; +} + +.comment-content a { + word-wrap: break-word; +} + +#comments input[type="submit"] { + background: #333; + border: none; +} + +.comments-title { + margin-bottom: 10px; +} + +#commentform label { + display: block; +} + +textarea#comment { + height: 150px; +} + +#author, +#email, +#url { + width: 100% +} + +/*Comment Lists*/ + +.comments-area ol { + margin: 0; + padding: 0; + list-style: none; +} + +.comments-area ol.children { + margin: 0 0 0 15px; +} + +.comment-list li .comment-body { + margin-bottom: 10px; + padding: 10px; + background: #FCFCFC; + border-radius: 5px; +} + +.comment-author img { + vertical-align: text-top; + margin-right: 10px; +} + +.comment-author .fn { + font-style: normal; + font-size: 15px; + text-transform: capitalize; + font-weight: normal; +} + +.comment-metadata a { + text-decoration: none; + font-size: 13px; + font-style: italic; +} + +.comment-metadata .edit-link { + display: none; +} + +.comment-author .fn .url { + color: #333; +} + +.comment-author .says { + display: none; +} + +.commentmetadata { + float: right; + font-family: 'Montserrat', sans-serif; + font-size: 12px; + font-style: italic; + font-weight: 300; +} + +.commentmetadata a { + color: #666; +} + +.commentmetadata .comment-edit-link { + color: #01AEFD; +} + +.commentmetadata + .clear { + margin-bottom: 20px; +} + +.reply .comment-reply-link { + background: none repeat scroll 0 0 #293037; + border-radius: 3px; + color: #FFFFFF; + font-size: 13px; + line-height: 1; + padding: 2px 10px; + text-decoration: none; +} + +#commentform .form-submit { + margin-bottom: 0; +} + +.comment-awaiting-moderation { + background: #111; + position: absolute; + left: 50%; + top: -20px; + color: #FFF; + font-size: 13px; + width: 250px; + margin-left: -125px; +} + +.comment-awaiting-moderation + br { + display: none; +} + +#cancel-comment-reply-link { + font-style: italic; + color: #333; +} + +#cancel-comment-reply-link:before { + font-family: FontAwesome; + content: "\f057"; + margin: 0 5px 0 20px; + font-style: normal; + color: #333; +} + +.logged-in-as a { + color: #333; +} + +/*-------------------------------------------------------------- +Infinite scroll +--------------------------------------------------------------*/ + +/* Globally hidden elements when Infinite Scroll is supported and in use. */ + +.infinite-scroll .paging-navigation, +/* Older / Newer Posts Navigation (always hidden) */ + +.infinite-scroll.neverending .site-footer { + /* Theme Footer (when set to scrolling) */ + display: none; +} + +/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */ + +.infinity-end.neverending .site-footer { + display: block; +} + +/*-------------------------------------------------------------- +Media +--------------------------------------------------------------*/ + +.page-content img.wp-smiley, +.entry-content img.wp-smiley, +.comment-content img.wp-smiley { + border: none; + margin-bottom: 0; + margin-top: 0; + padding: 0; +} + +/* Make sure embeds and iframes fit their containers */ + +embed, +iframe, +object { + max-width: 100%; +} + +/*-------------------------------------------------------------- +Captions +--------------------------------------------------------------*/ + +.wp-caption { + margin-bottom: 20px; + max-width: 100%; +} + +.wp-caption img[class*="wp-image-"] { + display: block; + margin: 0 auto; +} + +.wp-caption-text { + text-align: center; +} + +.wp-caption .wp-caption-text { + margin: 0.8075em 0; +} + +/*-------------------------------------------------------------- +Galleries +--------------------------------------------------------------*/ + +.gallery { + margin-bottom: 20px; +} + +.gallery-item { + display: inline-block; + text-align: center; + vertical-align: top; + width: 100%; + padding: 0 4px 4px 0; +} + +.gallery-item .gallery-icon { + position: relative; +} + +.gallery-item a:after { + content: ""; + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + background: url(images/zoom.png) no-repeat center rgba(0, 0, 0, 0.3); + display: none; +} + +.gallery-item:hover a:after { + display: block; +} + +.gallery-columns-2 .gallery-item { + max-width: 50%; +} + +.gallery-columns-3 .gallery-item { + max-width: 33.33%; +} + +.gallery-columns-4 .gallery-item { + max-width: 25%; +} + +.gallery-columns-5 .gallery-item { + max-width: 20%; +} + +.gallery-columns-6 .gallery-item { + max-width: 16.66%; +} + +.gallery-columns-7 .gallery-item { + max-width: 14.28%; +} + +.gallery-columns-8 .gallery-item { + max-width: 12.5%; +} + +.gallery-columns-9 .gallery-item { + max-width: 11.11%; +} + +.gallery-caption { + font-size: 14px; + line-height: 1.2; + margin-top: 5px; +} + +/*-------------------------------------------------------------- +Main Header +--------------------------------------------------------------*/ +#footer_address{ + width: 100%; +} +#masthead { + width: 100%; + z-index: 99999; + /* background-color: rgba(21, 32, 61, 0.7); */ + background-color: rgba(255,255,255, 1); + /* padding: 10px 0 0 0; */ + position: relative; +} + +#masthead .flex-box { + display: -webkit-box; + display: -moz-box; + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + justify-content: space-between; + align-items: center +} + +#masthead.logo-top { + text-align: center; +} + +#masthead.logo-top .flex-box { + display: block; +} + +body.parallax-on #masthead { + position: fixed; + left: 0; + top: 0; + right: 0; +} + +body.logged-in.parallax-on #masthead { + top: auto; +} + +#content { + position: relative; + z-index: 99; + padding-top: 0 !important; + +} +.page #content{ + min-height: 86vh; + /* background: url(assets/interior-bg.jpg) no-repeat center center; */ + background-size: cover; +} + +/* .page #page .content-overlay{ + position: absolute; + width: 100%; + height: 100%; + background: red; + z-index: 9; +} */ +body.parallax-on .wpcf7-not-valid-tip { + text-align: center; + font-size: 13px; +} + +#site-logo { + padding: 10px; + float: left; + width: 35%; + /* max-width: 180px; */ +} + +.logo-top #site-logo { + float: none; + width: auto; + padding: 10px 0; +} + +.main-navigation { + float: right; + max-width: 80%; +} + +.logo-top .main-navigation { + float: none; + width: auto; + text-align: center; + max-width: none; + margin-top: 15px; +} + +.main-navigation ul { + list-style: none; + margin: 0; + padding-left: 0; + float: right; +} + +.logo-top .main-navigation ul { + float: none; +} + +.main-navigation ul li { + position: relative; +} + +.main-navigation > ul > li { + float: left; + position: relative; + font-weight: 400; +} + +.main-navigation > ul > li > a { + /* text-transform: uppercase; */ + font-size: 18px; + padding: 5px 10px; + /* text-transform: lowercase; */ +} + +.main-navigation > ul > li.current a { + color: #15203d; +} + +.main-navigation a { + display: block; + text-decoration: none; + color: #15203d; +} + +.main-navigation ul ul { + background: #FFF; + position: absolute; + top: 100%; + left: 0; + z-index: 99999; + font-size: 15px; + box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); + display: none; +} + +.main-navigation ul ul ul { + left: 100%; + top: 0; +} + +.main-navigation ul ul a { + min-width: 200px; + padding: 10px; + border-bottom: 1px solid #EEE; +} + +.logo-top .main-navigation ul ul li { + text-align: left; +} + +.main-navigation ul ul li:last-child a { + border: none; +} + +.main-navigation li:hover > a { + color: #00D3D1; +} + +.main-navigation ul li:hover > ul { + display: block; +} + +.main-navigation .current_page_item > a, +.main-navigation .current-menu-item > a { + color: #15203d; +} + +/* Small menu */ + +.menu-toggle { + display: none; +} + +.site-main .comment-navigation, +.site-main .paging-navigation, +.site-main .post-navigation, +.site-main .posts-navigation { + margin: 0 0 40px; + overflow: hidden; + background: #FFF; +} + +.comment-navigation .nav-previous, +.paging-navigation .nav-previous, +.post-navigation .nav-previous, +.posts-navigation .nav-previous { + float: left; + width: 50%; + padding: 10px; +} + +.comment-navigation .nav-previous a .fa, +.paging-navigation .nav-previous a .fa, +.post-navigation .nav-previous a .fa, +.posts-navigation .nav-previous a .fa { + margin-right: 10px; + font-size: 16px; +} + +.comment-navigation .nav-next, +.paging-navigation .nav-next, +.post-navigation .nav-next, +.posts-navigation .nav-next { + float: right; + text-align: right; + width: 50%; + padding: 10px; +} + +.comment-navigation .nav-next a .fa, +.paging-navigation .nav-next a .fa, +.post-navigation .nav-next a .fa, +.posts-navigation .nav-next a .fa { + margin-left: 10px; + font-size: 16px; +} + +.site-main .comment-navigation a, +.site-main .paging-navigation a, +.site-main .post-navigation a, +.site-main .posts-navigation a { + background: #333; + padding: 20px 40px; + color: #FFF; + text-decoration: none; + font-size: 14px; + display: block; +} + +.pagination { + text-align: center; + margin-bottom: 30px; +} + +.pagination .nav-links a, +.pagination .nav-links span { + display: inline-block; + background: #E66432; + padding: 10px; + color: #FFF; + line-height: 1; + margin: 0 2px; +} + +/*-------------------------------------------------------------- +Main SLider +--------------------------------------------------------------*/ + +#main-slider { + position: relative; + margin-bottom: 30px; +} + +.parallax-on #main-slider, +#main-slider.full-screen-, +.page-template-home-page-php #main-slider { + margin-bottom: 0; +} + +#main-slider.full-screen-yes { + min-height: 80vh; +} + +.main-slides { + display: none; +} + +#main-slider .main-slides:after { + content: ""; + background: url(images/overlay4.png) repeat rgba(0, 0, 0, 0.3); + position: absolute; + height: 100%; + width: 100%; + z-index: 999; + left: 0; + top: 0; +} + +#main-slider .slick-slide img { + margin: 0 auto; +} + +.full-screen-yes .slides { + background-size: cover; + background-position: top center; + background-repeat: no-repeat; +} + +.slider-caption { + position: absolute; + top: 50%; + left: 0; + width: 100%; + z-index: 99999; + text-align: center; + transform: translateY(-50%); + -ms-transform: translateY(-50%); + -webkit-transform: translateY(-50%); +} + +.slider-caption .caption-title { + font-size: 54px; + font-weight: bold; + text-transform: uppercase; + color: #FFF; + position: relative; + margin: 10% auto 20px; + width: 80%; + line-height: 1.3; + text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4); +} + +.slider-caption .caption-description { + font-size: 24px; + color: #FFF; + position: relative; + text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); + font-weight: 300; + margin: 0 auto 20px; + width: 70%; +} + +.slider-caption .caption-description p { + margin-bottom: 20px; +} + +.slider-caption .caption-description a, +.btn, +.call-to-action a { + position: relative; + border: 2px solid #ffffff; + display: inline-block; + line-height: 1; + padding: 12px 20px; + text-decoration: none; + color: #ffffff; + -webkit-transition: all 0.3s ease 0s; + -o-transition: all 0.3s ease 0s; + transition: all 0.3s ease 0s; + font-size: 20px; +} + +.slider-caption .caption-description a:hover, +.btn:hover { + background: #00D3D1!important; + border: 2px solid #00D3D1 !important; + color: #FFF !important; +} + +.next-page { + position: absolute; + height: 60px; + width: 60px; + border: 1px solid #FFF; + border-radius: 50%; + bottom: 15%; + left: 50%; + margin-left: -30px; + z-index: 999; +} + +.next-page a { + display: block; + background: url(images/down-arrow.png) no-repeat center; + position: absolute; + left: 0; + top: 0; + height: 100%; + width: 100%; + -webkit-animation: flow-down 2s linear 3s infinite; + /* Chrome, Safari, Opera */ + animation: flow-down 2s linear 3s infinite; + /* Standard syntax */ +} + +#main-slider .slick-slide { + position: relative; +} + +#main-slider.full-screen-yes .slick-slide { + height: 100vh; + background-size: cover; + background-position: center; +} + +#main-slider .slick-arrow { + position: absolute; + top: 50%; + margin-top: -50px; + outline: 0; + width: 28px; + height: 100px; + padding: 0; + text-indent: -9999px; + z-index: 99; +} + +#main-slider .slick-prev.slick-arrow { + left: 40px; + background: url(images/controls.png) no-repeat; +} + +#main-slider .slick-next.slick-arrow { + right: 40px; + background: url(images/controls.png) no-repeat right top; +} + +#main-slider .slick-dots { + position: absolute; + bottom: 30px; + width: 100%; + margin: 0; + padding: 0; + text-align: center; +} + +#main-slider .slick-dots li { + display: inline-block; +} + +#main-slider .slick-dots li button { + border: 2px solid #FFF; + text-indent: -9999px; + display: block; + width: 20px; + height: 8px; + margin: 0 5px; + outline: 0; + padding: 0; + line-height: 8px; + border-radius: 0; + background: none; +} + +#main-slider .slick-dots li.slick-active button { + background: #00D3D1; + border: 2px solid #00D3D1; +} + +/* Chrome, Safari, Opera */ + +@-webkit-keyframes flow-down { + 0% { + top: 0px; + opacity: 0.8; + } + 50% { + top: 9px; + opacity: 1; + } + 100% { + top: 0; + opacity: 0.8; + } +} + +/* Standard syntax */ + +@keyframes flow-down { + 0% { + top: 0px; + opacity: 0.8; + } + 50% { + top: 9px; + opacity: 1; + } + 100% { + top: 0; + opacity: 0.8; + } +} + +/*-------------------------------------------------------------- +Default Section +--------------------------------------------------------------*/ + +.parallax-section input[type="text"], +.parallax-section input[type="email"], +.parallax-section input[type="url"], +.parallax-section input[type="password"], +.parallax-section input[type="search"], +.parallax-section input[type="tel"], +.parallax-section textarea { + border: 1px solid #E66432; + color: inherit; + padding: 10px 15px; + height: 42px; + width: 100%; + margin: 0 auto; + display: block; + background: rgba( 255, 255, 255, 0.4); +} + +.parallax-section textarea { + line-height: 1.5; + width: 100%; + margin: 0 auto; + display: block; + height: 180px; +} + +.parallax-section .wpcf7-form .wpcf7-submit { + width: 100%; + margin: 0 auto; + display: block; + background: #E66432; +} + +.parallax-section .wpcf7-form p { + margin-bottom: 15px; +} + +.parallax-section .slider-caption .caption-description a, +.parallax-section .btn { + border-color: inherit; + color: inherit; +} + +/*-------------------------------------------------------------- +Service Section +--------------------------------------------------------------*/ + +.service_template { + padding-bottom: 40px; +} + +.service-list { + width: 48%; + margin-bottom: 40px; +} + +.service-list h3 { + margin-bottom: 15px; + line-height: 1.2; + font-size: 18px; + font-weight: 700; +} + +.service-list .service-image { + height: 80px; + width: 80px; + margin-top: 15px; + overflow: hidden; + border: 3px solid #EEE; +} + +.service-list .service-image img { + padding: 15px; +} + +.service-list .service-detail { + width: 460px; +} + +.service-list.odd { + float: left; + text-align: right; +} + +.service-list.odd .service-image { + float: right; +} + +.service-list.odd .service-detail { + float: left; +} + +.service-list.even { + float: right; +} + +.service-list.even .service-image { + float: left; +} + +.service-list.even .service-detail { + float: right; +} + +/*-------------------------------------------------------------- +Testimonial Section +--------------------------------------------------------------*/ + +.testimonial-list { + text-align: center; +} + +.testimonial-list .testimonial-content { + font-size: 20px; + font-style: italic; + margin-bottom: 30px; + line-height: 1.4; + position: relative; + padding: 0 50px; +} + +.testimonial-list .testimonial-content:before { + position: absolute; + left: 0; + top: 0; + content: '\f10d'; + font-size: 32px; + line-height: 1; + height: 30px; + font-family: "FontAwesome"; + opacity: 0.5; +} + +.testimonial-list h3 { + font-size: 20px; + font-weight: bold; +} + +.testimonial-list .testimonial-image { + width: 100px; + height: 100px; + border-radius: 50%; + margin: 30px auto 50px; +} + +.testimonial-list .testimonial-image img { + border-radius: 50%; +} + +.testimonial-listing .slick-arrow { + position: absolute; + margin: 0; + top: 100%; + left: 50%; + height: 38px; + width: 38px; + background: none; + border: 1px solid; + border-color: inherit; + text-indent: 0; + font-size: 26px; + color: inherit; + text-decoration: none; + text-align: center; + line-height: 38px; + display: inline-block; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + transition: all 0.3s ease 0s; + cursor: pointer; +} + +.testimonial-listing .slick-arrow:hover { + background: #e66432; + border: 1px solid #e66432; + color: #FFF; +} + +.testimonial-listing .fa-angle-left { + margin-left: -45px; +} + +.testimonial-listing .fa-angle-right { + margin-left: 5px; +} + +/*-------------------------------------------------------------- +Portfolio Section +--------------------------------------------------------------*/ + +.portfolio-listing { + margin: 0 -15px; +} +.parallax-section:nth-child(4) .portfolio-listing a:hover{ + cursor: initial; +} +.portfolio-listing a:nth-child(3n+1){ + /* clear: both; */ +} + +.portfolio-list { + width: 33.333%; + float: left; + position: relative; +} +.parallax-section:nth-child(4) .mid-content{ + width: 75%; +} +@media (min-width: 768px){ + .parallax-section:nth-child(4) .portfolio-list{ + width: 24%; + } +} +.portfolio-wrap { + margin: 15px; + overflow: hidden; + position: relative; +} + +.portfolio-list .portfolio-overlay { + position: absolute; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.3); + display: none; + z-index: 9999; +} + +.portfolio-list .portfolio-overlay span { + width: 60px; + height: 60px; + margin-left: -30px; + margin-top: -30px; + position: absolute; + top: 50%; + left: 50%; + border: 2px solid #FFF; + border-radius: 50%; + font-size: 30px; + text-align: center; + line-height: 60px; + color: #FFF; +} + +.portfolio-list:hover .portfolio-overlay { + display: block; +} + +.portfolio-list h3 { + position: absolute; + width: 100%; + padding: 20px; + bottom: -5px; + left: 0; + color: #FFF; + background: url(images/portfolio-text-bg.png) repeat-x top left; + font-size: 16px; + margin: 0; + text-transform: uppercase; + /* border-bottom-left-radius: 15%; + border-bottom-right-radius: 15%; */ +} + +.portfolio-list:hover h3 { + display: none; +} + +.portfolio-list img { + transition: all 0.3s ease-in-out; + -moz-transition: all 0.3s ease-in-out; + -webkit-transition: all 0.3s ease-in-out; +} + +.portfolio-list:hover img { + -ms-transform: scale(1.2); + /* IE 9 */ + -webkit-transform: scale(1.2); + /* Chrome, Safari, Opera */ + transform: scale(1.2); +} +.portfolio-image img{ + border-top-right-radius: 10%; + border-top-left-radius: 10%; +} + +/*-------------------------------------------------------------- +Call to Action Section +--------------------------------------------------------------*/ + +.call-to-action { + text-align: center; +} + +.call-to-action h2 { + margin: 30px 0 15px; + font-size: 24px; +} + +.parallax-section .call-to-action .page-content { + margin-bottom: 0; +} + +.parallax-section.action_template { + padding: 30px 0; +} + +/*-------------------------------------------------------------- +Team Section +--------------------------------------------------------------*/ + +.team-tab { + text-align: center; + padding: 0 50px; +} + +.team-image { + border-radius: 50%; + border: 2px solid #FFF; + margin: 0 8px 20px; + position: relative; + cursor: pointer; + display: none; +} + +.team-image:hover, +.team-image.slick-current { + border: 2px solid #00D3D1; +} + +.team-image img { + border-radius: 50%; +} + +.team-list { + display: none; +} + +.team-content { + margin-top: 60px; +} + +.team-big-image { + float: left; + width: 35%; + margin-right: 3%; + border-radius: 50%; + overflow: hidden; + border: 4px solid #FFF; +} + +.team-big-image img { + border-radius: 50%; + width: 100%; + padding: 3px; +} + +.team-detail { + float: left; + width: 62%; +} + +.team-detail h3 { + font-size: 30px; + margin-bottom: 10px; + line-height: 1.2; +} + +.team-detail h4 { + font-size: 20px; + margin-bottom: 25px; + opacity: 0.8; +} + +.team-tab .slick-arrow { + position: absolute; + text-indent: 0; + font-size: 46px; + text-decoration: none; + height: 50px; + line-height: 50px; + margin-top: -30px; + color: inherit; + font-weight: normal; + top: 50%; + cursor: pointer; +} + +.team-tab .fa-angle-left { + background: none; + left: -40px; +} + +.team-tab .fa-angle-right { + background: none; + right: -40px; +} + +.blank-section { + min-height: 300px; + height: 60vh; +} + +/*-------------------------------------------------------------- +Google Map Section +--------------------------------------------------------------*/ + +.parallax-section.google-map { + padding: 0; +} + +.parallax-section.google-map p { + margin: 0 +} + +.parallax-section.google-map img { + max-width: none; +} + +.google-map iframe { + width: 100% !important; + display: block; + height: 400px !important; +} + +.googlemap-toggle { + position: absolute; + left: 50%; + margin-left: -40px; + background: #000000; + top: 0; + color: #FFF; + padding: 0 30px 0 20px; + margin-top: -32px; + cursor: pointer; + border-radius: 2px 2px 0 0; + z-index: 999; + font-size: 14px; + line-height: 32px; + height: 32px; +} + +.googlemap-toggle:after { + content: "\f106"; + font-size: 20px; + margin: 15px 0 0; + line-height: 0; + position: absolute; + right: 10px; + font-family: "FontAwesome"; +} + +.googlemap-toggle.active:after { + content: "\f107"; +} + +#ap-map-canvas { + height: 450px !important; + width: 100%; +} + +/*-------------------------------------------------------------- +Blog Section +--------------------------------------------------------------*/ + +.blog-list { + float: left; + width: 30%; + margin-right: 3.33%; + background: #FFF; + text-decoration: none; + color: #333; +} + +.blog-list .blog-image img { + width: 100%; +} + +.blog-list:hover { + color: #333; +} + +.blog-list:nth-child(3n) { + margin-right: 0; +} + +.blog-list h3 { + font-size: 16px; + text-transform: uppercase; + margin: 15px 0 10px; + font-weight: bold; +} + +.blog-list .blog-excerpt { + padding: 0 20px 60px; + border-bottom: 3px solid #E66432; + position: relative; +} + +.blog-list .blog-excerpt .posted-date { + font-size: 13px; + margin-bottom: 15px; + color: #E66432; + text-align: right; +} + +.blog-list .blog-excerpt .posted-date .fa { + margin-right: 5px; +} + +.blog-list .blog-excerpt span { + background: #E66432; + color: #FFF; + display: inline-block; + position: absolute; + bottom: 0; + right: 10px; + padding: 8px 15px; + font-size: 14px; +} + +.btn-wrap { + text-align: center; + margin-top: 70px; +} + +.blog-list:hover .blog-excerpt span { + background: #333; +} + +.blog-list:hover .blog-excerpt { + border-color: #333; +} + +/*-------------------------------------------------------------- +Footer Section +--------------------------------------------------------------*/ + +#colophon { + background: #000; + color: #FFF; + font-size: 15px; +} + +.top-footer { + background: #272727; + padding: 55px 0; +} + +.top-footer ul { + list-style: none; + margin: 0; +} + +.top-footer ul li { + margin-bottom: 5px; +} + +.top-footer h2 { + font-size: 18px; + margin-bottom: 32px; + position: relative; +} + +.top-footer h2:after { + content: ""; + position: absolute; + top: 100%; + width: 40px; + border-bottom: 1px solid #FFF; + left: 0; + margin-top: 5px; +} + +.top-footer a { + color: #FFF; + text-decoration: none; +} +.footer-overlay{ + +} +.top-footer .top-footer-wrap { + margin-left: -2%; +} + +.footer-column-1.top-footer .top-footer-wrap { + margin-left: 0; +} + +.footer-column-1 .footer-block { + width: 100%; + margin-left: 0; +} + +.footer-column-2 .footer-block { + width: 48%; + margin-left: 2% +} + +.footer-column-3 .footer-block { + width: 31.333%; + margin-left: 2% +} + +.footer-column-4 .footer-block { + width: 23%; + margin-left: 2% +} + +.footer-block { + float: left; +} + +.footer-block .widget, +.footer-block .gallery { + margin-bottom: 0; +} + +.bottom-footer { + background: #000; + padding: 15px; + font-size: 14px; +} + +.bottom-footer a { + color: #FFF; +} + +.copy-right { + float: left; +} + +.site-info { + float: right; +} + +.site-info a { + text-decoration: underline; +} + +.tagcloud a { + background: #000; + padding: 10px 15px; + font-size: 13px !important; + margin: 0 0 5px 0; + display: inline-block; + line-height: 1; +} + +#go-top { + position: fixed; + right: 30px; + bottom: 30px; + display: none; + height: 50px; + width: 50px; + background: #00D3D1; + text-align: center; + line-height: 50px; + z-index: 9999; +} + +#go-top a { + display: block; + color: #FFF; +} + +/*-------------------------------------------------------------- +Social +--------------------------------------------------------------*/ + +.social-icons { + position: fixed; + left: 0; + top: 50%; + width: 30px; + z-index: 9; +} + +.social-icons a { + background: red; + height: 30px; + width: 30px; + margin-bottom: 1px; + line-height: 30px; + text-align: center; + color: #FFF; + display: inline-block; + position: relative; +} + +.social-icons a:hover { + background: #e66432 +} + +.social-icons a span { + background: #333; + padding: 6px 10px; + font-size: 11px; + font-family: 'Montserrat'; + text-decoration: none; + position: absolute; + left: 130%; + top: 2px; + margin-left: 10px; + border-radius: 1px; + white-space: nowrap; + line-height: 1; + font-style: italic; + opacity: 0; + visibility: hidden; + transition: left 0.3s ease; + -moz-transition: left 0.3s ease; + -webkit-transition: left 0.3s ease; +} + +.social-icons a span:after { + content: ""; + position: absolute; + left: 0; + border-color: transparent #333 transparent transparent; + border-style: solid; + border-width: 4px; + margin-left: -8px; + top: 50%; + margin-top: -4px; +} + +.social-icons a:hover span { + opacity: 1; + visibility: visible; + left: 100%; +} + +/*-------------------------------------------------------------- +Responsive grid for pages +--------------------------------------------------------------*/ + +.row { + margin-bottom: 25px; +} + +.row:last-child { + margin-bottom: 0; +} + +.span1, +.span2, +.span3, +.span4, +.span5, +.span6 { + float: left; +} + +.col { + margin-left: 3%; +} + +.col:first-child { + margin-left: 0; +} + + +.span1 { + width: 14.1666666667%; + +} + +.span2 { + width: 31.3333333333%; + +} + +.span3 { + width: 48.5%; + +} + +.span4 { + width: 65.6666666667%; + +} + +.span5 { + width: 82.8333333333%; + +} + +.span6 { + width: 100%; + margin-left: 0; +} + +@media screen and (max-width: 768px) { + + .span1, + .span2, + .span3, + .span4, + .span5, + .span6 { + width: 100%; + float: none; + margin-left: 0; + } + +} + +/*RTL CSS*/ + +.rtl #site-logo { + float: right; +} + +.rtl .main-navigation { + float: left; +} + +.rtl .main-navigation > ul > li { + float: right; +} + +.rtl .blog-list .blog-excerpt .posted-date .fa { + margin-right: 0; + margin-left: 5px; +} + +.rtl .service-list.even { + text-align: left; +} + +.rtl .top-footer h2:after { + left: auto; + right: 0; +} + +.rtl .comment-navigation .nav-next a .fa, +.rtl .paging-navigation .nav-next a .fa, +.rtl .post-navigation .nav-next a .fa { + margin-left: 0; + margin-right: 10px; +} + +.rtl .comment-navigation .nav-previous, +.rtl .paging-navigation .nav-previous, +.rtl .post-navigation .nav-previous { + text-align: left; +} + +.rtl .comment-navigation .nav-previous a .fa, +.rtl .paging-navigation .nav-previous a .fa, +.rtl .post-navigation .nav-previous a .fa { + margin-left: 10px; + margin-right: 0; +} + +.rtl .bx-wrapper .bx-controls-direction a { + text-indent: 999999999px; +} + +@media screen and (max-width: 768px){ + /* .parallax-section:first-child { + padding: 10px 0 25px !important; + } */ + +} +.parallax-section h2{ + color: white; + +} +.parallax-section:first-child { + + /* padding: 150px 0 75px; */ +} +.parallax-content p{ + text-align: center; + font-size: 16px; + /* font-weight: bold; */ +} + + + + +.portfolio-list{ + /* pointer-events: none; */ +} +.parallax-section:nth-child(3) h1{ + font-size: 40px; + text-align: center; +} +.parallax-section:nth-child(3) h3{ + font-size: 28px; + text-align: center; +} +@media (min-width: 768px){ + .parallax-section:nth-child(3) hr{ + width: 400px; + background-color: #F28B59; + } +} +@media (max-width: 768px){ + .parallax-section:nth-child(3) hr{ + width: 250px; + background-color: #F28B59; + } + +} +@media (max-width: 400px){ + #footer_address span:not(.pipe){ + display: block; + } + .pipe{ + display: none; + } +} +.businessName{ + font-weight: bold; +} +.parallax-section:nth-child(3) .overlay{ + border-top: 4px solid #00D3D1; + border-bottom: 4px solid #00D3D1; + /* border-top: 3px solid #F28B59; + border-bottom: 3px solid #F28B59; */ + background: rgba(255,255,255, .9) !important; + /* margin-top: 30px; */ +} +.parallax-section:nth-child(3){ + /* border-bottom: 4px solid #1b2650; */ */ + /* margin-top: 30px; */ +} + +/* .parallax-section:first-child::after{ + width: 100%; + height: 50px; + background-color: red; +} */ +.team-big-image{ + display: none; +} +.team-detail h3{ + text-align: center; +} +@media (min-width: 769px){ + .slick-track{ + transform: none !important; + /* width: 100% !important; */ + } +} + +.team-detail{ + float: none; + width: 100%; +} +.parallax-section:not(:first-child) h2{ + display: none; +} +.parallax-section:not(:first-child) h2 ~ .parallax-content{ + /* display: none; */ +} +@supports (-webkit-overflow-scrolling: touch) { + /* CSS specific to iOS devices */ + .parallax-section.team_template { + background-attachment: scroll !important; + } +} \ No newline at end of file diff --git a/templates/blog-masonry-wide.php b/templates/blog-masonry-wide.php deleted file mode 100644 index 6cd7942..0000000 --- a/templates/blog-masonry-wide.php +++ /dev/null @@ -1,172 +0,0 @@ - - - - -
        - - post_content)) { - $th_empty_class = " th-editor-empty"; - } ?> - -
        - - - '')); ?> - -
        - - - - - - - - - -
        - - - - - ID, 'themo_category_checkbox', true ); - - $themo_cat_arg = false; - - // Check if array is returned, if so implode, if not continue. - if(isset($themo_blog_cat_array)){ - if(is_array($themo_blog_cat_array)) { - $themo_blog_categories = implode(',', $themo_blog_cat_array); - }else{ - $themo_blog_categories = $themo_blog_cat_array; - } - - //are there any category ID's present? Continue, else do nothing. - if($themo_blog_categories > ""){ - $themo_cat_arg = "cat=".$themo_blog_categories."&"; - } - } - - query_posts($themo_cat_arg.'post_type=post&post_status=publish&paged='. $paged); ?> - -
        - -
        - -
        - - - - -
        ">
        - - -
        > - -
        - - -
        - -
        - max_num_pages > 1) : ?> - - -
        - - - - - -
        - - - - - - -
        \ No newline at end of file diff --git a/templates/blog-masonry.php b/templates/blog-masonry.php deleted file mode 100644 index e4095d1..0000000 --- a/templates/blog-masonry.php +++ /dev/null @@ -1,171 +0,0 @@ - - - -
        - - post_content)) { - $th_empty_class = " th-editor-empty"; - } ?> - -
        - - - '')); ?> - -
        - - - - - - - - - -
        - - - - - ID, 'themo_category_checkbox', true ); - - $themo_cat_arg = false; - - // Check if array is returned, if so implode, if not continue. - if(isset($themo_blog_cat_array)){ - if(is_array($themo_blog_cat_array)) { - $themo_blog_categories = implode(',', $themo_blog_cat_array); - }else{ - $themo_blog_categories = $themo_blog_cat_array; - } - - //are there any category ID's present? Continue, else do nothing. - if($themo_blog_categories > ""){ - $themo_cat_arg = "cat=".$themo_blog_categories."&"; - } - } - - query_posts($themo_cat_arg.'post_type=post&post_status=publish&paged='. $paged); ?> - -
        - -
        - -
        - - - - -
        ">
        - - -
        > - -
        - - -
        - -
        - max_num_pages > 1) : ?> - - -
        - - - - - -
        - - - - - - -
        \ No newline at end of file diff --git a/templates/blog-standard.php b/templates/blog-standard.php deleted file mode 100644 index c4e1aea..0000000 --- a/templates/blog-standard.php +++ /dev/null @@ -1,172 +0,0 @@ - - - - - -
        - - - post_content)) { - $th_empty_class = " th-editor-empty"; - } ?> - -
        - - - '')); ?> - -
        - - - - - - - - - -
        - - - - - ID, 'themo_category_checkbox', true ); - - $themo_cat_arg = false; - - // Check if array is returned, if so implode, if not continue. - if(isset($themo_blog_cat_array)){ - if(is_array($themo_blog_cat_array)) { - $themo_blog_categories = implode(',', $themo_blog_cat_array); - }else{ - $themo_blog_categories = $themo_blog_cat_array; - } - - //are there any category ID's present? Continue, else do nothing. - if($themo_blog_categories > ""){ - $themo_cat_arg = "cat=".$themo_blog_categories."&"; - } - } - - query_posts($themo_cat_arg.'post_type=post&post_status=publish&paged='. $paged); ?> - -
        - -
        - -
        - - - - - -
        > - -
        - -
        - -
        - max_num_pages > 1) : ?> - - -
        - - - - - -
        - - - - - - -
        \ No newline at end of file diff --git a/templates/comment.php b/templates/comment.php deleted file mode 100644 index 078ebc1..0000000 --- a/templates/comment.php +++ /dev/null @@ -1,17 +0,0 @@ - -
        -

        - - - comment_approved == '0') : ?> -
        - -
        - - - - -
        - $depth, 'max_depth' => $args['max_depth']))); ?> -
        \ No newline at end of file diff --git a/templates/comments.php b/templates/comments.php deleted file mode 100644 index 7058b83..0000000 --- a/templates/comments.php +++ /dev/null @@ -1,116 +0,0 @@ - -
        -

        - -
          - new Roots_Walker_Comment)); ?> -
        - - 1 && get_option('page_comments')) : ?> - - - - -
        - -
        - -
        - - - -
        -
        - -
        -
        - - - 'commentform', - 'id_submit' => 'submit', - 'title_reply' => esc_html__( 'Leave a Reply','bellevue' ), - 'title_reply_to' => esc_html__( 'Leave a Reply to %s','bellevue' ), - 'cancel_reply_link' => esc_html__( 'Cancel Reply','bellevue' ), - 'label_submit' => esc_html__( 'Submit Comment','bellevue' ), - - - 'comment_field' => '
        ', - - 'must_log_in' => '

        ' . - sprintf( - wp_kses_post(__( 'You must be logged in to post a comment.','bellevue' )), - wp_login_url( apply_filters( 'the_permalink', esc_url(get_permalink()) ) ) - ) . '

        ', - - 'logged_in_as' => '

        ' . - sprintf( - wp_kses_post(__( 'Logged in as %2$s. Log out?','bellevue' )), - admin_url( 'profile.php' ), - $user_identity, - wp_logout_url( apply_filters( 'the_permalink', esc_url(get_permalink( )) ) ) - ) . '

        ', - - 'comment_notes_before' => '

        ' . - esc_html__( 'Your email address will not be published. ','bellevue' ) . ( $req ? $required_text : '' ) . - '

        ', - - 'comment_notes_after' => '

        ' . - sprintf( - wp_kses_post(__( 'You may use these HTML tags and attributes: %s','bellevue' )), - ' ' . allowed_tags() . '' - ) . '

        ', - - 'fields' => apply_filters( 'comment_form_default_fields', array( - - 'author' => - '
        ' . - ' ' . - '
        ', - - 'email' => - '
        ' . - ' ' . - '
        ', - - 'url' => - '
        '. - '' . - '
        ', - ) - ), -); -?> - - - - - - diff --git a/templates/content-aside.php b/templates/content-aside.php deleted file mode 100644 index 96b40da..0000000 --- a/templates/content-aside.php +++ /dev/null @@ -1,10 +0,0 @@ - -
        -
        - -
        - - -
        \ No newline at end of file diff --git a/templates/content-audio.php b/templates/content-audio.php deleted file mode 100644 index c1b4a5b..0000000 --- a/templates/content-audio.php +++ /dev/null @@ -1,47 +0,0 @@ - ""){ - $embed_code = wp_oembed_get($audio_embed, array('width'=>328)); -}elseif($audio_shortcode > ""){ - $embed_code = do_shortcode($audio_shortcode); -} -?> -
        - ""){ ?> -
        - -
        - - -

        - - - ', ']]>', $content ); - if($content != ""){ ?> -
        - -
        - ', ']]>', $excerpt ); - if($excerpt != ""){ ?> -
        - -
        - - -
        diff --git a/templates/content-gallery.php b/templates/content-gallery.php deleted file mode 100644 index cb29ba1..0000000 --- a/templates/content-gallery.php +++ /dev/null @@ -1,44 +0,0 @@ - ""){ - $gallery_shortcode = str_replace("[gallery","[slider_gallery image_size='th_img_xxl' ",$gallery_shortcode); - $embed_code = do_shortcode($gallery_shortcode); -}else{ - $embed_code = ""; -} -?> - ""){ ?> - - -
        - -

        - - - ', ']]>', $content ); - if($content != ""){ ?> -
        - -
        - ', ']]>', $excerpt ); - if($excerpt != ""){ ?> -
        - -
        - - -
        diff --git a/templates/content-image.php b/templates/content-image.php deleted file mode 100644 index 4c94c6a..0000000 --- a/templates/content-image.php +++ /dev/null @@ -1,49 +0,0 @@ - "img-responsive",); ?> - - - - '; - }else{ - echo ''; - } - - the_post_thumbnail($image_size,$featured_img_attr); - echo ''; - ?> - -'; - echo ''; - echo ''; - } - -} ?> -
        - - ', ']]>', $content ); - if($content != ""){ ?> -
        - -
        - - - -
        diff --git a/templates/content-link.php b/templates/content-link.php deleted file mode 100644 index 075c272..0000000 --- a/templates/content-link.php +++ /dev/null @@ -1,43 +0,0 @@ - "") - $link_target_markup = "target='".$link_target[0]."'"; -}else { - $link_target_markup = ""; -} -?> - -
        - - - - - - -
        diff --git a/templates/content-page.php b/templates/content-page.php deleted file mode 100644 index e949327..0000000 --- a/templates/content-page.php +++ /dev/null @@ -1,8 +0,0 @@ -
        - - - '')); - }?> - -
        \ No newline at end of file diff --git a/templates/content-quote.php b/templates/content-quote.php deleted file mode 100644 index f99fccf..0000000 --- a/templates/content-quote.php +++ /dev/null @@ -1,28 +0,0 @@ - -
        - ""){ - echo '
        '; - echo '

        '.esc_attr($quote).'

        '; - echo '
        '; - if($quote_source_name > ""){ - echo esc_attr($quote_source_name); - } - if($quote_source_title > "") { - echo ', ' . esc_attr($quote_source_title) . ''; - } - echo '
        '; - echo '
        '; - }else{ - $content = apply_filters( 'the_content', get_the_content() ); - $content = str_replace( ']]>', ']]>', $content ); - if($content != ""){ - echo wp_kses_post( $content ); - } - } ?> - -
        diff --git a/templates/content-roots.php b/templates/content-roots.php deleted file mode 100644 index 4c5a1a7..0000000 --- a/templates/content-roots.php +++ /dev/null @@ -1,9 +0,0 @@ -
        > -
        -

        - -
        -
        - -
        -
        \ No newline at end of file diff --git a/templates/content-single.php b/templates/content-single.php deleted file mode 100644 index a128f6e..0000000 --- a/templates/content-single.php +++ /dev/null @@ -1,22 +0,0 @@ - -
        > -
        - -
        - - - -
        - -

        - -
        -
        - -
        -
        - '')); ?> -
        -
        - - diff --git a/templates/content-video.php b/templates/content-video.php deleted file mode 100644 index a6493b8..0000000 --- a/templates/content-video.php +++ /dev/null @@ -1,57 +0,0 @@ - ""){ - $embed_code = wp_oembed_get($video_embed); - $video_container_class = "video-container"; -}elseif($video_shortcode > "" && strpos($video_shortcode, '[embed]') !== FALSE){ - global $wp_embed; - $embed_code = $wp_embed->run_shortcode($video_shortcode); - $embed_code = do_shortcode($embed_code); - $video_container_class = "video-container"; -} -elseif($video_shortcode > ""){ - $embed_code = do_shortcode($video_shortcode); - $video_container_class = "wp-hosted-video"; -} -?> - - ""){ ?> -
        - -
        - -
        - -

        - - - ', ']]>', $content ); - if($content != ""){ ?> -
        - -
        - ', ']]>', $excerpt ); - if($excerpt != ""){ ?> -
        - -
        - - -
        diff --git a/templates/content.php b/templates/content.php deleted file mode 100644 index 781fbd9..0000000 --- a/templates/content.php +++ /dev/null @@ -1,50 +0,0 @@ - "img-responsive",); ?> - - - - - - - - -
        - - ""){ - $th_post_title = esc_html__( '(no title)', 'bellevue' ); - } - ?> -

        - - - ', ']]>', $content ); - if($content != ""){ ?> -
        - -
        - ', ']]>', $excerpt ); - if($excerpt != ""){ ?> -
        - -
        - - -
        diff --git a/templates/entry-meta-footer-masonry.php b/templates/entry-meta-footer-masonry.php deleted file mode 100644 index 32eb535..0000000 --- a/templates/entry-meta-footer-masonry.php +++ /dev/null @@ -1,5 +0,0 @@ -
        - - - -
        \ No newline at end of file diff --git a/templates/entry-meta-footer.php b/templates/entry-meta-footer.php deleted file mode 100644 index 3047d89..0000000 --- a/templates/entry-meta-footer.php +++ /dev/null @@ -1,7 +0,0 @@ -Tags: ', ', ', '
        ' ); ?> - - '')); -} -?> \ No newline at end of file diff --git a/templates/entry-meta-masonry.php b/templates/entry-meta-masonry.php deleted file mode 100644 index 6d9be45..0000000 --- a/templates/entry-meta-masonry.php +++ /dev/null @@ -1,18 +0,0 @@ - 1 ) { - $comments = $num_comments . esc_html__(' Comments', 'bellevue'); - } else { - $comments = esc_html__('1 Comment', 'bellevue'); - } - $write_comments = '| '. $comments.''; -} -?> - diff --git a/templates/entry-meta.php b/templates/entry-meta.php deleted file mode 100644 index 0de813d..0000000 --- a/templates/entry-meta.php +++ /dev/null @@ -1,26 +0,0 @@ - 1 ) { - $comments = $num_comments . esc_html__(' Comments', 'bellevue'); - } else { - $comments = esc_html__('1 Comment', 'bellevue'); - } - $write_comments = '| '. $comments.''; -} -$title = get_the_title(); -$perma = get_permalink(); -$link_the_date_open = false; -$link_the_date_close = false; - -if(!$title > '' && $perma > ""){ - $link_the_date_open = ''; - $link_the_date_close = ''; -} - -?> - diff --git a/templates/footer.php b/templates/footer.php deleted file mode 100644 index 43b050e..0000000 --- a/templates/footer.php +++ /dev/null @@ -1,104 +0,0 @@ - ""){ - $themo_footer_copyright_output = "".$themo_footer_copyright.""; - } - - /* Footer Credit */ - $themo_footer_credit = get_theme_mod( 'themo_footer_credit' ); // Get Google Analytics Tracking Code - $themo_footer_credit_output = ""; - $themo_footer_spacer = ""; - if ($themo_footer_credit > ""){ - $themo_footer_credit_output = "".$themo_footer_credit.""; - - } - - $themo_footer_spacer = false; - if ($themo_footer_copyright > "" && $themo_footer_credit > ""){ - $themo_footer_spacer = " - "; - } - - - /* Themovation Theme Options */ - if ( function_exists( 'get_theme_mod' ) ) { - /* Footer Columns */ - $themo_footer_columns = get_theme_mod( 'themo_footer_columns', 2 ); - $bootstrap_footer_column_class = ''; // Bootstrap 3 grid column size - switch ($themo_footer_columns) { - case 1: - $bootstrap_footer_column_class = "col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2"; - break; - case 2: - $bootstrap_footer_column_class = "col-sm-6"; - break; - case 3: - $bootstrap_footer_column_class = "col-md-4 col-sm-6"; - break; - case 4: - $bootstrap_footer_column_class = "col-md-3 col-sm-6"; - break; - } - } - - -} -/* END Theme Options */ -?> - -
        - -
        -
        - - - -
        - -
        - - - \ No newline at end of file diff --git a/templates/head.php b/templates/head.php deleted file mode 100644 index 285bf59..0000000 --- a/templates/head.php +++ /dev/null @@ -1,11 +0,0 @@ - - - - - > - - - - - - diff --git a/templates/header-top-navbar.php b/templates/header-top-navbar.php deleted file mode 100644 index 5e825b6..0000000 --- a/templates/header-top-navbar.php +++ /dev/null @@ -1,358 +0,0 @@ - 0) { - $postID = $shop_page_id; -}elseif(isset($woo_global_header_settings) && $woo_global_header_settings){ - $postID = ""; -}elseif(isset($post->ID )&& $post->ID > ""){ - $postID = $post->ID; -}else{ - $postID = ""; -} - - -if ( function_exists( 'get_theme_mod' ) ) { - - // Transparent Header? - $transparent_header = 'off'; - $transparent_header = get_post_meta($postID, 'themo_transparent_header', true ); - - // Dark header contents on? - // returns dark or light - $th_dark_header_content = 'light'; - $th_dark_header_content = get_post_meta($postID, 'themo_header_content_style', true ); - - // Alt Logo enabled? - $th_alt_logo = false; - $th_alt_logo = get_post_meta($postID, 'themo_alt_logo', true ); - - $header_dark_style_class = false; - if($transparent_header == "on" && $th_dark_header_content == 'dark'){ - $header_dark_style_class = 'th-dark-tr'; - } - - // enable Transparent Header if it's enabled on the page. - - // check for light / dark style header. - // Alternative logo for Transparent Header Enabled? - $header_style = get_theme_mod( 'themo_header_style', 'dark' ); - - $header_dark_style = false; - if(isset($header_style) && $header_style == 'dark'){ - $header_dark_style = true; - } - - // Is transparent and dark option enabled? - - if(isset($header_dark_style) && $header_dark_style ){ - $header_dark_style_class .= ' dark-header'; - } - - - - // Page Header? - /* - $page_header = 'on'; - $page_header = get_post_meta($postID, 'themo_page_header', true); - */ - - $th_hide_title = 'off'; - $th_hide_title = get_post_meta($postID, 'themo_hide_title', true); - - /* - * Enable transparent header / nav if: - * - It's enabled on the page settings - * - default page header is off - * - not archive - */ - - // TODO RL - // Need some checks in here, make sure that the Array is set before updating. - - $th_is_product_single = false; - if (function_exists('is_product')) { - if(is_product()){ - $th_is_product_single = true; - }else{ - $th_is_product_single = false; - } - } - - //if(!is_archive() && isset($transparent_header) && !empty( $transparent_header ) && $transparent_header == 'on' && $th_hide_title == 'on') - if(!is_archive() && isset($transparent_header) && !empty( $transparent_header ) && $transparent_header == 'on' && !is_singular('post') && !$th_is_product_single) - { - $transparency = true; - $transparent_header = 'data-transparent-header="true"'; - }else{ - $transparency = false; - $transparent_header = ''; - } - - // Alternative logo for Transparent Header Enabled? - // Alternative logo for Transparent Header Enabled?d - $transparent_logo_enabled = get_theme_mod( 'themo_logo_transparent_header_enable', false ); - - // To support for transparent header we want to keep a copy of the main logo, and use it when user scrolls (sticky header). - $logo_main = get_theme_mod( 'themo_logo'); - $logo_height_theme_options = get_theme_mod( 'themo_logo_height', 100 ); - - add_image_size('themo-logo', 9999, $logo_height_theme_options); // TODO - Find a better plcae for this. Perhaps a wp cusomizer hook on each refresh / control update. - - - - - if(!$logo_main > ""){ - // If we are using the dark header, then default to white logo. - if(isset($header_dark_style) && $header_dark_style ){ - $logo_main = get_template_directory_uri() . '/assets/images/logo_white.png'; - $logo_main_retina = get_template_directory_uri() . '/assets/images/logo_white@2x.png'; - }else{ - $logo_main = get_template_directory_uri() . '/assets/images/logo.png' ; - $logo_main_retina = get_template_directory_uri() . '/assets/images/logo@2x.png'; - } - }else{ - $logo_main_retina = ""; - } - - // If transparent logo is enabled and transparency enabled, then replace logo. - if($transparency && $transparent_logo_enabled ){ - $logo = get_theme_mod( 'themo_logo_transparent_header' ); - if(!$logo > ""){ - $logo = get_template_directory_uri() . '/assets/images/logo_white.png'; - $logo_retina = get_template_directory_uri() . '/assets/images/logo_white@2x.png'; - }else{ - $logo_retina = ""; - } - }else{ - $logo = $logo_main; - $logo_retina = $logo_main_retina; - } - - - /*----------------------------------------------------- - Logo & Retina Logo - -----------------------------------------------------*/ - - $id = themo_custom_get_attachment_id( $logo ); - - // If this is a WordPress Attachment then get src, height, width and retina version too. - if($id > 0){ - $image_attributes = wp_get_attachment_image_src( $id, 'themo-logo' ); // ADD logo image size when ready. eg. wp_get_attachment_image_src( $id, 'image-size' ); - list($logo_retina, $logo_retina_height, $logo_retina_width) = themo_return_retina_logo($id); - } - - if(isset($image_attributes) && !empty( $image_attributes ) ) - { - $logo_src = esc_url($image_attributes[0]); - $logo_height = " height='".sanitize_text_field($image_attributes[2])."'"; - $logo_width = " width='".sanitize_text_field($image_attributes[1])."'"; - - $logo_retina_src = "src='".$logo_retina."'"; - $logo_retina_height = " height='".sanitize_text_field($logo_retina_height)."'"; - $logo_retina_width = " width='".sanitize_text_field($logo_retina_width)."'"; - - }else{ - $logo_src = esc_url($logo); - $logo_height = ""; - $logo_width = ""; - - if($logo_retina > ""){ - $logo_retina_src = "src='".esc_url($logo_retina)."'"; - $logo_retina_height = ""; - $logo_retina_width = ""; - } - } - - $id_main = themo_custom_get_attachment_id( $logo_main ); - - if($id_main > 0){ - $image_attributes_main = wp_get_attachment_image_src( $id_main, 'themo-logo' ); // ADD logo image size when ready. eg. wp_get_attachment_image_src( $id, 'image-size' ); - list($logo_main_retina, $logo_main_retina_height, $logo_main_retina_width) = themo_return_retina_logo($id_main); - } - - if(isset($image_attributes_main) && !empty( $image_attributes_main ) ) - { - $logo_src_main = $image_attributes_main[0]; - $logo_height_main = " height='".sanitize_text_field($image_attributes_main[2])."'"; - $logo_width_main = "width='".sanitize_text_field($image_attributes_main[1])."'"; - - $logo_main_retina_src = "src='".esc_url($logo_main_retina)."'"; - $logo_main_retina_height = " height='".sanitize_text_field($logo_main_retina_height)."'"; - $logo_main_retina_width = " width='".sanitize_text_field($logo_main_retina_width)."'"; - }else{ - $logo_src_main = $logo_main; - $logo_height_main = ""; - $logo_width_main = ""; - - if($logo_main_retina > ""){ - $logo_main_retina_src = "src='".esc_url($logo_main_retina)."'"; - $logo_main_retina_height = ""; - $logo_main_retina_width = ""; - } - } - -} -?> - - diff --git a/templates/header.php b/templates/header.php deleted file mode 100644 index b4a7a2d..0000000 --- a/templates/header.php +++ /dev/null @@ -1,14 +0,0 @@ - \ No newline at end of file diff --git a/templates/page-header-default.php b/templates/page-header-default.php deleted file mode 100644 index a5302bf..0000000 --- a/templates/page-header-default.php +++ /dev/null @@ -1,45 +0,0 @@ - - -'; -$page_subheader_default_show = true; // Show subheader by default -?> - - -
        -
        -
        ""){echo 'id="'.esc_attr($key).'"';} ?> class=""> - ""){ - $th_post_title = esc_html__( '(no title)', 'bellevue' ); - } - ?> - " . esc_html($th_post_title) . "";?> -
        -
        -
        - - - - diff --git a/templates/page-header.php b/templates/page-header.php deleted file mode 100644 index bd43c59..0000000 --- a/templates/page-header.php +++ /dev/null @@ -1,29 +0,0 @@ -ID; - -// Support for Woo Pages. -// Sometimes the page id isn't explicit so we have to go and look for it. -$themo_woo_page_ID = themo_return_woo_page_ID(); -if($themo_woo_page_ID){ - $themo_page_ID = $themo_woo_page_ID; -} - -$th_hide_title = 'off'; -$th_hide_title = get_post_meta($themo_page_ID, 'themo_hide_title', true); - -if($th_hide_title == 'off' || $th_hide_title !== 'on'){ - // Check post type and skip product post types - $post_type = get_post_type( $themo_page_ID ); - if(isset($post_type) && $post_type == 'product'){ - // Do nothing - }else{ ?> -

        - ID) && $post->ID > ""){ - $themo_page_ID = $post->ID; // Default Page ID -} - -// WOO Support -if(th_is_woocommerce_activated()) { -// Support for Woo Pages. -// Sometimes the page id isn't explicit so we have to go and look for it. - if (is_shop()) { - $shop_page_id = wc_get_page_id('shop'); - } - if (is_product_category() || is_product_tag() || is_product_taxonomy()) { - $woo_global_header_settings = true; - } -} - -/* PAGE LAYOUT */ -if(isset($woo_global_header_settings) && $woo_global_header_settings){ - $key = 'themo_default_layout'; - $page_layout = get_theme_mod( 'themo_woo_sidebar', 'full' ); -}elseif(isset($shop_page_id) && $shop_page_id > 0){ - $page_layout = get_post_meta($shop_page_id, 'themo_page_layout', true ); // Returns Page layout Meta Option. Gonna be left, right or full. -}elseif((isset($key)) && ($key > "")){ - $page_layout = get_theme_mod( $key.'_sidebar', 'full' ); -}elseif ( isset($themo_page_ID) && $themo_page_ID > "" ) { - $page_layout = get_post_meta($themo_page_ID, 'themo_page_layout', true ); // Returns Page layout Meta Option. Gonna be left, right or full. -}else{ - $key = 'themo_default_layout'; - $page_layout = get_theme_mod( 'themo_default_layout_sidebar', 'full' ); -} -$has_sidebar = themo_has_sidebar($page_layout); // true if sidebar active - -/* -Full width / Sidebar Markup -If sidebar is active, add container and row classes just below .inner-content only. -For full width add container and row to templates parts only. -*/ -// Outer Tags output just after "inner-container" class (includes open and close tags) -$outer_container_open = themo_return_outer_tag("
        ",$has_sidebar); -$outer_row_open = themo_return_outer_tag("
        ",$has_sidebar); - -$outer_container_close = themo_return_outer_tag("
        ",$has_sidebar); -$outer_row_close = themo_return_outer_tag("
        ",$has_sidebar); - -// Inner tags output inside template parts (includes open and close tags) -$inner_container_open = themo_return_inner_tag("
        ",$has_sidebar); - -$inner_row_open = themo_return_inner_tag("
        ",$has_sidebar); - -$inner_container_close = themo_return_inner_tag("
        ",$has_sidebar); -$inner_row_close = themo_return_inner_tag("
        ",$has_sidebar); - -// Main Class for sidebar support. -if($page_layout == 'right'){ - $sidebar_push_pull = ''; -}elseif($page_layout == 'left'){ - $sidebar_push_pull = 'col-sm-push-4'; -}else{ - $sidebar_push_pull = ''; -} - -$main_class_open = themo_return_outer_tag('
        ',$has_sidebar); -$main_class_close = themo_return_outer_tag('
        ',$has_sidebar); \ No newline at end of file diff --git a/templates/page.php b/templates/page.php deleted file mode 100644 index e69de29..0000000 diff --git a/templates/room.php b/templates/room.php deleted file mode 100644 index 76c8adf..0000000 --- a/templates/room.php +++ /dev/null @@ -1,75 +0,0 @@ -ID)){ - $postID = $post->ID; -}else{ - $postID = get_the_ID(); -} - -// Get Project Format Options -$project_thumb_alt_img = get_post_meta( get_the_ID(), 'themo_project_thumb', false); - -$alt_text = false; -$img_src = false; -if (isset($project_thumb_alt_img[0]) && $project_thumb_alt_img[0] > "") { - $img_src = themo_return_metabox_image($project_thumb_alt_img[0], null, "themo_portfolio_standard", true, $alt); - $img_src = esc_url($img_src); - $alt_text = esc_attr($alt); -} - -//----------------------------------------------------- -// Single Output -//----------------------------------------------------- -if(is_single()){ ?> -
        - - - -
        -'; - if(isset($img_src) && $img_src > ""){ - echo ''.esc_html($alt_text).''; - }else{ - if ( has_post_thumbnail() ) { - $featured_img_attr = array('class' => "img-responsive port-img"); - echo wp_kses_post(get_the_post_thumbnail($postID,$image_size,$featured_img_attr)); - } - } - - echo '
        '; - echo '
        '; - echo '
        '; - echo '

        '.get_the_title().'

        '; - if($automatic_post_excerpts === 'off'){ - $content = apply_filters( 'the_content', get_the_content() ); - $content = str_replace( ']]>', ']]>', $content ); - if($content != ""){ - echo '

        '.wp_kses_post($content).'

        '; - } - }else{ - $excerpt = apply_filters( 'the_excerpt', get_the_excerpt() ); - $excerpt = str_replace( ']]>', ']]>', $excerpt ); - $excerpt = str_replace(''; - if(isset($orderby_menu)){ - echo ''; - }else{ - echo ''; - } - - echo '
        '; - echo '
        '; -} diff --git a/templates/searchform.php b/templates/searchform.php deleted file mode 100644 index 2ed8ddc..0000000 --- a/templates/searchform.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/templates/sidebar.php b/templates/sidebar.php deleted file mode 100644 index e0632ca..0000000 --- a/templates/sidebar.php +++ /dev/null @@ -1,15 +0,0 @@ - - - - \ No newline at end of file diff --git a/templates/tour-image.php b/templates/tour-image.php deleted file mode 100644 index fe5312d..0000000 --- a/templates/tour-image.php +++ /dev/null @@ -1,105 +0,0 @@ -ID, 'themo_project_lightbox', false); -$project_thumb_alt_img = get_post_meta( $post->ID, 'themo_project_thumb', false); - -//print_r($project_thumb_alt_img); - -if (isset($project_thumb_alt_img[0]) && is_array($project_thumb_alt_img[0]) > "") { - $img_src = themo_return_metabox_image($project_thumb_alt_img[0], null, "themo_portfolio_standard", true, $alt); - $img_src = esc_url($img_src); - $alt_text = esc_attr($alt); -} - -$show_lightbox = false; -if(isset($enable_lightbox) && is_array($enable_lightbox)){ - $enable_lightbox = $enable_lightbox[0][0]; - if($enable_lightbox) { - $show_lightbox = true; - } -} - -$href = ""; -$href_close = ""; -$href_lightbox = ""; - -// Pre lightbox link -$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'th_img_xl'); -$elementor_global_image_lightbox = get_option('elementor_global_image_lightbox'); -if (!empty($elementor_global_image_lightbox) && $elementor_global_image_lightbox == 'yes') { - $href_lightbox = ''; -}else{ - $href_lightbox = ''; -} - - -// Standard link -$href = ''; -$href_close = ''; - -//----------------------------------------------------- -// Single Output -//----------------------------------------------------- -if(is_single()){ ?> -
        - - - -
        -'; - if(isset($img_src) && $img_src > ""){ - echo ''.esc_attr($alt_text).''; - }else{ - if ( has_post_thumbnail() ) { - $featured_img_attr = array('class' => "img-responsive port-img"); - echo wp_kses_post(get_the_post_thumbnail($post->ID,$image_size,$featured_img_attr)); - } - } - - echo '
        '; - echo '
        '; - echo '
        '; - echo '

        '.get_the_title().'

        '; - if($automatic_post_excerpts === 'off'){ - $content = apply_filters( 'the_content', get_the_content() ); - $content = str_replace( ']]>', ']]>', $content ); - if($content != ""){ - echo '

        '.wp_kses_post($content).'

        '; - } - }else{ - $excerpt = apply_filters( 'the_excerpt', get_the_excerpt() ); - $excerpt = str_replace( ']]>', ']]>', $excerpt ); - $excerpt = str_replace(''; - // See if Lightbox is enabled. - if($show_lightbox){ - - $href = $href_lightbox; - $href = str_replace(''; - }else{ - echo ''; - } - } - echo '
        '; - echo '
        '; -} diff --git a/templates/tour-link.php b/templates/tour-link.php deleted file mode 100644 index d8949d1..0000000 --- a/templates/tour-link.php +++ /dev/null @@ -1,92 +0,0 @@ -ID, '_format_link_url', true); -$link_title = get_post_meta( $post->ID, '_format_link_title', true); -$link_target = get_post_meta( $post->ID, '_format_link_target'); -$link_direct = get_post_meta( $post->ID, '_format_skip_single_link', false); - -// Link to single -if(isset($link_direct) && is_array($link_direct)){ - $link_direct = $link_direct[0]; -} - -// Link Target -if(isset($link_target) && is_array($link_target)){ - if($link_target[0] > "") - $link_target_markup = "target='".$link_target[0]."'"; -}else { - $link_target_markup = ""; -} -// Custom Title -if(!$link_title > "") { - $link_title=get_the_title(); -} -// href mark up -$href = ""; -$href_close = ""; - -if ($link_url > ""){ - $href = ""; - $href_close = ""; -} - -//----------------------------------------------------- -// Single Output -//----------------------------------------------------- -if(is_single()){ ?> -
        - - - -
        - "img-responsive port-img"); - } - echo '
        '; - echo wp_kses_post(get_the_post_thumbnail($post->ID,$image_size,$featured_img_attr)); - echo '
        '; - echo '
        '; - echo '
        '; - echo '

        '.esc_html($link_title).'

        '; - if($automatic_post_excerpts === 'off'){ - $content = apply_filters( 'the_content', get_the_content() ); - $content = str_replace( ']]>', ']]>', $content ); - if($content != ""){ - echo '

        '.wp_kses_post($content).'

        '; - } - }else{ - $excerpt = apply_filters( 'the_excerpt', get_the_excerpt() ); - $excerpt = str_replace( ']]>', ']]>', $excerpt ); - $excerpt = str_replace(''; - if(!$link_direct){ - if(isset($orderby_menu)){ - echo ''; - }else{ - echo ''; - } - }else{ - echo ''; - } - echo '
        '; - echo '
        '; -} diff --git a/tribe-events/default-template.php b/tribe-events/default-template.php deleted file mode 100644 index a042d18..0000000 --- a/tribe-events/default-template.php +++ /dev/null @@ -1,90 +0,0 @@ - Settings -> Template -> Events Template. - * - * Override this template in your own theme by creating a file at [your-theme]/tribe-events/default-template.php - * - * @package TribeEventsCalendar - * - */ - -if ( ! defined( 'ABSPATH' ) ) { - die( '-1' ); -} -?> - - - -
        - - - - - - - - -
        > - - - - -
        -
        -
        - - - -
        -
        -
        - - - -
        - - - - - - -
        \ No newline at end of file diff --git a/welcome/css/no.png b/welcome/css/no.png new file mode 100644 index 0000000..fe3dea6 Binary files /dev/null and b/welcome/css/no.png differ diff --git a/welcome/css/welcome.css b/welcome/css/welcome.css new file mode 100644 index 0000000..c895909 --- /dev/null +++ b/welcome/css/welcome.css @@ -0,0 +1,248 @@ +/** + * + * Welcome Page Styles + * +**/ + +.clearfix:after, +.clearfix:before{ + content: ""; + display: table; +} + +.clearfix:after{ + clear: both; +} + +.welcome-section-wrapper *{ + box-sizing: border-box; +} + +.about-wrap .accesspress-badge{ + background: url(wlogo.png) center 20px no-repeat #0073aa; + text-decoration: none; + background-size: 70%; + padding-top: 130px; + color: #FFF; +} + +.theme-steps-list{ + width: 40%; + float: left; +} + +.theme-image{ + width: 55%; + float: right; +} + +.theme-steps{ + margin-bottom: 60px; +} + +.welcome-section-wrapper { + padding: 50px 0; +} + +.recomended-plugin-wrap{ + margin-left: -4%; +} + +.recom-plugin-wrap{ + background: #fff; + border: 1px solid #ddd; + width: 29.33%; + float: left; + margin-left: 4%; + margin-bottom: 50px; +} + +.plugin-img-wrap{ + margin-top: 0; + text-align: center; +} + +.plugin-img-wrap img{ + border: 0; + padding: 12% 12% 0; +} + +.version-author-info { + padding: 15px 0; + font-size: 13px; + font-style: italic; +} + +.plugin-title-install { + position: relative; + font-size: 14px; + font-weight: 600; + margin: 0; + line-height: 26px; + padding: 10px 15px; + -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.1); + box-shadow: inset 0 1px 0 rgba(0,0,0,.1); + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + background: #fff; + background: rgba(255,255,255,.65); +} + +.plugin-btn-wrapper{ + -webkit-transition: opacity .1s ease-in-out; + transition: opacity .1s ease-in-out; + position: absolute; + top: 0; + bottom: 0; + right: 0; + height: 46px; + padding: 10px 20px; + background: rgba(244,244,244,.7); + border-left: 1px solid rgba(0,0,0,.05); +} + +.action-tab { + padding-left: 40px; + border-left: 4px solid #fff; + background: #fff; + padding-top: 35px; + padding-bottom: 35px; + margin-bottom: 30px; + box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); +} + +.action-tab.warning { + border-color: #eba300; +} + +.action-tab.success { + border-color: #00b9eb; +} + +.action-tab h3{ + margin-top: 0; +} + +.pending-tasks { + display: inline-block; + background-color: #d54e21; + color: #fff; + font-size: 9px; + line-height: 17px; + font-weight: 600; + margin: 1px 0 0 2px; + vertical-align: top; + -webkit-border-radius: 10px; + border-radius: 10px; + z-index: 26; + padding: 0 6px; + margin-left: 5px; +} + +.support-process{ + border: 1px solid #DDD; + padding: 30px; + margin-bottom: 40px; +} + +.support-process h3{ + margin-top: 0; +} + +.recommended_plugins .recomplug-title { + font-size: 20px; + margin-top: 0; +} + +table.comparison-table { + background:#F6F6F6; + border:#ccc 1px solid; + width: 100%; + border-collapse: collapse; + border-radius: 3px; +} + +table.comparison-table th, +table.comparison-table td{ + border:1px solid #CCC; + padding: 15px; + text-align: left; +} + +table.comparison-table th:nth-child(2), +table.comparison-table td:nth-child(2), +table.comparison-table th:nth-child(3), +table.comparison-table td:nth-child(3){ + text-align: center; +} + +table.comparison-table th { + background: #ededed; + font-size: 20px; + padding: 25px 15px; +} + + +table.comparison-table th p:last-child, +table.comparison-table td p:last-child{ + margin-bottom: 0; +} + +table.comparison-table td span{ + font-weight: bold; +} + +table.comparison-table tr:hover{ + background: #EEE; +} + +a.buy-pro-btn { + display: block; + background: #b92424; + color: #fff; + text-decoration: none; + padding: 15px 20px; + border-radius: 5px; + text-align: center; +} + +a.buy-pro-btn:hover{ + background: #981f1f +} + +.about-wrap .three-col .support-process.col:last-child{ + background: #0073aa; + color: #FFF; +} + +.about-wrap .three-col .support-process.col:last-child h3{ + color: #FFF; +} + +.about-wrap .three-col .support-process.col:last-child{ + background: #0073aa; + color: #FFF; +} + +.about-wrap .three-col .support-process.col:last-child h3{ + color: #FFF; +} + +.free_vs_pro .three-col h4{ + font-weight: bold; +} + +.free_vs_pro .three-col{ + margin-bottom: 30px; +} + +.free_vs_pro .three-col .col{ + border: 5px solid #E0E0E0; + padding: 15px 30px; + text-align: center; +} + +.free_vs_pro .three-col .col:hover{ + background: #EEE; +} \ No newline at end of file diff --git a/welcome/css/wlogo.png b/welcome/css/wlogo.png new file mode 100644 index 0000000..50273d5 Binary files /dev/null and b/welcome/css/wlogo.png differ diff --git a/welcome/css/yes.png b/welcome/css/yes.png new file mode 100644 index 0000000..bf13317 Binary files /dev/null and b/welcome/css/yes.png differ diff --git a/welcome/js/welcome.js b/welcome/js/welcome.js new file mode 100644 index 0000000..46d7acd --- /dev/null +++ b/welcome/js/welcome.js @@ -0,0 +1,156 @@ +/** + * + * Welcome Page Scripts + * + */ +jQuery(document).ready(function ($) { + + /** Ajax Plugin Installation **/ + $(".plugin-btn-wrapper .install").on('click', function (e) { + e.preventDefault(); + var el = $(this); + + is_loading = true; + el.addClass('installing'); + var plugin = $(el).attr('data-slug'); + var plugin_file = $(el).attr('data-file'); + var ajaxurl = accesspressparallaxWelcomeObject.ajaxurl; + + $.ajax({ + type: 'POST', + url: ajaxurl, + data: { + action: 'accesspressparallax_plugin_installer', + plugin: plugin, + plugin_file: plugin_file, + nonce: accesspressparallaxWelcomeObject.admin_nonce, + }, + success: function(response) { + + if(response == 'success'){ + + el.attr('class', 'installed button'); + el.html(accesspressparallaxWelcomeObject.installed_btn); + + } + + el.removeClass('installing'); + is_loading = false; + location.reload(); + }, + error: function(xhr, status, error) { + console.log(status); + el.removeClass('installing'); + is_loading = false; + } + }); + }); + + /** Ajax Plugin Installation (Offlines) **/ + $('.install-offline').on('click', function (e) { + e.preventDefault(); + var el = $(this); + + is_loading = true; + el.addClass('installing'); + + var file_location = el.attr('href'); + var github = $(el).attr('data-github'); + var slug = $(el).attr('data-slug'); + var file = el.attr('data-file'); + $.ajax({ + type: 'POST', + url: ajaxurl, + data: { + action: 'accesspressparallax_plugin_offline_installer', + file_location: file_location, + file: file, + slug: slug, + github: github, + dataType: 'json' + }, + success: function(response) { + + if(response == 'success'){ + + el.attr('class', 'installed button'); + el.html(accesspressparallaxWelcomeObject.installed_btn); + + } + + is_loading = false; + location.reload(); + }, + error: function(xhr, status, error) { + el.removeClass('installing'); + is_loading = false; + } + }); + }); + + /** Ajax Plugin Activation **/ + $(".activate").on('click', function (e) { + + var el = $(this); + var plugin = $(el).attr('data-slug'); + + var ajaxurl = accesspressparallaxWelcomeObject.ajaxurl; + + + $.ajax({ + type: 'POST', + url: ajaxurl, + data: { + action: 'accesspressparallax_plugin_activation', + plugin: plugin, + nonce: accesspressparallaxWelcomeObject.activate_nonce, + dataType: 'json' + }, + success: function(response) { + if(response){ + if(response.status === 'success'){ + el.attr('class', 'installed button'); + el.html(accesspressparallaxWelcomeObject.installed_btn); + } + } + is_loading = false; + location.reload(); + }, + error: function(xhr, status, error) { + console.log(status); + is_loading = false; + } + }); + }); + + /** Ajax Plugin Activation Offline **/ + $('.activate-offline').on('click', function (e) { + e.preventDefault(); + + var el = $(this); + var plugin = $(el).attr('data-slug'); + + $.ajax({ + type: 'POST', + url: ajaxurl, + data: { + action: 'accesspressparallax_plugin_offline_activation', + plugin: plugin, + nonce: accesspressparallaxWelcomeObject.activate_nonce, + dataType: 'json' + }, + success: function(response) { + if(response){ + el.attr('class', 'installed button'); + el.html(accesspressparallaxWelcomeObject.installed_btn); + } + is_loading = false; + location.reload(); + }, + error: function(xhr, status, error) { + console.log(status); + is_loading = false; + } + }); + }); +}); \ No newline at end of file diff --git a/welcome/sections/free_vs_pro.php b/welcome/sections/free_vs_pro.php new file mode 100644 index 0000000..52e7313 --- /dev/null +++ b/welcome/sections/free_vs_pro.php @@ -0,0 +1,272 @@ +
        +
        +

        +

        +
        + +
        +

        +

        +
        + +
        +

        +

        +
        +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + + + +
        + +

        +
        + +
        \ No newline at end of file diff --git a/welcome/sections/getting_started.php b/welcome/sections/getting_started.php new file mode 100644 index 0000000..c53178c --- /dev/null +++ b/welcome/sections/getting_started.php @@ -0,0 +1,19 @@ +
        + +
        +

        +

        + +
        + +
        +

        +

        + +
        + +
        + +
        + +
        \ No newline at end of file diff --git a/welcome/sections/recommended_plugins.php b/welcome/sections/recommended_plugins.php new file mode 100644 index 0000000..5c77eee --- /dev/null +++ b/welcome/sections/recommended_plugins.php @@ -0,0 +1,120 @@ +free_plugins; + $pro_plugins = $this->pro_plugins; + + if(!empty($pro_plugins)) { + ?> +

        +

        +
        + accesspressparallax_plugin_active($plugin); + $icon_url = $plugin['screenshot']; + switch($status) { + case 'install' : + $btn_class = 'install-offline button'; + $label = esc_html__('Install and Activate', 'accesspress-parallax'); + $link = $plugin['location']; + break; + + case 'inactive' : + $btn_class = 'button'; + $label = esc_html__('Deactivate', 'accesspress-parallax'); + $link = admin_url('plugins.php'); + break; + + case 'active' : + $btn_class = 'activate-offline button button-primary'; + $label = esc_html__('Activate', 'accesspress-parallax'); + $link = $plugin['location']; + break; + } + + ?> +
        +
        + +
        + + | + +
        +
        +
        + + + + + + + +
        +
        + +
        + +

        +

        +
        + accesspressparallax_call_plugin_api($plugin['slug']); + + $icon_url = $this->accesspressparallax_check_for_icon($info->icons); + $status = $this->accesspressparallax_plugin_active($plugin); + $btn_url = $this->accesspressparallax_plugin_generate_url($status, $plugin); + + switch($status) { + case 'install' : + $btn_class = 'install button'; + $label = esc_html__('Install and Activate', 'accesspress-parallax'); + break; + + case 'inactive' : + $btn_class = 'button'; + $label = esc_html__('Deactivate', 'accesspress-parallax'); + break; + + case 'active' : + $btn_class = 'activate button button-primary'; + $label = esc_html__('Activate', 'accesspress-parallax'); + break; + } + + ?> +
        +
        + +
        + version); ?> + | + author; ?> +
        +
        +
        + + name); + ?> + + + + " data-slug="" href=""> + +
        +
        + +
        + +
        +

        +

        theme_name ); ?>

        + +
        + +
        +

        +

        + +
        +
        + +
        +
        +

        +

        + +
        + +
        +

        +

        + +
        + +
        +

        +

        + +
        +
        \ No newline at end of file diff --git a/welcome/welcome.php b/welcome/welcome.php new file mode 100644 index 0000000..ae05c7d --- /dev/null +++ b/welcome/welcome.php @@ -0,0 +1,544 @@ +theme_name = $theme->Name; + $this->theme_version = $theme->Version; + + /** List of Companion Plugins **/ + $this->companion_plugins = array(); + + /** List of required Plugins **/ + $this->req_plugins = array( + + 'instant-demo-importer' => array( + 'slug' => 'instant-demo-importer', + 'name' => __('Instant Demo Importer', 'accesspress-parallax'), + 'filename' =>'instant-demo-importer.php', + 'class' => 'Instant_Demo_Importer', + 'github_repo' => true, + 'bundled' => true, + 'location' => 'https://github.com/WPaccesskeys/instant-demo-importer/archive/master.zip', + 'info' => __('Instant Demo Importer Plugin adds the feature to Import the Demo Conent with a single click.', 'accesspress-parallax'), + ), + + ); + + /** Define Tabs Sections **/ + $this->tab_sections = array( + 'getting_started' => __('Getting Started', 'accesspress-parallax'), + 'recommended_plugins' => __('Recommended Plugins', 'accesspress-parallax'), + 'support' => __('Support', 'accesspress-parallax'), + 'free_vs_pro' => __('Free vs Pro', 'accesspress-parallax'), + ); + + /** List of Recommended Free Plugins **/ + $this->free_plugins = array( + 'woocommerce' => array( + 'slug' => 'woocommerce', + 'filename' =>'woocommerce.php', + 'class' => 'WooCommerce', + ), + + 'accesspress-social-icons' => array( + 'slug' => 'accesspress-social-icons', + 'filename' => 'accesspress-social-icons.php', + 'class' => 'APS_Class' + ), + + 'accesspress-social-share' => array( + 'slug' => 'accesspress-social-share', + 'filename' => 'accesspress-social-share.php', + 'class' => 'APSS_Class' + ), + + 'accesspress-instagram-feed' => array( + 'slug' => 'accesspress-instagram-feed', + 'filename' => 'accesspress-instagram-feed.php', + 'class' => 'APSS_Class' + ), + + 'ap-custom-testimonial' => array( + 'slug' => 'ap-custom-testimonial', + 'filename' => 'ap-custom-testimonial.php', + 'class' => 'APCT_free' + ), + + 'accesspress-twitter-feed' => array( + 'slug' => 'accesspress-twitter-feed', + 'filename' => 'accesspress-twitter-feed.php', + 'class' => 'APTF_Class' + ), + ); + + /** List of Recommended Pro Plugins **/ + $this->pro_plugins = array(); + + /* Theme Activation Notice */ + add_action( 'load-themes.php', array( $this, 'accesspressparallax_activation_admin_notice' ) ); + + /* Create a Welcome Page */ + add_action( 'admin_menu', array( $this, 'accesspressparallax_welcome_register_menu' ) ); + + /* Enqueue Styles & Scripts for Welcome Page */ + add_action( 'admin_enqueue_scripts', array( $this, 'accesspressparallax_welcome_styles_and_scripts' ) ); + + /** Plugin Installation Ajax **/ + add_action( 'wp_ajax_accesspressparallax_plugin_installer', array( $this, 'accesspressparallax_plugin_installer_callback' ) ); + + /** Plugin Installation Ajax **/ + add_action( 'wp_ajax_accesspressparallax_plugin_offline_installer', array( $this, 'accesspressparallax_plugin_offline_installer_callback' ) ); + + /** Plugin Activation Ajax **/ + add_action( 'wp_ajax_accesspressparallax_plugin_activation', array( $this, 'accesspressparallax_plugin_activation_callback' ) ); + + /** Plugin Activation Ajax (Offline) **/ + add_action( 'wp_ajax_accesspressparallax_plugin_offline_activation', array( $this, 'accesspressparallax_plugin_offline_activation_callback' ) ); + + //add_action( 'init', array( $this, 'get_required_plugin_notification' )); + + } + + public function get_required_plugin_notification() { + + $req_plugins = $this->companion_plugins; + $notif_counter = count($this->companion_plugins); + + foreach($req_plugins as $plugin) { + $folder_name = $plugin['slug']; + $file_name = $plugin['filename']; + $path = WP_PLUGIN_DIR.'/'.esc_attr($folder_name).'/'.esc_attr($file_name); + if(file_exists( $path )) { + if(class_exists($plugin['class'])) { + $notif_counter--; + } + } + } + + return $notif_counter; + } + + /** Welcome Message Notification on Theme Activation **/ + public function accesspressparallax_activation_admin_notice() { + global $pagenow; + + if( is_admin() && ('themes.php' == $pagenow) && (isset($_GET['activated'])) ) { + ?> +
        +

        Welcome page to get started with %1$s.', 'accesspress-parallax' ), $this->theme_name, admin_url( 'themes.php?page=accesspressparallax-welcome' ) ); ?>

        +

        +
        + get_required_plugin_notification(); + $title = $not > 0 ? 'Welcome '.$not.'' : esc_html__( 'Welcome', 'accesspress-parallax' ); + add_theme_page( 'Welcome', $title , 'edit_theme_options', 'accesspressparallax-welcome', array( $this, 'accesspressparallax_welcome_screen' )); + } + + /** Welcome Page **/ + public function accesspressparallax_welcome_screen() { + $tabs = $this->tab_sections; + + $current_section = isset($_GET['section']) ? $_GET['section'] : 'getting_started'; + $section_inline_style = ''; + ?> +
        +

        theme_name, $this->theme_version ); ?>

        +
        theme_name ); ?>
        + + + + + +
        + + +
        + +
        +
        +
        + wp_create_nonce('accesspressparallax_plugin_installer_nonce'), + 'activate_nonce' => wp_create_nonce('accesspressparallax_plugin_activate_nonce'), + 'ajaxurl' => esc_url( admin_url( 'admin-ajax.php' ) ), + 'activate_btn' => __('Activate', 'accesspress-parallax'), + 'installed_btn' => __('Activated', 'accesspress-parallax'), + 'demo_installing' => __('Installing Demo', 'accesspress-parallax'), + 'demo_installed' => __('Demo Installed', 'accesspress-parallax'), + 'demo_confirm' => __('Are you sure to import demo content ?', 'accesspress-parallax'), + ) ); + } + + /** Plugin API **/ + public function accesspressparallax_call_plugin_api( $plugin ) { + include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; + + $call_api = plugins_api( 'plugin_information', array( + 'slug' => $plugin, + 'fields' => array( + 'downloaded' => false, + 'rating' => false, + 'description' => false, + 'short_description' => true, + 'donate_link' => false, + 'tags' => false, + 'sections' => true, + 'homepage' => true, + 'added' => false, + 'last_updated' => false, + 'compatibility' => false, + 'tested' => false, + 'requires' => false, + 'downloadlink' => false, + 'icons' => true + ) + ) ); + + return $call_api; + } + + /** Check For Icon **/ + public function accesspressparallax_check_for_icon( $arr ) { + if ( ! empty( $arr['svg'] ) ) { + $plugin_icon_url = $arr['svg']; + } elseif ( ! empty( $arr['2x'] ) ) { + $plugin_icon_url = $arr['2x']; + } elseif ( ! empty( $arr['1x'] ) ) { + $plugin_icon_url = $arr['1x']; + } else { + $plugin_icon_url = $arr['default']; + } + + return $plugin_icon_url; + } + + /** Check if Plugin is active or not **/ + public function accesspressparallax_plugin_active($plugin) { + $folder_name = $plugin['slug']; + $file_name = $plugin['filename']; + $status = 'install'; + + $path = WP_PLUGIN_DIR.'/'.esc_attr($folder_name).'/'.esc_attr($file_name); + + if(file_exists( $path )) { + $status = class_exists($plugin['class']) ? 'inactive' : 'active'; + } + + return $status; + } + + /** Generate Url for the Plugin Button **/ + public function accesspressparallax_plugin_generate_url($status, $plugin) { + $folder_name = $plugin['slug']; + $file_name = $plugin['filename']; + + switch ( $status ) { + case 'install': + return wp_nonce_url( + add_query_arg( + array( + 'action' => 'install-plugin', + 'plugin' => esc_attr($folder_name) + ), + network_admin_url( 'update.php' ) + ), + 'install-plugin_' . esc_attr($folder_name) + ); + break; + + case 'inactive': + return add_query_arg( array( + 'action' => 'deactivate', + 'plugin' => rawurlencode( esc_attr($folder_name) . '/' . esc_attr($file_name) ), + 'plugin_status' => 'all', + 'paged' => '1', + '_wpnonce' => wp_create_nonce( 'deactivate-plugin_' . esc_attr($folder_name) . '/' . esc_attr($file_name) ), + ), network_admin_url( 'plugins.php' ) ); + break; + + case 'active': + return add_query_arg( array( + 'action' => 'activate', + 'plugin' => rawurlencode( esc_attr($folder_name) . '/' . esc_attr($file_name) ), + 'plugin_status' => 'all', + 'paged' => '1', + '_wpnonce' => wp_create_nonce( 'activate-plugin_' . esc_attr($folder_name) . '/' . esc_attr($file_name) ), + ), network_admin_url( 'plugins.php' ) ); + break; + } + } + + /* ========== Plugin Installation Ajax =========== */ + public function accesspressparallax_plugin_installer_callback(){ + + if ( ! current_user_can('install_plugins') ) + wp_die( __( 'Sorry, you are not allowed to install plugins on this site.', 'accesspress-parallax' ) ); + + $nonce = $_POST["nonce"]; + $plugin = $_POST["plugin"]; + $plugin_file = $_POST["plugin_file"]; + + // Check our nonce, if they don't match then bounce! + if (! wp_verify_nonce( $nonce, 'accesspressparallax_plugin_installer_nonce' )) + wp_die( __( 'Error - unable to verify nonce, please try again.', 'accesspress-parallax') ); + + + // Include required libs for installation + require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; + require_once ABSPATH . 'wp-admin/includes/class-wp-ajax-upgrader-skin.php'; + require_once ABSPATH . 'wp-admin/includes/class-plugin-upgrader.php'; + + // Get Plugin Info + $api = $this->accesspressparallax_call_plugin_api($plugin); + + $skin = new WP_Ajax_Upgrader_Skin(); + $upgrader = new Plugin_Upgrader( $skin ); + $upgrader->install($api->download_link); + + $plugin_file = ABSPATH . 'wp-content/plugins/'.esc_html($plugin).'/'.esc_html($plugin_file); + + if($api->name) { + $main_plugin_file = $this->get_plugin_file($plugin); + if($main_plugin_file){ + activate_plugin($main_plugin_file); + echo "success"; + die(); + } + } + echo "fail"; + + die(); + } + + /** Plugin Offline Installation Ajax **/ + public function accesspressparallax_plugin_offline_installer_callback() { + + + $file_location = $_POST['file_location']; + $file = $_POST['file']; + $github = $_POST['github']; + $slug = $_POST['slug']; + $plugin_directory = ABSPATH . 'wp-content/plugins/'; + + $zip = new ZipArchive; + if ($zip->open(esc_html($file_location)) === TRUE) { + + $zip->extractTo($plugin_directory); + $zip->close(); + + if($github) { + rename(realpath($plugin_directory).'/'.$slug.'-master', realpath($plugin_directory).'/'.$slug); + } + + activate_plugin($file); + echo "success"; + die(); + } else { + echo 'failed'; + } + + die(); + } + + /** Plugin Offline Activation Ajax **/ + public function accesspressparallax_plugin_offline_activation_callback() { + + $plugin = $_POST['plugin']; + $plugin_file = ABSPATH . 'wp-content/plugins/'.esc_html($plugin).'/'.esc_html($plugin).'.php'; + + if(file_exists($plugin_file)) { + activate_plugin($plugin_file); + } else { + echo "Plugin Doesn't Exists"; + } + + die(); + + } + + /** Plugin Activation Ajax **/ + public function accesspressparallax_plugin_activation_callback(){ + + if ( ! current_user_can('install_plugins') ) + wp_die( __( 'Sorry, you are not allowed to activate plugins on this site.', 'accesspress-parallax' ) ); + + $nonce = $_POST["nonce"]; + $plugin = $_POST["plugin"]; + + // Check our nonce, if they don't match then bounce! + if (! wp_verify_nonce( $nonce, 'accesspressparallax_plugin_activate_nonce' )) + die( __( 'Error - unable to verify nonce, please try again.', 'accesspress-parallax' ) ); + + + // Include required libs for activation + require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; + require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; + require_once ABSPATH . 'wp-admin/includes/class-plugin-upgrader.php'; + + + // Get Plugin Info + $api = $this->accesspressparallax_call_plugin_api(esc_attr($plugin)); + + + if($api->name){ + $main_plugin_file = $this->get_plugin_file(esc_attr($plugin)); + $status = 'success'; + if($main_plugin_file){ + activate_plugin($main_plugin_file); + $msg = $api->name .' successfully activated.'; + } + } else { + $status = 'failed'; + $msg = esc_html__('There was an error activating $api->name', 'accesspress-parallax'); + } + + $json = array( + 'status' => $status, + 'msg' => $msg, + ); + + wp_send_json($json); + + } + + public function all_required_plugins_installed() { + + $companion_plugins = $this->companion_plugins; + $show_success_notice = false; + + foreach($companion_plugins as $plugin) { + + $path = WP_PLUGIN_DIR.'/'.esc_attr($plugin['slug']).'/'.esc_attr($plugin['filename']); + + if(file_exists($path)) { + if(class_exists($plugin['class'])) { + $show_success_notice = true; + } else { + $show_success_notice = false; + break; + } + } else { + $show_success_notice = false; + break; + } + } + + return $show_success_notice; + } + + public static function get_plugin_file( $plugin_slug ) { + require_once ABSPATH . '/wp-admin/includes/plugin.php'; // Load plugin lib + $plugins = get_plugins(); + + foreach( $plugins as $plugin_file => $plugin_info ) { + + // Get the basename of the plugin e.g. [askismet]/askismet.php + $slug = dirname( plugin_basename( $plugin_file ) ); + + if($slug){ + if ( $slug == $plugin_slug ) { + return $plugin_file; // If $slug = $plugin_name + } + } + } + return null; + } + + public function get_local_dir_path($plugin) { + + $url = wp_nonce_url(admin_url('themes.php?page=accesspressparallax-welcome§ion=import_demo'),'accesspressparallax-file-installation'); + if (false === ($creds = request_filesystem_credentials($url, '', false, false, null) ) ) { + return; // stop processing here + } + + if ( ! WP_Filesystem($creds) ) { + request_filesystem_credentials($url, '', true, false, null); + return; + } + + global $wp_filesystem; + $file = $wp_filesystem->get_contents( $plugin['location'] ); + + $file_location = get_template_directory().'/welcome/plugins/'.$plugin['slug'].'.zip'; + + $wp_filesystem->put_contents( $file_location, $file, FS_CHMOD_FILE ); + + return $file_location; + } + + } + + new Accesspress_Parallax_Welcome(); + + endif; + + /** Initializing Demo Importer if exists **/ + if(class_exists('Instant_Demo_Importer')) : + $demoimporter = new Instant_Demo_Importer(); + + $demoimporter->demos = array( + 'accesspress-parallax' => array( + 'title' => __('Parallax Demo', 'accesspress-parallax'), + 'name' => 'accesspress-parallax', + 'screenshot' => get_template_directory_uri().'/welcome/demos/accesspress-parallax/screen.png', + 'home_page' => '', + 'menus' => array( + ) + ), + ); + + $demoimporter->demo_dir = get_template_directory().'/welcome/demos/'; // Path to the directory containing demo files + $demoimporter->options_replace_url = 'http://demo.accesspressthemes.com/accesspress-parallax'; // Set the url to be replaced with current siteurl + $demoimporter->option_name = 'accesspress_parallax'; // Set the the name of the option if the theme is based on theme option + endif; +?> \ No newline at end of file diff --git a/woocommerce/ap-parallax-style.css b/woocommerce/ap-parallax-style.css new file mode 100644 index 0000000..50d1267 --- /dev/null +++ b/woocommerce/ap-parallax-style.css @@ -0,0 +1,223 @@ +.woocommerce-area{ + margin: 0 0 20px; + background: #FFF; + padding: 20px; + margin-bottom: 40px; + position: relative; +} + +.woocommerce .woocommerce-breadcrumb{ + border-bottom: 1px solid #EEE; + padding: 0 0 6px; +} + +.woocommerce .woocommerce-breadcrumb a{ + text-decoration: none; +} + +.woocommerce .woocommerce-breadcrumb a:hover{ + color: #E66432; +} + +.woocommerce .page-title{ + margin-bottom: 20px; +} + +.woocommerce ul.products li.product, +.woocommerce-page ul.products li.product{ + border: 1px solid #EEE; + padding: 15px; + overflow: hidden; +} + +.woocommerce ul.products li.product a{ + color: inherit; +} + +.woocommerce ul.products li.product .woocommerce-loop-category__title, +.woocommerce ul.products li.product .woocommerce-loop-product__title, +.woocommerce ul.products li.product h3{ + text-align: center; + text-transform: uppercase; +} + +.woocommerce .related.products ul.products li.product .woocommerce-loop-product__title{ + text-align: center; + color: #444; + text-transform: uppercase; + font-weight: bold; +} + +.woocommerce ul.products li.product .onsale, +.woocommerce span.onsale{ + background: #E66432; + border-radius: 0; + margin: 15px; + min-height: 0; + line-height: 1.5; +} + +.woocommerce ul.products li.product a img{ + margin-bottom: 0; +} + +.woocommerce ul.products li.product h3{ + text-align: center; + border-top: 2px solid #E66432; + border-bottom: 1px solid #EEE; + color: #333; +} + +.parallax-section .woocommerce ul.products li.product h3, +.parallax-section .woocommerce ul.products li.product .price, +.parallax-section .woocommerce a{ + color: inherit; +} + +.parallax-section .woocommerce ul.products li.product h3{ + border-bottom-color: rgba(255,255,255,0.2); +} + +.woocommerce ul.products li.product .price{ + color: #333; + font-size: 16px; + padding: 10px; + margin-bottom: 0; + text-align: center; +} + +.woocommerce ul.products li.product .price del{ + display: inline-block; +} + +.woocommerce ul.products li.product .button.add_to_cart_button{ + position: absolute; + bottom: 15px; + transform: translatey(100px); + -ms-transform: translatey(100px); + -webkit-transform: translatey(100px); + left: 15px; + right: 15px; + transition: all 0.3s ease; + -moz-transition: all 0.3s ease; + -webkit-transition: all 0.3s ease; +} + +.woocommerce ul.products li.product:hover .button.add_to_cart_button{ + transform: translatey(0); + -ms-transform: translatey(0); + -webkit-transform: translatey(0); +} + +.woocommerce ul.products li.product .button{ + margin: 0; + background: #E66432; + text-align: center; + color: #FFF; + display: block; + font-weight: normal; + border-radius: 0; +} + +.woocommerce a.added_to_cart{ + display: none; +} + +.woocommerce nav.woocommerce-pagination ul{ + border: 0; +} + +.woocommerce nav.woocommerce-pagination ul li{ + border:none; + margin: 0 4px; +} + +.woocommerce nav.woocommerce-pagination ul li a, +.woocommerce nav.woocommerce-pagination ul li span{ + background: #E66432; + color: #FFF; + padding: 12px; +} + +.woocommerce nav.woocommerce-pagination ul li a:focus, +.woocommerce nav.woocommerce-pagination ul li a:hover, +.woocommerce nav.woocommerce-pagination ul li span.current{ + background: #000; + color: #FFF; +} + +.woocommerce #respond input#submit.alt, +.woocommerce a.button.alt, +.woocommerce button.button.alt, +.woocommerce input.button.alt{ + background: #E66432; + border-radius: 0; + font-weight: normal; +} + +.woocommerce #respond input#submit.alt:hover, +.woocommerce a.button.alt:hover, +.woocommerce button.button.alt:hover, +.woocommerce input.button.alt:hover{ + background: #E06536; +} + +.woocommerce div.product p.price, +.woocommerce div.product span.price{ + color: #333; +} + +.woocommerce-review-link, +.product_meta a{ + text-decoration: none; +} + +.woocommerce #respond input#submit.alt.disabled, +.woocommerce #respond input#submit.alt.disabled:hover, +.woocommerce #respond input#submit.alt:disabled, +.woocommerce #respond input#submit.alt:disabled:hover, +.woocommerce #respond input#submit.alt:disabled[disabled], +.woocommerce #respond input#submit.alt:disabled[disabled]:hover, +.woocommerce a.button.alt.disabled, +.woocommerce a.button.alt.disabled:hover, +.woocommerce a.button.alt:disabled, +.woocommerce a.button.alt:disabled:hover, +.woocommerce a.button.alt:disabled[disabled], +.woocommerce a.button.alt:disabled[disabled]:hover, +.woocommerce button.button.alt.disabled, +.woocommerce button.button.alt.disabled:hover, +.woocommerce button.button.alt:disabled, +.woocommerce button.button.alt:disabled:hover, +.woocommerce button.button.alt:disabled[disabled], +.woocommerce button.button.alt:disabled[disabled]:hover, +.woocommerce input.button.alt.disabled, +.woocommerce input.button.alt.disabled:hover, +.woocommerce input.button.alt:disabled, +.woocommerce input.button.alt:disabled:hover, +.woocommerce input.button.alt:disabled[disabled], +.woocommerce input.button.alt:disabled[disabled]:hover{ + background: #E66432; +} + +.woocommerce #respond input#submit, +.woocommerce a.button, +.woocommerce button.button, +.woocommerce input.button{ + background: #000; + border-radius: 0; + color: #FFF; + font-weight: normal; +} + +.woocommerce #respond input#submit:hover, +.woocommerce a.button:hover, +.woocommerce button.button:hover, +.woocommerce input.button:hover{ + background: #E66432; + color: #FFF; +} + +.woocommerce .widget_price_filter .ui-slider .ui-slider-handle, +.woocommerce .widget_price_filter .ui-slider .ui-slider-range{ + background-color: #E66432; +} diff --git a/woocommerce/ap-parallax-woocommerce-function.php b/woocommerce/ap-parallax-woocommerce-function.php new file mode 100644 index 0000000..d05ef00 --- /dev/null +++ b/woocommerce/ap-parallax-woocommerce-function.php @@ -0,0 +1,49 @@ +'; + echo '
        '; + echo '
        '; +} + +function accesspress_parallax_archive_page_end(){ + echo '
        '; + echo '
        '; + get_sidebar(); + echo ''; +} + +// Change number or products per row to 3 +add_filter('loop_shop_columns', 'accesspress_parallax_loop_columns'); +if (!function_exists('accesspress_parallax_loop_columns')) { + function accesspress_parallax_loop_columns() { + return 3; // 3 products per row + } +} + +//Change number of related products on product page +add_filter( 'woocommerce_output_related_products_args', 'accesspress_parallax_related_products_args' ); +if (!function_exists('accesspress_parallax_related_products_args')) { + function accesspress_parallax_related_products_args( $args ) { + $args['posts_per_page'] = 3; // 3 related products + $args['columns'] = 3; // arranged in 3 columns + return $args; + } +} + +add_action( 'body_class', 'accesspress_parallax_woo_body_class'); +if (!function_exists('accesspress_parallax_woo_body_class')) { + function accesspress_parallax_woo_body_class( $class ) { + $class[] = 'columns-'.accesspress_parallax_loop_columns(); + return $class; + } +} \ No newline at end of file diff --git a/woocommerce/archive-product.php b/woocommerce/archive-product.php deleted file mode 100644 index f5ec855..0000000 --- a/woocommerce/archive-product.php +++ /dev/null @@ -1,82 +0,0 @@ - - -
        - - - - - - - - -
        > - - - - -
        -
        - - - -
        -
        - - - -
        - - - - - - -
        \ No newline at end of file diff --git a/woocommerce/cart/cart.php b/woocommerce/cart/cart.php deleted file mode 100644 index f4bc2b2..0000000 --- a/woocommerce/cart/cart.php +++ /dev/null @@ -1,158 +0,0 @@ - - -
        - - - - - - - - - - - - - - - - - - - cart->get_cart() as $cart_item_key => $cart_item ) { - $_product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key ); - $product_id = apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ); - - if ( $_product && $_product->exists() && $cart_item['quantity'] > 0 && apply_filters( 'woocommerce_cart_item_visible', true, $cart_item, $cart_item_key ) ) { - ?> - - - - - - - - - - - - - - - - - - - - - - - - -
          
        - get_image(), $cart_item, $cart_item_key ); - - if ( ! $_product->is_visible() ) { - echo wp_kses_post( $thumbnail ); - } else { - printf( '%s', esc_url( $_product->get_permalink( $cart_item ) ), $thumbnail ); - } - ?> - - is_visible() ) { - echo apply_filters( 'woocommerce_cart_item_name', $_product->get_title(), $cart_item, $cart_item_key ) . ' '; - } else { - echo apply_filters( 'woocommerce_cart_item_name', sprintf( '%s ', esc_url( $_product->get_permalink( $cart_item ) ), $_product->get_title() ), $cart_item, $cart_item_key ); - } - - // Meta data - echo WC()->cart->get_item_data( $cart_item ); - - // Backorder notification - if ( $_product->backorders_require_notification() && $_product->is_on_backorder( $cart_item['quantity'] ) ) { - echo '

        ' . esc_html__( 'Available on backorder', 'bellevue' ) . '

        '; - } - ?> -
        - cart->get_product_price( $_product ), $cart_item, $cart_item_key ); - ?> - - is_sold_individually() ) { - $product_quantity = sprintf( '1 ', $cart_item_key ); - } else { - $product_quantity = woocommerce_quantity_input( array( - 'input_name' => "cart[{$cart_item_key}][qty]", - 'input_value' => $cart_item['quantity'], - 'max_value' => $_product->backorders_allowed() ? '' : $_product->get_stock_quantity(), - 'min_value' => '0' - ), $_product, false ); - } - - echo apply_filters( 'woocommerce_cart_item_quantity', $product_quantity, $cart_item_key, $cart_item ); - ?> - - cart->get_product_subtotal( $_product, $cart_item['quantity'] ), $cart_item, $cart_item_key ); - ?> - - ×', - esc_url( WC()->cart->get_remove_url( $cart_item_key ) ), - __( 'Remove this item', 'bellevue' ), - esc_attr( $product_id ), - esc_attr( $_product->get_sku() ) - ), $cart_item_key ); - ?> -
        - - cart->coupons_enabled() ) { ?> -
        - - - - -
        - - - - - - - -
        - - - -
        - -
        - - - -
        - - diff --git a/woocommerce/single-product.php b/woocommerce/single-product.php deleted file mode 100644 index 61fb08f..0000000 --- a/woocommerce/single-product.php +++ /dev/null @@ -1,76 +0,0 @@ - - -
        - - - - - - - - -
        > - - - - -
        -
        - - - -
        -
        - - - -
        - - - - - - -
        \ No newline at end of file diff --git a/wpml-config.xml b/wpml-config.xml deleted file mode 100644 index 099b61d..0000000 --- a/wpml-config.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - themo_room - - - themo_room_type - - - th_room_highlight - th_room_title - th_room_intro - th_room_button_text - th_room_thumb - themo_transparent_header - themo_hide_title - themo_page_layout - _elementor_page_settings - themo_header_content_style - themo_alt_logo - - \ No newline at end of file