├── CNAME ├── img ├── icon.png ├── logo.png ├── favicon.ico ├── team │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ └── overlay.png ├── courses │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ ├── 5.png │ └── 6.png ├── banner │ ├── banner.png │ ├── bradcam.png │ ├── bradcam2.png │ └── footer_bg.png └── Instructors │ ├── Ahmed.png │ ├── Hamza.png │ ├── logo.png │ └── Noureddine.png ├── fonts ├── themify.eot ├── themify.ttf ├── Flaticon.eot ├── Flaticon.ttf ├── Flaticon.woff ├── Flaticon.woff2 ├── themify.woff ├── FontAwesome.otf ├── fa-solid-900.eot ├── fa-solid-900.ttf ├── fa-brands-400.eot ├── fa-brands-400.ttf ├── fa-brands-400.woff ├── fa-brands-400.woff2 ├── fa-regular-400.eot ├── fa-regular-400.ttf ├── fa-regular-400.woff ├── fa-solid-900.woff ├── fa-solid-900.woff2 ├── gijgo-material.eot ├── gijgo-material.ttf ├── gijgo-material.woff ├── fa-regular-400.woff2 ├── fontawesome-webfont.eot ├── fontawesome-webfont.ttf ├── fontawesome-webfont.woff ├── fontawesome-webfont.woff2 └── flaticon.css ├── js ├── counter.js ├── plugins.js ├── jquery.counterup.min.js ├── mail-script.js ├── ajax-form.js ├── form.js ├── jquery.scrollUp.min.js ├── nice-select.min.js ├── contact.js ├── scrollIt.js ├── jquery.ajaxchimp.min.js ├── imagesloaded.pkgd.min.js ├── waypoints.min.js ├── main.js ├── wow.min.js ├── jquery.slicknav.min.js ├── vendor │ └── modernizr-3.5.0.min.js └── gmap3.min.js ├── readme.txt ├── js.old └── menu.js ├── scss ├── _responsive.scss ├── style.scss ├── _section_title.scss ├── _testmonial.scss ├── _nesletter.scss ├── _varriable.scss ├── _extend.scss ├── _slider.scss ├── _latest_blog.scss ├── _coures.scss ├── _slick-nav.scss ├── _faq.scss ├── _mixins.scss ├── _contact.scss ├── _btn.scss ├── _reset.scss ├── _popular_courses.scss ├── _team.scss ├── _footer.scss ├── _gallery.scss ├── _blog_part.scss ├── _about.scss ├── _course_details.scss └── _bradcam.scss ├── css ├── flaticon.css ├── owl.carousel.min.css ├── nice-select.css ├── slicknav.css ├── magnific-popup.css ├── reset.css └── theme-default.css ├── css.old └── style.css └── README.md /CNAME: -------------------------------------------------------------------------------- 1 | alfihriyaacademy.com 2 | www.alfihriyaacademy.com 3 | -------------------------------------------------------------------------------- /img/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/icon.png -------------------------------------------------------------------------------- /img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/logo.png -------------------------------------------------------------------------------- /img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/favicon.ico -------------------------------------------------------------------------------- /img/team/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/team/1.png -------------------------------------------------------------------------------- /img/team/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/team/2.png -------------------------------------------------------------------------------- /img/team/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/team/3.png -------------------------------------------------------------------------------- /img/team/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/team/4.png -------------------------------------------------------------------------------- /fonts/themify.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/themify.eot -------------------------------------------------------------------------------- /fonts/themify.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/themify.ttf -------------------------------------------------------------------------------- /img/courses/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/courses/1.png -------------------------------------------------------------------------------- /img/courses/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/courses/2.png -------------------------------------------------------------------------------- /img/courses/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/courses/3.png -------------------------------------------------------------------------------- /img/courses/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/courses/4.png -------------------------------------------------------------------------------- /img/courses/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/courses/5.png -------------------------------------------------------------------------------- /img/courses/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/courses/6.png -------------------------------------------------------------------------------- /fonts/Flaticon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/Flaticon.eot -------------------------------------------------------------------------------- /fonts/Flaticon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/Flaticon.ttf -------------------------------------------------------------------------------- /fonts/Flaticon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/Flaticon.woff -------------------------------------------------------------------------------- /fonts/Flaticon.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/Flaticon.woff2 -------------------------------------------------------------------------------- /fonts/themify.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/themify.woff -------------------------------------------------------------------------------- /img/team/overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/team/overlay.png -------------------------------------------------------------------------------- /fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /fonts/fa-solid-900.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fa-solid-900.eot -------------------------------------------------------------------------------- /fonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /img/banner/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/banner/banner.png -------------------------------------------------------------------------------- /img/banner/bradcam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/banner/bradcam.png -------------------------------------------------------------------------------- /fonts/fa-brands-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fa-brands-400.eot -------------------------------------------------------------------------------- /fonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /fonts/fa-brands-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fa-brands-400.woff -------------------------------------------------------------------------------- /fonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /fonts/fa-regular-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fa-regular-400.eot -------------------------------------------------------------------------------- /fonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /fonts/fa-regular-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fa-regular-400.woff -------------------------------------------------------------------------------- /fonts/fa-solid-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fa-solid-900.woff -------------------------------------------------------------------------------- /fonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /fonts/gijgo-material.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/gijgo-material.eot -------------------------------------------------------------------------------- /fonts/gijgo-material.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/gijgo-material.ttf -------------------------------------------------------------------------------- /fonts/gijgo-material.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/gijgo-material.woff -------------------------------------------------------------------------------- /img/Instructors/Ahmed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/Instructors/Ahmed.png -------------------------------------------------------------------------------- /img/Instructors/Hamza.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/Instructors/Hamza.png -------------------------------------------------------------------------------- /img/Instructors/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/Instructors/logo.png -------------------------------------------------------------------------------- /img/banner/bradcam2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/banner/bradcam2.png -------------------------------------------------------------------------------- /img/banner/footer_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/banner/footer_bg.png -------------------------------------------------------------------------------- /fonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /img/Instructors/Noureddine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/img/Instructors/Noureddine.png -------------------------------------------------------------------------------- /fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Al-Fihriya-Academy/about-us/HEAD/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /js/counter.js: -------------------------------------------------------------------------------- 1 | $('.count').each(function () { 2 | $(this).prop('Counter',0).animate({ 3 | Counter: $(this).text() 4 | }, { 5 | duration: 4000, 6 | easing: 'swing', 7 | step: function (now) { 8 | $(this).text(Math.ceil(now)); 9 | } 10 | }); 11 | }); -------------------------------------------------------------------------------- /readme.txt: -------------------------------------------------------------------------------- 1 | Thank you for using our template! 2 | 3 | For more awesome templates please visit https://colorlib.com/wp/templates/ 4 | 5 | Copyright information for the template can't be altered/removed unless you purchase a license. 6 | More information about the license is available here: https://colorlib.com/wp/licence/ 7 | 8 | Removing copyright information without the license will result in suspension of your hosting and/or domain name(s). 9 | -------------------------------------------------------------------------------- /js.old/menu.js: -------------------------------------------------------------------------------- 1 | // The following code is based off a toggle menu by @Bradcomp 2 | // source: https://gist.github.com/Bradcomp/a9ef2ef322a8e8017443b626208999c1 3 | (function() { 4 | var burger = document.querySelector('.burger'); 5 | var menu = document.querySelector('#'+burger.dataset.target); 6 | burger.addEventListener('click', function() { 7 | burger.classList.toggle('is-active'); 8 | menu.classList.toggle('is-active'); 9 | }); 10 | })(); 11 | -------------------------------------------------------------------------------- /scss/_responsive.scss: -------------------------------------------------------------------------------- 1 | /* Normal desktop :1200px. */ 2 | $large_device:'(min-width: 1200px) and (max-width: 1500px)'; 3 | 4 | /* Normal desktop :992px. */ 5 | $mid_device:'(min-width: 992px) and (max-width: 1200px)'; 6 | 7 | /* Tablet desktop :768px. */ 8 | $tablet_device:'(min-width: 768px) and (max-width: 991px)'; 9 | 10 | /* small mobile :320px. */ 11 | $mobile_device:'(max-width: 767px)'; 12 | 13 | /* Large Mobile :480px. */ 14 | $large_mobile:'only screen and (min-width: 480px) and (max-width: 767px)'; 15 | 16 | -------------------------------------------------------------------------------- /js/plugins.js: -------------------------------------------------------------------------------- 1 | // Avoid `console` errors in browsers that lack a console. 2 | (function() { 3 | var method; 4 | var noop = function () {}; 5 | var methods = [ 6 | 'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', 7 | 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', 8 | 'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd', 9 | 'timeline', 'timelineEnd', 'timeStamp', 'trace', 'warn' 10 | ]; 11 | var length = methods.length; 12 | var console = (window.console = window.console || {}); 13 | 14 | while (length--) { 15 | method = methods[length]; 16 | 17 | // Only stub undefined methods. 18 | if (!console[method]) { 19 | console[method] = noop; 20 | } 21 | } 22 | }()); 23 | 24 | // Place any jQuery/helper plugins in here. 25 | -------------------------------------------------------------------------------- /scss/style.scss: -------------------------------------------------------------------------------- 1 | 2 | @import 'varriable.scss'; 3 | @import 'mixins.scss'; 4 | @import 'extend'; 5 | @import 'responsive.scss'; 6 | @import 'reset'; 7 | @import 'btn'; 8 | @import 'section_title'; 9 | @import 'slick-nav.scss'; 10 | 11 | 12 | 13 | // header 14 | @import 'header'; 15 | 16 | // slider 17 | @import 'slider'; 18 | 19 | // about 20 | @import 'about'; 21 | 22 | // footer 23 | @import 'footer'; 24 | 25 | // bradcam 26 | @import 'bradcam'; 27 | 28 | // latest_blog 29 | @import 'latest_blog'; 30 | 31 | // nesletter 32 | @import 'nesletter'; 33 | // nesletter 34 | @import 'faq'; 35 | 36 | // bradcam 37 | @import 'coures'; 38 | // bradcam 39 | @import 'team'; 40 | // bradcam 41 | @import 'course_details'; 42 | 43 | // bradcam 44 | @import 'testmonial'; 45 | // bradcam 46 | @import 'popular_courses'; 47 | 48 | 49 | 50 | 51 | // other pages default 52 | 53 | // contact 54 | @import 'contact'; 55 | 56 | // elements 57 | @import 'elements.scss'; 58 | 59 | // blog 60 | @import 'blog'; 61 | 62 | 63 | // blog part 64 | @import 'blog_part'; 65 | 66 | -------------------------------------------------------------------------------- /js/jquery.counterup.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jquery.counterup.js 1.0 3 | * 4 | * Copyright 2013, Benjamin Intal http://gambit.ph @bfintal 5 | * Released under the GPL v2 License 6 | * 7 | * Date: Nov 26, 2013 8 | */(function(e){"use strict";e.fn.counterUp=function(t){var n=e.extend({time:400,delay:10},t);return this.each(function(){var t=e(this),r=n,i=function(){var e=[],n=r.time/r.delay,i=t.text(),s=/[0-9]+,[0-9]+/.test(i);i=i.replace(/,/g,"");var o=/^[0-9]+$/.test(i),u=/^[0-9]+\.[0-9]+$/.test(i),a=u?(i.split(".")[1]||[]).length:0;for(var f=n;f>=1;f--){var l=parseInt(i/n*f);u&&(l=parseFloat(i/n*f).toFixed(a));if(s)while(/(\d+)(\d{3})/.test(l.toString()))l=l.toString().replace(/(\d+)(\d{3})/,"$1,$2");e.unshift(l)}t.data("counterup-nums",e);t.text("0");var c=function(){t.text(t.data("counterup-nums").shift());if(t.data("counterup-nums").length)setTimeout(t.data("counterup-func"),r.delay);else{delete t.data("counterup-nums");t.data("counterup-nums",null);t.data("counterup-func",null)}};t.data("counterup-func",c);setTimeout(t.data("counterup-func"),r.delay)};t.waypoint(i,{offset:"100%",triggerOnce:!0})})}})(jQuery); -------------------------------------------------------------------------------- /fonts/flaticon.css: -------------------------------------------------------------------------------- 1 | /* 2 | Flaticon icon font: Flaticon 3 | Creation date: 27/07/2019 04:58 4 | */ 5 | 6 | @font-face { 7 | font-family: "Flaticon"; 8 | src: url("./Flaticon.eot"); 9 | src: url("./Flaticon.eot?#iefix") format("embedded-opentype"), 10 | url("./Flaticon.woff2") format("woff2"), 11 | url("./Flaticon.woff") format("woff"), 12 | url("./Flaticon.ttf") format("truetype"), 13 | url("./Flaticon.svg#Flaticon") format("svg"); 14 | font-weight: normal; 15 | font-style: normal; 16 | } 17 | 18 | @media screen and (-webkit-min-device-pixel-ratio:0) { 19 | @font-face { 20 | font-family: "Flaticon"; 21 | src: url("./Flaticon.svg#Flaticon") format("svg"); 22 | } 23 | } 24 | 25 | [class^="flaticon-"]:before, [class*=" flaticon-"]:before, 26 | [class^="flaticon-"]:after, [class*=" flaticon-"]:after { 27 | font-family: Flaticon; 28 | font-size: 20px; 29 | font-style: normal; 30 | margin-left: 20px; 31 | } 32 | 33 | .flaticon-left-arrow:before { content: "\f100"; } 34 | .flaticon-right-arrow:before { content: "\f101"; } 35 | .flaticon-play-button:before { content: "\f102"; } -------------------------------------------------------------------------------- /scss/_section_title.scss: -------------------------------------------------------------------------------- 1 | .section_title{ 2 | h3{ 3 | font-size: 46px; 4 | font-weight: 400; 5 | line-height: 52px; 6 | margin-bottom: 23px; 7 | color: $theme-color4; 8 | @media #{$mobile_device} { 9 | font-size: 23px; 10 | line-height: 30px; 11 | } 12 | @media #{$tablet_device} { 13 | font-size: 32px; 14 | line-height: 40px; 15 | } 16 | @media #{$mid_device} { 17 | font-size: 33px; 18 | line-height: 40px; 19 | } 20 | } 21 | p{ 22 | font-size: 17px; 23 | font-family: $font2; 24 | font-weight: 400; 25 | line-height: 28px; 26 | color: #727272; 27 | margin-bottom: 0; 28 | br{ 29 | @media #{$mobile_device}{ 30 | display: none; 31 | } 32 | } 33 | } 34 | } 35 | .mb-100{ 36 | margin-bottom: 100px; 37 | @media #{$mobile_device} { 38 | margin-bottom: 40px; 39 | } 40 | @media #{$tablet_device} { 41 | margin-bottom: 40px; 42 | } 43 | @media #{$mid_device} { 44 | margin-bottom: 60px; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /scss/_testmonial.scss: -------------------------------------------------------------------------------- 1 | .testimonial_bg_1{ 2 | background-image: url(../img/testmonial/testmonial.png); 3 | } 4 | .testimonial_area{ 5 | position: relative; 6 | z-index: 0; 7 | padding: 160px 0; 8 | background-repeat: no-repeat; 9 | background-size: cover; 10 | background-position: center center; 11 | .testmonial_text{ 12 | .author_img{ 13 | img{ 14 | 15 | } 16 | } 17 | p{ 18 | font-size: 24px; 19 | color: #fff; 20 | font-weight: 400; 21 | font-family: $font1; 22 | line-height: 34px; 23 | margin-top: 26px; 24 | margin-bottom: 22px; 25 | @media #{$mobile_device} { 26 | font-size: 18px; 27 | } 28 | br{ 29 | @media #{$mobile_device} { 30 | display: none; 31 | } 32 | } 33 | 34 | } 35 | span{ 36 | font-size: 16px; 37 | color: #fff; 38 | font-weight: 400; 39 | } 40 | } 41 | .owl-carousel .owl-item img { 42 | display: inline-block; 43 | width: auto; 44 | margin: auto; 45 | } 46 | } -------------------------------------------------------------------------------- /js/mail-script.js: -------------------------------------------------------------------------------- 1 | // ------- Mail Send ajax 2 | 3 | $(document).ready(function() { 4 | var form = $('#myForm'); // contact form 5 | var submit = $('.submit-btn'); // submit button 6 | var alert = $('.alert-msg'); // alert div for show alert message 7 | 8 | // form submit event 9 | form.on('submit', function(e) { 10 | e.preventDefault(); // prevent default form submit 11 | 12 | $.ajax({ 13 | url: 'mail.php', // form action url 14 | type: 'POST', // form submit method get/post 15 | dataType: 'html', // request type html/json/xml 16 | data: form.serialize(), // serialize form data 17 | beforeSend: function() { 18 | alert.fadeOut(); 19 | submit.html('Sending....'); // change submit button text 20 | }, 21 | success: function(data) { 22 | alert.html(data).fadeIn(); // fade in response data 23 | form.trigger('reset'); // reset form 24 | submit.attr("style", "display: none !important");; // reset submit button text 25 | }, 26 | error: function(e) { 27 | console.log(e) 28 | } 29 | }); 30 | }); 31 | }); -------------------------------------------------------------------------------- /css/flaticon.css: -------------------------------------------------------------------------------- 1 | /* 2 | Flaticon icon font: Flaticon 3 | Creation date: 08/09/2019 09:07 4 | */ 5 | 6 | @font-face { 7 | font-family: "Flaticon"; 8 | src: url("../fonts/Flaticon.eot"); 9 | src: url("../fonts/Flaticon.eot?#iefix") format("embedded-opentype"), 10 | url("../fonts/Flaticon.woff2") format("woff2"), 11 | url("../fonts/Flaticon.woff") format("woff"), 12 | url("../fonts/Flaticon.ttf") format("truetype"), 13 | url("../fonts/Flaticon.svg#Flaticon") format("svg"); 14 | font-weight: normal; 15 | font-style: normal; 16 | } 17 | 18 | @media screen and (-webkit-min-device-pixel-ratio:0) { 19 | @font-face { 20 | font-family: "Flaticon"; 21 | src: url("../fonts/Flaticon.svg#Flaticon") format("svg"); 22 | } 23 | } 24 | 25 | [class^="flaticon-"]:before, [class*=" flaticon-"]:before, 26 | [class^="flaticon-"]:after, [class*=" flaticon-"]:after { 27 | font-family: Flaticon; 28 | font-style: normal; 29 | } 30 | 31 | .flaticon-user:before { content: "\f100"; } 32 | .flaticon-question:before { content: "\f101"; } 33 | .flaticon-clock:before { content: "\f102"; } 34 | .flaticon-mark-as-favorite-star:before { content: "\f103"; } 35 | .flaticon-premium:before { content: "\f104"; } 36 | .flaticon-crown:before { content: "\f105"; } 37 | .flaticon-business-and-finance:before { content: "\f106"; } 38 | .flaticon-art-and-design:before { content: "\f107"; } -------------------------------------------------------------------------------- /js/ajax-form.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | 3 | // Get the form. 4 | var form = $('#contact-form'); 5 | 6 | // Get the messages div. 7 | var formMessages = $('.ajax-response'); 8 | 9 | // Set up an event listener for the contact form. 10 | $(form).submit(function(e) { 11 | // Stop the browser from submitting the form. 12 | e.preventDefault(); 13 | 14 | // Serialize the form data. 15 | var formData = $(form).serialize(); 16 | 17 | // Submit the form using AJAX. 18 | $.ajax({ 19 | type: 'POST', 20 | url: $(form).attr('action'), 21 | data: formData 22 | }) 23 | .done(function(response) { 24 | // Make sure that the formMessages div has the 'success' class. 25 | $(formMessages).removeClass('error'); 26 | $(formMessages).addClass('success'); 27 | 28 | // Set the message text. 29 | $(formMessages).text(response); 30 | 31 | // Clear the form. 32 | $('#contact-form input,#contact-form textarea').val(''); 33 | }) 34 | .fail(function(data) { 35 | // Make sure that the formMessages div has the 'error' class. 36 | $(formMessages).removeClass('success'); 37 | $(formMessages).addClass('error'); 38 | 39 | // Set the message text. 40 | if (data.responseText !== '') { 41 | $(formMessages).text(data.responseText); 42 | } else { 43 | $(formMessages).text('Oops! An error occured and your message could not be sent.'); 44 | } 45 | }); 46 | }); 47 | 48 | }); 49 | -------------------------------------------------------------------------------- /scss/_nesletter.scss: -------------------------------------------------------------------------------- 1 | .subscribe_newsletter{ 2 | background: #04D2C8; 3 | padding: 100px 0; 4 | .newsletter_text{ 5 | h3{ 6 | font-size: 36px; 7 | color: #fff; 8 | font-weight: 400; 9 | } 10 | p{ 11 | color: #fff; 12 | } 13 | } 14 | .newsletter_form{ 15 | h4{ 16 | color: #fff; 17 | margin-bottom: 20px; 18 | font-size: 17px; 19 | font-weight: 400; 20 | } 21 | .newsletter_form{ 22 | input{ 23 | height: 60px; 24 | width: 70%; 25 | background: #fff; 26 | border: none; 27 | border-top-left-radius: 3px; 28 | border-bottom-left-radius: 3px; 29 | float: left; 30 | padding: 30px; 31 | &::placeholder{ 32 | font-size: 16px; 33 | font-weight: 400; 34 | font-family: $font2; 35 | color: #919191; 36 | } 37 | } 38 | button{ 39 | background: #FD8E5E; 40 | border: none; 41 | cursor: pointer; 42 | color: #fff; 43 | width: 30%; 44 | height: 60px; 45 | border-top-right-radius: 3px; 46 | border-bottom-right-radius: 3px; 47 | } 48 | } 49 | } 50 | } -------------------------------------------------------------------------------- /js/form.js: -------------------------------------------------------------------------------- 1 | window.addEventListener("DOMContentLoaded", function() { 2 | 3 | // get the form elements defined in your form HTML above 4 | 5 | var form = document.getElementById("my-form"); 6 | var button = document.getElementById("my-form-button"); 7 | var status = document.getElementById("my-form-status"); 8 | 9 | // Success and Error functions for after the form is submitted 10 | 11 | function success() { 12 | form.reset(); 13 | button.style = "display: none "; 14 | status.innerHTML = "Thanks!"; 15 | 16 | } 17 | 18 | function error() { 19 | status.innerHTML = "Oops! There was a problem."; 20 | } 21 | 22 | // handle the form submission event 23 | 24 | form.addEventListener("submit", function(ev) { 25 | ev.preventDefault(); 26 | var data = new FormData(form); 27 | ajax(form.method, form.action, data, success, error); 28 | }); 29 | }); 30 | 31 | // helper function for sending an AJAX request 32 | 33 | function ajax(method, url, data, success, error) { 34 | var xhr = new XMLHttpRequest(); 35 | xhr.open(method, url); 36 | xhr.setRequestHeader("Accept", "application/json"); 37 | xhr.onreadystatechange = function() { 38 | if (xhr.readyState !== XMLHttpRequest.DONE) return; 39 | if (xhr.status === 200) { 40 | success(xhr.response, xhr.responseType); 41 | } else { 42 | error(xhr.status, xhr.response, xhr.responseType); 43 | } 44 | }; 45 | xhr.send(data); 46 | } 47 | -------------------------------------------------------------------------------- /css.old/style.css: -------------------------------------------------------------------------------- 1 | .has-same-height .card { 2 | height: 320px; 3 | overflow: hidden; 4 | } 5 | 6 | .card-content h3 { 7 | text-align: center; 8 | } 9 | 10 | .table-profile td, 11 | th { 12 | border: none !important; 13 | } 14 | 15 | .table-profile td:first-of-type { 16 | font-weight: bold; 17 | } 18 | 19 | .skills-content .media { 20 | margin: 0 !important; 21 | padding: 4px !important; 22 | border: 0 !important; 23 | } 24 | 25 | .skills-content .progress { 26 | height: 4px !important; 27 | } 28 | 29 | .custom-tags { 30 | text-align: center !important; 31 | display: block; 32 | } 33 | 34 | .portfolio-container .card { 35 | margin-bottom: 2em; 36 | } 37 | 38 | .section-heading { 39 | text-align: center; 40 | margin-top: 1em; 41 | margin-bottom: 6em; 42 | } 43 | 44 | .section-contact-heading { 45 | text-align: center; 46 | margin-top: 1em; 47 | margin-bottom: 4em; 48 | } 49 | 50 | .social-media-links { 51 | display: -webkit-box; 52 | display: -ms-flexbox; 53 | display: flex; 54 | -webkit-box-pack: center; 55 | -ms-flex-pack: center; 56 | justify-content: center; 57 | -webkit-box-align: center; 58 | -ms-flex-align: center; 59 | align-items: center; 60 | } 61 | 62 | .social-media-links i { 63 | 64 | font-size: 2.3rem; 65 | padding: 10px; 66 | border-radius: 3px; 67 | color: #fff; 68 | background: #3273dc; 69 | 70 | } 71 | 72 | .social-media-links div { 73 | margin: 0 10px; 74 | } -------------------------------------------------------------------------------- /scss/_varriable.scss: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css?family=Crimson+Text:400,400i,600,600i,700|Poppins:200,300,400,500,500i,600,700,800&display=swap'); 2 | 3 | // fonts 4 | $font1: 'Poppins', sans-serif; 5 | $font2: 'Crimson Text', serif; 6 | // fonts-size 7 | 8 | $heading-color:#1F1F1F; 9 | $gray-color: #bebebe; 10 | $gray-color-2: #bdbdbd; 11 | 12 | $theme-color: #020c26; 13 | $theme-color2: #ff5e13; 14 | $theme-color3: #BC9321; 15 | $theme-color4: #1F1F1F; 16 | $theme-color5: #04D2C8; 17 | 18 | $gray-color3:#5c5c5c; 19 | $white_color:#fff; 20 | 21 | 22 | 23 | $font_1: #666666; 24 | $font_2: #646464; 25 | $font_3: #7f7f7f; 26 | $font_4: #8a8a8a; 27 | $font_5: #999999; 28 | $font_6: #666666; 29 | $font_7: #5c5c5c; 30 | $border_color: #fdcb9e; 31 | $footer_bg: #303030; 32 | $sidebar_bg: #fbf9ff; 33 | 34 | $medium_device : 'only screen and (min-width: 992px) and (max-width: 1200px)'; 35 | $tab_device:'only screen and (min-width: 768px) and (max-width: 991px)'; 36 | $large_mobile: 'only screen and (min-width: 576px) and (max-width: 767px)'; 37 | $tab:'(max-width: 991px)'; 38 | $small_mobile:'(max-width: 576px)'; 39 | $xs_mobile:'(max-width: 420px)'; 40 | $sm_mobile:'only screen and (min-width: 421px) and (max-width: 575px)'; 41 | $big_screen:'only screen and (min-width: 1200px) and (max-width: 1440px)'; 42 | $extra_big_screen: 'only screen and (min-width: 1200px) and (max-width: 3640px)'; 43 | 44 | // ,,,,,,,,,,, 45 | $btn_bg: #8446E3; 46 | $btn_hover: #f5790b; 47 | $section_bg: #f7f7f7; 48 | $section_bg_1: #454545; 49 | $heading_color: #191d34; 50 | $heading_color2: #ff8b23; -------------------------------------------------------------------------------- /scss/_extend.scss: -------------------------------------------------------------------------------- 1 | .flex-center-start{ 2 | display: -webkit-box; 3 | display: -ms-flexbox; 4 | display: flex; 5 | -webkit-box-align: center; 6 | -ms-flex-align: center; 7 | align-items: center; 8 | -webkit-box-pack: start; 9 | -ms-flex-pack: start; 10 | justify-content: start; 11 | } 12 | 13 | %greadent_bg{ 14 | /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#a64eee+1,3c35ce+100 */ 15 | background: #a64eee; /* Old browsers */ 16 | background: -moz-linear-gradient(left, #a64eee 1%, #3c35ce 100%); /* FF3.6-15 */ 17 | background: -webkit-linear-gradient(left, #a64eee 1%,#3c35ce 100%); /* Chrome10-25,Safari5.1-6 */ 18 | background: linear-gradient(to right, #a64eee 1%,#3c35ce 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ 19 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a64eee', endColorstr='#3c35ce',GradientType=1 ); /* IE6-9 */ 20 | 21 | } 22 | %gradient_bg_2{ 23 | /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#a64eee+0,3c35ce+100 */ 24 | background: #a64eee; /* Old browsers */ 25 | background: -moz-linear-gradient(left, #a64eee 0%, #3c35ce 100%); /* FF3.6-15 */ 26 | background: -webkit-linear-gradient(left, #a64eee 0%,#3c35ce 100%); /* Chrome10-25,Safari5.1-6 */ 27 | background: linear-gradient(to right, #a64eee 0%,#3c35ce 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ 28 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a64eee', endColorstr='#3c35ce',GradientType=1 ); /* IE6-9 */ 29 | 30 | } -------------------------------------------------------------------------------- /scss/_slider.scss: -------------------------------------------------------------------------------- 1 | .slider_bg_1{ 2 | background-image: url(../img/banner/banner.png); 3 | } 4 | .slider_area{ 5 | .single_slider{ 6 | height: 100vh; 7 | background-size: cover; 8 | background-repeat: no-repeat; 9 | background-position: center; 10 | .illastrator_png{ 11 | position: relative; 12 | right: 63px; 13 | @media #{$large_device} { 14 | right: 0; 15 | } 16 | @media #{$mid_device} { 17 | right: 0; 18 | } 19 | @media #{$tablet_device} { 20 | right: 0; 21 | } 22 | @media #{$mobile_device} { 23 | right: 0; 24 | } 25 | img{ 26 | width: 100%; 27 | } 28 | } 29 | .slider_info{ 30 | @media #{$mobile_device} { 31 | text-align: center; 32 | } 33 | h3{ 34 | color: #ffffff; 35 | font-size: 60px; 36 | text-transform: capitalize; 37 | font-weight: 400; 38 | line-height: 70px; 39 | margin-bottom: 50px; 40 | margin-top: 10px; 41 | @media #{$mobile_device} { 42 | font-size: 24px; 43 | letter-spacing: 0px; 44 | line-height: 35px; 45 | margin-top: 0; 46 | margin-bottom: 0; 47 | } 48 | @media #{$tablet_device} { 49 | font-size: 30px; 50 | line-height: 46px; 51 | } 52 | @media #{$mid_device} { 53 | font-size: 35px; 54 | line-height: 45px; 55 | } 56 | } 57 | } 58 | } 59 | 60 | } -------------------------------------------------------------------------------- /scss/_latest_blog.scss: -------------------------------------------------------------------------------- 1 | .our_latest_blog{ 2 | padding-top: 200px; 3 | padding-bottom: 170px; 4 | @media #{$tablet_device} { 5 | padding-top: 100px; 6 | padding-bottom: 100px; 7 | } 8 | @media #{$mobile_device} { 9 | padding-top: 100px; 10 | padding-bottom: 100px; 11 | } 12 | .single_latest_blog{ 13 | margin-bottom: 30px; 14 | .thumb{ 15 | overflow: hidden; 16 | img{ 17 | width: 100%; 18 | @include transform(scale(1)); 19 | @include transition(.3s); 20 | 21 | 22 | } 23 | } 24 | .content_blog{ 25 | padding: 35px 4px 30px 0; 26 | .date{ 27 | p{ 28 | margin-bottom: 0; 29 | font-size: 14px; 30 | color: #4D4D4D; 31 | font-weight: 400; 32 | a{ 33 | color: #04D2C8; 34 | } 35 | } 36 | } 37 | .blog_meta{ 38 | h3{ 39 | font-size: 18px; 40 | color: $theme-color4; 41 | margin-top: 8px; 42 | margin-bottom: 8px; 43 | a{ 44 | color: #1F1F1F; 45 | &:hover{ 46 | color: #04D2C8; 47 | } 48 | } 49 | } 50 | } 51 | .blog_text{ 52 | font-size: 17px; 53 | font-weight: 400; 54 | } 55 | } 56 | &:hover{ 57 | .thumb{ 58 | img{ 59 | @include transform(scale(1.1)); 60 | } 61 | } 62 | } 63 | 64 | } 65 | } -------------------------------------------------------------------------------- /js/jquery.scrollUp.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * scrollup v2.4.1 3 | * Url: http://markgoodyear.com/labs/scrollup/ 4 | * Copyright (c) Mark Goodyear — @markgdyr — http://markgoodyear.com 5 | * License: MIT 6 | */ 7 | !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); -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # about-us 2 | 3 | Exercice houwa t7el une pull request ou tzid smitek f contributors section li kayna f site: [https://alfihriyaacademy.com/](https://alfihriyaacademy.com/) 4 | 5 | ## Fine hdertou 3la had l'exercice ? :movie_camera: 6 | 7 | Hna [https://www.youtube.com/watch?v=b5J8sBlHd1Y&t=1s](https://www.youtube.com/watch?v=b5J8sBlHd1Y&t=1s) 8 | 9 | ## Bach khedamin ? :hammer: 10 | * Hada free template khditou men bulma css. Ay haja dial CSS ila bghitou tzidouha choufou hna [https://bulma.io/documentation/](https://bulma.io/documentation/) 11 | * Benessba l icons khedamin b fontawesome 4.7.0. Ila bghit tzid chi icon dkhoul hna [https://fontawesome.com/v4.7.0/icons/](https://fontawesome.com/v4.7.0/icons/) 12 | 13 | ## Ma3endich m3a HTML/CSS walakin bghit nzid smiti ? :see_no_evil: :grin: 14 | 15 | Hania, chouf ghadi t7el l fichier index.html ou zid had lcode (zid smytek w lien dialk f Github) mour akhir ``div`` dial akhir contributor: 16 | 17 | ```HTML 18 |
19 |
20 |
21 |
22 | 29 |
30 |

Smitek

31 |

@login dialek

32 |
33 |
34 |
35 |
36 |
37 | ``` 38 | 39 | 40 | ## 3endi fikra jdida bghit nzidha ? :sparkling_heart: 41 | 7el issue [hna](https://github.com/Al-Fihriya-Academy/about-us/issues) ou tsena chi hed member ygoulek t9der tkhdam 3lih ou t7aaaan ;-) :rocket::rocket: 42 | 43 | -------------------------------------------------------------------------------- /scss/_coures.scss: -------------------------------------------------------------------------------- 1 | .our_courses{ 2 | padding-top: 200px; 3 | padding-bottom: 170px; 4 | @media #{$mobile_device} { 5 | padding-top: 50px; 6 | padding-bottom: 20px; 7 | } 8 | @media #{$tablet_device} { 9 | padding-top: 80px; 10 | padding-bottom: 50px; 11 | } 12 | @media #{$mid_device} { 13 | padding-top: 120px; 14 | padding-bottom: 90px; 15 | } 16 | .single_course{ 17 | border: 1px solid #E8E8E8; 18 | padding: 38px 30px; 19 | position: relative; 20 | margin-bottom: 30px; 21 | z-index: 0; 22 | .icon{ 23 | i{ 24 | color: #FD8E5E; 25 | font-size: 45px; 26 | @include transition(.3s); 27 | } 28 | &.blue{ 29 | 30 | i{ 31 | color: #04D2C8 !important; 32 | } 33 | } 34 | &.gradient{ 35 | i{ 36 | color: #D465EF; 37 | } 38 | } 39 | } 40 | h3{ 41 | font-size: 18px; 42 | font-weight: 400; 43 | color: #1F1F1F; 44 | margin-bottom: 22px; 45 | margin-top: 7px; 46 | @include transition(.3s); 47 | } 48 | p{ 49 | font-size: 17px; 50 | color: #727272; 51 | @include transition(.3s); 52 | } 53 | &:before{ 54 | position: absolute; 55 | background: #FD8E5E; 56 | bottom: 0; 57 | left: 0; 58 | width: 100%; 59 | height: 100%; 60 | content: ""; 61 | transform-origin: bottom; 62 | @include transition(.3s); 63 | opacity: 0; 64 | z-index: -1; 65 | } 66 | &:hover::before{ 67 | transform-origin: top; 68 | opacity: 1; 69 | 70 | } 71 | &:hover{ 72 | h3{ 73 | color: #fff; 74 | } 75 | p{ 76 | color: #fff; 77 | } 78 | .icon{ 79 | i{ 80 | color: #fff !important; 81 | } 82 | } 83 | } 84 | } 85 | } -------------------------------------------------------------------------------- /scss/_slick-nav.scss: -------------------------------------------------------------------------------- 1 | 2 | 3 | // slick-nav 4 | .mobile_menu{ 5 | @media #{$mobile_device} { 6 | position: absolute; 7 | right: 0px; 8 | width: 100%; 9 | z-index: 9; 10 | } 11 | } 12 | .slicknav_menu{ 13 | .slicknav_nav { 14 | background: #fff; 15 | float: right; 16 | margin-top: 0; 17 | padding: 0; 18 | width: 95%; 19 | padding: 0; 20 | border-radius: 0px; 21 | margin-top: 5px; 22 | position: absolute; 23 | left: 0; 24 | right: 0; 25 | margin: auto; 26 | top: 11px; 27 | a{ 28 | &:hover{ 29 | background: transparent; 30 | color: #4A3600; 31 | } 32 | &.active{ 33 | color: #4A3600; 34 | } 35 | i{ 36 | @media #{$mobile_device} { 37 | display: none; 38 | } 39 | @media #{$tablet_device} { 40 | display: none; 41 | } 42 | } 43 | } 44 | .slicknav_btn { 45 | background-color: transparent; 46 | cursor: pointer; 47 | margin-bottom: 10px; 48 | margin-top: -40px; 49 | position: relative; 50 | z-index: 99; 51 | border: 1px solid #ddd; 52 | top: 3px; 53 | right: 5px; 54 | top: -32px; 55 | .slicknav_icon{ 56 | margin-right: 6px; 57 | margin-top: 3px; 58 | position: relative; 59 | padding-bottom: 3px; 60 | top: -11px; 61 | right: -5px; 62 | } 63 | } 64 | } 65 | @media #{$mobile_device} { 66 | margin-right: 0px; 67 | } 68 | } 69 | 70 | 71 | // slick-nav 72 | .slicknav_nav .slicknav_arrow { 73 | float: right; 74 | font-size: 22px; 75 | position: relative; 76 | top: -9px; 77 | } 78 | .slicknav_btn { 79 | background-color: transparent; 80 | cursor: pointer; 81 | margin-bottom: 10px; 82 | position: relative; 83 | z-index: 99; 84 | border: none; 85 | border-radius: 3px; 86 | top: 5px; 87 | padding: 5px; 88 | right: 5px; 89 | margin-top: -5px; 90 | top: -31px; 91 | } 92 | .slicknav_btn { 93 | background-color: transparent; 94 | cursor: pointer; 95 | margin-bottom: 10px; 96 | position: relative; 97 | z-index: 99; 98 | border: none; 99 | border-radius: 3px; 100 | top: 5px; 101 | padding: 5px; 102 | right: 0; 103 | margin-top: -5px; 104 | top: -32px; 105 | } -------------------------------------------------------------------------------- /js/nice-select.min.js: -------------------------------------------------------------------------------- 1 | /* jQuery Nice Select - v1.0 2 | https://github.com/hernansartorio/jquery-nice-select 3 | Made by Hernán Sartorio */ 4 | !function(e){e.fn.niceSelect=function(t){function s(t){t.after(e("
").addClass("nice-select").addClass(t.attr("class")||"").addClass(t.attr("disabled")?"disabled":"").attr("tabindex",t.attr("disabled")?null:"0").html(''));var s=t.next(),n=t.find("option"),i=t.find("option:selected");s.find(".current").html(i.data("display")||i.text()),n.each(function(t){var n=e(this),i=n.data("display");s.find("ul").append(e("
  • ").attr("data-value",n.val()).attr("data-display",i||null).addClass("option"+(n.is(":selected")?" selected":"")+(n.is(":disabled")?" disabled":"")).html(n.text()))})}if("string"==typeof t)return"update"==t?this.each(function(){var t=e(this),n=e(this).next(".nice-select"),i=n.hasClass("open");n.length&&(n.remove(),s(t),i&&t.next().trigger("click"))}):"destroy"==t?(this.each(function(){var t=e(this),s=e(this).next(".nice-select");s.length&&(s.remove(),t.css("display",""))}),0==e(".nice-select").length&&e(document).off(".nice_select")):console.log('Method "'+t+'" does not exist.'),this;this.hide(),this.each(function(){var t=e(this);t.next().hasClass("nice-select")||s(t)}),e(document).off(".nice_select"),e(document).on("click.nice_select",".nice-select",function(t){var s=e(this);e(".nice-select").not(s).removeClass("open"),s.toggleClass("open"),s.hasClass("open")?(s.find(".option"),s.find(".focus").removeClass("focus"),s.find(".selected").addClass("focus")):s.focus()}),e(document).on("click.nice_select",function(t){0===e(t.target).closest(".nice-select").length&&e(".nice-select").removeClass("open").find(".option")}),e(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(t){var s=e(this),n=s.closest(".nice-select");n.find(".selected").removeClass("selected"),s.addClass("selected");var i=s.data("display")||s.text();n.find(".current").text(i),n.prev("select").val(s.data("value")).trigger("change")}),e(document).on("keydown.nice_select",".nice-select",function(t){var s=e(this),n=e(s.find(".focus")||s.find(".list .option.selected"));if(32==t.keyCode||13==t.keyCode)return s.hasClass("open")?n.trigger("click"):s.trigger("click"),!1;if(40==t.keyCode){if(s.hasClass("open")){var i=n.nextAll(".option:not(.disabled)").first();i.length>0&&(s.find(".focus").removeClass("focus"),i.addClass("focus"))}else s.trigger("click");return!1}if(38==t.keyCode){if(s.hasClass("open")){var l=n.prevAll(".option:not(.disabled)").first();l.length>0&&(s.find(".focus").removeClass("focus"),l.addClass("focus"))}else s.trigger("click");return!1}if(27==t.keyCode)s.hasClass("open")&&s.trigger("click");else if(9==t.keyCode&&s.hasClass("open"))return!1});var n=document.createElement("a").style;return n.cssText="pointer-events:auto","auto"!==n.pointerEvents&&e("html").addClass("no-csspointerevents"),this}}(jQuery); -------------------------------------------------------------------------------- /scss/_faq.scss: -------------------------------------------------------------------------------- 1 | .courses_details_info{ 2 | padding-top: 190px; 3 | @media #{$mobile_device}{ 4 | padding-top: 60px; 5 | } 6 | .accordion_heading{ 7 | margin-bottom: 100px; 8 | @media #{$mobile_device} { 9 | margin-bottom: 30px; 10 | } 11 | @media #{$tablet_device} { 12 | margin-bottom: 30px; 13 | } 14 | h3{ 15 | font-size: 42px; 16 | font-weight: 400; 17 | margin-bottom: 0; 18 | @media #{$mobile_device}{ 19 | font-size: 28px; 20 | } 21 | } 22 | } 23 | #accordion{ 24 | .card{ 25 | h5{ 26 | 27 | button{ 28 | font-size: 22px; 29 | font-weight: 400; 30 | color: #1F1F1F; 31 | @media #{$mobile_device}{ 32 | font-size: 13px; 33 | } 34 | @media #{$tablet_device}{ 35 | font-size: 18px; 36 | } 37 | i{ 38 | color: #00D363; 39 | padding-right: 15px; 40 | } 41 | } 42 | 43 | } 44 | .card-body{ 45 | padding: 0 0 40px 76px; 46 | @media #{$mobile_device} { 47 | padding: 0 20px 10px 20px; 48 | } 49 | } 50 | } 51 | .card { 52 | position: relative; 53 | display: -webkit-box; 54 | display: -ms-flexbox; 55 | display: flex; 56 | -webkit-box-orient: vertical; 57 | -webkit-box-direction: normal; 58 | -ms-flex-direction: column; 59 | flex-direction: column; 60 | min-width: 0; 61 | word-wrap: break-word; 62 | background-color: #fff; 63 | background-clip: border-box; 64 | border: 1px solid rgba(0, 0, 0, .125); 65 | border-radius: .25rem; 66 | background: #fff !important; 67 | border: 1px solid #E9E5EC; 68 | border: 5px; 69 | margin-bottom: 30px; 70 | border: 1px solid #E9E5EC; 71 | .card-header { 72 | margin-bottom: 0; 73 | background-color: #fff; 74 | border-bottom: none; 75 | // padding: 14px 0 0 14px; 76 | padding: 14px 0 16px 14px; 77 | span{ 78 | @media #{$mobile_device} { 79 | display: none; 80 | } 81 | } 82 | } 83 | } 84 | } 85 | .btn-link.focus, .btn-link:focus { 86 | text-decoration: none; 87 | border-color: transparent; 88 | box-shadow: none; 89 | } 90 | .btn-link:hover { 91 | color: #0056b3; 92 | text-decoration: none; 93 | background-color: transparent; 94 | border-color: transparent; 95 | } 96 | } -------------------------------------------------------------------------------- /css/owl.carousel.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Owl Carousel v2.2.1 3 | * Copyright 2013-2017 David Deutsch 4 | * Licensed under () 5 | */ 6 | .owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{animation-duration:1s;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{animation-name:fadeOut}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%} -------------------------------------------------------------------------------- /js/contact.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | 3 | (function($) { 4 | "use strict"; 5 | 6 | 7 | jQuery.validator.addMethod('answercheck', function (value, element) { 8 | return this.optional(element) || /^\bcat\b$/.test(value) 9 | }, "type the correct answer -_-"); 10 | 11 | // validate contactForm form 12 | $(function() { 13 | $('#contactForm').validate({ 14 | rules: { 15 | name: { 16 | required: true, 17 | minlength: 2 18 | }, 19 | subject: { 20 | required: true, 21 | minlength: 4 22 | }, 23 | number: { 24 | required: true, 25 | minlength: 5 26 | }, 27 | email: { 28 | required: true, 29 | email: true 30 | }, 31 | message: { 32 | required: true, 33 | minlength: 20 34 | } 35 | }, 36 | messages: { 37 | name: { 38 | required: "come on, you have a name, don't you?", 39 | minlength: "your name must consist of at least 2 characters" 40 | }, 41 | subject: { 42 | required: "come on, you have a subject, don't you?", 43 | minlength: "your subject must consist of at least 4 characters" 44 | }, 45 | number: { 46 | required: "come on, you have a number, don't you?", 47 | minlength: "your Number must consist of at least 5 characters" 48 | }, 49 | email: { 50 | required: "no email, no message" 51 | }, 52 | message: { 53 | required: "um...yea, you have to write something to send this form.", 54 | minlength: "thats all? really?" 55 | } 56 | }, 57 | submitHandler: function(form) { 58 | $(form).ajaxSubmit({ 59 | type:"POST", 60 | data: $(form).serialize(), 61 | url:"contact_process.php", 62 | success: function() { 63 | $('#contactForm :input').attr('disabled', 'disabled'); 64 | $('#contactForm').fadeTo( "slow", 1, function() { 65 | $(this).find(':input').attr('disabled', 'disabled'); 66 | $(this).find('label').css('cursor','default'); 67 | $('#success').fadeIn() 68 | $('.modal').modal('hide'); 69 | $('#success').modal('show'); 70 | }) 71 | }, 72 | error: function() { 73 | $('#contactForm').fadeTo( "slow", 1, function() { 74 | $('#error').fadeIn() 75 | $('.modal').modal('hide'); 76 | $('#error').modal('show'); 77 | }) 78 | } 79 | }) 80 | } 81 | }) 82 | }) 83 | 84 | })(jQuery) 85 | }) -------------------------------------------------------------------------------- /scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | // opacity 2 | @mixin opacity($opacity) { 3 | opacity: $opacity; 4 | $opacity-ie: $opacity * 100; 5 | filter: alpha(opacity=$opacity-ie); //IE8 6 | } 7 | // transition 8 | @mixin transition($args...) { 9 | -webkit-transition: $args; 10 | -moz-transition: $args; 11 | -ms-transition: $args; 12 | -o-transition: $args; 13 | transition: $args; 14 | }// transition 15 | @mixin border-radius($man) { 16 | -webkit-border-radius: $man; 17 | -moz-border-radius: $man; 18 | border-radius: $man; 19 | } 20 | 21 | 22 | // Flexbox display 23 | @mixin flexbox() { 24 | display: -webkit-box; 25 | display: -moz-box; 26 | display: -ms-flexbox; 27 | display: -webkit-flex; 28 | display: flex; 29 | } 30 | 31 | // justify-content 32 | @mixin justify-content($justify) { 33 | -webkit-justify-content: $justify; 34 | -moz-justify-content: $justify; 35 | -ms-justify-content: $justify; 36 | justify-content: $justify; 37 | -ms-flex-pack: $justify; 38 | } 39 | 40 | // align-content 41 | @mixin align-content($align) { 42 | -webkit-align-content: $align; 43 | -moz-align-content: $align; 44 | -ms-align-content: $align; 45 | align-content: $align; 46 | } 47 | 48 | // Cross-axis Alignment 49 | @mixin align-items($align) { 50 | -webkit-align-items: $align; 51 | -moz-align-items: $align; 52 | -ms-align-items: $align; 53 | align-items: $align; 54 | } 55 | 56 | 57 | // transform 58 | // Browser Prefixes 59 | @mixin transform($transforms) { 60 | -webkit-transform: $transforms; 61 | -moz-transform: $transforms; 62 | -ms-transform: $transforms; 63 | transform: $transforms; 64 | } 65 | // Translate 66 | @mixin translate ($x, $y) { 67 | @include transform(translate($x, $y)); 68 | } 69 | // TranslateY 70 | @mixin translateY ($y) { 71 | @include transform(translateY($y)); 72 | } 73 | // TranslateY 74 | @mixin translateX ($x) { 75 | @include transform(translateX($x)); 76 | } 77 | 78 | 79 | // Box shadows 80 | @mixin box-shadow($shadow...) { 81 | -webkit-box-shadow: $shadow; 82 | -moz-box-shadow: $shadow; 83 | box-shadow: $shadow; 84 | } 85 | 86 | 87 | 88 | @mixin background($imgpath,$position: center,$size: cover,$repeat: no-repeat) { 89 | background: { 90 | image: url($imgpath); 91 | position: $position; 92 | repeat: $repeat; 93 | size: $size; 94 | } 95 | } 96 | @mixin transform_time($total_time) { 97 | -webkit-transition: $total_time; 98 | transition: $total_time; 99 | } 100 | @mixin placeholder { 101 | &.placeholder { 102 | @content; 103 | } 104 | &:-moz-placeholder { 105 | @content; 106 | } 107 | &::-moz-placeholder { 108 | @content; 109 | } 110 | &::-webkit-input-placeholder { 111 | @content; 112 | } 113 | } 114 | @mixin transition($args: all 0.6s ease 0s) { 115 | -webkit-transition: $args; 116 | -moz-transition: $args; 117 | -o-transition: $args; 118 | transition: $args; 119 | } 120 | 121 | @mixin keyframes ($animation-name) { 122 | @-webkit-keyframes #{$animation-name} { 123 | @content; 124 | } 125 | @-moz-keyframes #{$animation-name} { 126 | @content; 127 | } 128 | @-o-keyframes #{$animation-name} { 129 | @content; 130 | } 131 | @keyframes #{$animation-name} { 132 | @content; 133 | } 134 | } -------------------------------------------------------------------------------- /scss/_contact.scss: -------------------------------------------------------------------------------- 1 | /*=================== contact banner start ====================*/ 2 | 3 | .dropdown .dropdown-menu { 4 | -webkit-transition: all 0.3s; 5 | -moz-transition: all 0.3s; 6 | -ms-transition: all 0.3s; 7 | -o-transition: all 0.3s; 8 | transition: all 0.3s; 9 | } 10 | .contact-info{ 11 | margin-bottom: 25px; 12 | 13 | &__icon{ 14 | margin-right: 20px; 15 | 16 | i,span{ 17 | color: #8f9195; 18 | font-size: 27px; 19 | } 20 | } 21 | 22 | .media-body{ 23 | 24 | h3{ 25 | font-size: 16px; 26 | margin-bottom: 0; 27 | font-size: 16px; 28 | color: #2a2a2a; 29 | a{ 30 | &:hover{ 31 | color: $theme-color2; 32 | } 33 | } 34 | } 35 | 36 | p{ 37 | color: #8a8a8a; 38 | } 39 | } 40 | } 41 | /*=================== contact banner end ====================*/ 42 | 43 | 44 | /*=================== contact form start ====================*/ 45 | .contact-title{ 46 | font-size: 27px; 47 | font-weight: 600; 48 | margin-bottom: 20px; 49 | } 50 | 51 | .form-contact{ 52 | 53 | label{ 54 | font-size: 14px; 55 | } 56 | 57 | .form-group{ 58 | margin-bottom: 30px; 59 | } 60 | 61 | .form-control{ 62 | border: 1px solid #e5e6e9; 63 | border-radius: 0px; 64 | height: 48px; 65 | padding-left: 18px; 66 | font-size: 13px; 67 | background: transparent; 68 | 69 | &:focus{ 70 | outline: 0; 71 | box-shadow: none; 72 | } 73 | 74 | &::placeholder{ 75 | font-weight: 300; 76 | color: #999999; 77 | } 78 | } 79 | 80 | textarea{ 81 | border-radius: 0px; 82 | height: 100% !important; 83 | } 84 | 85 | // button{ 86 | // border: 0; 87 | // } 88 | } 89 | 90 | /*=================== contact form end ====================*/ 91 | 92 | /* Contact Success and error Area css 93 | ============================================================================================ */ 94 | 95 | 96 | .modal-message { 97 | .modal-dialog { 98 | position: absolute; 99 | top: 36%; 100 | left: 50%; 101 | transform: translateX(-50%) translateY(-50%) !important; 102 | margin: 0px; 103 | max-width: 500px; 104 | width: 100%; 105 | .modal-content { 106 | .modal-header { 107 | text-align: center; 108 | display: block; 109 | border-bottom: none; 110 | padding-top: 50px; 111 | padding-bottom: 50px; 112 | .close { 113 | position: absolute; 114 | right: -15px; 115 | top: -15px; 116 | padding: 0px; 117 | color: #fff; 118 | opacity: 1; 119 | cursor: pointer; 120 | } 121 | h2 { 122 | display: block; 123 | text-align: center; 124 | padding-bottom: 10px; 125 | } 126 | p { 127 | display: block; 128 | } 129 | } 130 | } 131 | } 132 | } 133 | .contact-section{ 134 | padding: 130px 0 100px; 135 | @media #{$tab}{ 136 | padding: 70px 0 40px; 137 | } 138 | @media #{$medium_device}{ 139 | padding: 80px 0 50px; 140 | } 141 | .btn_2{ 142 | background-color:#191d34; 143 | padding: 18px 60px; 144 | border-radius: 50px; 145 | margin-top: 0; 146 | &:hover{ 147 | background-color: $theme-color2; 148 | 149 | } 150 | } 151 | } 152 | 153 | 154 | -------------------------------------------------------------------------------- /js/scrollIt.js: -------------------------------------------------------------------------------- 1 | /** 2 | * ScrollIt 3 | * ScrollIt.js(scroll•it•dot•js) makes it easy to make long, vertically scrolling pages. 4 | * 5 | * Latest version: https://github.com/cmpolis/scrollIt.js 6 | * 7 | * License 8 | */ 9 | (function($) { 10 | 'use strict'; 11 | 12 | var pluginName = 'ScrollIt', 13 | pluginVersion = '1.0.3'; 14 | 15 | /* 16 | * OPTIONS 17 | */ 18 | var defaults = { 19 | upKey: 38, 20 | downKey: 40, 21 | easing: 'linear', 22 | scrollTime: 600, 23 | activeClass: 'active', 24 | onPageChange: null, 25 | topOffset : 0 26 | }; 27 | 28 | $.scrollIt = function(options) { 29 | 30 | /* 31 | * DECLARATIONS 32 | */ 33 | var settings = $.extend(defaults, options), 34 | active = 0, 35 | lastIndex = $('[data-scroll-index]:last').attr('data-scroll-index'); 36 | 37 | /* 38 | * METHODS 39 | */ 40 | 41 | /** 42 | * navigate 43 | * 44 | * sets up navigation animation 45 | */ 46 | var navigate = function(ndx) { 47 | if(ndx < 0 || ndx > lastIndex) return; 48 | 49 | var targetTop = $('[data-scroll-index=' + ndx + ']').offset().top + settings.topOffset + 1; 50 | $('html,body').animate({ 51 | scrollTop: targetTop, 52 | easing: settings.easing 53 | }, settings.scrollTime); 54 | }; 55 | 56 | /** 57 | * doScroll 58 | * 59 | * runs navigation() when criteria are met 60 | */ 61 | var doScroll = function (e) { 62 | var target = $(e.target).closest("[data-scroll-nav]").attr('data-scroll-nav') || 63 | $(e.target).closest("[data-scroll-goto]").attr('data-scroll-goto'); 64 | navigate(parseInt(target)); 65 | }; 66 | 67 | /** 68 | * keyNavigation 69 | * 70 | * sets up keyboard navigation behavior 71 | */ 72 | var keyNavigation = function (e) { 73 | var key = e.which; 74 | if($('html,body').is(':animated') && (key == settings.upKey || key == settings.downKey)) { 75 | return false; 76 | } 77 | if(key == settings.upKey && active > 0) { 78 | navigate(parseInt(active) - 1); 79 | return false; 80 | } else if(key == settings.downKey && active < lastIndex) { 81 | navigate(parseInt(active) + 1); 82 | return false; 83 | } 84 | return true; 85 | }; 86 | 87 | /** 88 | * updateActive 89 | * 90 | * sets the currently active item 91 | */ 92 | var updateActive = function(ndx) { 93 | if(settings.onPageChange && ndx && (active != ndx)) settings.onPageChange(ndx); 94 | 95 | active = ndx; 96 | $('[data-scroll-nav]').removeClass(settings.activeClass); 97 | $('[data-scroll-nav=' + ndx + ']').addClass(settings.activeClass); 98 | }; 99 | 100 | /** 101 | * watchActive 102 | * 103 | * watches currently active item and updates accordingly 104 | */ 105 | var watchActive = function() { 106 | var winTop = $(window).scrollTop(); 107 | 108 | var visible = $('[data-scroll-index]').filter(function(ndx, div) { 109 | return winTop >= $(div).offset().top + settings.topOffset && 110 | winTop < $(div).offset().top + (settings.topOffset) + $(div).outerHeight() 111 | }); 112 | var newActive = visible.first().attr('data-scroll-index'); 113 | updateActive(newActive); 114 | }; 115 | 116 | /* 117 | * runs methods 118 | */ 119 | $(window).on('scroll',watchActive).scroll(); 120 | 121 | $(window).on('keydown', keyNavigation); 122 | 123 | $('body').on('click','[data-scroll-nav], [data-scroll-goto]', function(e){ 124 | e.preventDefault(); 125 | doScroll(e); 126 | }); 127 | 128 | }; 129 | }(jQuery)); 130 | -------------------------------------------------------------------------------- /css/nice-select.css: -------------------------------------------------------------------------------- 1 | .nice-select { 2 | -webkit-tap-highlight-color: transparent; 3 | background-color: #fff; 4 | border-radius: 5px; 5 | border: solid 1px #e8e8e8; 6 | box-sizing: border-box; 7 | clear: both; 8 | cursor: pointer; 9 | display: block; 10 | float: left; 11 | font-family: inherit; 12 | font-size: 14px; 13 | font-weight: normal; 14 | height: 42px; 15 | line-height: 40px; 16 | outline: none; 17 | padding-left: 18px; 18 | padding-right: 30px; 19 | position: relative; 20 | text-align: left !important; 21 | -webkit-transition: all 0.2s ease-in-out; 22 | transition: all 0.2s ease-in-out; 23 | -webkit-user-select: none; 24 | -moz-user-select: none; 25 | -ms-user-select: none; 26 | user-select: none; 27 | white-space: nowrap; 28 | width: auto; } 29 | .nice-select:hover { 30 | border-color: #dbdbdb; } 31 | .nice-select:active, .nice-select.open, .nice-select:focus { 32 | border-color: #999; } 33 | 34 | 35 | .nice-select.disabled { 36 | border-color: #ededed; 37 | color: #999; 38 | pointer-events: none; } 39 | .nice-select.disabled:after { 40 | border-color: #cccccc; } 41 | .nice-select.wide { 42 | width: 100%; } 43 | .nice-select.wide .list { 44 | left: 0 !important; 45 | right: 0 !important; } 46 | .nice-select.right { 47 | float: right; } 48 | .nice-select.right .list { 49 | left: auto; 50 | right: 0; } 51 | .nice-select.small { 52 | font-size: 12px; 53 | height: 36px; 54 | line-height: 34px; } 55 | .nice-select.small:after { 56 | height: 4px; 57 | width: 4px; } 58 | .nice-select.small .option { 59 | line-height: 34px; 60 | min-height: 34px; } 61 | .nice-select .list { 62 | background-color: #fff; 63 | border-radius: 5px; 64 | box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11); 65 | box-sizing: border-box; 66 | margin-top: 4px; 67 | opacity: 0; 68 | overflow: hidden; 69 | padding: 0; 70 | pointer-events: none; 71 | position: absolute; 72 | top: 100%; 73 | left: 0; 74 | -webkit-transform-origin: 50% 0; 75 | -ms-transform-origin: 50% 0; 76 | transform-origin: 50% 0; 77 | -webkit-transform: scale(0.75) translateY(-21px); 78 | -ms-transform: scale(0.75) translateY(-21px); 79 | transform: scale(0.75) translateY(-21px); 80 | -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out; 81 | transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out; 82 | z-index: 9; } 83 | .nice-select .list:hover .option:not(:hover) { 84 | background-color: transparent !important; } 85 | .nice-select .option { 86 | cursor: pointer; 87 | font-weight: 400; 88 | line-height: 40px; 89 | list-style: none; 90 | min-height: 40px; 91 | outline: none; 92 | padding-left: 18px; 93 | padding-right: 29px; 94 | text-align: left; 95 | -webkit-transition: all 0.2s; 96 | transition: all 0.2s; } 97 | .nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus { 98 | background-color: #f6f6f6; } 99 | .nice-select .option.selected { 100 | font-weight: bold; } 101 | .nice-select .option.disabled { 102 | background-color: transparent; 103 | color: #999; 104 | cursor: default; } 105 | 106 | .no-csspointerevents .nice-select .list { 107 | display: none; } 108 | 109 | .no-csspointerevents .nice-select.open .list { 110 | display: block; } 111 | 112 | 113 | 114 | 115 | 116 | /* ,,,,,,,,,,,,,,,, */ 117 | 118 | 119 | .nice-select:after { 120 | content: "\e64b"; 121 | display: block; 122 | height: 5px; 123 | margin-top: -5px; 124 | pointer-events: none; 125 | position: absolute; 126 | right: 30px; 127 | top: 8px; 128 | transition: all 0.15s ease-in-out; 129 | width: 5px; 130 | font-family: 'themify'; 131 | color: #ddd; } 132 | 133 | .nice-select.open:after { 134 | } 135 | .nice-select.open .list { 136 | opacity: 1; 137 | pointer-events: auto; 138 | -webkit-transform: scale(1) translateY(0); 139 | -ms-transform: scale(1) translateY(0); 140 | transform: scale(1) translateY(0); } -------------------------------------------------------------------------------- /scss/_btn.scss: -------------------------------------------------------------------------------- 1 | .boxed-btn { 2 | background: #fff; 3 | color: $theme-color5; 4 | display: inline-block; 5 | padding: 18px 44px; 6 | font-family: $font1; 7 | font-size: 14px; 8 | font-weight: 400; 9 | border: 0; 10 | border: 1px solid $theme-color5; 11 | letter-spacing: 3px; 12 | // width: 180px; 13 | text-align: center; 14 | color: $theme-color5 !important; 15 | text-transform: uppercase; 16 | cursor: pointer; 17 | &:hover{ 18 | background: $theme-color5; 19 | color: #fff !important; 20 | border: 1px solid $theme-color5; 21 | } 22 | &:focus{ 23 | outline: none; 24 | } 25 | &.large-width{ 26 | width: 220px; 27 | } 28 | } 29 | .boxed-btn3 { 30 | background: $theme-color4;; 31 | color: #fff; 32 | display: inline-block; 33 | padding: 12px 27px; 34 | font-family: $font1; 35 | font-size: 16px; 36 | font-weight: 400; 37 | border: 0; 38 | border: 1px solid $theme-color4; 39 | // width: 180px; 40 | text-align: center; 41 | color: #fff !important; 42 | text-transform: capitalize; 43 | @include transition(.5s); 44 | cursor: pointer; 45 | &:hover{ 46 | background: #fff; 47 | color: $theme-color4 !important; 48 | border: 1px solid $theme-color4; 49 | } 50 | &:focus{ 51 | outline: none; 52 | } 53 | &.large-width{ 54 | width: 220px; 55 | } 56 | } 57 | .boxed-btn2 { 58 | background: transparent; 59 | color: #fff; 60 | display: inline-block; 61 | padding: 18px 24px; 62 | font-family: $font1; 63 | font-size: 14px; 64 | font-weight: 400; 65 | border: 0; 66 | border: 1px solid #fff; 67 | letter-spacing: 2px; 68 | text-transform: uppercase; 69 | &:hover{ 70 | background: #fff; 71 | color: #131313 !important; 72 | } 73 | &:focus{ 74 | outline: none; 75 | } 76 | } 77 | .line-button{ 78 | color: #919191; 79 | font-size: 16px; 80 | font-weight: 400; 81 | display: inline-block; 82 | position: relative; 83 | padding-right: 5px; 84 | padding-bottom: 2px; 85 | &::before{ 86 | position: absolute; 87 | content: ""; 88 | background: #919191; 89 | width: 100%; 90 | height: 1px; 91 | bottom: 0; 92 | left: 0; 93 | } 94 | &:hover{ 95 | color: #009DFF; 96 | } 97 | &:hover::before{ 98 | background: #009DFF; 99 | } 100 | } 101 | .book_now{ 102 | display: inline-block; 103 | font-size: 14px; 104 | color: #009DFF; 105 | border: 1px solid #009DFF; 106 | text-transform: capitalize; 107 | padding: 10px 25px; 108 | &:hover{ 109 | background: #009DFF; 110 | color: #fff; 111 | } 112 | } 113 | .boxed_btn { 114 | cursor: pointer; 115 | font-size: 16px; 116 | color: #fff; 117 | padding: 17px 50px; 118 | background: #04D2C8; 119 | @include border-radius(30px); 120 | border: 1px solid transparent; 121 | display: inline-block; 122 | @include transition(.3s); 123 | &:hover{ 124 | background: transparent ; 125 | color: #04D2C8; 126 | border: 1px solid #04D2C8; 127 | color: #04D2C8 !important; 128 | } 129 | } 130 | .boxed_btn_rev { 131 | cursor: pointer; 132 | font-size: 16px; 133 | color: #fff; 134 | padding: 17px 50px; 135 | background: transparent ; 136 | color: #04D2C8; 137 | border: 1px solid #04D2C8 !important; 138 | @include border-radius(30px); 139 | border: 1px solid transparent; 140 | display: inline-block; 141 | @include transition(.3s); 142 | &:hover{ 143 | color: #fff !important; 144 | background: #04D2C8 !important; 145 | } 146 | } 147 | 148 | .boxed_btn_orange { 149 | cursor: pointer; 150 | font-size: 16px; 151 | color: #fff; 152 | padding: 12px 30px; 153 | background: #FDAE5C; 154 | @include border-radius(30px); 155 | border: 1px solid transparent; 156 | display: inline-block; 157 | @include transition(.3s); 158 | &:hover{ 159 | background: transparent ; 160 | color: #FDAE5C; 161 | border: 1px solid #FDAE5C; 162 | color: #FDAE5C !important; 163 | } 164 | } 165 | 166 | .boxed_btn_orange2 { 167 | cursor: pointer; 168 | font-size: 16px; 169 | color: #fff; 170 | padding: 12px 30px; 171 | @include border-radius(30px); 172 | border: 1px solid transparent; 173 | @include transition(.3s); 174 | background: transparent ; 175 | color: #FDAE5C; 176 | border: 1px solid #FDAE5C; 177 | display: inline-block; 178 | &:hover{ 179 | color: #fff !important; 180 | background: #FDAE5C; 181 | } 182 | } -------------------------------------------------------------------------------- /scss/_reset.scss: -------------------------------------------------------------------------------- 1 | @import 'mixins.scss'; 2 | @import 'varriable'; 3 | /* 1. Theme default css */ 4 | body { 5 | font-family: $font2; 6 | font-weight: normal; 7 | font-style: normal; 8 | 9 | } 10 | 11 | .img { 12 | max-width: 100%; 13 | @include transition(.3s); 14 | } 15 | a, 16 | .button { 17 | @include transition(.3s); 18 | } 19 | a:focus, 20 | .button:focus,button:focus { 21 | text-decoration: none; 22 | outline: none; 23 | } 24 | a:focus{ 25 | text-decoration: none; 26 | } 27 | a:focus, 28 | a:hover, 29 | .portfolio-cat a:hover, 30 | .footer -menu li a:hover { 31 | text-decoration: none; 32 | } 33 | a, 34 | button { 35 | color: #1F1F1F; 36 | outline: medium none; 37 | } 38 | h1,h2,h3,h4,h5{ 39 | font-family: $font1; 40 | color: #2E004B; 41 | } 42 | h1 a, 43 | h2 a, 44 | h3 a, 45 | h4 a, 46 | h5 a, 47 | h6 a { 48 | color: inherit; 49 | } 50 | 51 | ul { 52 | margin: 0px; 53 | padding: 0px; 54 | } 55 | li { 56 | list-style: none 57 | } 58 | p { 59 | font-size: 16px; 60 | font-weight:300; 61 | line-height: 28px; 62 | color: #919191; 63 | margin-bottom: 13px; 64 | font-family: $font2; 65 | } 66 | 67 | label { 68 | color: #7e7e7e; 69 | cursor: pointer; 70 | font-size: 14px; 71 | font-weight: 400; 72 | } 73 | *::-moz-selection { 74 | background: #444; 75 | color: #fff; 76 | text-shadow: none; 77 | } 78 | ::-moz-selection { 79 | background: #444; 80 | color: #fff; 81 | text-shadow: none; 82 | } 83 | ::selection { 84 | background: #444; 85 | color: #fff; 86 | text-shadow: none; 87 | } 88 | *::-webkit-input-placeholder { 89 | color: #cccccc; 90 | font-size: 14px; 91 | opacity: 1; 92 | } 93 | *:-ms-input-placeholder { 94 | color: #cccccc; 95 | font-size: 14px; 96 | opacity: 1; 97 | } 98 | *::-ms-input-placeholder { 99 | color: #cccccc; 100 | font-size: 14px; 101 | opacity: 1; 102 | } 103 | *::placeholder { 104 | color: #cccccc; 105 | font-size: 14px; 106 | opacity: 1; 107 | } 108 | 109 | h3{ 110 | font-size: 24px; 111 | } 112 | 113 | .mb-65{ 114 | margin-bottom: 67px; 115 | } 116 | // default-bg-color 117 | .black-bg{ 118 | background: #020c26 !important; 119 | } 120 | 121 | .white-bg{ 122 | background: #ffffff; 123 | } 124 | .gray-bg{ 125 | background: #f5f5f5; 126 | } 127 | 128 | // background-image 129 | .bg-img-1{ 130 | background-image: url(../img/slider/slider-img-1.jpg); 131 | } 132 | .bg-img-2{ 133 | background-image: url(../img/background-img/bg-img-2.jpg); 134 | } 135 | .cta-bg-1{ 136 | background-image: url(../img/background-img/bg-img-3.jpg); 137 | 138 | } 139 | 140 | .overlay{ 141 | position: relative; 142 | z-index: 0; 143 | } 144 | .overlay::before{ 145 | position: absolute; 146 | content: ""; 147 | background-color: #000; 148 | top: 0; 149 | left: 0; 150 | width: 100%; 151 | height: 100%; 152 | z-index: -1; 153 | opacity: .5; 154 | } 155 | 156 | .overlay2{ 157 | position: relative; 158 | z-index: 0; 159 | } 160 | .overlay2::before{ 161 | position: absolute; 162 | content: ""; 163 | background-color: #2E004B; 164 | top: 0; 165 | left: 0; 166 | width: 100%; 167 | height: 100%; 168 | z-index: -1; 169 | opacity: 0.6; 170 | } 171 | 172 | .section-padding{ 173 | padding-top: 120px; 174 | padding-bottom: 120px; 175 | } 176 | .pt-120{ 177 | padding-top: 120px; 178 | } 179 | 180 | /* button style */ 181 | .owl-carousel { 182 | .owl-nav div { 183 | background: transparent; 184 | height: 54px; 185 | left: 150px; 186 | line-height: 54px; 187 | // opacity: 0; 188 | position: absolute; 189 | text-align: center; 190 | top: 50%; 191 | -webkit-transform: translateY(-50%); 192 | -ms-transform: translateY(-50%); 193 | transform: translateY(-50%); 194 | -webkit-transition: all 0.3s ease 0s; 195 | -o-transition: all 0.3s ease 0s; 196 | transition: all 0.3s ease 0s; 197 | // visibility: hidden; 198 | width: 54px; 199 | font-size: 25px; 200 | color: #fff; 201 | background-color: rgba(255, 255, 255,.20); 202 | border-radius: 50%; 203 | left: 50px; 204 | font-size: 18px; 205 | line-height: 54px; 206 | font-size: 20px; 207 | line-height: 54px; 208 | color: #fff; 209 | left: 150px; 210 | } 211 | .owl-nav{ 212 | div{ 213 | &.owl-next{ 214 | // left: 86px; 215 | // right: auto; 216 | left: auto; 217 | right: 150px; 218 | i{ 219 | position: relative; 220 | right: 0; 221 | top: 1px; 222 | } 223 | } 224 | &.owl-prev{ 225 | i{ 226 | position: relative; 227 | right: 1px; 228 | top: 0px; 229 | } 230 | } 231 | } 232 | } 233 | &:hover{ 234 | .owl-nav{ 235 | div{ 236 | opacity: 1; 237 | visibility: visible; 238 | &:hover{ 239 | color: #fff; 240 | background: $theme-color4; 241 | } 242 | } 243 | } 244 | } 245 | } 246 | 247 | .mb-20px{ 248 | margin-bottom: 20px; 249 | } 250 | .mb-90{ 251 | margin-bottom: 90px; 252 | @media #{$mobile_device}{ 253 | margin-bottom: 30px; 254 | } 255 | @media #{$tablet_device}{ 256 | margin-bottom: 45px; 257 | } 258 | } 259 | 260 | -------------------------------------------------------------------------------- /scss/_popular_courses.scss: -------------------------------------------------------------------------------- 1 | .popular_courses{ 2 | padding-top: 60px; 3 | padding-bottom: 200px; 4 | &.plus_padding{ 5 | padding-top: 200px; 6 | @media #{$mobile_device} { 7 | padding-bottom: 100px; 8 | } 9 | @media #{$tablet_device} { 10 | padding-bottom: 100px; 11 | } 12 | @media #{$mid_device} { 13 | padding-bottom: 120px; 14 | } 15 | } 16 | @media #{$mobile_device} { 17 | padding-top: 100px; 18 | padding-bottom: 100px; 19 | } 20 | @media #{$tablet_device} { 21 | padding-top: 60px; 22 | padding-bottom: 100px; 23 | } 24 | .single_courses{ 25 | margin-bottom: 50px; 26 | @include box-shadow(0 5px 10px rgba(0,0,0,0.05)); 27 | .thumb{ 28 | overflow: hidden; 29 | border-top-left-radius: 5px; 30 | border-top-right-radius: 5px; 31 | img{ 32 | width: 100%; 33 | @include transform(scale(1)); 34 | @include transition(.3s); 35 | } 36 | } 37 | .courses_info{ 38 | padding: 30px 30px 15px 30px; 39 | span{ 40 | font-size: 14px; 41 | color: #4D4D4D; 42 | font-family: $font1; 43 | } 44 | h3{ 45 | font-size: 18px; 46 | color: #1F1F1F; 47 | font-family: $font1; 48 | font-weight: 500; 49 | line-height: 28px; 50 | margin-top: 11px; 51 | margin-bottom: 30px; 52 | br{ 53 | @media #{$mobile_device} { 54 | display: none; 55 | } 56 | @media #{$tablet_device} { 57 | display: none; 58 | } 59 | @media #{$mid_device} { 60 | display: none; 61 | } 62 | @media #{large_device} { 63 | display: none; 64 | } 65 | } 66 | a{ 67 | &:hover{ 68 | color: #FDAE5C; 69 | } 70 | } 71 | } 72 | .star_prise{ 73 | border-top: 1px solid #E8E8E8; 74 | padding-top: 16px; 75 | .star{ 76 | i{ 77 | font-size: 16px; 78 | color: #FD8E5E; 79 | 80 | } 81 | span{ 82 | font-weight: 400; 83 | font-size: 14px; 84 | color: #919191; 85 | } 86 | } 87 | .prise{ 88 | span{ 89 | font-size: 16px; 90 | &.offer{ 91 | color: #C7C7C7; 92 | text-decoration: line-through; 93 | margin-right: 14px; 94 | } 95 | &.active_prise{ 96 | color: #1F1F1F; 97 | } 98 | } 99 | } 100 | } 101 | } 102 | &:hover{ 103 | .thumb{ 104 | overflow: hidden; 105 | img{ 106 | width: 100%; 107 | @include transform(scale(1.1)); 108 | } 109 | } 110 | } 111 | } 112 | .more_courses { 113 | margin-top: 30px; 114 | } 115 | .course_nav{ 116 | .nav{ 117 | @include justify-content(space-between); 118 | margin-bottom: 100px; 119 | border-bottom: 1px solid #E8E8E8; 120 | @media #{$mobile_device} { 121 | margin-bottom: 30px; 122 | } 123 | li{ 124 | a{ 125 | font-family: $font1; 126 | font-weight: 500; 127 | padding: 30px 0; 128 | font-size: 16px; 129 | color: #919191; 130 | @media #{$mobile_device} { 131 | padding: 10px 0; 132 | font-size: 15px; 133 | } 134 | @media #{$tablet_device}{ 135 | font-size: 13px; 136 | } 137 | &.active{ 138 | color: #1F1F1F; 139 | position: relative; 140 | z-index: 9; 141 | 142 | &::before{ 143 | content: ""; 144 | background: #04D2C8; 145 | width: 100%; 146 | height: 3px; 147 | bottom: 0; 148 | left: 0; 149 | position: absolute; 150 | } 151 | } 152 | } 153 | } 154 | } 155 | } 156 | } -------------------------------------------------------------------------------- /scss/_team.scss: -------------------------------------------------------------------------------- 1 | .our_team_member{ 2 | padding-top: 134px; 3 | padding-bottom: 130px; 4 | @media #{$mobile_device}{ 5 | padding-top: 60px; 6 | padding-bottom: 60px; 7 | } 8 | @media #{$tablet_device}{ 9 | padding-top: 80px; 10 | padding-bottom: 80px; 11 | } 12 | .single_team{ 13 | margin-bottom: 20px; 14 | .thumb{ 15 | position: relative; 16 | z-index: 2; 17 | overflow: hidden; 18 | img{ 19 | width: 100%; 20 | @include transform(scale(1)); 21 | @include transition(.5s); 22 | } 23 | &::before{ 24 | position: absolute; 25 | left: 0; 26 | bottom: 0; 27 | width: 100%; 28 | height: 100%; 29 | content: ""; 30 | background-image: url(../img/team/overlay.png); 31 | background-size: cover; 32 | background-position: bottom; 33 | background-repeat: no-repeat; 34 | opacity: 0; 35 | @include transition(.5s); 36 | @include transform(translateY(100%)); 37 | z-index: 3; 38 | } 39 | img{ 40 | width: 100%; 41 | } 42 | .social_link{ 43 | position: absolute; 44 | left: 0; 45 | right: 0; 46 | text-align: center; 47 | bottom: 0; 48 | padding: 30px 0; 49 | @include transform(translateY(-40px)); 50 | @include transition(.5s) ; 51 | opacity: 0; 52 | z-index: 11; 53 | a{ 54 | margin: 0 10px; 55 | font-size: 20px; 56 | color: #ddd; 57 | &:hover{ 58 | color: #fff; 59 | } 60 | } 61 | } 62 | } 63 | .master_name{ 64 | position: relative; 65 | z-index: 10; 66 | h3{ 67 | font-size: 24px; 68 | font-family: $font1; 69 | color: #1F1F1F; 70 | font-weight: 400; 71 | margin-top: 25px; 72 | margin-bottom: 0; 73 | } 74 | p{ 75 | font-size: 14px; 76 | margin-bottom: 0; 77 | color: #919191; 78 | font-weight: 400; 79 | } 80 | } 81 | &:hover{ 82 | .social_link{ 83 | @include transform(translateY(0px)); 84 | opacity: 1; 85 | } 86 | .thumb::before{ 87 | opacity: 1; 88 | @include transform(translateY(0%)); 89 | } 90 | img{ 91 | @include transform(scale(1.1)); 92 | } 93 | } 94 | } 95 | } 96 | 97 | .find_bg_1{ 98 | background-image: url(../img/team/img.png); 99 | } 100 | .find_us_area{ 101 | .single_find{ 102 | padding-bottom: 10px; 103 | } 104 | .find_info{ 105 | background: #BC9321; 106 | padding: 70px 0 60px 80px; 107 | @media #{$mobile_device}{ 108 | padding: 20px; 109 | } 110 | .find_info_title{ 111 | font-size: 42px; 112 | font-weight: 400; 113 | position: relative; 114 | color: #fff; 115 | padding-bottom: 20px; 116 | margin-bottom: 55px; 117 | @media #{$mobile_device}{ 118 | font-size: 25px; 119 | 120 | } 121 | &::before{ 122 | position: absolute; 123 | content: ""; 124 | background: #fff; 125 | width: 100px; 126 | height: 2px; 127 | left: 0; 128 | bottom: 0; 129 | } 130 | } 131 | background: #BC9321; 132 | .single_find{ 133 | i{ 134 | font-size: 30px; 135 | color: #fff; 136 | } 137 | .find_text{ 138 | padding-left: 20px; 139 | h3{ 140 | font-size: 16px; 141 | color: #000; 142 | font-weight: 400; 143 | } 144 | p{ 145 | color: #fff; 146 | font-size: 18px; 147 | font-weight: 400; 148 | @media #{$mobile_device}{ 149 | font-size: 15px; 150 | } 151 | } 152 | } 153 | } 154 | } 155 | .book_btn{ 156 | margin-top: 34px; 157 | a{ 158 | background: transparent; 159 | font-size: 16px; 160 | font-weight: 400; 161 | border: 1px solid #fff; 162 | color: #fff; 163 | padding: 14px 20px; 164 | display: inline-block; 165 | &:hover{ 166 | background: #fff; 167 | color: #000 !important; 168 | border: 1px solid #fff; 169 | } 170 | } 171 | } 172 | } -------------------------------------------------------------------------------- /js/jquery.ajaxchimp.min.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 'use strict'; 3 | 4 | $.ajaxChimp = { 5 | responses: { 6 | 'We have sent you a confirmation email' : 0, 7 | 'Please enter a valid email' : 1, 8 | 'An email address must contain a single @' : 2, 9 | 'The domain portion of the email address is invalid (the portion after the @: )' : 3, 10 | 'The username portion of the email address is invalid (the portion before the @: )' : 4, 11 | 'This email address looks fake or invalid. Please enter a real email address' : 5 12 | }, 13 | translations: { 14 | 'en': null 15 | }, 16 | init: function (selector, options) { 17 | $(selector).ajaxChimp(options); 18 | } 19 | }; 20 | 21 | $.fn.ajaxChimp = function (options) { 22 | $(this).each(function(i, elem) { 23 | var form = $(elem); 24 | var email = form.find('input[type=email]'); 25 | var label = form.find('.info'); 26 | 27 | var settings = $.extend({ 28 | 'url': form.attr('action'), 29 | 'language': 'en' 30 | }, options); 31 | 32 | var url = settings.url.replace('/post?', '/post-json?').concat('&c=?'); 33 | 34 | form.attr('novalidate', 'true'); 35 | email.attr('name', 'EMAIL'); 36 | 37 | form.submit(function () { 38 | var msg; 39 | function successCallback(resp) { 40 | if (resp.result === 'success') { 41 | msg = 'We have sent you a confirmation email'; 42 | label.removeClass('error').addClass('valid'); 43 | email.removeClass('error').addClass('valid'); 44 | } else { 45 | email.removeClass('valid').addClass('error'); 46 | label.removeClass('valid').addClass('error'); 47 | var index = -1; 48 | try { 49 | var parts = resp.msg.split(' - ', 2); 50 | if (parts[1] === undefined) { 51 | msg = resp.msg; 52 | } else { 53 | var i = parseInt(parts[0], 10); 54 | if (i.toString() === parts[0]) { 55 | index = parts[0]; 56 | msg = parts[1]; 57 | } else { 58 | index = -1; 59 | msg = resp.msg; 60 | } 61 | } 62 | } 63 | catch (e) { 64 | index = -1; 65 | msg = resp.msg; 66 | } 67 | } 68 | 69 | // Translate and display message 70 | if ( 71 | settings.language !== 'en' 72 | && $.ajaxChimp.responses[msg] !== undefined 73 | && $.ajaxChimp.translations 74 | && $.ajaxChimp.translations[settings.language] 75 | && $.ajaxChimp.translations[settings.language][$.ajaxChimp.responses[msg]] 76 | ) { 77 | msg = $.ajaxChimp.translations[settings.language][$.ajaxChimp.responses[msg]]; 78 | } 79 | label.html(msg); 80 | 81 | label.show(2000); 82 | if (settings.callback) { 83 | settings.callback(resp); 84 | } 85 | } 86 | 87 | var data = {}; 88 | var dataArray = form.serializeArray(); 89 | $.each(dataArray, function (index, item) { 90 | data[item.name] = item.value; 91 | }); 92 | 93 | $.ajax({ 94 | url: url, 95 | data: data, 96 | success: successCallback, 97 | dataType: 'jsonp', 98 | error: function (resp, text) { 99 | console.log('mailchimp ajax submit error: ' + text); 100 | } 101 | }); 102 | 103 | // Translate and display submit message 104 | var submitMsg = 'Submitting...'; 105 | if( 106 | settings.language !== 'en' 107 | && $.ajaxChimp.translations 108 | && $.ajaxChimp.translations[settings.language] 109 | && $.ajaxChimp.translations[settings.language]['submit'] 110 | ) { 111 | submitMsg = $.ajaxChimp.translations[settings.language]['submit']; 112 | } 113 | label.html(submitMsg).show(2000); 114 | 115 | return false; 116 | }); 117 | }); 118 | return this; 119 | }; 120 | })(jQuery); -------------------------------------------------------------------------------- /js/imagesloaded.pkgd.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * imagesLoaded PACKAGED v4.1.4 3 | * JavaScript is all like "You images are done yet or what?" 4 | * MIT License 5 | */ 6 | 7 | !function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return n.indexOf(t)==-1&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{},n=i[e]=i[e]||{};return n[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return n!=-1&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o=0;s={horizontal:{},vertical:{}};f=1;a={};u="waypoints-context-id";p="resize.waypoints";y="scroll.waypoints";v=1;w="waypoints-waypoint-ids";g="waypoint";m="waypoints";o=function(){function t(t){var e=this;this.$element=t;this.element=t[0];this.didResize=false;this.didScroll=false;this.id="context"+f++;this.oldScroll={x:t.scrollLeft(),y:t.scrollTop()};this.waypoints={horizontal:{},vertical:{}};t.data(u,this.id);a[this.id]=this;t.bind(y,function(){var t;if(!(e.didScroll||c)){e.didScroll=true;t=function(){e.doScroll();return e.didScroll=false};return r.setTimeout(t,n[m].settings.scrollThrottle)}});t.bind(p,function(){var t;if(!e.didResize){e.didResize=true;t=function(){n[m]("refresh");return e.didResize=false};return r.setTimeout(t,n[m].settings.resizeThrottle)}})}t.prototype.doScroll=function(){var t,e=this;t={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};if(c&&(!t.vertical.oldScroll||!t.vertical.newScroll)){n[m]("refresh")}n.each(t,function(t,r){var i,o,l;l=[];o=r.newScroll>r.oldScroll;i=o?r.forward:r.backward;n.each(e.waypoints[t],function(t,e){var n,i;if(r.oldScroll<(n=e.offset)&&n<=r.newScroll){return l.push(e)}else if(r.newScroll<(i=e.offset)&&i<=r.oldScroll){return l.push(e)}});l.sort(function(t,e){return t.offset-e.offset});if(!o){l.reverse()}return n.each(l,function(t,e){if(e.options.continuous||t===l.length-1){return e.trigger([i])}})});return this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}};t.prototype.refresh=function(){var t,e,r,i=this;r=n.isWindow(this.element);e=this.$element.offset();this.doScroll();t={horizontal:{contextOffset:r?0:e.left,contextScroll:r?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:r?0:e.top,contextScroll:r?0:this.oldScroll.y,contextDimension:r?n[m]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};return n.each(t,function(t,e){return n.each(i.waypoints[t],function(t,r){var i,o,l,s,f;i=r.options.offset;l=r.offset;o=n.isWindow(r.element)?0:r.$element.offset()[e.offsetProp];if(n.isFunction(i)){i=i.apply(r.element)}else if(typeof i==="string"){i=parseFloat(i);if(r.options.offset.indexOf("%")>-1){i=Math.ceil(e.contextDimension*i/100)}}r.offset=o-e.contextOffset+e.contextScroll-i;if(r.options.onlyOnScroll&&l!=null||!r.enabled){return}if(l!==null&&l<(s=e.oldScroll)&&s<=r.offset){return r.trigger([e.backward])}else if(l!==null&&l>(f=e.oldScroll)&&f>=r.offset){return r.trigger([e.forward])}else if(l===null&&e.oldScroll>=r.offset){return r.trigger([e.forward])}})})};t.prototype.checkEmpty=function(){if(n.isEmptyObject(this.waypoints.horizontal)&&n.isEmptyObject(this.waypoints.vertical)){this.$element.unbind([p,y].join(" "));return delete a[this.id]}};return t}();l=function(){function t(t,e,r){var i,o;r=n.extend({},n.fn[g].defaults,r);if(r.offset==="bottom-in-view"){r.offset=function(){var t;t=n[m]("viewportHeight");if(!n.isWindow(e.element)){t=e.$element.height()}return t-n(this).outerHeight()}}this.$element=t;this.element=t[0];this.axis=r.horizontal?"horizontal":"vertical";this.callback=r.handler;this.context=e;this.enabled=r.enabled;this.id="waypoints"+v++;this.offset=null;this.options=r;e.waypoints[this.axis][this.id]=this;s[this.axis][this.id]=this;i=(o=t.data(w))!=null?o:[];i.push(this.id);t.data(w,i)}t.prototype.trigger=function(t){if(!this.enabled){return}if(this.callback!=null){this.callback.apply(this.element,t)}if(this.options.triggerOnce){return this.destroy()}};t.prototype.disable=function(){return this.enabled=false};t.prototype.enable=function(){this.context.refresh();return this.enabled=true};t.prototype.destroy=function(){delete s[this.axis][this.id];delete this.context.waypoints[this.axis][this.id];return this.context.checkEmpty()};t.getWaypointsByElement=function(t){var e,r;r=n(t).data(w);if(!r){return[]}e=n.extend({},s.horizontal,s.vertical);return n.map(r,function(t){return e[t]})};return t}();d={init:function(t,e){var r;if(e==null){e={}}if((r=e.handler)==null){e.handler=t}this.each(function(){var t,r,i,s;t=n(this);i=(s=e.context)!=null?s:n.fn[g].defaults.context;if(!n.isWindow(i)){i=t.closest(i)}i=n(i);r=a[i.data(u)];if(!r){r=new o(i)}return new l(t,r,e)});n[m]("refresh");return this},disable:function(){return d._invoke(this,"disable")},enable:function(){return d._invoke(this,"enable")},destroy:function(){return d._invoke(this,"destroy")},prev:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(e>0){return t.push(n[e-1])}})},next:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(et.oldScroll.y})},left:function(t){if(t==null){t=r}return h._filter(t,"horizontal",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){if(t==null){t=r}return h._filter(t,"horizontal",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return h._invoke("enable")},disable:function(){return h._invoke("disable")},destroy:function(){return h._invoke("destroy")},extendFn:function(t,e){return d[t]=e},_invoke:function(t){var e;e=n.extend({},s.vertical,s.horizontal);return n.each(e,function(e,n){n[t]();return true})},_filter:function(t,e,r){var i,o;i=a[n(t).data(u)];if(!i){return[]}o=[];n.each(i.waypoints[e],function(t,e){if(r(i,e)){return o.push(e)}});o.sort(function(t,e){return t.offset-e.offset});return n.map(o,function(t){return t.element})}};n[m]=function(){var t,n;n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[];if(h[n]){return h[n].apply(null,t)}else{return h.aggregate.call(null,n)}};n[m].settings={resizeThrottle:100,scrollThrottle:30};return i.load(function(){return n[m]("refresh")})})}).call(this); -------------------------------------------------------------------------------- /js/main.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | // TOP Menu Sticky 4 | $(window).on('scroll', function () { 5 | var scroll = $(window).scrollTop(); 6 | if (scroll < 400) { 7 | $("#sticky-header").removeClass("sticky"); 8 | $('#back-top').fadeIn(500); 9 | } else { 10 | $("#sticky-header").addClass("sticky"); 11 | $('#back-top').fadeIn(500); 12 | } 13 | }); 14 | 15 | 16 | $(document).ready(function(){ 17 | 18 | // mobile_menu 19 | var menu = $('ul#navigation'); 20 | if(menu.length){ 21 | menu.slicknav({ 22 | prependTo: ".mobile_menu", 23 | closedSymbol: '+', 24 | openedSymbol:'-' 25 | }); 26 | }; 27 | // blog-menu 28 | // $('ul#blog-menu').slicknav({ 29 | // prependTo: ".blog_menu" 30 | // }); 31 | 32 | 33 | 34 | // review-active 35 | $('.testmonial_active').owlCarousel({ 36 | loop:true, 37 | margin:0, 38 | items:1, 39 | autoplay:true, 40 | navText:['',''], 41 | nav:true, 42 | dots:false, 43 | autoplayHoverPause: true, 44 | autoplaySpeed: 800, 45 | responsive:{ 46 | 0:{ 47 | items:1, 48 | dots:false, 49 | nav:false, 50 | }, 51 | 767:{ 52 | items:1, 53 | dots:false, 54 | nav:false, 55 | }, 56 | 992:{ 57 | items:1, 58 | nav:false 59 | }, 60 | 1200:{ 61 | items:1, 62 | nav:false 63 | }, 64 | 1500:{ 65 | items:1 66 | } 67 | } 68 | }); 69 | 70 | // for filter 71 | // init Isotope 72 | var $grid = $('.grid').isotope({ 73 | itemSelector: '.grid-item', 74 | percentPosition: true, 75 | masonry: { 76 | // use outer width of grid-sizer for columnWidth 77 | columnWidth: 1 78 | } 79 | }); 80 | 81 | // filter items on button click 82 | $('.portfolio-menu').on('click', 'button', function () { 83 | var filterValue = $(this).attr('data-filter'); 84 | $grid.isotope({ filter: filterValue }); 85 | }); 86 | 87 | //for menu active class 88 | $('.portfolio-menu button').on('click', function (event) { 89 | $(this).siblings('.active').removeClass('active'); 90 | $(this).addClass('active'); 91 | event.preventDefault(); 92 | }); 93 | 94 | // wow js 95 | new WOW().init(); 96 | 97 | // counter 98 | $('.counter').counterUp({ 99 | delay: 10, 100 | time: 10000 101 | }); 102 | 103 | /* magnificPopup img view */ 104 | $('.popup-image').magnificPopup({ 105 | type: 'image', 106 | gallery: { 107 | enabled: true 108 | } 109 | }); 110 | 111 | /* magnificPopup img view */ 112 | $('.img-pop-up').magnificPopup({ 113 | type: 'image', 114 | gallery: { 115 | enabled: true 116 | } 117 | }); 118 | 119 | /* magnificPopup video view */ 120 | $('.popup-video').magnificPopup({ 121 | type: 'iframe' 122 | }); 123 | 124 | 125 | // scrollIt for smoth scroll 126 | $.scrollIt({ 127 | upKey: 38, // key code to navigate to the next section 128 | downKey: 40, // key code to navigate to the previous section 129 | easing: 'linear', // the easing function for animation 130 | scrollTime: 600, // how long (in ms) the animation takes 131 | activeClass: 'active', // class given to the active nav element 132 | onPageChange: null, // function(pageIndex) that is called when page is changed 133 | topOffset: 0 // offste (in px) for fixed top navigation 134 | }); 135 | 136 | // scrollup bottom to top 137 | $.scrollUp({ 138 | scrollName: 'scrollUp', // Element ID 139 | topDistance: '4500', // Distance from top before showing element (px) 140 | topSpeed: 300, // Speed back to top (ms) 141 | animation: 'fade', // Fade, slide, none 142 | animationInSpeed: 200, // Animation in speed (ms) 143 | animationOutSpeed: 200, // Animation out speed (ms) 144 | scrollText: '', // Text for element 145 | activeOverlay: false, // Set CSS color to display scrollUp active point, e.g '#00FFFF' 146 | }); 147 | 148 | 149 | // blog-page 150 | 151 | //brand-active 152 | $('.brand-active').owlCarousel({ 153 | loop:true, 154 | margin:30, 155 | items:1, 156 | autoplay:true, 157 | nav:false, 158 | dots:false, 159 | autoplayHoverPause: true, 160 | autoplaySpeed: 800, 161 | responsive:{ 162 | 0:{ 163 | items:1, 164 | nav:false 165 | 166 | }, 167 | 767:{ 168 | items:4 169 | }, 170 | 992:{ 171 | items:7 172 | } 173 | } 174 | }); 175 | 176 | // blog-dtails-page 177 | 178 | //project-active 179 | $('.project-active').owlCarousel({ 180 | loop:true, 181 | margin:30, 182 | items:1, 183 | // autoplay:true, 184 | navText:['',''], 185 | nav:true, 186 | dots:false, 187 | // autoplayHoverPause: true, 188 | // autoplaySpeed: 800, 189 | responsive:{ 190 | 0:{ 191 | items:1, 192 | nav:false 193 | 194 | }, 195 | 767:{ 196 | items:1, 197 | nav:false 198 | }, 199 | 992:{ 200 | items:2, 201 | nav:false 202 | }, 203 | 1200:{ 204 | items:1, 205 | }, 206 | 1501:{ 207 | items:2, 208 | } 209 | } 210 | }); 211 | 212 | if (document.getElementById('default-select')) { 213 | $('select').niceSelect(); 214 | } 215 | 216 | //about-pro-active 217 | $('.details_active').owlCarousel({ 218 | loop:true, 219 | margin:0, 220 | items:1, 221 | // autoplay:true, 222 | navText:['',''], 223 | nav:true, 224 | dots:false, 225 | // autoplayHoverPause: true, 226 | // autoplaySpeed: 800, 227 | responsive:{ 228 | 0:{ 229 | items:1, 230 | nav:false 231 | 232 | }, 233 | 767:{ 234 | items:1, 235 | nav:false 236 | }, 237 | 992:{ 238 | items:1, 239 | nav:false 240 | }, 241 | 1200:{ 242 | items:1, 243 | } 244 | } 245 | }); 246 | 247 | }); 248 | 249 | // resitration_Form 250 | $(document).ready(function() { 251 | $('.popup-with-form').magnificPopup({ 252 | type: 'inline', 253 | preloader: false, 254 | focus: '#name', 255 | 256 | // When elemened is focused, some mobile browsers in some cases zoom in 257 | // It looks not nice, so we disable it: 258 | callbacks: { 259 | beforeOpen: function() { 260 | if($(window).width() < 700) { 261 | this.st.focus = false; 262 | } else { 263 | this.st.focus = '#name'; 264 | } 265 | } 266 | } 267 | }); 268 | }); 269 | 270 | // resitration_Form 271 | $(document).ready(function() { 272 | $('.dont-hav-acc').magnificPopup({ 273 | type: 'inline', 274 | preloader: false, 275 | focus: '#name', 276 | 277 | // When elemened is focused, some mobile browsers in some cases zoom in 278 | // It looks not nice, so we disable it: 279 | callbacks: { 280 | beforeOpen: function() { 281 | if($(window).width() < 700) { 282 | this.st.focus = false; 283 | } else { 284 | this.st.focus = '#name'; 285 | } 286 | } 287 | } 288 | }); 289 | }); 290 | 291 | 292 | 293 | //------- Mailchimp js --------// 294 | function mailChimp() { 295 | $('#mc_embed_signup').find('form').ajaxChimp(); 296 | } 297 | mailChimp(); 298 | 299 | 300 | 301 | // Search Toggle 302 | $("#search_input_box").hide(); 303 | $("#search").on("click", function () { 304 | $("#search_input_box").slideToggle(); 305 | $("#search_input").focus(); 306 | }); 307 | $("#close_search").on("click", function () { 308 | $('#search_input_box').slideUp(500); 309 | }); 310 | // Search Toggle 311 | $("#search_input_box").hide(); 312 | $("#search_1").on("click", function () { 313 | $("#search_input_box").slideToggle(); 314 | $("#search_input").focus(); 315 | }); 316 | 317 | })(jQuery); -------------------------------------------------------------------------------- /js/wow.min.js: -------------------------------------------------------------------------------- 1 | /*! WOW - v1.1.3 - 2016-05-06 2 | * Copyright (c) 2016 Matthieu Aussaguel;*/(function(){var a,b,c,d,e,f=function(a,b){return function(){return a.apply(b,arguments)}},g=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};b=function(){function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in b)d=b[c],null==a[c]&&(a[c]=d);return a},a.prototype.isMobile=function(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)},a.prototype.createEvent=function(a,b,c,d){var e;return null==b&&(b=!1),null==c&&(c=!1),null==d&&(d=null),null!=document.createEvent?(e=document.createEvent("CustomEvent"),e.initCustomEvent(a,b,c,d)):null!=document.createEventObject?(e=document.createEventObject(),e.eventType=a):e.eventName=a,e},a.prototype.emitEvent=function(a,b){return null!=a.dispatchEvent?a.dispatchEvent(b):b in(null!=a)?a[b]():"on"+b in(null!=a)?a["on"+b]():void 0},a.prototype.addEvent=function(a,b,c){return null!=a.addEventListener?a.addEventListener(b,c,!1):null!=a.attachEvent?a.attachEvent("on"+b,c):a[b]=c},a.prototype.removeEvent=function(a,b,c){return null!=a.removeEventListener?a.removeEventListener(b,c,!1):null!=a.detachEvent?a.detachEvent("on"+b,c):delete a[b]},a.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},a}(),c=this.WeakMap||this.MozWeakMap||(c=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e>d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f>e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),a=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(a=function(){function a(){"undefined"!=typeof console&&null!==console&&console.warn("MutationObserver is not supported by your browser."),"undefined"!=typeof console&&null!==console&&console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return a.notSupported=!0,a.prototype.observe=function(){},a}()),d=this.getComputedStyle||function(a,b){return this.getPropertyValue=function(b){var c;return"float"===b&&(b="styleFloat"),e.test(b)&&b.replace(e,function(a,b){return b.toUpperCase()}),(null!=(c=a.currentStyle)?c[b]:void 0)||null},this},e=/(\-([a-z]){1})/g,this.WOW=function(){function e(a){null==a&&(a={}),this.scrollCallback=f(this.scrollCallback,this),this.scrollHandler=f(this.scrollHandler,this),this.resetAnimation=f(this.resetAnimation,this),this.start=f(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),null!=a.scrollContainer&&(this.config.scrollContainer=document.querySelector(a.scrollContainer)),this.animationNameCache=new c,this.wowEvent=this.util().createEvent(this.config.boxClass)}return e.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null},e.prototype.init=function(){var a;return this.element=window.document.documentElement,"interactive"===(a=document.readyState)||"complete"===a?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),this.finished=[]},e.prototype.start=function(){var b,c,d,e;if(this.stopped=!1,this.boxes=function(){var a,c,d,e;for(d=this.element.querySelectorAll("."+this.config.boxClass),e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.all=function(){var a,c,d,e;for(d=this.boxes,e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(e=this.boxes,c=0,d=e.length;d>c;c++)b=e[c],this.applyStyle(b,!0);return this.disabled()||(this.util().addEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live?new a(function(a){return function(b){var c,d,e,f,g;for(g=[],c=0,d=b.length;d>c;c++)f=b[c],g.push(function(){var a,b,c,d;for(c=f.addedNodes||[],d=[],a=0,b=c.length;b>a;a++)e=c[a],d.push(this.doSync(e));return d}.call(a));return g}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},e.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().removeEvent(window,"resize",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},e.prototype.sync=function(b){return a.notSupported?this.doSync(this.element):void 0},e.prototype.doSync=function(a){var b,c,d,e,f;if(null==a&&(a=this.element),1===a.nodeType){for(a=a.parentNode||a,e=a.querySelectorAll("."+this.config.boxClass),f=[],c=0,d=e.length;d>c;c++)b=e[c],g.call(this.all,b)<0?(this.boxes.push(b),this.all.push(b),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(b,!0),f.push(this.scrolled=!0)):f.push(void 0);return f}},e.prototype.show=function(a){return this.applyStyle(a),a.className=a.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(a),this.util().emitEvent(a,this.wowEvent),this.util().addEvent(a,"animationend",this.resetAnimation),this.util().addEvent(a,"oanimationend",this.resetAnimation),this.util().addEvent(a,"webkitAnimationEnd",this.resetAnimation),this.util().addEvent(a,"MSAnimationEnd",this.resetAnimation),a},e.prototype.applyStyle=function(a,b){var c,d,e;return d=a.getAttribute("data-wow-duration"),c=a.getAttribute("data-wow-delay"),e=a.getAttribute("data-wow-iteration"),this.animate(function(f){return function(){return f.customStyle(a,b,d,c,e)}}(this))},e.prototype.animate=function(){return"requestAnimationFrame"in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()}}(),e.prototype.resetStyle=function(){var a,b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.style.visibility="visible");return e},e.prototype.resetAnimation=function(a){var b;return a.type.toLowerCase().indexOf("animationend")>=0?(b=a.target||a.srcElement,b.className=b.className.replace(this.config.animateClass,"").trim()):void 0},e.prototype.customStyle=function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?"hidden":"visible",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a},e.prototype.vendors=["moz","webkit"],e.prototype.vendorSet=function(a,b){var c,d,e,f;d=[];for(c in b)e=b[c],a[""+c]=e,d.push(function(){var b,d,g,h;for(g=this.vendors,h=[],b=0,d=g.length;d>b;b++)f=g[b],h.push(a[""+f+c.charAt(0).toUpperCase()+c.substr(1)]=e);return h}.call(this));return d},e.prototype.vendorCSS=function(a,b){var c,e,f,g,h,i;for(h=d(a),g=h.getPropertyCSSValue(b),f=this.vendors,c=0,e=f.length;e>c;c++)i=f[c],g=g||h.getPropertyCSSValue("-"+i+"-"+b);return g},e.prototype.animationName=function(a){var b;try{b=this.vendorCSS(a,"animation-name").cssText}catch(c){b=d(a).getPropertyValue("animation-name")}return"none"===b?"":b},e.prototype.cacheAnimationName=function(a){return this.animationNameCache.set(a,this.animationName(a))},e.prototype.cachedAnimationName=function(a){return this.animationNameCache.get(a)},e.prototype.scrollHandler=function(){return this.scrolled=!0},e.prototype.scrollCallback=function(){var a;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],a&&(this.isVisible(a)?this.show(a):e.push(a));return e}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},e.prototype.offsetTop=function(a){for(var b;void 0===a.offsetTop;)a=a.parentNode;for(b=a.offsetTop;a=a.offsetParent;)b+=a.offsetTop;return b},e.prototype.isVisible=function(a){var b,c,d,e,f;return c=a.getAttribute("data-wow-offset")||this.config.offset,f=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset,e=f+Math.min(this.element.clientHeight,this.util().innerHeight())-c,d=this.offsetTop(a),b=d+a.clientHeight,e>=d&&b>=f},e.prototype.util=function(){return null!=this._util?this._util:this._util=new b},e.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},e}()}).call(this); -------------------------------------------------------------------------------- /js/jquery.slicknav.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * SlickNav Responsive Mobile Menu v1.0.10 3 | * (c) 2016 Josh Cope 4 | * licensed under MIT 5 | */ 6 | !function(e,t,n){function a(t,n){this.element=t,this.settings=e.extend({},i,n),this.settings.duplicate||n.hasOwnProperty("removeIds")||(this.settings.removeIds=!1),this._defaults=i,this._name=s,this.init()}var i={label:"MENU",duplicate:!0,duration:200,easingOpen:"swing",easingClose:"swing",closedSymbol:"►",openedSymbol:"▼",prependTo:"body",appendTo:"",parentTag:"a",closeOnClick:!1,allowParentLinks:!1,nestedParentLinks:!0,showChildren:!1,removeIds:!0,removeClasses:!1,removeStyles:!1,brand:"",animations:"jquery",init:function(){},beforeOpen:function(){},beforeClose:function(){},afterOpen:function(){},afterClose:function(){}},s="slicknav",o="slicknav",l={DOWN:40,ENTER:13,ESCAPE:27,LEFT:37,RIGHT:39,SPACE:32,TAB:9,UP:38};a.prototype.init=function(){var n,a,i=this,s=e(this.element),r=this.settings;if(r.duplicate?i.mobileNav=s.clone():i.mobileNav=s,r.removeIds&&(i.mobileNav.removeAttr("id"),i.mobileNav.find("*").each(function(t,n){e(n).removeAttr("id")})),r.removeClasses&&(i.mobileNav.removeAttr("class"),i.mobileNav.find("*").each(function(t,n){e(n).removeAttr("class")})),r.removeStyles&&(i.mobileNav.removeAttr("style"),i.mobileNav.find("*").each(function(t,n){e(n).removeAttr("style")})),n=o+"_icon",""===r.label&&(n+=" "+o+"_no-text"),"a"==r.parentTag&&(r.parentTag='a href="#"'),i.mobileNav.attr("class",o+"_nav"),a=e('
    '),""!==r.brand){var c=e('
    '+r.brand+"
    ");e(a).append(c)}i.btn=e(["<"+r.parentTag+' aria-haspopup="true" role="button" tabindex="0" class="'+o+"_btn "+o+'_collapsed">',''+r.label+"",'','','','',"",""].join("")),e(a).append(i.btn),""!==r.appendTo?e(r.appendTo).append(a):e(r.prependTo).prepend(a),a.append(i.mobileNav);var p=i.mobileNav.find("li");e(p).each(function(){var t=e(this),n={};if(n.children=t.children("ul").attr("role","menu"),t.data("menu",n),n.children.length>0){var a=t.contents(),s=!1,l=[];e(a).each(function(){return e(this).is("ul")?!1:(l.push(this),void(e(this).is("a")&&(s=!0)))});var c=e("<"+r.parentTag+' role="menuitem" aria-haspopup="true" tabindex="-1" class="'+o+'_item"/>');if(r.allowParentLinks&&!r.nestedParentLinks&&s)e(l).wrapAll('').parent();else{var p=e(l).wrapAll(c).parent();p.addClass(o+"_row")}r.showChildren?t.addClass(o+"_open"):t.addClass(o+"_collapsed"),t.addClass(o+"_parent");var d=e(''+(r.showChildren?r.openedSymbol:r.closedSymbol)+"");r.allowParentLinks&&!r.nestedParentLinks&&s&&(d=d.wrap(c).parent()),e(l).last().after(d)}else 0===t.children().length&&t.addClass(o+"_txtnode");t.children("a").attr("role","menuitem").click(function(t){r.closeOnClick&&!e(t.target).parent().closest("li").hasClass(o+"_parent")&&e(i.btn).click()}),r.closeOnClick&&r.allowParentLinks&&(t.children("a").children("a").click(function(t){e(i.btn).click()}),t.find("."+o+"_parent-link a:not(."+o+"_item)").click(function(t){e(i.btn).click()}))}),e(p).each(function(){var t=e(this).data("menu");r.showChildren||i._visibilityToggle(t.children,null,!1,null,!0)}),i._visibilityToggle(i.mobileNav,null,!1,"init",!0),i.mobileNav.attr("role","menu"),e(t).mousedown(function(){i._outlines(!1)}),e(t).keyup(function(){i._outlines(!0)}),e(i.btn).click(function(e){e.preventDefault(),i._menuToggle()}),i.mobileNav.on("click","."+o+"_item",function(t){t.preventDefault(),i._itemClick(e(this))}),e(i.btn).keydown(function(t){var n=t||event;switch(n.keyCode){case l.ENTER:case l.SPACE:case l.DOWN:t.preventDefault(),n.keyCode===l.DOWN&&e(i.btn).hasClass(o+"_open")||i._menuToggle(),e(i.btn).next().find('[role="menuitem"]').first().focus()}}),i.mobileNav.on("keydown","."+o+"_item",function(t){var n=t||event;switch(n.keyCode){case l.ENTER:t.preventDefault(),i._itemClick(e(t.target));break;case l.RIGHT:t.preventDefault(),e(t.target).parent().hasClass(o+"_collapsed")&&i._itemClick(e(t.target)),e(t.target).next().find('[role="menuitem"]').first().focus()}}),i.mobileNav.on("keydown",'[role="menuitem"]',function(t){var n=t||event;switch(n.keyCode){case l.DOWN:t.preventDefault();var a=e(t.target).parent().parent().children().children('[role="menuitem"]:visible'),s=a.index(t.target),r=s+1;a.length<=r&&(r=0);var c=a.eq(r);c.focus();break;case l.UP:t.preventDefault();var a=e(t.target).parent().parent().children().children('[role="menuitem"]:visible'),s=a.index(t.target),c=a.eq(s-1);c.focus();break;case l.LEFT:if(t.preventDefault(),e(t.target).parent().parent().parent().hasClass(o+"_open")){var p=e(t.target).parent().parent().prev();p.focus(),i._itemClick(p)}else e(t.target).parent().parent().hasClass(o+"_nav")&&(i._menuToggle(),e(i.btn).focus());break;case l.ESCAPE:t.preventDefault(),i._menuToggle(),e(i.btn).focus()}}),r.allowParentLinks&&r.nestedParentLinks&&e("."+o+"_item a").click(function(e){e.stopImmediatePropagation()})},a.prototype._menuToggle=function(e){var t=this,n=t.btn,a=t.mobileNav;n.hasClass(o+"_collapsed")?(n.removeClass(o+"_collapsed"),n.addClass(o+"_open")):(n.removeClass(o+"_open"),n.addClass(o+"_collapsed")),n.addClass(o+"_animating"),t._visibilityToggle(a,n.parent(),!0,n)},a.prototype._itemClick=function(e){var t=this,n=t.settings,a=e.data("menu");a||(a={},a.arrow=e.children("."+o+"_arrow"),a.ul=e.next("ul"),a.parent=e.parent(),a.parent.hasClass(o+"_parent-link")&&(a.parent=e.parent().parent(),a.ul=e.parent().next("ul")),e.data("menu",a)),a.parent.hasClass(o+"_collapsed")?(a.arrow.html(n.openedSymbol),a.parent.removeClass(o+"_collapsed"),a.parent.addClass(o+"_open"),a.parent.addClass(o+"_animating"),t._visibilityToggle(a.ul,a.parent,!0,e)):(a.arrow.html(n.closedSymbol),a.parent.addClass(o+"_collapsed"),a.parent.removeClass(o+"_open"),a.parent.addClass(o+"_animating"),t._visibilityToggle(a.ul,a.parent,!0,e))},a.prototype._visibilityToggle=function(t,n,a,i,s){function l(t,n){e(t).removeClass(o+"_animating"),e(n).removeClass(o+"_animating"),s||p.afterOpen(t)}function r(n,a){t.attr("aria-hidden","true"),d.attr("tabindex","-1"),c._setVisAttr(t,!0),t.hide(),e(n).removeClass(o+"_animating"),e(a).removeClass(o+"_animating"),s?"init"==n&&p.init():p.afterClose(n)}var c=this,p=c.settings,d=c._getActionItems(t),u=0;a&&(u=p.duration),t.hasClass(o+"_hidden")?(t.removeClass(o+"_hidden"),s||p.beforeOpen(i),"jquery"===p.animations?t.stop(!0,!0).slideDown(u,p.easingOpen,function(){l(i,n)}):"velocity"===p.animations&&t.velocity("finish").velocity("slideDown",{duration:u,easing:p.easingOpen,complete:function(){l(i,n)}}),t.attr("aria-hidden","false"),d.attr("tabindex","0"),c._setVisAttr(t,!1)):(t.addClass(o+"_hidden"),s||p.beforeClose(i),"jquery"===p.animations?t.stop(!0,!0).slideUp(u,this.settings.easingClose,function(){r(i,n)}):"velocity"===p.animations&&t.velocity("finish").velocity("slideUp",{duration:u,easing:p.easingClose,complete:function(){r(i,n)}}))},a.prototype._setVisAttr=function(t,n){var a=this,i=t.children("li").children("ul").not("."+o+"_hidden");n?i.each(function(){var t=e(this);t.attr("aria-hidden","true");var i=a._getActionItems(t);i.attr("tabindex","-1"),a._setVisAttr(t,n)}):i.each(function(){var t=e(this);t.attr("aria-hidden","false");var i=a._getActionItems(t);i.attr("tabindex","0"),a._setVisAttr(t,n)})},a.prototype._getActionItems=function(e){var t=e.data("menu");if(!t){t={};var n=e.children("li"),a=n.find("a");t.links=a.add(n.find("."+o+"_item")),e.data("menu",t)}return t.links},a.prototype._outlines=function(t){t?e("."+o+"_item, ."+o+"_btn").css("outline",""):e("."+o+"_item, ."+o+"_btn").css("outline","none")},a.prototype.toggle=function(){var e=this;e._menuToggle()},a.prototype.open=function(){var e=this;e.btn.hasClass(o+"_collapsed")&&e._menuToggle()},a.prototype.close=function(){var e=this;e.btn.hasClass(o+"_open")&&e._menuToggle()},e.fn[s]=function(t){var n=arguments;if(void 0===t||"object"==typeof t)return this.each(function(){e.data(this,"plugin_"+s)||e.data(this,"plugin_"+s,new a(this,t))});if("string"==typeof t&&"_"!==t[0]&&"init"!==t){var i;return this.each(function(){var o=e.data(this,"plugin_"+s);o instanceof a&&"function"==typeof o[t]&&(i=o[t].apply(o,Array.prototype.slice.call(n,1)))}),void 0!==i?i:this}}}(jQuery,document,window); -------------------------------------------------------------------------------- /js/vendor/modernizr-3.5.0.min.js: -------------------------------------------------------------------------------- 1 | /*! modernizr 3.5.0 (Custom Build) | MIT * 2 | * https://modernizr.com/download/?-cssanimations-csscolumns-customelements-flexbox-history-picture-pointerevents-postmessage-sizes-srcset-webgl-websockets-webworkers-addtest-domprefixes-hasevent-mq-prefixedcssvalue-prefixes-setclasses-testallprops-testprop-teststyles !*/ 3 | !function(e,t,n){function r(e,t){return typeof e===t}function o(){var e,t,n,o,i,s,a;for(var l in C)if(C.hasOwnProperty(l)){if(e=[],t=C[l],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;nd;d++)if(h=e[d],v=N.style[h],f(h,"-")&&(h=m(h)),N.style[h]!==n){if(i||r(o,"undefined"))return s(),"pfx"==t?h:!0;try{N.style[h]=o}catch(g){}if(N.style[h]!=v)return s(),"pfx"==t?h:!0}return s(),!1}function v(e,t){return function(){return e.apply(t,arguments)}}function A(e,t,n){var o;for(var i in e)if(e[i]in t)return n===!1?e[i]:(o=t[e[i]],r(o,"function")?v(o,n||t):o);return!1}function g(e,t,n,o,i){var s=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+O.join(s+" ")+s).split(" ");return r(t,"string")||r(t,"undefined")?h(a,t,o,i):(a=(e+" "+T.join(s+" ")+s).split(" "),A(a,t,n))}function y(e,t,r){return g(e,n,n,t,r)}var C=[],b={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){C.push({name:e,fn:t,options:n})},addAsyncTest:function(e){C.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=b,Modernizr=new Modernizr;var w=[],S=t.documentElement,x="svg"===S.nodeName.toLowerCase(),_="Moz O ms Webkit",T=b._config.usePrefixes?_.toLowerCase().split(" "):[];b._domPrefixes=T;var E=b._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];b._prefixes=E;var P;!function(){var e={}.hasOwnProperty;P=r(e,"undefined")||r(e.call,"undefined")?function(e,t){return t in e&&r(e.constructor.prototype[t],"undefined")}:function(t,n){return e.call(t,n)}}(),b._l={},b.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),Modernizr.hasOwnProperty(e)&&setTimeout(function(){Modernizr._trigger(e,Modernizr[e])},0)},b._trigger=function(e,t){if(this._l[e]){var n=this._l[e];setTimeout(function(){var e,r;for(e=0;e3&&(a=e(),h(w,function(n,t){a.contains(n.getPosition())||(p+="-"+t,P[t]=!0,n.getMap()&&n.setMap(null))})),m&&h(w,function(n,t){P[t]||m(n)||(p+="-"+t,P[t]=!0,n.getMap()&&n.setMap(null))}),p!==g&&(g=p,h(w,function(e,p){P[p]||(u=[p],a=i(e.getPosition()),C&&h(r(w,p+1),function(n,t){t+=p+1,!P[t]&&a.contains(n.getPosition())&&(u.push(t),P[t]=!0)}),s=u.join("-"),y[s]=!0,T[s]||(f=u.map(function(n){return w[n]}),c=t.cb(r(f)),c?(a=l("LatLngBounds"),h(f,function(n){a.extend(n.getPosition()),n.getMap()&&n.setMap(null)}),c=o(c),c.position=a.getCenter(),T[s]=new B(L,r(f),b(n,c),a),x.push(T[s])):h(f,function(t){t.getMap()||t.setMap(n)})))}),h(v(T),function(n){y[n]||(T[n].overlay.setMap(null),delete T[n])}),x.length&&h(k,function(n){n(x)}))}function a(){clearTimeout(f),f=setTimeout(u,100)}function s(){E.event.addListener(n,"zoom_changed",a),E.event.addListener(n,"bounds_changed",a),u()}var f,p,g,d,m,L=this,w=[],P=(t.size||200)>>1,C=!0,T={},k=[];t=t||{},t.markers=t.markers||[],L._b=function(n){n(y(T)),k.push(n)},L.markers=function(){return r(w)},L.groups=function(){return y(T)},L.enable=function(){C||(C=!0,g="",a())},L.disable=function(){C&&(C=!1,g="",a())},L.add=function(n){w.push(n),g="",a()},L.remove=function(n){w=w.filter(function(t){return t!==n}),g="",a()},L.filter=function(n){m!==n&&(m=n,g="",a())},t.markers.map(function(n){n.position=x(n.position),w.push(l("Marker",n))}),p=setInterval(function(){d=M(n),d&&(clearInterval(p),s())},10)}function T(n,t){var e=this;v(t[0]).forEach(function(n){e[n]=function(){var o=[],i=r(arguments);return t.forEach(function(t){o.push(t[n].apply(t,i))}),"get"===n?o.length>1?o:o[0]:e}}),e.$=n}function k(t,e){function c(){return{$:t,get:M.get}}function s(t,e,o,i){var u=arguments.length>3;u||(i=o),n.each(t,function(n,t){h(e,function(e){var a=e instanceof B,s=a||e instanceof E.OverlayView,f=s?e.$.get(0):e;E.event["add"+(s?"Dom":"")+"Listener"+(i?"Once":"")](f,n,function(n){h(t,function(t){if(A(t))if(a)t.call(c(),void 0,e,e.cluster,n);else if(u){var i=r(o);i.unshift(e),i.push(n),t.apply(c(),i)}else t.call(c(),e,n)})})})})}function f(n){return function(t){if(R(t)){var e=[],o=t.map(function(t){return n.call(M,t).then(function(n){e.push(n)})});return u(o).then(function(){return y.push(e),e})}return n.apply(M,arguments).then(function(n){return y.push(n),n})}}function g(n){return function(){var t=r(arguments);return P=P.then(function(e){return A(t[0])?O(t[0].call(c(),e)).then(function(e){return t[0]=e,n.apply(M,t)}):O(n.apply(M,t))})}}var v,y=[],P=O(),M=this;M.map=g(function(n){return v||L(n,"center",function(n){return v=l("Map",t.get(0),n),y.push(v),v})}),d("Marker:position Circle:center InfoWindow:position:0 Polyline:path Polygon:paths",function(n){n=n.split(":");var t=n[1]||"";M[n[0].toLowerCase()]=g(f(function(e){return(t.match(/^path/)?w:L)(e,t,function(t){return"0"!==n[2]&&(t.map=v),l(n[0],t)})}))}),d("TrafficLayer TransitLayer BicyclingLayer",function(n){M[n.toLowerCase()]=g(function(){var t=l(n);return y.push(t),t.setMap(v),t})}),M.kmllayer=g(f(function(n){return n=o(n),n.map=v,O(l("KmlLayer",n))})),M.rectangle=g(f(function(n){return m(n,function(n){return n.map=v,l("Rectangle",n)})})),M.overlay=g(f(function(n){function t(n){return b(v,n)}return n=o(n),n.bounds?m(n,t):L(n,"position",t)})),M.groundoverlay=g(function(n,t,e){return m({bounds:t},function(t){e=o(e),e.map=v;var r=l("GroundOverlay",n,t.bounds,e);return y.push(r),r})}),M.styledmaptype=g(function(n,t,e){var o=l("StyledMapType",t,e);return y.push(o),v.mapTypes.set(n,o),o}),M.streetviewpanorama=g(function(t,e){return L(e,"position",function(e){var o=l("StreetViewPanorama",n(t).get(0),e);return v.setStreetView(o),y.push(o),o})}),M.route=g(function(n){var t=$();return n=o(n),n.origin=x(n.origin),n.destination=x(n.destination),p("DirectionsService").route(n,function(n,e){y.push(n),t.resolve(e===E.DirectionsStatus.OK?n:!1)}),t}),M.cluster=g(function(n){var t=new C(v,o(n));return y.push(t),a(t)}),M.directionsrenderer=g(function(t){var e;return t&&(t=o(t),t.map=v,t.panel&&(t.panel=n(t.panel).get(0)),e=l("DirectionsRenderer",t)),y.push(e),e}),M.latlng=g(f(function(n){return L(n,"latlng",function(n){return y.push(n.latlng),n.latlng})})),M.fit=g(function(){var n=l("LatLngBounds");return h(y,function(t){t!==v&&h(t,function(t){t&&(t.getPosition&&t.getPosition()?n.extend(t.getPosition()):t.getBounds&&t.getBounds()?(n.extend(t.getBounds().getNorthEast()),n.extend(t.getBounds().getSouthWest())):t.getPaths&&t.getPaths()?h(t.getPaths().getArray(),function(t){h(t.getArray(),function(t){n.extend(t)})}):t.getPath&&t.getPath()?h(t.getPath().getArray(),function(t){n.extend(t)}):t.getCenter&&t.getCenter()&&n.extend(t.getCenter()))})}),n.isEmpty()||v.fitBounds(n),!0}),M.wait=function(n){P=P.then(function(t){var e=$();return setTimeout(function(){e.resolve(t)},n),e})},M.then=function(n){A(n)&&(P=P.then(function(t){return O(n.call(c(),t)).then(function(n){return i(n)?t:n})}))},M["catch"]=function(n){A(n)&&(P=P.then(null,function(t){return O(n.call(c(),t))}))},d("on once",function(n,t){M[n]=function(){var n=arguments[0];n&&("string"==typeof n&&(n={},n[arguments[0]]=r(arguments,1)),P.then(function(e){if(e){if(e instanceof C)return e._b(function(e){e&&e.length&&s(n,e,t)}),s(n,e.markers(),[void 0,e],t);s(n,e,t)}}))}}),M.get=function(n){return i(n)?y.map(function(n){return R(n)?n.slice():n}):(0>n&&(n=y.length+n),R(y[n])?y[n].slice():y[n])},e&&M.map(e)}var E,j,D={},O=n.when,S=n.extend,R=n.isArray,A=n.isFunction,$=n.Deferred;O(function(){var o,r=$(),i="__gmap3";return n.holdReady(!0),s(function(){t.google&&t.google.maps||j===!1?r.resolve():(t[i]=function(){delete t[i],r.resolve()},o=e.createElement("script"),o.type="text/javascript",o.src="https://maps.googleapis.com/maps/api/js?callback="+i+(j?"&"+("string"==typeof j?j:f(j)):""),n("head").append(o))}),r}()).then(function(){n.holdReady(!1)}),n.gmap3=function(n){j=n},n.fn.gmap3=function(e){var o=[];return E=t.google.maps,this.each(function(){var t=n(this),r=t.data("gmap3");r||(r=new k(t,e),t.data("gmap3",r)),o.push(r)}),new T(this,o)}}(jQuery,window,document); --------------------------------------------------------------------------------