diff --git a/public/assets/js/select2.min.js b/public/assets/js/select2.min.js new file mode 100644 index 0000000..cc9a83f --- /dev/null +++ b/public/assets/js/select2.min.js @@ -0,0 +1,2 @@ +/*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */ +!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t),t}:n(jQuery)}(function(t){var e,n,s,p,r,o,h,f,g,m,y,v,i,a,_,s=((u=t&&t.fn&&t.fn.select2&&t.fn.select2.amd?t.fn.select2.amd:u)&&u.requirejs||(u?n=u:u={},g={},m={},y={},v={},i=Object.prototype.hasOwnProperty,a=[].slice,_=/\.js$/,h=function(e,t){var n,s,i=c(e),r=i[0],t=t[1];return e=i[1],r&&(n=x(r=l(r,t))),r?e=n&&n.normalize?n.normalize(e,(s=t,function(e){return l(e,s)})):l(e,t):(r=(i=c(e=l(e,t)))[0],e=i[1],r&&(n=x(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:n}},f={require:function(e){return w(e)},exports:function(e){var t=g[e];return void 0!==t?t:g[e]={}},module:function(e){return{id:e,uri:"",exports:g[e],config:(t=e,function(){return y&&y.config&&y.config[t]||{}})};var t}},r=function(e,t,n,s){var i,r,o,a,l,c=[],u=typeof n,d=A(s=s||e);if("undefined"==u||"function"==u){for(t=!t.length&&n.length?["require","exports","module"]:t,a=0;a":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},s.__cache={};var n=0;return s.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null!=t||(t=e.id?"select2-data-"+e.id:"select2-data-"+(++n).toString()+"-"+s.generateChars(4),e.setAttribute("data-select2-id",t)),t},s.StoreData=function(e,t,n){e=s.GetUniqueElementId(e);s.__cache[e]||(s.__cache[e]={}),s.__cache[e][t]=n},s.GetData=function(e,t){var n=s.GetUniqueElementId(e);return t?s.__cache[n]&&null!=s.__cache[n][t]?s.__cache[n][t]:r(e).data(t):s.__cache[n]},s.RemoveData=function(e){var t=s.GetUniqueElementId(e);null!=s.__cache[t]&&delete s.__cache[t],e.removeAttribute("data-select2-id")},s.copyNonInternalCssClasses=function(e,t){var n=(n=e.getAttribute("class").trim().split(/\s+/)).filter(function(e){return 0===e.indexOf("select2-")}),t=(t=t.getAttribute("class").trim().split(/\s+/)).filter(function(e){return 0!==e.indexOf("select2-")}),t=n.concat(t);e.setAttribute("class",t.join(" "))},s}),u.define("select2/results",["jquery","./utils"],function(d,p){function s(e,t,n){this.$element=e,this.data=n,this.options=t,s.__super__.constructor.call(this)}return p.Extend(s,p.Observable),s.prototype.render=function(){var e=d('');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e},s.prototype.clear=function(){this.$results.empty()},s.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=d(''),s=this.options.get("translations").get(e.message);n.append(t(s(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},s.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},s.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n",{class:"select2-results__options select2-results__options--nested",role:"none"});i.append(l),o.append(a),o.append(i)}else this.template(e,t);return p.StoreData(t,"data",e),t},s.prototype.bind=function(t,e){var i=this,n=t.id+"-results";this.$results.attr("id",n),t.on("results:all",function(e){i.clear(),i.append(e.data),t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on("results:append",function(e){i.append(e.data),t.isOpen()&&i.setClasses()}),t.on("query",function(e){i.hideMessages(),i.showLoading(e)}),t.on("select",function(){t.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),t.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),t.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e,t=i.getHighlightedResults();0!==t.length&&(e=p.GetData(t[0],"data"),t.hasClass("select2-results__option--selected")?i.trigger("close",{}):i.trigger("select",{data:e}))}),t.on("results:previous",function(){var e,t=i.getHighlightedResults(),n=i.$results.find(".select2-results__option--selectable"),s=n.index(t);s<=0||(e=s-1,0===t.length&&(e=0),(s=n.eq(e)).trigger("mouseenter"),t=i.$results.offset().top,n=s.offset().top,s=i.$results.scrollTop()+(n-t),0===e?i.$results.scrollTop(0):n-t<0&&i.$results.scrollTop(s))}),t.on("results:next",function(){var e,t=i.getHighlightedResults(),n=i.$results.find(".select2-results__option--selectable"),s=n.index(t)+1;s>=n.length||((e=n.eq(s)).trigger("mouseenter"),t=i.$results.offset().top+i.$results.outerHeight(!1),n=e.offset().top+e.outerHeight(!1),e=i.$results.scrollTop()+n-t,0===s?i.$results.scrollTop(0):tthis.$results.outerHeight()||s<0)&&this.$results.scrollTop(n))},s.prototype.template=function(e,t){var n=this.options.get("templateResult"),s=this.options.get("escapeMarkup"),e=n(e,t);null==e?t.style.display="none":"string"==typeof e?t.innerHTML=s(e):d(t).append(e)},s}),u.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),u.define("select2/selection/base",["jquery","../utils","../keys"],function(n,s,i){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return s.Extend(r,s.Observable),r.prototype.render=function(){var e=n('');return this._tabindex=0,null!=s.GetData(this.$element[0],"old-tabindex")?this._tabindex=s.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),e.attr("aria-disabled","false"),this.$selection=e},r.prototype.bind=function(e,t){var n=this,s=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){n.trigger("focus",e)}),this.$selection.on("blur",function(e){n._handleBlur(e)}),this.$selection.on("keydown",function(e){n.trigger("keypress",e),e.which===i.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){n.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){n.update(e.data)}),e.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",s),n._attachCloseHandler(e)}),e.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.trigger("focus"),n._detachCloseHandler(e)}),e.on("enable",function(){n.$selection.attr("tabindex",n._tabindex),n.$selection.attr("aria-disabled","false")}),e.on("disable",function(){n.$selection.attr("tabindex","-1"),n.$selection.attr("aria-disabled","true")})},r.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)},1)},r.prototype._attachCloseHandler=function(e){n(document.body).on("mousedown.select2."+e.id,function(e){var t=n(e.target).closest(".select2");n(".select2.select2-container--open").each(function(){this!=t[0]&&s.GetData(this,"element").select2("close")})})},r.prototype._detachCloseHandler=function(e){n(document.body).off("mousedown.select2."+e.id)},r.prototype.position=function(e,t){t.find(".selection").append(e)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r}),u.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,s){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e[0].classList.add("select2-selection--single"),e.html(''),e},i.prototype.bind=function(t,e){var n=this;i.__super__.bind.apply(this,arguments);var s=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",s).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",s),this.$selection.attr("aria-controls",s),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},i.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},i.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},i.prototype.selectionContainer=function(){return e("")},i.prototype.update=function(e){var t,n;0!==e.length?(n=e[0],t=this.$selection.find(".select2-selection__rendered"),e=this.display(n,t),t.empty().append(e),(n=n.title||n.text)?t.attr("title",n):t.removeAttr("title")):this.clear()},i}),u.define("select2/selection/multiple",["jquery","./base","../utils"],function(i,e,c){function r(e,t){r.__super__.constructor.apply(this,arguments)}return c.Extend(r,e),r.prototype.render=function(){var e=r.__super__.render.call(this);return e[0].classList.add("select2-selection--multiple"),e.html('
    '),e},r.prototype.bind=function(e,t){var n=this;r.__super__.bind.apply(this,arguments);var s=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",s),this.$selection.on("click",function(e){n.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){var t;n.isDisabled()||(t=i(this).parent(),t=c.GetData(t[0],"data"),n.trigger("unselect",{originalEvent:e,data:t}))}),this.$selection.on("keydown",".select2-selection__choice__remove",function(e){n.isDisabled()||e.stopPropagation()})},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return i('
  • ')},r.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=this.$selection.find(".select2-selection__rendered").attr("id")+"-choice-",s=0;s')).attr("title",s()),e.attr("aria-label",s()),e.attr("aria-describedby",n),a.StoreData(e[0],"data",t),this.$selection.prepend(e),this.$selection[0].classList.add("select2-selection--clearable"))},e}),u.define("select2/selection/search",["jquery","../utils","../keys"],function(s,a,l){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=this.options.get("translations").get("search"),n=s('');this.$searchContainer=n,this.$search=n.find("textarea"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",t());e=e.call(this);return this._transferTabIndex(),e.append(this.$searchContainer),e},e.prototype.bind=function(e,t,n){var s=this,i=t.id+"-results",r=t.id+"-container";e.call(this,t,n),s.$search.attr("aria-describedby",r),t.on("open",function(){s.$search.attr("aria-controls",i),s.$search.trigger("focus")}),t.on("close",function(){s.$search.val(""),s.resizeSearch(),s.$search.removeAttr("aria-controls"),s.$search.removeAttr("aria-activedescendant"),s.$search.trigger("focus")}),t.on("enable",function(){s.$search.prop("disabled",!1),s._transferTabIndex()}),t.on("disable",function(){s.$search.prop("disabled",!0)}),t.on("focus",function(e){s.$search.trigger("focus")}),t.on("results:focus",function(e){e.data._resultId?s.$search.attr("aria-activedescendant",e.data._resultId):s.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(e){s.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){s._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){var t;e.stopPropagation(),s.trigger("keypress",e),s._keyUpPrevented=e.isDefaultPrevented(),e.which!==l.BACKSPACE||""!==s.$search.val()||0<(t=s.$selection.find(".select2-selection__choice").last()).length&&(t=a.GetData(t[0],"data"),s.searchRemoveChoice(t),e.preventDefault())}),this.$selection.on("click",".select2-search--inline",function(e){s.$search.val()&&e.stopPropagation()});var t=document.documentMode,o=t&&t<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){o?s.$selection.off("input.search input.searchcheck"):s.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){var t;o&&"input"===e.type?s.$selection.off("input.search input.searchcheck"):(t=e.which)!=l.SHIFT&&t!=l.CTRL&&t!=l.ALT&&t!=l.TAB&&s.handleSearch(e)})},e.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},e.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.resizeSearch(),n&&this.$search.trigger("focus")},e.prototype.handleSearch=function(){var e;this.resizeSearch(),this._keyUpPrevented||(e=this.$search.val(),this.trigger("query",{term:e})),this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="100%";""===this.$search.attr("placeholder")&&(e=.75*(this.$search.val().length+1)+"em"),this.$search.css("width",e)},e}),u.define("select2/selection/selectionCss",["../utils"],function(n){function e(){}return e.prototype.render=function(e){var t=e.call(this),e=this.options.get("selectionCssClass")||"";return-1!==e.indexOf(":all:")&&(e=e.replace(":all:",""),n.copyNonInternalCssClasses(t[0],this.$element[0])),t.addClass(e),t},e}),u.define("select2/selection/eventRelay",["jquery"],function(o){function e(){}return e.prototype.bind=function(e,t,n){var s=this,i=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],r=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",function(e,t){var n;-1!==i.indexOf(e)&&(t=t||{},n=o.Event("select2:"+e,{params:t}),s.$element.trigger(n),-1!==r.indexOf(e)&&(t.prevented=n.isDefaultPrevented()))})},e}),u.define("select2/translation",["jquery","require"],function(t,n){function s(e){this.dict=e||{}}return s.prototype.all=function(){return this.dict},s.prototype.get=function(e){return this.dict[e]},s.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},s._cache={},s.loadPath=function(e){var t;return e in s._cache||(t=n(e),s._cache[e]=t),new s(s._cache[e])},s}),u.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),u.define("select2/data/base",["../utils"],function(n){function s(e,t){s.__super__.constructor.call(this)}return n.Extend(s,n.Observable),s.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},s.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},s.prototype.bind=function(e,t){},s.prototype.destroy=function(){},s.prototype.generateResultId=function(e,t){e=e.id+"-result-";return e+=n.generateChars(4),null!=t.id?e+="-"+t.id.toString():e+="-"+n.generateChars(4),e},s}),u.define("select2/data/select",["./base","../utils","jquery"],function(e,a,l){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return a.Extend(n,e),n.prototype.current=function(e){var t=this;e(Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),function(e){return t.item(l(e))}))},n.prototype.select=function(i){var e,r=this;if(i.selected=!0,null!=i.element&&"option"===i.element.tagName.toLowerCase())return i.element.selected=!0,void this.$element.trigger("input").trigger("change");this.$element.prop("multiple")?this.current(function(e){var t=[];(i=[i]).push.apply(i,e);for(var n=0;nthis.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),u.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("select",function(){s._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var s=this;this._checkIfMaximumSelected(function(){e.call(s,t,n)})},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current(function(e){e=null!=e?e.length:0;0=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t&&t()})},e}),u.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),u.define("select2/dropdown/search",["jquery"],function(r){function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("translations").get("search"),e=r('');return this.$searchContainer=e,this.$search=e.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",n()),t.prepend(e),t},e.prototype.bind=function(e,t,n){var s=this,i=t.id+"-results";e.call(this,t,n),this.$search.on("keydown",function(e){s.trigger("keypress",e),s._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(e){r(this).off("keyup")}),this.$search.on("keyup input",function(e){s.handleSearch(e)}),t.on("open",function(){s.$search.attr("tabindex",0),s.$search.attr("aria-controls",i),s.$search.trigger("focus"),window.setTimeout(function(){s.$search.trigger("focus")},0)}),t.on("close",function(){s.$search.attr("tabindex",-1),s.$search.removeAttr("aria-controls"),s.$search.removeAttr("aria-activedescendant"),s.$search.val(""),s.$search.trigger("blur")}),t.on("focus",function(){t.isOpen()||s.$search.trigger("focus")}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(s.showSearch(e)?s.$searchContainer[0].classList.remove("select2-search--hide"):s.$searchContainer[0].classList.add("select2-search--hide"))}),t.on("results:focus",function(e){e.data._resultId?s.$search.attr("aria-activedescendant",e.data._resultId):s.$search.removeAttr("aria-activedescendant")})},e.prototype.handleSearch=function(e){var t;this._keyUpPrevented||(t=this.$search.val(),this.trigger("query",{term:t})),this._keyUpPrevented=!1},e.prototype.showSearch=function(e,t){return!0},e}),u.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,s){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,s)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return t="string"==typeof t?{id:"",text:t}:t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),s=t.length-1;0<=s;s--){var i=t[s];this.placeholder.id===i.id&&n.splice(s,1)}return n},e}),u.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function e(e,t,n,s){this.lastParams={},e.call(this,t,n,s),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("query",function(e){s.lastParams=e,s.loading=!0}),t.on("query:append",function(e){s.lastParams=e,s.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=n.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&(e=this.$results.offset().top+this.$results.outerHeight(!1),this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=e+50&&this.loadMore())},e.prototype.loadMore=function(){this.loading=!0;var e=n.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=n('
  • '),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),u.define("select2/dropdown/attachBody",["jquery","../utils"],function(u,o){function e(e,t,n){this.$dropdownParent=u(n.get("dropdownParent")||document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("open",function(){s._showDropdown(),s._attachPositioningHandler(t),s._bindContainerResultHandlers(t)}),t.on("close",function(){s._hideDropdown(),s._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t[0].classList.remove("select2"),t[0].classList.add("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=u(""),e=e.call(this);return t.append(e),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlers=function(e,t){var n;this._containerResultsHandlersBound||(n=this,t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0)},e.prototype._attachPositioningHandler=function(e,t){var n=this,s="scroll.select2."+t.id,i="resize.select2."+t.id,r="orientationchange.select2."+t.id,t=this.$container.parents().filter(o.hasScroll);t.each(function(){o.StoreData(this,"select2-scroll-position",{x:u(this).scrollLeft(),y:u(this).scrollTop()})}),t.on(s,function(e){var t=o.GetData(this,"select2-scroll-position");u(this).scrollTop(t.y)}),u(window).on(s+" "+i+" "+r,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n="scroll.select2."+t.id,s="resize.select2."+t.id,t="orientationchange.select2."+t.id;this.$container.parents().filter(o.hasScroll).off(n),u(window).off(n+" "+s+" "+t)},e.prototype._positionDropdown=function(){var e=u(window),t=this.$dropdown[0].classList.contains("select2-dropdown--above"),n=this.$dropdown[0].classList.contains("select2-dropdown--below"),s=null,i=this.$container.offset();i.bottom=i.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=i.top,r.bottom=i.top+r.height;var o=this.$dropdown.outerHeight(!1),a=e.scrollTop(),l=e.scrollTop()+e.height(),c=ai.bottom+o,a={left:i.left,top:r.bottom},l=this.$dropdownParent;"static"===l.css("position")&&(l=l.offsetParent());i={top:0,left:0};(u.contains(document.body,l[0])||l[0].isConnected)&&(i=l.offset()),a.top-=i.top,a.left-=i.left,t||n||(s="below"),e||!c||t?!c&&e&&t&&(s="below"):s="above",("above"==s||t&&"below"!==s)&&(a.top=r.top-i.top-o),null!=s&&(this.$dropdown[0].classList.remove("select2-dropdown--below"),this.$dropdown[0].classList.remove("select2-dropdown--above"),this.$dropdown[0].classList.add("select2-dropdown--"+s),this.$container[0].classList.remove("select2-container--below"),this.$container[0].classList.remove("select2-container--above"),this.$container[0].classList.add("select2-container--"+s)),this.$dropdownContainer.css(a)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),u.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,s){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,s)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,s=0;s');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),r.StoreData(e[0],"element",this.$element),e},o}),u.define("jquery-mousewheel",["jquery"],function(e){return e}),u.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(i,e,r,t,o){var a;return null==i.fn.select2&&(a=["open","close","destroy"],i.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=i.extend(!0,{},t);new r(i(this),e)}),this;if("string"!=typeof t)throw new Error("Invalid arguments for Select2: "+t);var n,s=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=o.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,s)}),-1connect_error) { - die(json_encode(["success" => false, "message" => "Errore di connessione: " . $conn->connect_error])); -} +require_once __DIR__ . '/class/db-functions.php'; +$dbHandler = DBHandlerSelect::getInstance(); +$pdo = $dbHandler->getConnection(); // Ricezione dati dal form -$user_id = isset($_POST['user_id']) ? intval($_POST['user_id']) : 0; -$first_name = isset($_POST['first_name']) ? $conn->real_escape_string($_POST['first_name']) : null; -$last_name = isset($_POST['last_name']) ? $conn->real_escape_string($_POST['last_name']) : null; -$company_name = isset($_POST['company_name']) ? $conn->real_escape_string($_POST['company_name']) : null; -$tax_code = isset($_POST['tax_code']) ? $conn->real_escape_string($_POST['tax_code']) : null; -$email = isset($_POST['email']) ? $conn->real_escape_string($_POST['email']) : null; -$phone = isset($_POST['phone']) ? $conn->real_escape_string($_POST['phone']) : null; -$address = isset($_POST['address']) ? $conn->real_escape_string($_POST['address']) : null; -$postal_code = isset($_POST['postal_code']) ? $conn->real_escape_string($_POST['postal_code']) : null; -$city = isset($_POST['city']) ? $conn->real_escape_string($_POST['city']) : null; -$province = isset($_POST['province']) ? $conn->real_escape_string($_POST['province']) : null; -$country = isset($_POST['country']) ? intval($_POST['country']) : null; -$owner_type = isset($_POST['owner_type']) ? $conn->real_escape_string($_POST['owner_type']) : null; -$role = isset($_POST['role']) ? $conn->real_escape_string($_POST['role']) : null; -$notes = isset($_POST['notes']) ? $conn->real_escape_string($_POST['notes']) : null; +$user_id = isset($_POST['user_id']) ? (int)$_POST['user_id'] : 0; +$first_name = isset($_POST['first_name']) ? htmlspecialchars($_POST['first_name']) : null; +$last_name = isset($_POST['last_name']) ? htmlspecialchars($_POST['last_name']) : null; +$company_name = isset($_POST['company_name']) ? htmlspecialchars($_POST['company_name']) : null; +$tax_code = isset($_POST['tax_code']) ? htmlspecialchars($_POST['tax_code']) : null; +$email = isset($_POST['email']) ? htmlspecialchars($_POST['email']) : null; +$phone = isset($_POST['phone']) ? htmlspecialchars($_POST['phone']) : null; +$address = isset($_POST['address']) ? htmlspecialchars($_POST['address']) : null; +$postal_code = isset($_POST['postal_code']) ? htmlspecialchars($_POST['postal_code']) : null; +$city = isset($_POST['city']) ? htmlspecialchars($_POST['city']) : null; +$province = isset($_POST['province']) ? htmlspecialchars($_POST['province']) : null; +$country = isset($_POST['country']) ? (int)$_POST['country'] : null; +$owner_type = isset($_POST['owner_type']) ? htmlspecialchars($_POST['owner_type']) : null; +$role = isset($_POST['role']) ? htmlspecialchars($_POST['role']) : null; +$notes = isset($_POST['notes']) ? htmlspecialchars($_POST['notes']) : null; // Validazione dei campi obbligatori if (!$user_id || !$tax_code || !$email || !$owner_type) { @@ -40,49 +35,44 @@ if ($owner_type === "individual") { } // Controlla se il proprietario esiste già (evita duplicati) -$queryCheck = $conn->prepare("SELECT owner_id FROM property_owners WHERE tax_code = ?"); -$queryCheck->bind_param("s", $tax_code); -$queryCheck->execute(); -$resultCheck = $queryCheck->get_result(); - -if ($resultCheck->num_rows > 0) { +$stmt = $pdo->prepare("SELECT owner_id FROM property_owners WHERE tax_code = ?"); +$stmt->execute([$tax_code]); +if ($stmt->fetch()) { die(json_encode(["success" => false, "message" => "Esiste già un proprietario con questo Codice Fiscale/Partita IVA."])); } // Inserisci nuovo proprietario -$queryInsert = $conn->prepare(" +$stmt = $pdo->prepare(" INSERT INTO property_owners (user_id, first_name, last_name, company_name, tax_code, email, phone, address, postal_code, city, province, country, owner_type, role, notes) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) "); - -if ($queryInsert === false) { - die(json_encode(["success" => false, "message" => "Errore nella query: " . $conn->error])); +try { + $stmt->execute([ + $user_id, + $first_name, + $last_name, + $company_name, + $tax_code, + $email, + $phone, + $address, + $postal_code, + $city, + $province, + $country, + $owner_type, + $role, + $notes + ]); + $owner_id = $pdo->lastInsertId(); + $owner_name = $owner_type === "individual" ? "$first_name $last_name" : $company_name; + echo json_encode([ + "success" => true, + "message" => "Proprietario aggiunto con successo!", + "owner_id" => $owner_id, + "owner_name" => $owner_name, + "tax_code" => $tax_code + ]); +} catch (PDOException $e) { + die(json_encode(["success" => false, "message" => "Errore nell'inserimento: " . $e->getMessage()])); } - -$queryInsert->bind_param( - "issssssssssssss", - $user_id, - $first_name, - $last_name, - $company_name, - $tax_code, - $email, - $phone, - $address, - $postal_code, - $city, - $province, - $country, - $owner_type, - $role, - $notes -); - -if ($queryInsert->execute()) { - echo json_encode(["success" => true, "message" => "Proprietario aggiunto con successo!", "owner_id" => $queryInsert->insert_id, "owner_name" => $first_name . " " . $last_name, "tax_code" => $tax_code]); -} else { - die(json_encode(["success" => false, "message" => "Errore nell'inserimento: " . $queryInsert->error])); -} - -// Chiude la connessione -$conn->close(); diff --git a/public/userportal/add-owner-to-home.php b/public/userportal/add-owner-to-home.php index e0145b1..ad98308 100644 --- a/public/userportal/add-owner-to-home.php +++ b/public/userportal/add-owner-to-home.php @@ -3,20 +3,15 @@ ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); -include('include/headscript.php'); - -// Connessione al database -$conn = new mysqli($servername, $username, $password, $database); - -if ($conn->connect_error) { - die(json_encode(["success" => false, "message" => "Errore di connessione: " . $conn->connect_error])); -} +require_once __DIR__ . '/class/db-functions.php'; +$dbHandler = DBHandlerSelect::getInstance(); +$pdo = $dbHandler->getConnection(); // Recupera i dati inviati tramite POST -$idhome = isset($_POST['idhome']) ? intval($_POST['idhome']) : 0; -$owner_id = isset($_POST['owner_id']) ? intval($_POST['owner_id']) : 0; -$ownership_percentage = isset($_POST['ownership_percentage']) ? floatval($_POST['ownership_percentage']) : null; -$notes = isset($_POST['notes']) ? $conn->real_escape_string($_POST['notes']) : null; +$idhome = isset($_POST['idhome']) ? (int)$_POST['idhome'] : 0; +$owner_id = isset($_POST['owner_id']) ? (int)$_POST['owner_id'] : 0; +$ownership_percentage = isset($_POST['ownership_percentage']) ? (float)$_POST['ownership_percentage'] : null; +$notes = isset($_POST['notes']) ? htmlspecialchars($_POST['notes']) : null; // Verifica che tutti i dati siano presenti if ($idhome <= 0 || $owner_id <= 0 || is_null($ownership_percentage)) { @@ -24,46 +19,30 @@ if ($idhome <= 0 || $owner_id <= 0 || is_null($ownership_percentage)) { } // Controlla se il proprietario è già associato alla casa -$queryCheck = $conn->prepare("SELECT 1 FROM home_owners WHERE home_id = ? AND owner_id = ?"); -$queryCheck->bind_param('ii', $idhome, $owner_id); -$queryCheck->execute(); -$resultCheck = $queryCheck->get_result(); - -if ($resultCheck->num_rows > 0) { +$stmt = $pdo->prepare("SELECT 1 FROM home_owners WHERE home_id = ? AND owner_id = ?"); +$stmt->execute([$idhome, $owner_id]); +if ($stmt->fetch()) { die(json_encode(["success" => false, "message" => "Errore: Il proprietario è già associato a questa casa."])); } // Calcola la somma attuale delle percentuali di proprietà -$queryTotal = $conn->prepare("SELECT SUM(ownership_percentage) FROM home_owners WHERE home_id = ?"); -$queryTotal->bind_param('i', $idhome); -$queryTotal->execute(); -$queryTotal->bind_result($currentTotal); -$queryTotal->fetch(); -$queryTotal->close(); +$stmt = $pdo->prepare("SELECT SUM(ownership_percentage) FROM home_owners WHERE home_id = ?"); +$stmt->execute([$idhome]); +$currentTotal = $stmt->fetchColumn() ?: 0; $totalAfterInsert = $currentTotal + $ownership_percentage; - if ($totalAfterInsert > 100) { - die(json_encode(["success" => false, "message" => "Errore: La somma totale dei proprietari supererebbe il 100%."])); + die(json_encode(["success" => false, "message" => "Errore: La somma totale dei proprietari supererebbe il 100%. Totale attuale: $currentTotal%, percentuale richiesta: $ownership_percentage%."])); } // Inserisce il nuovo proprietario nella tabella home_owners -$queryInsert = $conn->prepare(" +$stmt = $pdo->prepare(" INSERT INTO home_owners (home_id, owner_id, ownership_percentage, notes, created_at, updated_at) VALUES (?, ?, ?, ?, NOW(), NOW()) "); - -if ($queryInsert === false) { - die(json_encode(["success" => false, "message" => "Errore nella preparazione della query: " . $conn->error])); -} - -$queryInsert->bind_param('iids', $idhome, $owner_id, $ownership_percentage, $notes); - -if ($queryInsert->execute()) { +try { + $stmt->execute([$idhome, $owner_id, $ownership_percentage, $notes]); echo json_encode(["success" => true, "message" => "Proprietario aggiunto con successo."]); -} else { - die(json_encode(["success" => false, "message" => "Errore nell'inserimento: " . $queryInsert->error])); +} catch (PDOException $e) { + die(json_encode(["success" => false, "message" => "Errore nell'inserimento: " . $e->getMessage()])); } - -$queryInsert->close(); -$conn->close(); diff --git a/public/userportal/assets/css/style.css b/public/userportal/assets/css/style.css index e1d83d7..55b1963 100644 --- a/public/userportal/assets/css/style.css +++ b/public/userportal/assets/css/style.css @@ -47,961 +47,1004 @@ File: Main Css File General ===================*/ body { - background: #f5f5f5; - font-family: "Rubik", sans-serif; - margin: 0; - font-size: 14px; + background: #f5f5f5; + font-family: "Rubik", sans-serif; + margin: 0; + font-size: 14px; } html { - overflow-x: hidden; - position: relative; - min-height: 100%; - background: #f5f5f5; + overflow-x: hidden; + position: relative; + min-height: 100%; + background: #f5f5f5; } -h1, h2, h3, h4, h5, h6 { - margin: 10px 0; - color: #4a4b4c; +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 10px 0; + color: #4a4b4c; } h1 { - line-height: 43px; + line-height: 43px; } h2 { - line-height: 35px; + line-height: 35px; } h3 { - line-height: 30px; + line-height: 30px; } h3 small { - color: #d4d8e1; + color: #d4d8e1; } h4 { - line-height: 22px; + line-height: 22px; } h4 small { - color: #d4d8e1; + color: #d4d8e1; } h5 small { - color: #d4d8e1; + color: #d4d8e1; } b { - font-weight: 500; + font-weight: 500; } * { - outline: none !important; + outline: none !important; } a { - color: #292a2f; + color: #292a2f; } a:hover { - outline: 0; - text-decoration: none; - color: black; + outline: 0; + text-decoration: none; + color: black; } a:active { - outline: 0; - text-decoration: none; + outline: 0; + text-decoration: none; } a:focus { - outline: 0; - text-decoration: none; + outline: 0; + text-decoration: none; } code { - color: #33cdff; + color: #33cdff; } .container-alt { - margin-left: auto; - margin-right: auto; - padding-left: 15px; - padding-right: 15px; + margin-left: auto; + margin-right: auto; + padding-left: 15px; + padding-right: 15px; } .footer { - background-color: rgba(96, 93, 175, 0.02); - border-top: 1px solid rgba(0, 0, 0, 0.05); - bottom: 0; - color: #2d3b48; - text-align: center; - padding: 20px 30px; - position: absolute; - right: 0; - left: 240px; + background-color: rgba(96, 93, 175, 0.02); + border-top: 1px solid rgba(0, 0, 0, 0.05); + bottom: 0; + color: #2d3b48; + text-align: center; + padding: 20px 30px; + position: absolute; + right: 0; + left: 240px; } #wrapper { - height: 100%; - overflow: hidden; - width: 100%; + height: 100%; + overflow: hidden; + width: 100%; } .page { - bottom: 0; - left: 0; - right: 0; - top: 0; + bottom: 0; + left: 0; + right: 0; + top: 0; } .btn-link:hover, .btn-link:focus { - text-decoration: none !important; + text-decoration: none !important; } /*Range*/ .rating-symbol-foreground { - bottom: 0; + bottom: 0; } /* Social */ .social-links li a { - -webkit-border-radius: 50%; - background: white; - border-radius: 50%; - color: #898a8c; - display: inline-block; - height: 30px; - line-height: 30px; - text-align: center; - width: 30px; + -webkit-border-radius: 50%; + background: white; + border-radius: 50%; + color: #898a8c; + display: inline-block; + height: 30px; + line-height: 30px; + text-align: center; + width: 30px; } .h-300 { - height: 300px !important; + height: 300px !important; } /* ============== Loader ===================*/ #preloader { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: #f5f5f5; - z-index: 9999999; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: #f5f5f5; + z-index: 9999999; } #status { - width: 40px; - height: 40px; - position: absolute; - left: 50%; - top: 50%; - margin: -20px 0 0 -20px; + width: 40px; + height: 40px; + position: absolute; + left: 50%; + top: 50%; + margin: -20px 0 0 -20px; } .spinner { - position: absolute; - width: 78px; - height: 78px; - left: 50%; - margin-left: -39px; - margin-top: -39px; + position: absolute; + width: 78px; + height: 78px; + left: 50%; + margin-left: -39px; + margin-top: -39px; } .spinner:before { - content: ''; - position: absolute; - width: 45px; - height: 45px; - top: 50%; - margin-top: -23px; - left: 50%; - margin-left: -23px; - border-width: 2px 1px; - border-style: solid; - border-color: #33cdff rgba(51, 205, 255, 0.3); - border-radius: 50%; - -o-border-radius: 50%; - -ms-border-radius: 50%; - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - box-sizing: border-box; - -o-box-sizing: border-box; - -ms-box-sizing: border-box; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - animation: spin 3.45s infinite; - -o-animation: spin 3.45s infinite; - -ms-animation: spin 3.45s infinite; - -webkit-animation: spin 3.45s infinite; - -moz-animation: spin 3.45s infinite; + content: ""; + position: absolute; + width: 45px; + height: 45px; + top: 50%; + margin-top: -23px; + left: 50%; + margin-left: -23px; + border-width: 2px 1px; + border-style: solid; + border-color: #33cdff rgba(51, 205, 255, 0.3); + border-radius: 50%; + -o-border-radius: 50%; + -ms-border-radius: 50%; + -webkit-border-radius: 50%; + -moz-border-radius: 50%; + box-sizing: border-box; + -o-box-sizing: border-box; + -ms-box-sizing: border-box; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + animation: spin 3.45s infinite; + -o-animation: spin 3.45s infinite; + -ms-animation: spin 3.45s infinite; + -webkit-animation: spin 3.45s infinite; + -moz-animation: spin 3.45s infinite; } .spinner:after { - content: ''; - position: absolute; - width: 12px; - height: 12px; - top: 50%; - margin-top: -6px; - left: 50%; - margin-left: -6px; - background-color: #33cdff; - border-radius: 50%; - -o-border-radius: 50%; - -ms-border-radius: 50%; - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - box-sizing: border-box; - -o-box-sizing: border-box; - -ms-box-sizing: border-box; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - animation: pulse 6.9s infinite, borderPulse 6.9s infinite; - -o-animation: pulse 6.9s infinite, borderPulse 6.9s infinite; - -ms-animation: pulse 6.9s infinite, borderPulse 6.9s infinite; - -webkit-animation: pulse 6.9s infinite, borderPulse 6.9s infinite; - -moz-animation: pulse 6.9s infinite, borderPulse 6.9s infinite; + content: ""; + position: absolute; + width: 12px; + height: 12px; + top: 50%; + margin-top: -6px; + left: 50%; + margin-left: -6px; + background-color: #33cdff; + border-radius: 50%; + -o-border-radius: 50%; + -ms-border-radius: 50%; + -webkit-border-radius: 50%; + -moz-border-radius: 50%; + box-sizing: border-box; + -o-box-sizing: border-box; + -ms-box-sizing: border-box; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + animation: + pulse 6.9s infinite, + borderPulse 6.9s infinite; + -o-animation: + pulse 6.9s infinite, + borderPulse 6.9s infinite; + -ms-animation: + pulse 6.9s infinite, + borderPulse 6.9s infinite; + -webkit-animation: + pulse 6.9s infinite, + borderPulse 6.9s infinite; + -moz-animation: + pulse 6.9s infinite, + borderPulse 6.9s infinite; } @keyframes spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 50% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } - 100% { - -webkit-transform: rotate(1080deg); - transform: rotate(1080deg); - } + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 50% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } + 100% { + -webkit-transform: rotate(1080deg); + transform: rotate(1080deg); + } } @-webkit-keyframes spin { - 0% { - -webkit-transform: rotate(0deg); - } - 50% { - -webkit-transform: rotate(360deg); - } - 100% { - -webkit-transform: rotate(1080deg); - } + 0% { + -webkit-transform: rotate(0deg); + } + 50% { + -webkit-transform: rotate(360deg); + } + 100% { + -webkit-transform: rotate(1080deg); + } } @keyframes pulse { - 0% { - background-color: rgba(51, 205, 255, 0.2); - } - 13% { - background-color: rgba(51, 205, 255, 0.2); - } - 15% { - background-color: rgba(51, 205, 255, 0.9); - } - 28% { - background-color: rgba(51, 205, 255, 0.9); - } - 30% { - background-color: rgba(51, 205, 255, 0.2); - } - 43% { - background-color: rgba(51, 205, 255, 0.2); - } - 45% { - background-color: rgba(51, 205, 255, 0.9); - } - 70% { - background-color: rgba(51, 205, 255, 0.9); - } - 74% { - background-color: rgba(51, 205, 255, 0.2); - } - 100% { - background-color: rgba(51, 205, 255, 0.9); - } + 0% { + background-color: rgba(51, 205, 255, 0.2); + } + 13% { + background-color: rgba(51, 205, 255, 0.2); + } + 15% { + background-color: rgba(51, 205, 255, 0.9); + } + 28% { + background-color: rgba(51, 205, 255, 0.9); + } + 30% { + background-color: rgba(51, 205, 255, 0.2); + } + 43% { + background-color: rgba(51, 205, 255, 0.2); + } + 45% { + background-color: rgba(51, 205, 255, 0.9); + } + 70% { + background-color: rgba(51, 205, 255, 0.9); + } + 74% { + background-color: rgba(51, 205, 255, 0.2); + } + 100% { + background-color: rgba(51, 205, 255, 0.9); + } } @-webkit-keyframes pulse { - 0% { - background-color: rgba(51, 205, 255, 0.2); - } - 13% { - background-color: rgba(51, 205, 255, 0.2); - } - 15% { - background-color: rgba(51, 205, 255, 0.9); - } - 28% { - background-color: rgba(51, 205, 255, 0.9); - } - 30% { - background-color: rgba(51, 205, 255, 0.2); - } - 43% { - background-color: rgba(51, 205, 255, 0.2); - } - 45% { - background-color: rgba(51, 205, 255, 0.9); - } - 70% { - background-color: rgba(51, 205, 255, 0.9); - } - 74% { - background-color: rgba(51, 205, 255, 0.2); - } - 100% { - background-color: rgba(51, 205, 255, 0.9); - } + 0% { + background-color: rgba(51, 205, 255, 0.2); + } + 13% { + background-color: rgba(51, 205, 255, 0.2); + } + 15% { + background-color: rgba(51, 205, 255, 0.9); + } + 28% { + background-color: rgba(51, 205, 255, 0.9); + } + 30% { + background-color: rgba(51, 205, 255, 0.2); + } + 43% { + background-color: rgba(51, 205, 255, 0.2); + } + 45% { + background-color: rgba(51, 205, 255, 0.9); + } + 70% { + background-color: rgba(51, 205, 255, 0.9); + } + 74% { + background-color: rgba(51, 205, 255, 0.2); + } + 100% { + background-color: rgba(51, 205, 255, 0.9); + } } @keyframes borderPulse { - 0% { - -webkit-box-shadow: 0 0 0 0 white, 0 0 0 1px rgba(51, 205, 255, 0.8); - box-shadow: 0 0 0 0 white, 0 0 0 1px rgba(51, 205, 255, 0.8); - } - 40% { - -webkit-box-shadow: 0 0 0 1px white, 0 0 0 2px rgba(51, 205, 255, 0.8); - box-shadow: 0 0 0 1px white, 0 0 0 2px rgba(51, 205, 255, 0.8); - } - 80% { - -webkit-box-shadow: 0 0 0 3px #ffffff, 0 0 1px 3px rgba(51, 205, 255, 0.8); - box-shadow: 0 0 0 3px #ffffff, 0 0 1px 3px rgba(51, 205, 255, 0.8); - } + 0% { + -webkit-box-shadow: + 0 0 0 0 white, + 0 0 0 1px rgba(51, 205, 255, 0.8); + box-shadow: + 0 0 0 0 white, + 0 0 0 1px rgba(51, 205, 255, 0.8); + } + 40% { + -webkit-box-shadow: + 0 0 0 1px white, + 0 0 0 2px rgba(51, 205, 255, 0.8); + box-shadow: + 0 0 0 1px white, + 0 0 0 2px rgba(51, 205, 255, 0.8); + } + 80% { + -webkit-box-shadow: + 0 0 0 3px #ffffff, + 0 0 1px 3px rgba(51, 205, 255, 0.8); + box-shadow: + 0 0 0 3px #ffffff, + 0 0 1px 3px rgba(51, 205, 255, 0.8); + } } @-webkit-keyframes borderPulse { - 0% { - -webkit-box-shadow: 0 0 0 0 white, 0 0 0 1px rgba(51, 205, 255, 0.8); - box-shadow: 0 0 0 0 white, 0 0 0 1px rgba(51, 205, 255, 0.8); - } - 40% { - -webkit-box-shadow: 0 0 0 1px white, 0 0 0 2px rgba(51, 205, 255, 0.8); - box-shadow: 0 0 0 1px white, 0 0 0 2px rgba(51, 205, 255, 0.8); - } - 80% { - -webkit-box-shadow: 0 0 0 3px #ffffff, 0 0 1px 3px rgba(51, 205, 255, 0.8); - box-shadow: 0 0 0 3px #ffffff, 0 0 1px 3px rgba(51, 205, 255, 0.8); - } + 0% { + -webkit-box-shadow: + 0 0 0 0 white, + 0 0 0 1px rgba(51, 205, 255, 0.8); + box-shadow: + 0 0 0 0 white, + 0 0 0 1px rgba(51, 205, 255, 0.8); + } + 40% { + -webkit-box-shadow: + 0 0 0 1px white, + 0 0 0 2px rgba(51, 205, 255, 0.8); + box-shadow: + 0 0 0 1px white, + 0 0 0 2px rgba(51, 205, 255, 0.8); + } + 80% { + -webkit-box-shadow: + 0 0 0 3px #ffffff, + 0 0 1px 3px rgba(51, 205, 255, 0.8); + box-shadow: + 0 0 0 3px #ffffff, + 0 0 1px 3px rgba(51, 205, 255, 0.8); + } } @-webkit-keyframes load8 { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } } @keyframes load8 { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } } /* ============== Bootstrap-custom ===================*/ .breadcrumb { - background-color: transparent; - margin-bottom: 15px; - margin-top: 5px; + background-color: transparent; + margin-bottom: 15px; + margin-top: 5px; } .dropdown-menu { - padding: 4px 0; - font-size: 15px; - -webkit-box-shadow: 0 2px 30px rgba(147, 151, 152, 0.08); - box-shadow: 0 2px 30px rgba(147, 151, 152, 0.08); - border-color: #f5f5f7; + padding: 4px 0; + font-size: 15px; + -webkit-box-shadow: 0 2px 30px rgba(147, 151, 152, 0.08); + box-shadow: 0 2px 30px rgba(147, 151, 152, 0.08); + border-color: #f5f5f7; } -.dropdown-item.active, .dropdown-item:active { - color: #2d3b48; - text-decoration: none; - background-color: #f5f5f7; +.dropdown-item.active, +.dropdown-item:active { + color: #2d3b48; + text-decoration: none; + background-color: #f5f5f7; } .dropdown-item { - padding: .55rem 1.5rem; + padding: 0.55rem 1.5rem; } .bg-primary { - background-color: #605daf !important; + background-color: #605daf !important; } .bg-success { - background-color: #5dd099 !important; + background-color: #5dd099 !important; } .bg-info { - background-color: #33cdff !important; + background-color: #33cdff !important; } .bg-warning { - background-color: #f8c955 !important; + background-color: #f8c955 !important; } .bg-danger { - background-color: #f96e5b !important; + background-color: #f96e5b !important; } .bg-muted { - background-color: #8c9ea9 !important; + background-color: #8c9ea9 !important; } .bg-white { - background-color: #ffffff !important; + background-color: #ffffff !important; } .bg-pink { - background-color: #f5468e !important; + background-color: #f5468e !important; } .bg-purple { - background-color: #775fd5 !important; + background-color: #775fd5 !important; } .text-white { - color: #ffffff !important; + color: #ffffff !important; } .text-danger { - color: #f96e5b !important; + color: #f96e5b !important; } .text-muted { - color: #8c9ea9 !important; + color: #8c9ea9 !important; } .text-primary { - color: #605daf !important; + color: #605daf !important; } .text-warning { - color: #f8c955 !important; + color: #f8c955 !important; } .text-success { - color: #5dd099 !important; + color: #5dd099 !important; } .text-info { - color: #33cdff !important; + color: #33cdff !important; } .text-dark { - color: #2d3b48 !important; + color: #2d3b48 !important; } .text-pink { - color: #f5468e !important; + color: #f5468e !important; } .text-purple { - color: #775fd5 !important; + color: #775fd5 !important; } .badge { - font-weight: 500; + font-weight: 500; } .badge-default { - background-color: #f5f5f7; - color: #2d3b48; + background-color: #f5f5f7; + color: #2d3b48; } .badge-primary { - background-color: #605daf; + background-color: #605daf; } .badge-success { - background-color: #5dd099; + background-color: #5dd099; } .badge-info { - background-color: #33cdff; + background-color: #33cdff; } .badge-warning { - background-color: #f8c955; - color: #f5f5f7; + background-color: #f8c955; + color: #f5f5f7; } .badge-danger { - background-color: #f96e5b; + background-color: #f96e5b; } .badge-pink { - background-color: #f5468e; + background-color: #f5468e; } .badge-purple { - background-color: #775fd5; + background-color: #775fd5; } .badge-dark { - background-color: #2d3b48; + background-color: #2d3b48; } /* Soft-Budge*/ .badge-soft-primary { - background-color: rgba(96, 93, 175, 0.2); - color: #605daf; + background-color: rgba(96, 93, 175, 0.2); + color: #605daf; } .badge-soft-success { - background-color: rgba(93, 208, 153, 0.2); - color: #5dd099; + background-color: rgba(93, 208, 153, 0.2); + color: #5dd099; } .badge-soft-info { - background-color: rgba(51, 205, 255, 0.2); - color: #33cdff; + background-color: rgba(51, 205, 255, 0.2); + color: #33cdff; } .badge-soft-warning { - background-color: rgba(248, 201, 85, 0.2); - color: #f8c955; + background-color: rgba(248, 201, 85, 0.2); + color: #f8c955; } .badge-soft-danger { - background-color: rgba(249, 110, 91, 0.2); - color: #f96e5b; + background-color: rgba(249, 110, 91, 0.2); + color: #f96e5b; } .badge-soft-pink { - background-color: rgba(245, 70, 142, 0.2); - color: #f5468e; + background-color: rgba(245, 70, 142, 0.2); + color: #f5468e; } .badge-soft-purple { - background-color: rgba(119, 95, 213, 0.2); - color: #775fd5; + background-color: rgba(119, 95, 213, 0.2); + color: #775fd5; } /* Navs & Tabs */ -.nav-pills .nav-item.show .nav-link, .nav-pills .nav-link.active { - background-color: #605daf; +.nav-pills .nav-item.show .nav-link, +.nav-pills .nav-link.active { + background-color: #605daf; } .nav-pills > .active > a > .badge { - color: #605daf; + color: #605daf; } /* List Group */ .list-group-item.active { - background-color: #d4d8e1; - border-color: #d4d8e1; - color: #bcc1c2; - z-index: 2; + background-color: #d4d8e1; + border-color: #d4d8e1; + color: #bcc1c2; + z-index: 2; } .list-group-item.active:hover { - background-color: #d4d8e1; - border-color: #d4d8e1; - color: #bcc1c2; - z-index: 2; + background-color: #d4d8e1; + border-color: #d4d8e1; + color: #bcc1c2; + z-index: 2; } .list-group-item.active:hover .list-group-item-text { - color: #605daf; + color: #605daf; } .list-group-item.active:focus { - background-color: #d4d8e1; - border-color: #d4d8e1; - color: #bcc1c2; - z-index: 2; + background-color: #d4d8e1; + border-color: #d4d8e1; + color: #bcc1c2; + z-index: 2; } .list-group-item.active:focus .list-group-item-text { - color: #605daf; + color: #605daf; } .list-group-item.active .list-group-item-text { - color: #605daf; + color: #605daf; } .list-group-item { - border-radius: 0; - padding: 12px 20px; - border: 1px solid fade(#2d3b48, 6%); + border-radius: 0; + padding: 12px 20px; + border: 1px solid fade(#2d3b48, 6%); } .list-group-item:first-child { - border-radius: 0; - padding: 12px 20px; + border-radius: 0; + padding: 12px 20px; } .list-group-item:last-child { - border-radius: 0; - padding: 12px 20px; + border-radius: 0; + padding: 12px 20px; } .list-group-item-heading { - font-weight: 300; + font-weight: 300; } .list-group-item.active > .badge { - color: #605daf; + color: #605daf; } .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before { - background-color: #605daf; + background-color: #605daf; } .custom-radio .custom-control-input:checked ~ .custom-control-label::before { - background-color: #605daf; + background-color: #605daf; } -.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before { - background-color: rgba(96, 93, 175, 0.5); +.custom-radio + .custom-control-input:disabled:checked + ~ .custom-control-label::before { + background-color: rgba(96, 93, 175, 0.5); } .popover-header { - margin-top: 0; + margin-top: 0; } .blockquote { - font-size: 1.05rem; - padding: 10px 20px; - margin-bottom: 20px; - border-left: 4px solid #ebeff8; + font-size: 1.05rem; + padding: 10px 20px; + margin-bottom: 20px; + border-left: 4px solid #ebeff8; } .blockquote-reverse { - border-left: 0; - border-right: 4px solid #ebeff8; - text-align: right; + border-left: 0; + border-right: 4px solid #ebeff8; + text-align: right; } .modal-title { - margin-top: 0; + margin-top: 0; } /* ============= Alerts ============= */ .alert { - position: relative; - border: 0; + position: relative; + border: 0; } .alert .alert-link { - font-weight: 600; + font-weight: 600; } .alert.alert-outline-success { - border: 1px solid #5dd099; - background-color: transparent; - color: #5dd099; + border: 1px solid #5dd099; + background-color: transparent; + color: #5dd099; } .alert.alert-outline-danger { - border: 1px solid #f96e5b; - background-color: transparent; - color: #f96e5b; + border: 1px solid #f96e5b; + background-color: transparent; + color: #f96e5b; } .alert.alert-outline-primary { - border: 1px solid #605daf; - background-color: transparent; - color: #605daf; + border: 1px solid #605daf; + background-color: transparent; + color: #605daf; } .alert.alert-outline-warning { - border: 1px solid #f8c955; - background-color: transparent; - color: #f8c955; + border: 1px solid #f8c955; + background-color: transparent; + color: #f8c955; } .alert.alert-outline-info { - border: 1px solid #33cdff; - background-color: transparent; - color: #33cdff; + border: 1px solid #33cdff; + background-color: transparent; + color: #33cdff; } .alert.alert-outline-pink { - border: 1px solid #f5468e; - background-color: transparent; - color: #f5468e; + border: 1px solid #f5468e; + background-color: transparent; + color: #f5468e; } .alert.alert-outline-purple { - border: 1px solid #775fd5; - background-color: transparent; - color: #775fd5; + border: 1px solid #775fd5; + background-color: transparent; + color: #775fd5; } .alert.alert-outline-secondary { - border: 1px solid #aaaece; - background-color: transparent; - color: #aaaece; + border: 1px solid #aaaece; + background-color: transparent; + color: #aaaece; } .alert.alert-outline-dark { - border: 1px solid #2d3b48; - background-color: transparent; - color: #2d3b48; + border: 1px solid #2d3b48; + background-color: transparent; + color: #2d3b48; } .alert-success { - color: #5dd099; - background-color: #d4f2e4; + color: #5dd099; + background-color: #d4f2e4; } .alert-success .alert-link { - color: #38c280; + color: #38c280; } .alert-success hr { - border-top-color: #38c280; + border-top-color: #38c280; } .alert-info { - color: #33cdff; - background-color: #b3ecff; + color: #33cdff; + background-color: #b3ecff; } .alert-info .alert-link { - color: #00c1ff; + color: #00c1ff; } .alert-info hr { - border-top-color: #00c1ff; + border-top-color: #00c1ff; } .alert-warning { - color: #f8c955; - background-color: #fefbf2; + color: #f8c955; + background-color: #fefbf2; } .alert-warning .alert-link { - color: #f6b924; + color: #f6b924; } .alert-warning hr { - border-top-color: #f6b924; + border-top-color: #f6b924; } .alert-danger { - color: #f96e5b; - background-color: #fedbd6; + color: #f96e5b; + background-color: #fedbd6; } .alert-danger .alert-link { - color: #f7432a; + color: #f7432a; } .alert-danger hr { - border-top-color: #f7432a; + border-top-color: #f7432a; } /* ============== Helper Classes ===================*/ .p-0 { - padding: 0; + padding: 0; } .p-t-10 { - padding-top: 10px; + padding-top: 10px; } .p-b-10 { - padding-bottom: 10px; + padding-bottom: 10px; } .m-0 { - margin: 0; + margin: 0; } .m-r-5 { - margin-right: 5px; + margin-right: 5px; } .m-r-10 { - margin-right: 10px; + margin-right: 10px; } .m-r-15 { - margin-right: 15px; + margin-right: 15px; } .m-l-10 { - margin-left: 10px; + margin-left: 10px; } .m-l-15 { - margin-left: 15px; + margin-left: 15px; } .m-t-5 { - margin-top: 5px; + margin-top: 5px; } .m-t-10 { - margin-top: 10px; + margin-top: 10px; } .m-t-15 { - margin-top: 15px; + margin-top: 15px; } .m-t-20 { - margin-top: 20px; + margin-top: 20px; } .m-t-30 { - margin-top: 30px; + margin-top: 30px; } .m-t-40 { - margin-top: 40px; + margin-top: 40px; } .m-b-5 { - margin-bottom: 5px; + margin-bottom: 5px; } .m-b-10 { - margin-bottom: 10px; + margin-bottom: 10px; } .m-b-15 { - margin-bottom: 15px; + margin-bottom: 15px; } .m-b-20 { - margin-bottom: 20px; + margin-bottom: 20px; } .m-b-30 { - margin-bottom: 30px; + margin-bottom: 30px; } .w-xs { - min-width: 80px; + min-width: 80px; } .w-sm { - min-width: 95px; + min-width: 95px; } .w-md { - min-width: 110px; + min-width: 110px; } .w-lg { - min-width: 140px; + min-width: 140px; } .m-h-50 { - min-height: 50px; + min-height: 50px; } .l-h-34 { - line-height: 34px; + line-height: 34px; } .font-10 { - font-size: 10px; + font-size: 10px; } .font-12 { - font-size: 12px; + font-size: 12px; } .font-13 { - font-size: 13px; + font-size: 13px; } .font-14 { - font-size: 14px; + font-size: 14px; } .font-16 { - font-size: 16px; + font-size: 16px; } .font-18 { - font-size: 18px; + font-size: 18px; } .font-20 { - font-size: 20px; + font-size: 20px; } .font-32 { - font-size: 32px; + font-size: 32px; } .font-40 { - font-size: 40px; + font-size: 40px; } .no-border { - border: none; + border: none; } .bx-shadow { - -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1); + -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1); } .thumb-sm { - height: 32px; - width: 32px; + height: 32px; + width: 32px; } .thumb-md { - height: 48px; - width: 48px; + height: 48px; + width: 48px; } .thumb-lg { - height: 88px; - width: 88px; + height: 88px; + width: 88px; } .grid-structure .grid-container { - background-color: #bcc1c2; - margin-bottom: 10px; - padding: 10px 20px; + background-color: #bcc1c2; + margin-bottom: 10px; + padding: 10px 20px; } .b-round { - border-radius: 30px; + border-radius: 30px; } .fw-400 { - font-weight: 400; + font-weight: 400; } .header-title { - font-size: 16px; + font-size: 16px; } .text-g-light { - color: #ebeff8 !important; + color: #ebeff8 !important; } /* ============== @@ -1016,1619 +1059,1915 @@ code { * https://github.com/fians/Waves/blob/master/LICENSE */ .waves-effect { - position: relative; - cursor: pointer; - display: inline-block; - overflow: hidden; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: transparent; - vertical-align: middle; - z-index: 1; - will-change: opacity, transform; - -webkit-transition: all 0.3s ease-out; - transition: all 0.3s ease-out; + position: relative; + cursor: pointer; + display: inline-block; + overflow: hidden; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -webkit-tap-highlight-color: transparent; + vertical-align: middle; + z-index: 1; + will-change: opacity, transform; + -webkit-transition: all 0.3s ease-out; + transition: all 0.3s ease-out; } .waves-effect .waves-ripple { - position: absolute; - border-radius: 50%; - width: 20px; - height: 20px; - margin-top: -10px; - margin-left: -10px; - opacity: 0; - background: rgba(0, 0, 0, 0.2); - -webkit-transition: all 0.7s ease-out; - transition: all 0.7s ease-out; - -webkit-transition-property: -webkit-transform, opacity; - -webkit-transition-property: opacity, -webkit-transform; - transition-property: opacity, -webkit-transform; - transition-property: transform, opacity; - transition-property: transform, opacity, -webkit-transform; - -webkit-transform: scale(0); - transform: scale(0); - pointer-events: none; + position: absolute; + border-radius: 50%; + width: 20px; + height: 20px; + margin-top: -10px; + margin-left: -10px; + opacity: 0; + background: rgba(0, 0, 0, 0.2); + -webkit-transition: all 0.7s ease-out; + transition: all 0.7s ease-out; + -webkit-transition-property: -webkit-transform, opacity; + -webkit-transition-property: + opacity, + -webkit-transform; + transition-property: + opacity, + -webkit-transform; + transition-property: transform, opacity; + transition-property: + transform, + opacity, + -webkit-transform; + -webkit-transform: scale(0); + transform: scale(0); + pointer-events: none; } .waves-effect.waves-light .waves-ripple { - background-color: rgba(255, 255, 255, 0.25); + background-color: rgba(255, 255, 255, 0.25); } .waves-effect.waves-red .waves-ripple { - background-color: rgba(244, 67, 54, 0.7); + background-color: rgba(244, 67, 54, 0.7); } .waves-effect.waves-yellow .waves-ripple { - background-color: rgba(255, 235, 59, 0.7); + background-color: rgba(255, 235, 59, 0.7); } .waves-effect.waves-orange .waves-ripple { - background-color: rgba(255, 152, 0, 0.7); + background-color: rgba(255, 152, 0, 0.7); } .waves-effect.waves-purple .waves-ripple { - background-color: rgba(156, 39, 176, 0.7); + background-color: rgba(156, 39, 176, 0.7); } .waves-effect.waves-green .waves-ripple { - background-color: rgba(76, 175, 80, 0.7); + background-color: rgba(76, 175, 80, 0.7); } .waves-effect.waves-teal .waves-ripple { - background-color: rgba(0, 150, 136, 0.7); + background-color: rgba(0, 150, 136, 0.7); } .waves-notransition { - -webkit-transition: none; - transition: none; + -webkit-transition: none; + transition: none; } .waves-circle { - -webkit-transform: translateZ(0); - transform: translateZ(0); - text-align: center; - width: 2.5em; - height: 2.5em; - line-height: 2.5em; - border-radius: 50%; - -webkit-mask-image: none; + -webkit-transform: translateZ(0); + transform: translateZ(0); + text-align: center; + width: 2.5em; + height: 2.5em; + line-height: 2.5em; + border-radius: 50%; + -webkit-mask-image: none; } .waves-input-wrapper { - border-radius: 0.2em; - vertical-align: bottom; + border-radius: 0.2em; + vertical-align: bottom; } .waves-input-wrapper .waves-button-input { - position: relative; - top: 0; - left: 0; - z-index: 1; + position: relative; + top: 0; + left: 0; + z-index: 1; } .waves-block { - display: block; + display: block; } /* ============== Demo Only css ===================*/ .bs-example-modal { - position: relative; - top: auto; - right: auto; - bottom: auto; - left: auto; - z-index: 1; - display: block; + position: relative; + top: auto; + right: auto; + bottom: auto; + left: auto; + z-index: 1; + display: block; } .icon-demo-content { - text-align: center; - color: #8c9ea9; + text-align: center; + color: #8c9ea9; } .icon-demo-content i { - display: block; - font-size: 28px; - margin-bottom: 5px; + display: block; + font-size: 28px; + margin-bottom: 5px; } .icon-demo-content .col-sm-6 { - margin-bottom: 30px; + margin-bottom: 30px; } .icon-demo-content .col-sm-6:hover i { - color: #605daf; + color: #605daf; } /*===grid===*/ .grid-col div span { - padding-top: 10px; - padding-bottom: 10px; - margin-bottom: 15px; - background: #f5f5f7; - border: 1px solid; - border-color: #bcc1c2; - display: block; + padding-top: 10px; + padding-bottom: 10px; + margin-bottom: 15px; + background: #f5f5f7; + border: 1px solid; + border-color: #bcc1c2; + display: block; } .grid-col .nested-col.row span { - background-color: #f5f5f7; - display: block; + background-color: #f5f5f7; + display: block; } /* ============== Buttons ===================*/ .btn { - border-radius: 3px; - font-family: "Rubik", sans-serif; - font-size: 14px; - line-height: 24px; + border-radius: 3px; + font-family: "Rubik", sans-serif; + font-size: 14px; + line-height: 24px; } .btn:focus { - -webkit-box-shadow: 0 0 0 0.2rem #ebeff8; - box-shadow: 0 0 0 0.2rem #ebeff8; + -webkit-box-shadow: 0 0 0 0.2rem #ebeff8; + box-shadow: 0 0 0 0.2rem #ebeff8; } .animation-btn, .button-list, .button-items { - margin-bottom: -8px; + margin-bottom: -8px; } .animation-btn .btn, .button-list .btn, .button-items .btn { - margin-bottom: 8px; - margin-right: 5px; + margin-bottom: 8px; + margin-right: 5px; } .btn-round { - border-radius: 30px; + border-radius: 30px; } -.btn-primary, .btn-success, .btn-secondary, .btn-info, .btn-warning, -.btn-danger, .btn-dark, .btn-pink, .btn-purple { - color: #ffffff; +.btn-primary, +.btn-success, +.btn-secondary, +.btn-info, +.btn-warning, +.btn-danger, +.btn-dark, +.btn-pink, +.btn-purple { + color: #ffffff; } /*btn-primary*/ .btn-primary { - background-color: #605daf; - border: 1px solid #605daf; - -webkit-box-shadow: 0 2px 6px 0 rgba(96, 93, 175, 0.5); - box-shadow: 0 2px 6px 0 rgba(96, 93, 175, 0.5); + background-color: #605daf; + border: 1px solid #605daf; + -webkit-box-shadow: 0 2px 6px 0 rgba(96, 93, 175, 0.5); + box-shadow: 0 2px 6px 0 rgba(96, 93, 175, 0.5); } -.btn-primary.active, .btn-primary.focus, .btn-primary:active, .btn-primary:focus, .btn-primary:hover, -.open > .dropdown-toggle.btn-primary, .btn-outline-primary.active, .btn-outline-primary:active, -.show > .btn-outline-primary.dropdown-toggle, .btn-outline-primary:hover, .btn-primary.active, .btn-primary:not(:disabled):not(.disabled):active, -.btn-primary:active, .show > .btn-primary.dropdown-toggle, -a.bg-primary:focus, a.bg-primary:hover, button.bg-primary:focus, button.bg-primary:hover { - background-color: #5350a2 !important; - border: 1px solid #5350a2; +.btn-primary.active, +.btn-primary.focus, +.btn-primary:active, +.btn-primary:focus, +.btn-primary:hover, +.open > .dropdown-toggle.btn-primary, +.btn-outline-primary.active, +.btn-outline-primary:active, +.show > .btn-outline-primary.dropdown-toggle, +.btn-outline-primary:hover, +.btn-primary.active, +.btn-primary:not(:disabled):not(.disabled):active, +.btn-primary:active, +.show > .btn-primary.dropdown-toggle, +a.bg-primary:focus, +a.bg-primary:hover, +button.bg-primary:focus, +button.bg-primary:hover { + background-color: #5350a2 !important; + border: 1px solid #5350a2; } -.btn-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-primary.dropdown-toggle:focus, -.btn-primary.focus, .btn-primary:focus, .btn-outline-primary.focus, .btn-outline-primary:focus { - -webkit-box-shadow: 0 0 0 2px rgba(96, 93, 175, 0.3); - box-shadow: 0 0 0 2px rgba(96, 93, 175, 0.3); +.btn-primary:not(:disabled):not(.disabled):active:focus, +.show > .btn-primary.dropdown-toggle:focus, +.btn-primary.focus, +.btn-primary:focus, +.btn-outline-primary.focus, +.btn-outline-primary:focus { + -webkit-box-shadow: 0 0 0 2px rgba(96, 93, 175, 0.3); + box-shadow: 0 0 0 2px rgba(96, 93, 175, 0.3); } /*btn-success*/ .btn-success { - background-color: #5dd099; - border: 1px solid #5dd099; - -webkit-box-shadow: 0 2px 6px 0 rgba(93, 208, 153, 0.5); - box-shadow: 0 2px 6px 0 rgba(93, 208, 153, 0.5); + background-color: #5dd099; + border: 1px solid #5dd099; + -webkit-box-shadow: 0 2px 6px 0 rgba(93, 208, 153, 0.5); + box-shadow: 0 2px 6px 0 rgba(93, 208, 153, 0.5); } -.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, -.btn-success.focus, .btn-success:active, .btn-success:focus, .btn-success:hover, +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.btn-success.focus, +.btn-success:active, +.btn-success:focus, +.btn-success:hover, .btn-success:not(:disabled):not(.disabled):active, -.open > .dropdown-toggle.btn-success, .btn-outline-success.active, .btn-outline-success:active, -.show > .btn-outline-success.dropdown-toggle, .btn-outline-success:hover, .btn-success.active, -.btn-success:active, .show > .btn-success.dropdown-toggle { - background-color: #49ca8d; - border: 1px solid #49ca8d; +.open > .dropdown-toggle.btn-success, +.btn-outline-success.active, +.btn-outline-success:active, +.show > .btn-outline-success.dropdown-toggle, +.btn-outline-success:hover, +.btn-success.active, +.btn-success:active, +.show > .btn-success.dropdown-toggle { + background-color: #49ca8d; + border: 1px solid #49ca8d; } -.btn-success:not(:disabled):not(.disabled):active:focus, .show > .btn-success.dropdown-toggle:focus, -.btn-success.focus, .btn-success:focus, .btn-outline-success.focus, .btn-outline-success:focus { - -webkit-box-shadow: 0 0 0 2px rgba(93, 208, 153, 0.3); - box-shadow: 0 0 0 2px rgba(93, 208, 153, 0.3); +.btn-success:not(:disabled):not(.disabled):active:focus, +.show > .btn-success.dropdown-toggle:focus, +.btn-success.focus, +.btn-success:focus, +.btn-outline-success.focus, +.btn-outline-success:focus { + -webkit-box-shadow: 0 0 0 2px rgba(93, 208, 153, 0.3); + box-shadow: 0 0 0 2px rgba(93, 208, 153, 0.3); } /*btn-secondary*/ .btn-secondary { - background-color: #aaaece; - border: 1px solid #aaaece; - -webkit-box-shadow: 0 2px 6px 0 rgba(170, 174, 206, 0.5); - box-shadow: 0 2px 6px 0 rgba(170, 174, 206, 0.5); + background-color: #aaaece; + border: 1px solid #aaaece; + -webkit-box-shadow: 0 2px 6px 0 rgba(170, 174, 206, 0.5); + box-shadow: 0 2px 6px 0 rgba(170, 174, 206, 0.5); } -.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active, .btn-secondary.active, -.btn-secondary.focus, .btn-secondary:active, .btn-secondary:focus, .btn-secondary:hover, +.btn-secondary:hover, +.btn-secondary:focus, +.btn-secondary:active, +.btn-secondary.active, +.btn-secondary.focus, +.btn-secondary:active, +.btn-secondary:focus, +.btn-secondary:hover, .btn-secondary:not(:disabled):not(.disabled):active, -.open > .dropdown-toggle.btn-secondary, .btn-outline-secondary.active, .btn-outline-secondary:active, -.show > .btn-outline-secondary.dropdown-toggle, .btn-outline-secondary:hover, .btn-secondary.active, -.btn-secondary:active, .show > .btn-secondary.dropdown-toggle { - background-color: #9a9fc5; - border: 1px solid #9a9fc5; +.open > .dropdown-toggle.btn-secondary, +.btn-outline-secondary.active, +.btn-outline-secondary:active, +.show > .btn-outline-secondary.dropdown-toggle, +.btn-outline-secondary:hover, +.btn-secondary.active, +.btn-secondary:active, +.show > .btn-secondary.dropdown-toggle { + background-color: #9a9fc5; + border: 1px solid #9a9fc5; } -.btn-secondary:not(:disabled):not(.disabled):active:focus, .show > .btn-secondary.dropdown-toggle:focus, -.btn-secondary.focus, .btn-secondary:focus, .btn-outline-secondary.focus, .btn-outline-secondary:focus { - -webkit-box-shadow: 0 0 0 2px rgba(170, 174, 206, 0.3); - box-shadow: 0 0 0 2px rgba(170, 174, 206, 0.3); +.btn-secondary:not(:disabled):not(.disabled):active:focus, +.show > .btn-secondary.dropdown-toggle:focus, +.btn-secondary.focus, +.btn-secondary:focus, +.btn-outline-secondary.focus, +.btn-outline-secondary:focus { + -webkit-box-shadow: 0 0 0 2px rgba(170, 174, 206, 0.3); + box-shadow: 0 0 0 2px rgba(170, 174, 206, 0.3); } /*btn-info*/ .btn-info { - background-color: #33cdff; - border: 1px solid #33cdff; - -webkit-box-shadow: 0 2px 6px 0 rgba(51, 205, 255, 0.5); - box-shadow: 0 2px 6px 0 rgba(51, 205, 255, 0.5); + background-color: #33cdff; + border: 1px solid #33cdff; + -webkit-box-shadow: 0 2px 6px 0 rgba(51, 205, 255, 0.5); + box-shadow: 0 2px 6px 0 rgba(51, 205, 255, 0.5); } .btn-info:not(:disabled):not(.disabled):active, -.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .btn-info.focus, -.btn-info:active, .btn-info:focus, .btn-info:hover, .open > .dropdown-toggle.btn-info, -.btn-outline-info.active, .btn-outline-info:active, .btn-info.disabled, .btn-info:disabled, -.show > .btn-outline-info.dropdown-toggle, .btn-outline-info:hover, .btn-info.active, .btn-info:active, +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.btn-info.focus, +.btn-info:active, +.btn-info:focus, +.btn-info:hover, +.open > .dropdown-toggle.btn-info, +.btn-outline-info.active, +.btn-outline-info:active, +.btn-info.disabled, +.btn-info:disabled, +.show > .btn-outline-info.dropdown-toggle, +.btn-outline-info:hover, +.btn-info.active, +.btn-info:active, .show > .btn-info.dropdown-toggle { - background-color: #1ac7ff; - border: 1px solid #1ac7ff; + background-color: #1ac7ff; + border: 1px solid #1ac7ff; } -.btn-info:not(:disabled):not(.disabled):active:focus, .show > .btn-info.dropdown-toggle:focus, -.btn-info.focus, .btn-info:focus, .btn-outline-info.focus, .btn-outline-info:focus { - -webkit-box-shadow: 0 0 0 2px rgba(51, 205, 255, 0.3); - box-shadow: 0 0 0 2px rgba(51, 205, 255, 0.3); +.btn-info:not(:disabled):not(.disabled):active:focus, +.show > .btn-info.dropdown-toggle:focus, +.btn-info.focus, +.btn-info:focus, +.btn-outline-info.focus, +.btn-outline-info:focus { + -webkit-box-shadow: 0 0 0 2px rgba(51, 205, 255, 0.3); + box-shadow: 0 0 0 2px rgba(51, 205, 255, 0.3); } /*btn-warning*/ .btn-warning { - background-color: #f8c955; - border: 1px solid #f8c955; - -webkit-box-shadow: 0 2px 6px 0 rgba(248, 201, 85, 0.5); - box-shadow: 0 2px 6px 0 rgba(248, 201, 85, 0.5); + background-color: #f8c955; + border: 1px solid #f8c955; + -webkit-box-shadow: 0 2px 6px 0 rgba(248, 201, 85, 0.5); + box-shadow: 0 2px 6px 0 rgba(248, 201, 85, 0.5); } -.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, -.btn-warning.focus, .btn-warning:active, .btn-warning:focus, .btn-warning:hover, -.open > .dropdown-toggle.btn-warning, .btn-outline-warning.active, .btn-outline-warning:active, -.show > .btn-outline-warning.dropdown-toggle, .btn-outline-warning:hover, .btn-warning.active, -.btn-warning:active, .show > .btn-warning.dropdown-toggle { - background-color: #f7c13d; - border: 1px solid #f7c13d; +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.btn-warning.focus, +.btn-warning:active, +.btn-warning:focus, +.btn-warning:hover, +.open > .dropdown-toggle.btn-warning, +.btn-outline-warning.active, +.btn-outline-warning:active, +.show > .btn-outline-warning.dropdown-toggle, +.btn-outline-warning:hover, +.btn-warning.active, +.btn-warning:active, +.show > .btn-warning.dropdown-toggle { + background-color: #f7c13d; + border: 1px solid #f7c13d; } -.btn-warning:not(:disabled):not(.disabled):active:focus, .show > .btn-warning.dropdown-toggle:focus, -.btn-warning.focus, .btn-warning:focus, .btn-outline-warning.focus, .btn-outline-warning:focus { - -webkit-box-shadow: 0 0 0 2px rgba(248, 201, 85, 0.3); - box-shadow: 0 0 0 2px rgba(248, 201, 85, 0.3); +.btn-warning:not(:disabled):not(.disabled):active:focus, +.show > .btn-warning.dropdown-toggle:focus, +.btn-warning.focus, +.btn-warning:focus, +.btn-outline-warning.focus, +.btn-outline-warning:focus { + -webkit-box-shadow: 0 0 0 2px rgba(248, 201, 85, 0.3); + box-shadow: 0 0 0 2px rgba(248, 201, 85, 0.3); } /*btn-danger*/ .btn-danger { - background-color: #f96e5b; - border: 1px solid #f96e5b; - -webkit-box-shadow: 0 2px 6px 0 rgba(249, 110, 91, 0.5); - box-shadow: 0 2px 6px 0 rgba(249, 110, 91, 0.5); + background-color: #f96e5b; + border: 1px solid #f96e5b; + -webkit-box-shadow: 0 2px 6px 0 rgba(249, 110, 91, 0.5); + box-shadow: 0 2px 6px 0 rgba(249, 110, 91, 0.5); } .btn-danger:not(:disabled):not(.disabled):active, -.btn-danger:active, .btn-danger:focus, .btn-danger:hover, .btn-danger.active, -.btn-danger.focus, .btn-danger:active, .btn-danger:focus, .btn-danger:hover, -.open > .dropdown-toggle.btn-danger, .btn-outline-danger.active, .btn-outline-danger:active, -.show > .btn-outline-danger.dropdown-toggle, .btn-outline-danger:hover, .btn-danger.active, -.btn-danger:active, .show > .btn-danger.dropdown-toggle { - background-color: #f85842; - border: 1px solid #f85842; +.btn-danger:active, +.btn-danger:focus, +.btn-danger:hover, +.btn-danger.active, +.btn-danger.focus, +.btn-danger:active, +.btn-danger:focus, +.btn-danger:hover, +.open > .dropdown-toggle.btn-danger, +.btn-outline-danger.active, +.btn-outline-danger:active, +.show > .btn-outline-danger.dropdown-toggle, +.btn-outline-danger:hover, +.btn-danger.active, +.btn-danger:active, +.show > .btn-danger.dropdown-toggle { + background-color: #f85842; + border: 1px solid #f85842; } -.btn-danger.focus, .btn-danger:focus, .btn-outline-danger.focus, .btn-outline-danger:focus { - -webkit-box-shadow: 0 0 0 2px rgba(249, 110, 91, 0.3); - box-shadow: 0 0 0 2px rgba(249, 110, 91, 0.3); +.btn-danger.focus, +.btn-danger:focus, +.btn-outline-danger.focus, +.btn-outline-danger:focus { + -webkit-box-shadow: 0 0 0 2px rgba(249, 110, 91, 0.3); + box-shadow: 0 0 0 2px rgba(249, 110, 91, 0.3); } /*btn-light*/ .btn-light { - color: #78797c; - background-color: #f5f5f7; - border: 1px solid #d4d8e1; - -webkit-box-shadow: 0 2px 6px 0 rgba(245, 245, 247, 0.9); - box-shadow: 0 2px 6px 0 rgba(245, 245, 247, 0.9); + color: #78797c; + background-color: #f5f5f7; + border: 1px solid #d4d8e1; + -webkit-box-shadow: 0 2px 6px 0 rgba(245, 245, 247, 0.9); + box-shadow: 0 2px 6px 0 rgba(245, 245, 247, 0.9); } -.btn-light:active, .btn-light:focus, .btn-light:hover, .btn-light.active, -.btn-light.focus, .btn-light:active, .btn-light:focus, .btn-light:hover, -.open > .dropdown-toggle.btn-light, .btn-outline-light.active, .btn-outline-light:active, -.show > .btn-outline-light.dropdown-toggle, .btn-outline-light:hover, .btn-light.active, -.btn-light:active, .show > .btn-light.dropdown-toggle { - background-color: #e7e7ec; - border: 1px solid #e7e7ec; +.btn-light:active, +.btn-light:focus, +.btn-light:hover, +.btn-light.active, +.btn-light.focus, +.btn-light:active, +.btn-light:focus, +.btn-light:hover, +.open > .dropdown-toggle.btn-light, +.btn-outline-light.active, +.btn-outline-light:active, +.show > .btn-outline-light.dropdown-toggle, +.btn-outline-light:hover, +.btn-light.active, +.btn-light:active, +.show > .btn-light.dropdown-toggle { + background-color: #e7e7ec; + border: 1px solid #e7e7ec; } -.btn-light.focus, .btn-light:focus, .btn-outline-light.focus, .btn-outline-light:focus { - -webkit-box-shadow: 0 0 0 2px rgba(245, 245, 247, 0.3); - box-shadow: 0 0 0 2px rgba(245, 245, 247, 0.3); +.btn-light.focus, +.btn-light:focus, +.btn-outline-light.focus, +.btn-outline-light:focus { + -webkit-box-shadow: 0 0 0 2px rgba(245, 245, 247, 0.3); + box-shadow: 0 0 0 2px rgba(245, 245, 247, 0.3); } /*btn-dark*/ .btn-dark { - background-color: #2d3b48; - border: 1px solid #2d3b48; - color: #ffffff; - -webkit-box-shadow: 0 2px 6px 0 rgba(45, 59, 72, 0.5); - box-shadow: 0 2px 6px 0 rgba(45, 59, 72, 0.5); + background-color: #2d3b48; + border: 1px solid #2d3b48; + color: #ffffff; + -webkit-box-shadow: 0 2px 6px 0 rgba(45, 59, 72, 0.5); + box-shadow: 0 2px 6px 0 rgba(45, 59, 72, 0.5); } -.btn-dark:hover, .btn-dark:focus, .btn-dark:active, .btn-dark.active, .btn-dark.focus, -.btn-dark:active, .btn-dark:focus, .btn-dark:hover, .open > .dropdown-toggle.btn-dark, -.btn-outline-dark.active, .btn-outline-dark:active, -.show > .btn-outline-dark.dropdown-toggle, .btn-outline-dark:hover { - background-color: #232e38; - border: 1px solid #232e38; - color: #ffffff; +.btn-dark:hover, +.btn-dark:focus, +.btn-dark:active, +.btn-dark.active, +.btn-dark.focus, +.btn-dark:active, +.btn-dark:focus, +.btn-dark:hover, +.open > .dropdown-toggle.btn-dark, +.btn-outline-dark.active, +.btn-outline-dark:active, +.show > .btn-outline-dark.dropdown-toggle, +.btn-outline-dark:hover { + background-color: #232e38; + border: 1px solid #232e38; + color: #ffffff; } -.btn-dark.focus, .btn-dark:focus, .btn-outline-dark.focus, .btn-outline-dark:focus { - -webkit-box-shadow: 0 0 0 2px rgba(45, 59, 72, 0.3); - box-shadow: 0 0 0 2px rgba(45, 59, 72, 0.3); +.btn-dark.focus, +.btn-dark:focus, +.btn-outline-dark.focus, +.btn-outline-dark:focus { + -webkit-box-shadow: 0 0 0 2px rgba(45, 59, 72, 0.3); + box-shadow: 0 0 0 2px rgba(45, 59, 72, 0.3); } /*btn-link*/ .btn-link { - color: #bcc1c2; + color: #bcc1c2; } .btn-link:hover, .btn-link:focus, .btn-link:active { - text-decoration: none; - color: #d7dada; + text-decoration: none; + color: #d7dada; } /*btn-pink*/ .btn-pink { - background-color: #f5468e; - border: 1px solid #f5468e; - color: #ffffff; - -webkit-box-shadow: 0 2px 6px 0 rgba(245, 70, 142, 0.5); - box-shadow: 0 2px 6px 0 rgba(245, 70, 142, 0.5); + background-color: #f5468e; + border: 1px solid #f5468e; + color: #ffffff; + -webkit-box-shadow: 0 2px 6px 0 rgba(245, 70, 142, 0.5); + box-shadow: 0 2px 6px 0 rgba(245, 70, 142, 0.5); } -.btn-pink:hover, .btn-pink:focus, .btn-pink:active, .btn-pink.active, .btn-pink.focus, -.btn-pink:active, .btn-pink:focus, .btn-pink:hover, .open > .dropdown-toggle.btn-pink, -.btn-outline-pink.active, .btn-outline-pink:active, -.show > .btn-outline-pink.dropdown-toggle, .btn-outline-pink:hover { - background-color: #f42e7f; - border: 1px solid #f42e7f; - color: #ffffff; +.btn-pink:hover, +.btn-pink:focus, +.btn-pink:active, +.btn-pink.active, +.btn-pink.focus, +.btn-pink:active, +.btn-pink:focus, +.btn-pink:hover, +.open > .dropdown-toggle.btn-pink, +.btn-outline-pink.active, +.btn-outline-pink:active, +.show > .btn-outline-pink.dropdown-toggle, +.btn-outline-pink:hover { + background-color: #f42e7f; + border: 1px solid #f42e7f; + color: #ffffff; } -.btn-pink.focus, .btn-pink:focus, .btn-outline-pink.focus, .btn-outline-pink:focus { - -webkit-box-shadow: 0 0 0 2px rgba(245, 70, 142, 0.3); - box-shadow: 0 0 0 2px rgba(245, 70, 142, 0.3); +.btn-pink.focus, +.btn-pink:focus, +.btn-outline-pink.focus, +.btn-outline-pink:focus { + -webkit-box-shadow: 0 0 0 2px rgba(245, 70, 142, 0.3); + box-shadow: 0 0 0 2px rgba(245, 70, 142, 0.3); } /*btn-purple*/ .btn-purple { - background-color: #775fd5; - border: 1px solid #775fd5; - color: #ffffff; - -webkit-box-shadow: 0 2px 6px 0 rgba(119, 95, 213, 0.5); - box-shadow: 0 2px 6px 0 rgba(119, 95, 213, 0.5); + background-color: #775fd5; + border: 1px solid #775fd5; + color: #ffffff; + -webkit-box-shadow: 0 2px 6px 0 rgba(119, 95, 213, 0.5); + box-shadow: 0 2px 6px 0 rgba(119, 95, 213, 0.5); } -.btn-purple:hover, .btn-purple:focus, .btn-purple:active, .btn-purple.active, .btn-purple.focus, -.btn-purple:active, .btn-purple:focus, .btn-purple:hover, .open > .dropdown-toggle.btn-purple, -.btn-outline-purple.active, .btn-outline-purple:active, -.show > .btn-outline-purple.dropdown-toggle, .btn-outline-purple:hover { - background-color: #664bd0; - border: 1px solid #664bd0; - color: #ffffff; +.btn-purple:hover, +.btn-purple:focus, +.btn-purple:active, +.btn-purple.active, +.btn-purple.focus, +.btn-purple:active, +.btn-purple:focus, +.btn-purple:hover, +.open > .dropdown-toggle.btn-purple, +.btn-outline-purple.active, +.btn-outline-purple:active, +.show > .btn-outline-purple.dropdown-toggle, +.btn-outline-purple:hover { + background-color: #664bd0; + border: 1px solid #664bd0; + color: #ffffff; } -.btn-purple.focus, .btn-purple:focus, .btn-outline-purple.focus, .btn-outline-purple:focus { - -webkit-box-shadow: 0 0 0 2px rgba(119, 95, 213, 0.3); - box-shadow: 0 0 0 2px rgba(119, 95, 213, 0.3); +.btn-purple.focus, +.btn-purple:focus, +.btn-outline-purple.focus, +.btn-outline-purple:focus { + -webkit-box-shadow: 0 0 0 2px rgba(119, 95, 213, 0.3); + box-shadow: 0 0 0 2px rgba(119, 95, 213, 0.3); } .btn-light { - -webkit-box-shadow: 0 2px 6px 0 rgba(245, 245, 247, 0.5); - box-shadow: 0 2px 6px 0 rgba(245, 245, 247, 0.5); - border-color: #efeff2; + -webkit-box-shadow: 0 2px 6px 0 rgba(245, 245, 247, 0.5); + box-shadow: 0 2px 6px 0 rgba(245, 245, 247, 0.5); + border-color: #efeff2; } .btn-link { - color: #d4d8e1; + color: #d4d8e1; } .btn-link:hover { - color: #dde0e7; + color: #dde0e7; } /* button Outline */ .btn-outline-primary { - color: #605daf; - border-color: #605daf; + color: #605daf; + border-color: #605daf; } .btn-outline-success { - color: #5dd099; - border-color: #5dd099; + color: #5dd099; + border-color: #5dd099; } .btn-outline-info { - color: #33cdff; - border-color: #33cdff; + color: #33cdff; + border-color: #33cdff; } .btn-outline-warning { - color: #f8c955; - border-color: #f8c955; + color: #f8c955; + border-color: #f8c955; } .btn-outline-danger { - color: #f96e5b; - border-color: #f96e5b; + color: #f96e5b; + border-color: #f96e5b; } .btn-outline-pink { - color: #f5468e; - border-color: #f5468e; - background-color: transparent; - background-image: none; + color: #f5468e; + border-color: #f5468e; + background-color: transparent; + background-image: none; } .btn-outline-purple { - color: #775fd5; - border-color: #775fd5; - background-color: transparent; - background-image: none; + color: #775fd5; + border-color: #775fd5; + background-color: transparent; + background-image: none; } .btn-outline-dark { - color: #2d3b48; - background-image: none; - background-color: transparent; - border-color: #2d3b48; + color: #2d3b48; + background-image: none; + background-color: transparent; + border-color: #2d3b48; } /* Social Buttons */ .btn-facebook { - color: #ffffff !important; - background-color: #3b5998; + color: #ffffff !important; + background-color: #3b5998; } .btn-twitter { - color: #ffffff !important; - background-color: #00aced; + color: #ffffff !important; + background-color: #00aced; } .btn-linkedin { - color: #ffffff !important; - background-color: #007bb6; + color: #ffffff !important; + background-color: #007bb6; } .btn-dribbble { - color: #ffffff !important; - background-color: #ea4c89; + color: #ffffff !important; + background-color: #ea4c89; } .btn-googleplus { - color: #ffffff !important; - background-color: #dd4b39; + color: #ffffff !important; + background-color: #dd4b39; } .btn-instagram { - color: #ffffff !important; - background-color: #517fa4; + color: #ffffff !important; + background-color: #517fa4; } .btn-pinterest { - color: #ffffff !important; - background-color: #cb2027; + color: #ffffff !important; + background-color: #cb2027; } .btn-dropbox { - color: #ffffff !important; - background-color: #007ee5; + color: #ffffff !important; + background-color: #007ee5; } .btn-flickr { - color: #ffffff !important; - background-color: #ff0084; + color: #ffffff !important; + background-color: #ff0084; } .btn-tumblr { - color: #ffffff !important; - background-color: #32506d; + color: #ffffff !important; + background-color: #32506d; } .btn-skype { - color: #ffffff !important; - background-color: #00aff0; + color: #ffffff !important; + background-color: #00aff0; } .btn-youtube { - color: #ffffff !important; - background-color: #bb0000; + color: #ffffff !important; + background-color: #bb0000; } .btn-github { - color: #ffffff !important; - background-color: #171515; + color: #ffffff !important; + background-color: #171515; } /*btn-gradient-success*/ .btn-gradient-success { - background-image: linear-gradient(120deg, #5dd099 0%, #00c4b5 100%); - color: #ffffff; - -webkit-box-shadow: 0 2px 6px 0 rgba(93, 208, 153, 0.5); - box-shadow: 0 2px 6px 0 rgba(93, 208, 153, 0.5); - border: 1px solid #49ca8d; + background-image: linear-gradient(120deg, #5dd099 0%, #00c4b5 100%); + color: #ffffff; + -webkit-box-shadow: 0 2px 6px 0 rgba(93, 208, 153, 0.5); + box-shadow: 0 2px 6px 0 rgba(93, 208, 153, 0.5); + border: 1px solid #49ca8d; } -.btn-gradient-success:hover, .btn-gradient-success:focus, .btn-gradient-success:active, .btn-gradient-success.active, -.btn-gradient-success.focus, .btn-gradient-success:active, .btn-gradient-success:focus, .btn-gradient-success:hover, -.open > .dropdown-toggle.btn-gradient-success, .btn-gradient-success.active, -.btn-gradient-success:active, .show > .btn-gradient-success.dropdown-toggle { - background-image: linear-gradient(120deg, #00c4b5 0%, #5dd099 100%); - border: 1px solid #49ca8d; +.btn-gradient-success:hover, +.btn-gradient-success:focus, +.btn-gradient-success:active, +.btn-gradient-success.active, +.btn-gradient-success.focus, +.btn-gradient-success:active, +.btn-gradient-success:focus, +.btn-gradient-success:hover, +.open > .dropdown-toggle.btn-gradient-success, +.btn-gradient-success.active, +.btn-gradient-success:active, +.show > .btn-gradient-success.dropdown-toggle { + background-image: linear-gradient(120deg, #00c4b5 0%, #5dd099 100%); + border: 1px solid #49ca8d; } -.btn-gradient-success:not(:disabled):not(.disabled):active:focus, .show > .btn-gradient-success.dropdown-toggle:focus, -.btn-gradient-success.focus, .btn-gradient-success:focus { - -webkit-box-shadow: 0 0 0 2px rgba(93, 208, 153, 0.3); - box-shadow: 0 0 0 2px rgba(93, 208, 153, 0.3); +.btn-gradient-success:not(:disabled):not(.disabled):active:focus, +.show > .btn-gradient-success.dropdown-toggle:focus, +.btn-gradient-success.focus, +.btn-gradient-success:focus { + -webkit-box-shadow: 0 0 0 2px rgba(93, 208, 153, 0.3); + box-shadow: 0 0 0 2px rgba(93, 208, 153, 0.3); } /*btn-gradient-secondary*/ .btn-gradient-secondary { - background-image: linear-gradient(120deg, #aaaece 0%, #8898b3 100%); - color: #ffffff; - -webkit-box-shadow: 0 2px 6px 0 rgba(170, 174, 206, 0.5); - box-shadow: 0 2px 6px 0 rgba(170, 174, 206, 0.5); - border: 1px solid #babdd7; + background-image: linear-gradient(120deg, #aaaece 0%, #8898b3 100%); + color: #ffffff; + -webkit-box-shadow: 0 2px 6px 0 rgba(170, 174, 206, 0.5); + box-shadow: 0 2px 6px 0 rgba(170, 174, 206, 0.5); + border: 1px solid #babdd7; } -.btn-gradient-secondary:hover, .btn-gradient-secondary:focus, .btn-gradient-secondary:active, .btn-gradient-secondary.active, -.btn-gradient-secondary.focus, .btn-gradient-secondary:active, .btn-gradient-secondary:focus, .btn-gradient-secondary:hover, -.open > .dropdown-toggle.btn-gradient-secondary, .btn-gradient-secondary.active, -.btn-gradient-secondary:active, .show > .btn-gradient-secondary.dropdown-toggle { - background-image: linear-gradient(120deg, #8898b3 0%, #aaaece 100%); - border: 1px solid #9a9fc5; - color: #ffffff; +.btn-gradient-secondary:hover, +.btn-gradient-secondary:focus, +.btn-gradient-secondary:active, +.btn-gradient-secondary.active, +.btn-gradient-secondary.focus, +.btn-gradient-secondary:active, +.btn-gradient-secondary:focus, +.btn-gradient-secondary:hover, +.open > .dropdown-toggle.btn-gradient-secondary, +.btn-gradient-secondary.active, +.btn-gradient-secondary:active, +.show > .btn-gradient-secondary.dropdown-toggle { + background-image: linear-gradient(120deg, #8898b3 0%, #aaaece 100%); + border: 1px solid #9a9fc5; + color: #ffffff; } -.btn-gradient-secondary:not(:disabled):not(.disabled):active:focus, .show > .btn-gradient-secondary.dropdown-toggle:focus, -.btn-gradient-secondary.focus, .btn-gradient-secondary:focus { - -webkit-box-shadow: 0 0 0 2px rgba(170, 174, 206, 0.3); - box-shadow: 0 0 0 2px rgba(170, 174, 206, 0.3); +.btn-gradient-secondary:not(:disabled):not(.disabled):active:focus, +.show > .btn-gradient-secondary.dropdown-toggle:focus, +.btn-gradient-secondary.focus, +.btn-gradient-secondary:focus { + -webkit-box-shadow: 0 0 0 2px rgba(170, 174, 206, 0.3); + box-shadow: 0 0 0 2px rgba(170, 174, 206, 0.3); } /*btn-gradient-danger*/ .btn-gradient-danger { - background-image: linear-gradient(120deg, #f96e5b 0%, #f63f6a 100%); - color: #ffffff; - -webkit-box-shadow: 0 2px 6px 0 rgba(249, 110, 91, 0.5); - box-shadow: 0 2px 6px 0 rgba(249, 110, 91, 0.5); - border: 1px solid #f85842; + background-image: linear-gradient(120deg, #f96e5b 0%, #f63f6a 100%); + color: #ffffff; + -webkit-box-shadow: 0 2px 6px 0 rgba(249, 110, 91, 0.5); + box-shadow: 0 2px 6px 0 rgba(249, 110, 91, 0.5); + border: 1px solid #f85842; } -.btn-gradient-danger:hover, .btn-gradient-danger:focus, .btn-gradient-danger:active, .btn-gradient-danger.active, -.btn-gradient-danger.focus, .btn-gradient-danger:active, .btn-gradient-danger:focus, .btn-gradient-danger:hover, -.open > .dropdown-toggle.btn-gradient-danger, .btn-gradient-danger.active, -.btn-gradient-danger:active, .show > .btn-gradient-danger.dropdown-toggle { - background-image: linear-gradient(120deg, #f63f6a 0%, #f96e5b 100%); - border: 1px solid #f85842; +.btn-gradient-danger:hover, +.btn-gradient-danger:focus, +.btn-gradient-danger:active, +.btn-gradient-danger.active, +.btn-gradient-danger.focus, +.btn-gradient-danger:active, +.btn-gradient-danger:focus, +.btn-gradient-danger:hover, +.open > .dropdown-toggle.btn-gradient-danger, +.btn-gradient-danger.active, +.btn-gradient-danger:active, +.show > .btn-gradient-danger.dropdown-toggle { + background-image: linear-gradient(120deg, #f63f6a 0%, #f96e5b 100%); + border: 1px solid #f85842; } -.btn-gradient-danger:not(:disabled):not(.disabled):active:focus, .show > .btn-gradient-danger.dropdown-toggle:focus, -.btn-gradient-danger.focus, .btn-gradient-danger:focus { - -webkit-box-shadow: 0 0 0 2px rgba(249, 110, 91, 0.3); - box-shadow: 0 0 0 2px rgba(249, 110, 91, 0.3); +.btn-gradient-danger:not(:disabled):not(.disabled):active:focus, +.show > .btn-gradient-danger.dropdown-toggle:focus, +.btn-gradient-danger.focus, +.btn-gradient-danger:focus { + -webkit-box-shadow: 0 0 0 2px rgba(249, 110, 91, 0.3); + box-shadow: 0 0 0 2px rgba(249, 110, 91, 0.3); } /*btn-gradient-warning*/ .btn-gradient-warning { - background-image: linear-gradient(120deg, #f8c955 0%, #f5604a 100%); - color: #ffffff; - -webkit-box-shadow: 0 2px 6px 0 rgba(248, 201, 85, 0.5); - box-shadow: 0 2px 6px 0 rgba(248, 201, 85, 0.5); - border: 1px solid #f7c13d; + background-image: linear-gradient(120deg, #f8c955 0%, #f5604a 100%); + color: #ffffff; + -webkit-box-shadow: 0 2px 6px 0 rgba(248, 201, 85, 0.5); + box-shadow: 0 2px 6px 0 rgba(248, 201, 85, 0.5); + border: 1px solid #f7c13d; } -.btn-gradient-warning:hover, .btn-gradient-warning:focus, .btn-gradient-warning:active, .btn-gradient-warning.active, -.btn-gradient-warning.focus, .btn-gradient-warning:active, .btn-gradient-warning:focus, .btn-gradient-warning:hover, -.open > .dropdown-toggle.btn-gradient-warning, .btn-gradient-warning.active, -.btn-gradient-warning:active, .show > .btn-gradient-warning.dropdown-toggle { - background-image: linear-gradient(120deg, #f5604a 0%, #f8c955 100%); - border: 1px solid #f7c13d; +.btn-gradient-warning:hover, +.btn-gradient-warning:focus, +.btn-gradient-warning:active, +.btn-gradient-warning.active, +.btn-gradient-warning.focus, +.btn-gradient-warning:active, +.btn-gradient-warning:focus, +.btn-gradient-warning:hover, +.open > .dropdown-toggle.btn-gradient-warning, +.btn-gradient-warning.active, +.btn-gradient-warning:active, +.show > .btn-gradient-warning.dropdown-toggle { + background-image: linear-gradient(120deg, #f5604a 0%, #f8c955 100%); + border: 1px solid #f7c13d; } -.btn-gradient-warning:not(:disabled):not(.disabled):active:focus, .show > .btn-gradient-warning.dropdown-toggle:focus, -.btn-gradient-warning.focus, .btn-gradient-warning:focus { - -webkit-box-shadow: 0 0 0 2px rgba(248, 201, 85, 0.3); - box-shadow: 0 0 0 2px rgba(248, 201, 85, 0.3); +.btn-gradient-warning:not(:disabled):not(.disabled):active:focus, +.show > .btn-gradient-warning.dropdown-toggle:focus, +.btn-gradient-warning.focus, +.btn-gradient-warning:focus { + -webkit-box-shadow: 0 0 0 2px rgba(248, 201, 85, 0.3); + box-shadow: 0 0 0 2px rgba(248, 201, 85, 0.3); } /*btn-gradient-info*/ .btn-gradient-info { - background-image: linear-gradient(120deg, #33cdff 0%, #0c93fe 100%); - color: #ffffff; - -webkit-box-shadow: 0 2px 6px 0 rgba(51, 205, 255, 0.5); - box-shadow: 0 2px 6px 0 rgba(51, 205, 255, 0.5); - border: 1px solid #1ac7ff; + background-image: linear-gradient(120deg, #33cdff 0%, #0c93fe 100%); + color: #ffffff; + -webkit-box-shadow: 0 2px 6px 0 rgba(51, 205, 255, 0.5); + box-shadow: 0 2px 6px 0 rgba(51, 205, 255, 0.5); + border: 1px solid #1ac7ff; } -.btn-gradient-info:hover, .btn-gradient-info:focus, .btn-gradient-info:active, .btn-gradient-info.active, -.btn-gradient-info.focus, .btn-gradient-info:active, .btn-gradient-info:focus, .btn-gradient-info:hover, -.open > .dropdown-toggle.btn-gradient-info, .btn-gradient-info.active, -.btn-gradient-info:active, .show > .btn-gradient-info.dropdown-toggle { - background-image: linear-gradient(120deg, #0c93fe 0%, #33cdff 100%); - border: 1px solid #1ac7ff; +.btn-gradient-info:hover, +.btn-gradient-info:focus, +.btn-gradient-info:active, +.btn-gradient-info.active, +.btn-gradient-info.focus, +.btn-gradient-info:active, +.btn-gradient-info:focus, +.btn-gradient-info:hover, +.open > .dropdown-toggle.btn-gradient-info, +.btn-gradient-info.active, +.btn-gradient-info:active, +.show > .btn-gradient-info.dropdown-toggle { + background-image: linear-gradient(120deg, #0c93fe 0%, #33cdff 100%); + border: 1px solid #1ac7ff; } -.btn-gradient-info:not(:disabled):not(.disabled):active:focus, .show > .btn-gradient-info.dropdown-toggle:focus, -.btn-gradient-info.focus, .btn-gradient-info:focus { - -webkit-box-shadow: 0 0 0 2px rgba(51, 205, 255, 0.3); - box-shadow: 0 0 0 2px rgba(51, 205, 255, 0.3); +.btn-gradient-info:not(:disabled):not(.disabled):active:focus, +.show > .btn-gradient-info.dropdown-toggle:focus, +.btn-gradient-info.focus, +.btn-gradient-info:focus { + -webkit-box-shadow: 0 0 0 2px rgba(51, 205, 255, 0.3); + box-shadow: 0 0 0 2px rgba(51, 205, 255, 0.3); } /*btn-gradient-primary*/ .btn-gradient-primary { - background-image: linear-gradient(120deg, #605daf 0%, #3c8da8 100%); - color: #ffffff; - -webkit-box-shadow: 0 2px 6px 0 rgba(96, 93, 175, 0.5); - box-shadow: 0 2px 6px 0 rgba(96, 93, 175, 0.5); - border: 1px solid #9290c8; + background-image: linear-gradient(120deg, #605daf 0%, #3c8da8 100%); + color: #ffffff; + -webkit-box-shadow: 0 2px 6px 0 rgba(96, 93, 175, 0.5); + box-shadow: 0 2px 6px 0 rgba(96, 93, 175, 0.5); + border: 1px solid #9290c8; } -.btn-gradient-primary:hover, .btn-gradient-primary:focus, .btn-gradient-primary:active, .btn-gradient-primary.active, -.btn-gradient-primary.focus, .btn-gradient-primary:active, .btn-gradient-primary:focus, .btn-gradient-primary:hover, -.open > .dropdown-toggle.btn-gradient-primary, .btn-gradient-primary.active, -.btn-gradient-primary:active, .show > .btn-gradient-primary.dropdown-toggle { - background-image: linear-gradient(120deg, #3c8da8 0%, #605daf 100%); - border: 1px solid #9290c8; +.btn-gradient-primary:hover, +.btn-gradient-primary:focus, +.btn-gradient-primary:active, +.btn-gradient-primary.active, +.btn-gradient-primary.focus, +.btn-gradient-primary:active, +.btn-gradient-primary:focus, +.btn-gradient-primary:hover, +.open > .dropdown-toggle.btn-gradient-primary, +.btn-gradient-primary.active, +.btn-gradient-primary:active, +.show > .btn-gradient-primary.dropdown-toggle { + background-image: linear-gradient(120deg, #3c8da8 0%, #605daf 100%); + border: 1px solid #9290c8; } -.btn-gradient-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-gradient-primary.dropdown-toggle:focus, -.btn-gradient-primary.focus, .btn-gradient-primary:focus { - -webkit-box-shadow: 0 0 0 2px rgba(96, 93, 175, 0.3); - box-shadow: 0 0 0 2px rgba(96, 93, 175, 0.3); +.btn-gradient-primary:not(:disabled):not(.disabled):active:focus, +.show > .btn-gradient-primary.dropdown-toggle:focus, +.btn-gradient-primary.focus, +.btn-gradient-primary:focus { + -webkit-box-shadow: 0 0 0 2px rgba(96, 93, 175, 0.3); + box-shadow: 0 0 0 2px rgba(96, 93, 175, 0.3); } /*btn-gradient-dark*/ .btn-gradient-dark { - background-image: linear-gradient(120deg, #2d3b48 0%, #5a6c82 100%); - color: #ffffff; - -webkit-box-shadow: 0 2px 6px 0 rgba(45, 59, 72, 0.5); - box-shadow: 0 2px 6px 0 rgba(45, 59, 72, 0.5); - border: 1px solid #546e87; + background-image: linear-gradient(120deg, #2d3b48 0%, #5a6c82 100%); + color: #ffffff; + -webkit-box-shadow: 0 2px 6px 0 rgba(45, 59, 72, 0.5); + box-shadow: 0 2px 6px 0 rgba(45, 59, 72, 0.5); + border: 1px solid #546e87; } -.btn-gradient-dark:hover, .btn-gradient-dark:focus, .btn-gradient-dark:active, .btn-gradient-dark.active, -.btn-gradient-dark.focus, .btn-gradient-dark:active, .btn-gradient-dark:focus, .btn-gradient-dark:hover, -.open > .dropdown-toggle.btn-gradient-dark, .btn-gradient-dark.active, -.btn-gradient-dark:active, .show > .btn-gradient-dark.dropdown-toggle { - background-image: linear-gradient(120deg, #5a6c82 0%, #2d3b48 100%); - border: 1px solid #546e87; +.btn-gradient-dark:hover, +.btn-gradient-dark:focus, +.btn-gradient-dark:active, +.btn-gradient-dark.active, +.btn-gradient-dark.focus, +.btn-gradient-dark:active, +.btn-gradient-dark:focus, +.btn-gradient-dark:hover, +.open > .dropdown-toggle.btn-gradient-dark, +.btn-gradient-dark.active, +.btn-gradient-dark:active, +.show > .btn-gradient-dark.dropdown-toggle { + background-image: linear-gradient(120deg, #5a6c82 0%, #2d3b48 100%); + border: 1px solid #546e87; } -.btn-gradient-dark:not(:disabled):not(.disabled):active:focus, .show > .btn-gradient-dark.dropdown-toggle:focus, -.btn-gradient-dark.focus, .btn-gradient-dark:focus { - -webkit-box-shadow: 0 0 0 2px rgba(45, 59, 72, 0.3); - box-shadow: 0 0 0 2px rgba(45, 59, 72, 0.3); +.btn-gradient-dark:not(:disabled):not(.disabled):active:focus, +.show > .btn-gradient-dark.dropdown-toggle:focus, +.btn-gradient-dark.focus, +.btn-gradient-dark:focus { + -webkit-box-shadow: 0 0 0 2px rgba(45, 59, 72, 0.3); + box-shadow: 0 0 0 2px rgba(45, 59, 72, 0.3); } /*btn-gradient-light*/ .btn-gradient-light { - background-image: linear-gradient(120deg, #f5f5f7 0%, #f7f9ff 100%); - color: #636466; - -webkit-box-shadow: 0 2px 6px 0 rgba(245, 245, 247, 0.5); - box-shadow: 0 2px 6px 0 rgba(245, 245, 247, 0.5); - border: 1px solid #e7e7ec; + background-image: linear-gradient(120deg, #f5f5f7 0%, #f7f9ff 100%); + color: #636466; + -webkit-box-shadow: 0 2px 6px 0 rgba(245, 245, 247, 0.5); + box-shadow: 0 2px 6px 0 rgba(245, 245, 247, 0.5); + border: 1px solid #e7e7ec; } -.btn-gradient-light:hover, .btn-gradient-light:focus, .btn-gradient-light:active, .btn-gradient-light.active, -.btn-gradient-light.focus, .btn-gradient-light:active, .btn-gradient-light:focus, .btn-gradient-light:hover, -.open > .dropdown-toggle.btn-gradient-light, .btn-gradient-light.active, -.btn-gradient-light:active, .show > .btn-gradient-light.dropdown-toggle { - background-image: linear-gradient(120deg, #f7f9ff 0%, #f5f5f7 100%); - border: 1px solid #e7e7ec; +.btn-gradient-light:hover, +.btn-gradient-light:focus, +.btn-gradient-light:active, +.btn-gradient-light.active, +.btn-gradient-light.focus, +.btn-gradient-light:active, +.btn-gradient-light:focus, +.btn-gradient-light:hover, +.open > .dropdown-toggle.btn-gradient-light, +.btn-gradient-light.active, +.btn-gradient-light:active, +.show > .btn-gradient-light.dropdown-toggle { + background-image: linear-gradient(120deg, #f7f9ff 0%, #f5f5f7 100%); + border: 1px solid #e7e7ec; } -.btn-gradient-light:not(:disabled):not(.disabled):active:focus, .show > .btn-gradient-light.dropdown-toggle:focus, -.btn-gradient-light.focus, .btn-gradient-light:focus { - -webkit-box-shadow: 0 0 0 2px rgba(245, 245, 247, 0.3); - box-shadow: 0 0 0 2px rgba(245, 245, 247, 0.3); +.btn-gradient-light:not(:disabled):not(.disabled):active:focus, +.show > .btn-gradient-light.dropdown-toggle:focus, +.btn-gradient-light.focus, +.btn-gradient-light:focus { + -webkit-box-shadow: 0 0 0 2px rgba(245, 245, 247, 0.3); + box-shadow: 0 0 0 2px rgba(245, 245, 247, 0.3); } /*btn-gradient-pink*/ .btn-gradient-pink { - background-image: linear-gradient(120deg, #f5468e 0%, #f55654 100%); - color: #ffffff; - -webkit-box-shadow: 0 2px 6px 0 rgba(245, 70, 142, 0.5); - box-shadow: 0 2px 6px 0 rgba(245, 70, 142, 0.5); - border: 1px solid #f42e7f; + background-image: linear-gradient(120deg, #f5468e 0%, #f55654 100%); + color: #ffffff; + -webkit-box-shadow: 0 2px 6px 0 rgba(245, 70, 142, 0.5); + box-shadow: 0 2px 6px 0 rgba(245, 70, 142, 0.5); + border: 1px solid #f42e7f; } -.btn-gradient-pink:hover, .btn-gradient-pink:focus, .btn-gradient-pink:active, .btn-gradient-pink.active, -.btn-gradient-pink.focus, .btn-gradient-pink:active, .btn-gradient-pink:focus, .btn-gradient-pink:hover, -.open > .dropdown-toggle.btn-gradient-pink, .btn-gradient-pink.active, -.btn-gradient-pink:active, .show > .btn-gradient-pink.dropdown-toggle { - background-image: linear-gradient(120deg, #f55654 0%, #f5468e 100%); - border: 1px solid #f42e7f; +.btn-gradient-pink:hover, +.btn-gradient-pink:focus, +.btn-gradient-pink:active, +.btn-gradient-pink.active, +.btn-gradient-pink.focus, +.btn-gradient-pink:active, +.btn-gradient-pink:focus, +.btn-gradient-pink:hover, +.open > .dropdown-toggle.btn-gradient-pink, +.btn-gradient-pink.active, +.btn-gradient-pink:active, +.show > .btn-gradient-pink.dropdown-toggle { + background-image: linear-gradient(120deg, #f55654 0%, #f5468e 100%); + border: 1px solid #f42e7f; } -.btn-gradient-pink:not(:disabled):not(.disabled):active:focus, .show > .btn-gradient-pink.dropdown-toggle:focus, -.btn-gradient-pink.focus, .btn-gradient-pink:focus { - -webkit-box-shadow: 0 0 0 2px rgba(245, 70, 142, 0.3); - box-shadow: 0 0 0 2px rgba(245, 70, 142, 0.3); +.btn-gradient-pink:not(:disabled):not(.disabled):active:focus, +.show > .btn-gradient-pink.dropdown-toggle:focus, +.btn-gradient-pink.focus, +.btn-gradient-pink:focus { + -webkit-box-shadow: 0 0 0 2px rgba(245, 70, 142, 0.3); + box-shadow: 0 0 0 2px rgba(245, 70, 142, 0.3); } /*btn-gradient-purple*/ .btn-gradient-purple { - background-image: linear-gradient(120deg, #775fd5 0%, #a456ad 100%); - color: #ffffff; - -webkit-box-shadow: 0 2px 6px 0 rgba(119, 95, 213, 0.5); - box-shadow: 0 2px 6px 0 rgba(119, 95, 213, 0.5); - border: 1px solid #8873da; + background-image: linear-gradient(120deg, #775fd5 0%, #a456ad 100%); + color: #ffffff; + -webkit-box-shadow: 0 2px 6px 0 rgba(119, 95, 213, 0.5); + box-shadow: 0 2px 6px 0 rgba(119, 95, 213, 0.5); + border: 1px solid #8873da; } -.btn-gradient-purple:hover, .btn-gradient-purple:focus, .btn-gradient-purple:active, .btn-gradient-purple.active, -.btn-gradient-purple.focus, .btn-gradient-purple:active, .btn-gradient-purple:focus, .btn-gradient-purple:hover, -.open > .dropdown-toggle.btn-gradient-purple, .btn-gradient-purple.active, -.btn-gradient-purple:active, .show > .btn-gradient-purple.dropdown-toggle { - background-image: linear-gradient(120deg, #a456ad 0%, #775fd5 100%); - border: 1px solid #664bd0; +.btn-gradient-purple:hover, +.btn-gradient-purple:focus, +.btn-gradient-purple:active, +.btn-gradient-purple.active, +.btn-gradient-purple.focus, +.btn-gradient-purple:active, +.btn-gradient-purple:focus, +.btn-gradient-purple:hover, +.open > .dropdown-toggle.btn-gradient-purple, +.btn-gradient-purple.active, +.btn-gradient-purple:active, +.show > .btn-gradient-purple.dropdown-toggle { + background-image: linear-gradient(120deg, #a456ad 0%, #775fd5 100%); + border: 1px solid #664bd0; } -.btn-gradient-purple:not(:disabled):not(.disabled):active:focus, .show > .btn-gradient-purple.dropdown-toggle:focus, -.btn-gradient-purple.focus, .btn-gradient-purple:focus { - -webkit-box-shadow: 0 0 0 2px rgba(119, 95, 213, 0.3); - box-shadow: 0 0 0 2px rgba(119, 95, 213, 0.3); +.btn-gradient-purple:not(:disabled):not(.disabled):active:focus, +.show > .btn-gradient-purple.dropdown-toggle:focus, +.btn-gradient-purple.focus, +.btn-gradient-purple:focus { + -webkit-box-shadow: 0 0 0 2px rgba(119, 95, 213, 0.3); + box-shadow: 0 0 0 2px rgba(119, 95, 213, 0.3); } /* ============== Card ===================*/ .card { - border: none; - -webkit-box-shadow: 1px 0px 20px rgba(96, 93, 175, 0.05); - box-shadow: 1px 0px 20px rgba(96, 93, 175, 0.05); - margin-bottom: 30px; + border: none; + -webkit-box-shadow: 1px 0px 20px rgba(96, 93, 175, 0.05); + box-shadow: 1px 0px 20px rgba(96, 93, 175, 0.05); + margin-bottom: 30px; } .card .card-header { - background-color: #ebeff8; - font-size: 18px; - font-weight: 500; + background-color: #ebeff8; + font-size: 18px; + font-weight: 500; } .card .card-footer { - background-color: #ebeff8; + background-color: #ebeff8; } .card .card-title { - font-size: 18px; + font-size: 18px; } .card-primary { - background-color: #605daf; - border-color: #605daf; + background-color: #605daf; + border-color: #605daf; } .card-success { - background-color: #5dd099; - border-color: #5dd099; + background-color: #5dd099; + border-color: #5dd099; } .card-info { - background-color: #33cdff; - border-color: #33cdff; + background-color: #33cdff; + border-color: #33cdff; } .card-warning { - background-color: #f8c955; - border-color: #f8c955; + background-color: #f8c955; + border-color: #f8c955; } .card-danger { - background-color: #f96e5b; - border-color: #f96e5b; + background-color: #f96e5b; + border-color: #f96e5b; } .card-header { - border-bottom: 1px solid rgba(45, 59, 72, 0.05); + border-bottom: 1px solid rgba(45, 59, 72, 0.05); } /* ============== Pagination ===================*/ .pagination .page-link { - color: #605daf; + color: #605daf; } .pagination .page-item.active .page-link { - background-color: #605daf; - border-color: #605daf; - color: #ffffff; + background-color: #605daf; + border-color: #605daf; + color: #ffffff; } -.pagination .page-link:focus, .pagination .page-link:hover { - color: #2d3b48; - background-color: #f5f5f7; - -webkit-box-shadow: 0 0 0 0.2rem rgba(96, 93, 175, 0.33); - box-shadow: 0 0 0 0.2rem rgba(96, 93, 175, 0.33); +.pagination .page-link:focus, +.pagination .page-link:hover { + color: #2d3b48; + background-color: #f5f5f7; + -webkit-box-shadow: 0 0 0 0.2rem rgba(96, 93, 175, 0.33); + box-shadow: 0 0 0 0.2rem rgba(96, 93, 175, 0.33); } .pagination .form-control { - border-color: transparent; - font-size: 12px; - padding: 0; - height: calc(16px + 2px); - background-color: transparent; + border-color: transparent; + font-size: 12px; + padding: 0; + height: calc(16px + 2px); + background-color: transparent; } .pagination .form-control:focus { - border-color: transparent; - background-color: transparent; + border-color: transparent; + background-color: transparent; } .custom-pagination .page-link { - border-radius: 50%; - width: 40px; - height: 40px; - padding-left: 14px; - line-height: 22px; + border-radius: 50%; + width: 40px; + height: 40px; + padding-left: 14px; + line-height: 22px; } .custom-pagination-2 .page-item a { - background-color: #ebeff8; + background-color: #ebeff8; } .custom-pagination-2 .page-item:first-child .page-link { - margin-left: 0; - border-top-left-radius: 40px; - border-bottom-left-radius: 40px; + margin-left: 0; + border-top-left-radius: 40px; + border-bottom-left-radius: 40px; } .custom-pagination-2 .page-item:last-child .page-link { - border-top-right-radius: 40px; - border-bottom-right-radius: 40px; + border-top-right-radius: 40px; + border-bottom-right-radius: 40px; } /* ============== Progressbar ===================*/ .progress-bar { - background-color: #605daf; + background-color: #605daf; } /* Progressbar Vertical */ .progress-vertical { - min-height: 250px; - height: 250px; - width: 10px; - position: relative; - display: inline-block; - margin-bottom: 0; - margin-right: 20px; + min-height: 250px; + height: 250px; + width: 10px; + position: relative; + display: inline-block; + margin-bottom: 0; + margin-right: 20px; } .progress-vertical .progress-bar { - width: 100%; + width: 100%; } .progress-vertical-bottom { - min-height: 250px; - height: 250px; - position: relative; - width: 10px; - display: inline-block; - margin-bottom: 0; - margin-right: 20px; + min-height: 250px; + height: 250px; + position: relative; + width: 10px; + display: inline-block; + margin-bottom: 0; + margin-right: 20px; } .progress-vertical-bottom .progress-bar { - width: 100%; - position: absolute; - bottom: 0; + width: 100%; + position: absolute; + bottom: 0; } .progress-vertical.progress-sm, .progress-vertical-bottom.progress-sm { - width: 5px !important; + width: 5px !important; } .progress-vertical.progress-sm .progress-bar, .progress-vertical-bottom.progress-sm .progress-bar { - font-size: 8px; - line-height: 5px; + font-size: 8px; + line-height: 5px; } .progress-vertical.progress-md, .progress-vertical-bottom.progress-md { - width: 15px !important; + width: 15px !important; } .progress-vertical.progress-md .progress-bar, .progress-vertical-bottom.progress-md .progress-bar { - font-size: 10.8px; - line-height: 14.4px; + font-size: 10.8px; + line-height: 14.4px; } .progress-vertical.progress-lg, .progress-vertical-bottom.progress-lg { - width: 20px !important; + width: 20px !important; } .progress-vertical.progress-lg .progress-bar, .progress-vertical-bottom.progress-lg .progress-bar { - font-size: 12px; - line-height: 20px; + font-size: 12px; + line-height: 20px; } /* ============== Popover & Tooltips ===================*/ .popover-title { - margin-top: 0; + margin-top: 0; } .tooltip .tooltip-inner { - padding: 4px 10px; + padding: 4px 10px; } .swal2-popup .swal2-title { - font-size: 24px; - font-weight: 500; + font-size: 24px; + font-weight: 500; } .swal2-popup .swal2-styled.swal2-confirm { - border: 0; - border-radius: .25em; - background: initial; - background-color: #605daf; - color: #ffffff; - font-size: 1.0625em; + border: 0; + border-radius: 0.25em; + background: initial; + background-color: #605daf; + color: #ffffff; + font-size: 1.0625em; } .swal2-popup .swal2-styled:focus { - outline: 0; - -webkit-box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(96, 93, 175, 0.4); - box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(96, 93, 175, 0.4); + outline: 0; + -webkit-box-shadow: + 0 0 0 2px #ffffff, + 0 0 0 4px rgba(96, 93, 175, 0.4); + box-shadow: + 0 0 0 2px #ffffff, + 0 0 0 4px rgba(96, 93, 175, 0.4); } .swal2-popup .swal2-styled.swal2-cancel { - border: 0; - border-radius: .25em; - background: initial; - background-color: #f96e5b; - color: #ebeff8; - font-size: 1.0625em; + border: 0; + border-radius: 0.25em; + background: initial; + background-color: #f96e5b; + color: #ebeff8; + font-size: 1.0625em; } .swal2-popup .swal2-styled.swal2-cancel:focus { - outline: 0; - -webkit-box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(249, 110, 91, 0.5); - box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(249, 110, 91, 0.5); + outline: 0; + -webkit-box-shadow: + 0 0 0 2px #ffffff, + 0 0 0 4px rgba(249, 110, 91, 0.5); + box-shadow: + 0 0 0 2px #ffffff, + 0 0 0 4px rgba(249, 110, 91, 0.5); } .swal2-actions .btn-success:not(:disabled):not(.disabled):active, .swal2-actions .btn-success, .swal2-actions .btn-success:active { - background-color: #605daf; - border: 1px solid #605daf; + background-color: #605daf; + border: 1px solid #605daf; } .swal2-actions .btn-success:focus { - -webkit-box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(96, 93, 175, 0.4); - box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(96, 93, 175, 0.4); + -webkit-box-shadow: + 0 0 0 2px #ffffff, + 0 0 0 4px rgba(96, 93, 175, 0.4); + box-shadow: + 0 0 0 2px #ffffff, + 0 0 0 4px rgba(96, 93, 175, 0.4); } .swal2-actions .btn-danger:not(:disabled):not(.disabled):active { - color: #ffffff; - background-color: #f96e5b; - border-color: #f96e5b; + color: #ffffff; + background-color: #f96e5b; + border-color: #f96e5b; } .swal2-actions .btn-danger:not(:disabled):not(.disabled):active:focus { - -webkit-box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(249, 110, 91, 0.5); - box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(249, 110, 91, 0.5); + -webkit-box-shadow: + 0 0 0 2px #ffffff, + 0 0 0 4px rgba(249, 110, 91, 0.5); + box-shadow: + 0 0 0 2px #ffffff, + 0 0 0 4px rgba(249, 110, 91, 0.5); } .swal2-actions .btn-danger { - background-color: #f96e5b; - border: 1px solid #f96e5b; + background-color: #f96e5b; + border: 1px solid #f96e5b; } .swal2-actions .btn-danger:active { - background-color: #f96e5b; - border: 1px solid #f96e5b; + background-color: #f96e5b; + border: 1px solid #f96e5b; } .swal2-actions .btn-danger:hover { - background-color: #f96e5b; - border: 1px solid #f96e5b; + background-color: #f96e5b; + border: 1px solid #f96e5b; } .swal2-actions .btn-danger:focus { - background-color: #f96e5b; - border: 1px solid #f96e5b; - -webkit-box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(249, 110, 91, 0.5); - box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(249, 110, 91, 0.5); + background-color: #f96e5b; + border: 1px solid #f96e5b; + -webkit-box-shadow: + 0 0 0 2px #ffffff, + 0 0 0 4px rgba(249, 110, 91, 0.5); + box-shadow: + 0 0 0 2px #ffffff, + 0 0 0 4px rgba(249, 110, 91, 0.5); } /* ============== Alertify ===================*/ -.alertify, .alertify-logs { - z-index: 99; +.alertify, +.alertify-logs { + z-index: 99; } .alertify input { - border: 2px solid #8c9ea9; + border: 2px solid #8c9ea9; } .alertify-logs > .success { - background-color: #5dd099; - color: #ffffff; + background-color: #5dd099; + color: #ffffff; } .alertify-logs > .error { - background-color: #f96e5b; - color: #ffffff; + background-color: #f96e5b; + color: #ffffff; } -.alertify-logs > *, .alertify-logs > .default { - background-color: #2d3b48; +.alertify-logs > *, +.alertify-logs > .default { + background-color: #2d3b48; } /* ============== Charts ===================*/ .jqstooltip { - -webkit-box-sizing: content-box; - box-sizing: content-box; + -webkit-box-sizing: content-box; + box-sizing: content-box; } .chart { - position: relative; - display: inline-block; - width: 110px; - height: 110px; - margin-top: 20px; - margin-bottom: 20px; - text-align: center; + position: relative; + display: inline-block; + width: 110px; + height: 110px; + margin-top: 20px; + margin-bottom: 20px; + text-align: center; } .chart canvas { - position: absolute; - top: 0; - left: 0; + position: absolute; + top: 0; + left: 0; } .chart.chart-widget-pie { - margin-top: 5px; - margin-bottom: 5px; + margin-top: 5px; + margin-bottom: 5px; } .percent { - display: inline-block; - line-height: 110px; - z-index: 2; + display: inline-block; + line-height: 110px; + z-index: 2; } .percent:after { - content: '%'; - margin-left: 0.1em; - font-size: .8em; + content: "%"; + margin-left: 0.1em; + font-size: 0.8em; } /* Morris chart */ .morris-hover.morris-default-style { - border-radius: 5px; - padding: 10px 12px; - background: #ffffff; - border: none; - font-family: "Rubik", sans-serif; - -webkit-box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.14); - box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.14); + border-radius: 5px; + padding: 10px 12px; + background: #ffffff; + border: none; + font-family: "Rubik", sans-serif; + -webkit-box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.14); + box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.14); } .morris-hover.morris-default-style .morris-hover-point { - font-weight: 500; - font-size: 14px; - color: #2d3b48 !important; + font-weight: 500; + font-size: 14px; + color: #2d3b48 !important; } .morris-hover.morris-default-style .morris-hover-row-label { - background-color: #2d3b48; - color: #ffffff; - padding: 4px; - border-radius: 5px 5px 0 0; - margin: -10px -12px 10px; + background-color: #2d3b48; + color: #ffffff; + padding: 4px; + border-radius: 5px 5px 0 0; + margin: -10px -12px 10px; } /* Flot chart */ #flotTip { - padding: 8px 12px; - background-color: #ffffff; - z-index: 100; - color: #2d3b48; - -webkit-box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.14); - box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.14); - border-radius: 1px; + padding: 8px 12px; + background-color: #ffffff; + z-index: 100; + color: #2d3b48; + -webkit-box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.14); + box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.14); + border-radius: 1px; } /* Chartist chart */ .ct-golden-section:before { - float: none; + float: none; } .ct-chart { - height: 300px; + height: 300px; } .ct-grid { - stroke: rgba(0, 0, 0, 0.09); - stroke-width: 2px; - stroke-dasharray: 3px; + stroke: rgba(0, 0, 0, 0.09); + stroke-width: 2px; + stroke-dasharray: 3px; } .ct-chart .ct-label { - fill: #8c9ea9; - color: #8c9ea9; - font-size: 14px; - line-height: 1; + fill: #8c9ea9; + color: #8c9ea9; + font-size: 14px; + line-height: 1; } .ct-chart.simple-pie-chart-chartist .ct-label { - color: #ffffff; - fill: #ffffff; - font-size: 16px; + color: #ffffff; + fill: #ffffff; + font-size: 16px; } .ct-chart .ct-series.ct-series-a .ct-bar, .ct-chart .ct-series.ct-series-a .ct-line, .ct-chart .ct-series.ct-series-a .ct-point, .ct-chart .ct-series.ct-series-a .ct-slice-donut { - stroke: #605daf; + stroke: #605daf; } .ct-chart .ct-series.ct-series-b .ct-bar, .ct-chart .ct-series.ct-series-b .ct-line, .ct-chart .ct-series.ct-series-b .ct-point, .ct-chart .ct-series.ct-series-b .ct-slice-donut { - stroke: #33cdff; + stroke: #33cdff; } .ct-chart .ct-series.ct-series-c .ct-bar, .ct-chart .ct-series.ct-series-c .ct-line, .ct-chart .ct-series.ct-series-c .ct-point, .ct-chart .ct-series.ct-series-c .ct-slice-donut { - stroke: #f8c955; + stroke: #f8c955; } .ct-chart .ct-series.ct-series-d .ct-bar, .ct-chart .ct-series.ct-series-d .ct-line, .ct-chart .ct-series.ct-series-d .ct-point, .ct-chart .ct-series.ct-series-d .ct-slice-donut { - stroke: #2d3b48; + stroke: #2d3b48; } .ct-chart .ct-series.ct-series-e .ct-bar, .ct-chart .ct-series.ct-series-e .ct-line, .ct-chart .ct-series.ct-series-e .ct-point, .ct-chart .ct-series.ct-series-e .ct-slice-donut { - stroke: #5dd099; + stroke: #5dd099; } .ct-chart .ct-series.ct-series-f .ct-bar, .ct-chart .ct-series.ct-series-f .ct-line, .ct-chart .ct-series.ct-series-f .ct-point, .ct-chart .ct-series.ct-series-f .ct-slice-donut { - stroke: #f96e5b; + stroke: #f96e5b; } .ct-chart .ct-series.ct-series-g .ct-bar, .ct-chart .ct-series.ct-series-g .ct-line, .ct-chart .ct-series.ct-series-g .ct-point, .ct-chart .ct-series.ct-series-g .ct-slice-donut { - stroke: #f5f5f7; + stroke: #f5f5f7; } .ct-series-a .ct-area, .ct-series-a .ct-slice-pie { - fill: #605daf; + fill: #605daf; } .ct-series-b .ct-area, .ct-series-b .ct-slice-pie { - fill: #f8c955; + fill: #f8c955; } .ct-series-c .ct-area, .ct-series-c .ct-slice-pie { - fill: #2d3b48; + fill: #2d3b48; } .chartist-tooltip { - position: absolute; - display: inline-block; - opacity: 0; - min-width: 10px; - padding: 2px 10px; - border-radius: 3px; - -moz-border-radius: 3px; - background-clip: padding-box; - background: #2d3b48; - color: #ffffff; - text-align: center; - pointer-events: none; - z-index: 1; - -webkit-transition: opacity .2s linear; - transition: opacity .2s linear; + position: absolute; + display: inline-block; + opacity: 0; + min-width: 10px; + padding: 2px 10px; + border-radius: 3px; + -moz-border-radius: 3px; + background-clip: padding-box; + background: #2d3b48; + color: #ffffff; + text-align: center; + pointer-events: none; + z-index: 1; + -webkit-transition: opacity 0.2s linear; + transition: opacity 0.2s linear; } .chartist-tooltip.tooltip-show { - opacity: 1; + opacity: 1; } /* C3 chart */ .c3 svg { - max-width: 100%; + max-width: 100%; } .c3-tooltip td > span { - background: #2d3b48; + background: #2d3b48; } .c3-tooltip td { - border-left: none; + border-left: none; } .c3-tooltip { - -webkit-box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.12); - box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.12); - opacity: 1; + -webkit-box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.12); + box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.12); + opacity: 1; } .c3-chart-arcs-title { - font-size: 18px; - font-weight: 600; - font-family: "Rubik", sans-serif; + font-size: 18px; + font-weight: 600; + font-family: "Rubik", sans-serif; } .c3-tooltip tr { - border: none !important; + border: none !important; } .c3-tooltip th { - background-color: #2d3b48; + background-color: #2d3b48; } .c3-tooltip .value { - font-weight: 600; - font-family: "Rubik", sans-serif; + font-weight: 600; + font-family: "Rubik", sans-serif; } .c3-line { - stroke-width: 2px; + stroke-width: 2px; } .c3-legend-item { - font-size: 13px; - font-family: "Rubik", sans-serif; + font-size: 13px; + font-family: "Rubik", sans-serif; } #donut-chart #donut-chart-container .legend { - position: relative; - margin-right: -50px; - top: -50px; + position: relative; + margin-right: -50px; + top: -50px; } /* ============== Tables ===================*/ .table { - margin-bottom: 10px; + margin-bottom: 10px; } .table thead { - background-color: #ebeff8; + background-color: #ebeff8; } th { - font-weight: 500; + font-weight: 500; } -.table-sm td, .table-sm th { - padding: .3rem !important; +.table-sm td, +.table-sm th { + padding: 0.3rem !important; } -.table > tbody > tr > td, .table > tfoot > tr > td, .table > thead > tr > td { - padding: 14px 12px; - vertical-align: middle; +.table > tbody > tr > td, +.table > tfoot > tr > td, +.table > thead > tr > td { + padding: 14px 12px; + vertical-align: middle; } -.table-hover tbody tr:hover, .table-striped tbody tr:nth-of-type(odd), +.table-hover tbody tr:hover, +.table-striped tbody tr:nth-of-type(odd), .thead-default th { - background-color: #fafbfd; + background-color: #fafbfd; } .table-centered td, .table-centered th { - vertical-align: middle !important; + vertical-align: middle !important; } /* == Responsive Table ==*/ table.focus-on tbody tr.focused th { - background-color: #605daf; - color: #ffffff; + background-color: #605daf; + color: #ffffff; } table.focus-on tbody tr.focused td { - background-color: #605daf; - color: #ffffff; + background-color: #605daf; + color: #ffffff; } .table-rep-plugin .btn-toolbar { - display: block; + display: block; } .table-rep-plugin .btn-default { - background-color: #ffffff; - border-color: #d4d8e1; - margin-right: 5px; + background-color: #ffffff; + border-color: #d4d8e1; + margin-right: 5px; } .table-rep-plugin .btn-default.btn-primary { - background-color: #605daf; - border-color: #605daf; + background-color: #605daf; + border-color: #605daf; } .table-rep-plugin .table-responsive { - border: none !important; + border: none !important; } .table-rep-plugin .btn-group.float-right .dropdown-menu { - left: auto; - right: 0; + left: auto; + right: 0; } .table-rep-plugin tbody th { - font-size: 14px; - font-weight: normal; + font-size: 14px; + font-weight: normal; } .table-rep-plugin .checkbox-row { - padding-left: 40px; + padding-left: 40px; } .table-rep-plugin .checkbox-row label { - display: inline-block; - padding-left: 5px; - position: relative; + display: inline-block; + padding-left: 5px; + position: relative; } .table-rep-plugin .checkbox-row label::before { - -o-transition: 0.3s ease-in-out; - -webkit-transition: 0.3s ease-in-out; - background-color: #ffffff; - border-radius: 3px; - border: 1px solid #d4d8e1; - content: ""; - display: inline-block; - height: 17px; - left: 0; - margin-left: -20px; - position: absolute; - transition: 0.3s ease-in-out; - width: 17px; - outline: none !important; + -o-transition: 0.3s ease-in-out; + -webkit-transition: 0.3s ease-in-out; + background-color: #ffffff; + border-radius: 3px; + border: 1px solid #d4d8e1; + content: ""; + display: inline-block; + height: 17px; + left: 0; + margin-left: -20px; + position: absolute; + transition: 0.3s ease-in-out; + width: 17px; + outline: none !important; } .table-rep-plugin .checkbox-row label::after { - color: #d4d8e1; - display: inline-block; - font-size: 11px; - height: 16px; - left: 0; - margin-left: -20px; - padding-left: 3px; - padding-top: 1px; - position: absolute; - top: -1px; - width: 16px; + color: #d4d8e1; + display: inline-block; + font-size: 11px; + height: 16px; + left: 0; + margin-left: -20px; + padding-left: 3px; + padding-top: 1px; + position: absolute; + top: -1px; + width: 16px; } .table-rep-plugin .checkbox-row input[type="checkbox"] { - cursor: pointer; - opacity: 0; - z-index: 1; - outline: none !important; + cursor: pointer; + opacity: 0; + z-index: 1; + outline: none !important; } .table-rep-plugin .checkbox-row input[type="checkbox"]:disabled + label { - opacity: 0.65; + opacity: 0.65; } .table-rep-plugin .checkbox-row input[type="checkbox"]:focus + label::before { - outline-offset: -2px; - outline: none; + outline-offset: -2px; + outline: none; } .table-rep-plugin .checkbox-row input[type="checkbox"]:checked + label::after { - content: "\f00c"; - font-family: 'FontAwesome'; + content: "\f00c"; + font-family: "FontAwesome"; } -.table-rep-plugin .checkbox-row input[type="checkbox"]:disabled + label::before { - background-color: #f5f5f7; - cursor: not-allowed; +.table-rep-plugin + .checkbox-row + input[type="checkbox"]:disabled + + label::before { + background-color: #f5f5f7; + cursor: not-allowed; } .table-rep-plugin .checkbox-row input[type="checkbox"]:checked + label::before { - background-color: #605daf; - border-color: #605daf; + background-color: #605daf; + border-color: #605daf; } .table-rep-plugin .checkbox-row input[type="checkbox"]:checked + label::after { - color: #ffffff; + color: #ffffff; } /* ============== Range slider ===================*/ -.irs-from, .irs-to, .irs-single { - background: #605daf; +.irs-from, +.irs-to, +.irs-single { + background: #605daf; } -.irs-from:after, .irs-to:after, .irs-single:after { - border-top-color: #605daf; +.irs-from:after, +.irs-to:after, +.irs-single:after { + border-top-color: #605daf; } /* ============== Powerange Slider ===================*/ .range-bar { - background-color: #d4d8e1; + background-color: #d4d8e1; } -.range-min, .range-max { - color: #8c9ea9; - padding-top: 0; +.range-min, +.range-max { + color: #8c9ea9; + padding-top: 0; } .range-quantity { - background-color: #605daf; + background-color: #605daf; } .slider-wrapper { - margin: 0 25px 12px; - position: relative; - width: 250px; + margin: 0 25px 12px; + position: relative; + width: 250px; } .slider-wrapper.vertical-wrapper { - height: 200px; - width: auto; + height: 200px; + width: auto; } .display-box-label { - font-size: 0.8em; - position: absolute; - right: -80px; - top: -8px; + font-size: 0.8em; + position: absolute; + right: -80px; + top: -8px; } .display-box { - background-color: #605daf; - color: #ffffff; - border-radius: 5px; - font-size: 0.8em; - height: 23px; - right: -140px; - padding-top: 2px; - position: absolute; - text-align: center; - top: -10px; - width: 50px; - -webkit-box-shadow: inset 0 0 10px rgba(163, 167, 168, 0.15); - box-shadow: inset 0 0 10px rgba(163, 167, 168, 0.15); + background-color: #605daf; + color: #ffffff; + border-radius: 5px; + font-size: 0.8em; + height: 23px; + right: -140px; + padding-top: 2px; + position: absolute; + text-align: center; + top: -10px; + width: 50px; + -webkit-box-shadow: inset 0 0 10px rgba(163, 167, 168, 0.15); + box-shadow: inset 0 0 10px rgba(163, 167, 168, 0.15); } /* ============== Form-elements ===================*/ label { - font-weight: 500; - color: #636466; - font-size: 14px; + font-weight: 500; + color: #636466; + font-size: 14px; } .form-control { - font-size: 14px; + font-size: 14px; } .form-control:focus { - border-color: #605daf; - -webkit-box-shadow: none; - box-shadow: none; + border-color: #605daf; + -webkit-box-shadow: none; + box-shadow: none; } .custom-control-input:checked ~ .custom-control-indicator { - background-color: #605daf; + background-color: #605daf; } .custom-control-input:focus ~ .custom-control-indicator { - -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 3px #605daf; - box-shadow: 0 0 0 1px #ffffff, 0 0 0 3px #605daf; + -webkit-box-shadow: + 0 0 0 1px #ffffff, + 0 0 0 3px #605daf; + box-shadow: + 0 0 0 1px #ffffff, + 0 0 0 3px #605daf; } .has-success .form-control { - border-color: #5dd099; - -webkit-box-shadow: none; - box-shadow: none; + border-color: #5dd099; + -webkit-box-shadow: none; + box-shadow: none; } .has-warning .form-control { - border-color: #f8c955; - -webkit-box-shadow: none; - box-shadow: none; + border-color: #f8c955; + -webkit-box-shadow: none; + box-shadow: none; } .has-error .form-control { - border-color: #f96e5b; - -webkit-box-shadow: none; - box-shadow: none; + border-color: #f96e5b; + -webkit-box-shadow: none; + box-shadow: none; } .input-group-addon { - border-radius: 2px; - border: 1px solid #f5f5f7; + border-radius: 2px; + border: 1px solid #f5f5f7; } /* ============== Form-Validation ===================*/ .error { - color: #ff0000; + color: #ff0000; } .parsley-error { - border-color: #f96e5b; + border-color: #f96e5b; } .parsley-errors-list { - display: none; - margin: 0; - padding: 0; + display: none; + margin: 0; + padding: 0; } .parsley-errors-list.filled { - display: block; + display: block; } .parsley-errors-list > li { - font-size: 12px; - list-style: none; - color: #f96e5b; - margin-top: 5px; + font-size: 12px; + list-style: none; + color: #f96e5b; + margin-top: 5px; } /* ============== @@ -2636,14 +2975,14 @@ label { ===================*/ /* Dropzone */ .dropzone { - min-height: 230px; - border: 2px dashed rgba(0, 0, 0, 0.3); - background: white; - border-radius: 6px; + min-height: 230px; + border: 2px dashed rgba(0, 0, 0, 0.3); + background: white; + border-radius: 6px; } .dropzone .dz-message { - font-size: 30px; + font-size: 30px; } /* ============== @@ -2651,1458 +2990,1729 @@ label { ===================*/ /* Datepicker */ .datepicker { - border: 1px solid #ebeff8; - padding: 8px; + border: 1px solid #ebeff8; + padding: 8px; } -.datepicker table tr td.active, .datepicker table tr td.active:hover, .datepicker table tr td.active.disabled, -.datepicker table tr td.active.disabled:hover, .datepicker table tr td.today, .datepicker table tr td.today.disabled, -.datepicker table tr td.today.disabled:hover, .datepicker table tr td.today:hover, .datepicker table tr td.selected, -.datepicker table tr td.selected.disabled, .datepicker table tr td.selected.disabled:hover, +.datepicker table tr td.active, +.datepicker table tr td.active:hover, +.datepicker table tr td.active.disabled, +.datepicker table tr td.active.disabled:hover, +.datepicker table tr td.today, +.datepicker table tr td.today.disabled, +.datepicker table tr td.today.disabled:hover, +.datepicker table tr td.today:hover, +.datepicker table tr td.selected, +.datepicker table tr td.selected.disabled, +.datepicker table tr td.selected.disabled:hover, .datepicker table tr td.selected:hover { - background-color: #605daf !important; - background-image: none; - -webkit-box-shadow: none; - box-shadow: none; - color: #ffffff; + background-color: #605daf !important; + background-image: none; + -webkit-box-shadow: none; + box-shadow: none; + color: #ffffff; } -.table-condensed > thead > tr > th, .table-condensed > tbody > tr > td { - padding: 5px; +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > td { + padding: 5px; } .input-group-text { - font-size: 14px; + font-size: 14px; } /* Bootstrap-touchSpin */ .bootstrap-touchspin .input-group-btn-vertical .btn { - padding: 9px 12px; + padding: 9px 12px; } .bootstrap-touchspin .input-group-btn-vertical i { - top: 4px; - left: 8px; + top: 4px; + left: 8px; } /* Prism */ -:not(pre) > code[class*="language-"], pre[class*="language-"] { - background: #f5f5f7; +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f5f7; } /* Rating */ .badge:empty { - padding: 0; + padding: 0; } .select2-container--default .select2-selection--single { - border: 1px solid #d8d8d8; - height: 38px; + border: 1px solid #d8d8d8; + height: 38px; } .select2-container--default .select2-selection--single:focus { - outline: none; + outline: none; } -.select2-container--default .select2-selection--single .select2-selection__rendered { - color: #444; - line-height: 38px; +.select2-container--default + .select2-selection--single + .select2-selection__rendered { + color: #444; + line-height: 38px; } -.select2-container--default .select2-selection--single .select2-selection__arrow { - height: 38px; - right: 8px; +.select2-container--default + .select2-selection--single + .select2-selection__arrow { + height: 38px; + right: 8px; } .select2-container .select2-selection--multiple { - min-height: 38px; - border: 1px solid #d8d8d8; + min-height: 38px; + border: 1px solid #d8d8d8; } .select2-container .select2-search--inline .select2-search__field { - margin-top: 8px; + margin-top: 8px; } -.select2-container--default .select2-selection--multiple .select2-selection__choice { - margin-top: 7px; +.select2-container--default + .select2-selection--multiple + .select2-selection__choice { + margin-top: 7px; } -.select2-container--default.select2-container--focus .select2-selection--multiple { - border: solid 1px #d8d8d8; - outline: 0; +.select2-container--default.select2-container--focus + .select2-selection--multiple { + border: solid 1px #d8d8d8; + outline: 0; } /*---datetimepicker---*/ .dtp-btn-cancel { - margin-right: 5px; + margin-right: 5px; } .addon-color-picker .btn { - padding: 8px; - line-height: 0; - border-color: #bfbfbf; + padding: 8px; + line-height: 0; + border-color: #bfbfbf; } /*--colorpicker--*/ .asColorPicker-clear { - display: none; - position: absolute; - top: 8px; - right: 45px; - text-decoration: none; + display: none; + position: absolute; + top: 8px; + right: 45px; + text-decoration: none; } .asColorPicker-trigger { - position: absolute; - top: 0; - right: 0; - height: 38px; - width: 38px; - border: 0; + position: absolute; + top: 0; + right: 0; + height: 38px; + width: 38px; + border: 0; } .asColorPicker-dropdown { - max-width: 260px; + max-width: 260px; } .asColorPicker-wrap { - position: relative; - display: inline-block; - width: 100%; - padding-right: 35px; + position: relative; + display: inline-block; + width: 100%; + padding-right: 35px; } .input-title { - font-weight: 400; - font-size: 15px; - color: #2d3b48; + font-weight: 400; + font-size: 15px; + color: #2d3b48; } /* ============== Form Editor ===================*/ .mce-panel { - border-color: #e7e7ec !important; - background-color: #f5f5f7 !important; + border-color: #e7e7ec !important; + background-color: #f5f5f7 !important; } -.mce-menu-item:hover, .mce-menu-item.mce-selected, .mce-menu-item:focus { - background-color: #605daf !important; +.mce-menu-item:hover, +.mce-menu-item.mce-selected, +.mce-menu-item:focus { + background-color: #605daf !important; } .mce-menu { - background-color: #ffffff !important; + background-color: #ffffff !important; } /* ============== Summernote ===================*/ .note-btn-group .dropdown-menu > li > a { - display: block; - padding: 5px 20px; - clear: both; - font-weight: normal; - line-height: 1.42857143; - color: #333; - white-space: nowrap; + display: block; + padding: 5px 20px; + clear: both; + font-weight: normal; + line-height: 1.42857143; + color: #333; + white-space: nowrap; } .note-btn-group .dropdown-menu > li > a:hover { - background-color: #fbfbfc; + background-color: #fbfbfc; } -.note-image-popover, .note-air-popover, .note-link-popover { - display: none; +.note-image-popover, +.note-air-popover, +.note-link-popover { + display: none; } -.note-image-popover .dropdown-toggle::after, .note-air-popover .dropdown-toggle::after, .note-link-popover .dropdown-toggle::after { - margin-left: 0; +.note-image-popover .dropdown-toggle::after, +.note-air-popover .dropdown-toggle::after, +.note-link-popover .dropdown-toggle::after { + margin-left: 0; } .note-icon-caret { - display: none; + display: none; } .note-editor { - position: relative; + position: relative; } .note-editor .btn-default { - background-color: transparent; - border-color: transparent; + background-color: transparent; + border-color: transparent; } -.note-editor .btn-group-sm > .btn, .note-editor .btn-sm { - padding: 8px 12px; +.note-editor .btn-group-sm > .btn, +.note-editor .btn-sm { + padding: 8px 12px; } .note-editor .note-toolbar { - background-color: #ebeff8; - border-bottom: 1px solid #f5f5f7; - margin: 0; + background-color: #ebeff8; + border-bottom: 1px solid #f5f5f7; + margin: 0; } .note-editor .note-statusbar { - background-color: #ffffff; + background-color: #ffffff; } .note-editor .note-statusbar .note-resizebar { - border-top: none; - height: 15px; - padding-top: 3px; + border-top: none; + height: 15px; + padding-top: 3px; } .note-editor.note-frame { - border: 1px solid #f5f5f7; + border: 1px solid #f5f5f7; } .note-editor.note-frame.card { - -webkit-box-shadow: none; - box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; } .note-popover .popover .popover-content { - padding: 5px 0 10px 5px; + padding: 5px 0 10px 5px; } .note-popover .btn-default { - background-color: transparent; - border-color: transparent; + background-color: transparent; + border-color: transparent; } -.note-popover .btn-group-sm > .btn, .note-popover .btn-sm { - padding: 8px 12px; +.note-popover .btn-group-sm > .btn, +.note-popover .btn-sm { + padding: 8px 12px; } .note-toolbar { - padding: 5px 0 10px 5px; + padding: 5px 0 10px 5px; } /* ============== Calendar ===================*/ .calendar { - float: left; - margin-bottom: 0; + float: left; + margin-bottom: 0; } .none-border .modal-footer { - border-top: none; + border-top: none; } .fc-toolbar { - margin-bottom: 8px; + margin-bottom: 8px; } .fc-toolbar h2 { - font-size: 18px; - font-weight: 600; - line-height: 30px; - text-transform: uppercase; + font-size: 18px; + font-weight: 600; + line-height: 30px; + text-transform: uppercase; } .fc-day { - background: #ffffff; + background: #ffffff; } -.fc-toolbar .fc-state-active, .fc-toolbar .ui-state-active, -.fc-toolbar button:focus, .fc-toolbar button:hover, +.fc-toolbar .fc-state-active, +.fc-toolbar .ui-state-active, +.fc-toolbar button:focus, +.fc-toolbar button:hover, .fc-toolbar .ui-state-hover { - z-index: 0; + z-index: 0; } .fc-widget-header { - border: 1px solid #bcc1c2; - background: #605daf; - color: #ffffff; + border: 1px solid #bcc1c2; + background: #605daf; + color: #ffffff; } .fc-widget-content { - border: 1px solid #bcc1c2; + border: 1px solid #bcc1c2; } .fc th.fc-widget-header { - font-size: 14px; - line-height: 20px; - padding: 10px 0; - font-weight: 700; - text-transform: uppercase; + font-size: 14px; + line-height: 20px; + padding: 10px 0; + font-weight: 700; + text-transform: uppercase; } .fc-button { - background: #ffffff; - border: 1px solid #d4d8e1; - color: #939798; - text-transform: capitalize; + background: #ffffff; + border: 1px solid #d4d8e1; + color: #939798; + text-transform: capitalize; } .fc-text-arrow { - font-family: arial; - font-size: 16px; + font-family: arial; + font-size: 16px; } .fc-state-hover { - background: #d4d8e1; + background: #d4d8e1; } .fc-state-highlight { - background: #d4d8e1; + background: #d4d8e1; } .fc-cell-overlay { - background: #d4d8e1; + background: #d4d8e1; } .fc-unthemed .fc-today { - background: #ffffff; + background: #ffffff; } .fc-event { - border-radius: 2px; - border: none; - cursor: move; - font-size: 13px; - margin: 5px 0; - padding: 5px 5px; - text-align: center; - background: #605daf; - color: #ffffff !important; + border-radius: 2px; + border: none; + cursor: move; + font-size: 13px; + margin: 5px 0; + padding: 5px 5px; + text-align: center; + background: #605daf; + color: #ffffff !important; } .external-event { - color: #ffffff; - cursor: move; - margin: 10px 0; - padding: 6px 10px; + color: #ffffff; + cursor: move; + margin: 10px 0; + padding: 6px 10px; } .fc-basic-view td.fc-week-number span { - padding-right: 5px; + padding-right: 5px; } .fc-basic-view td.fc-day-number { - padding-right: 5px; + padding-right: 5px; } /* ============== Widgets ===================*/ .widget-chart li { - width: 31.5%; - display: inline-block; - padding: 0; + width: 31.5%; + display: inline-block; + padding: 0; } .widget-chart li i { - font-size: 22px; + font-size: 22px; } .mini-stat { - -webkit-box-shadow: 2px 0px 3px rgba(96, 93, 175, 0.05); - box-shadow: 2px 0px 3px rgba(96, 93, 175, 0.05); - padding: 20px; - border-radius: 3px; - margin-bottom: 30px; + -webkit-box-shadow: 2px 0px 3px rgba(96, 93, 175, 0.05); + box-shadow: 2px 0px 3px rgba(96, 93, 175, 0.05); + padding: 20px; + border-radius: 3px; + margin-bottom: 30px; } .mini-stat-icon { - width: 60px; - height: 60px; - display: inline-block; - line-height: 60px; - text-align: center; - font-size: 30px; - border-radius: 100%; - float: left; - margin-right: 10px; + width: 60px; + height: 60px; + display: inline-block; + line-height: 60px; + text-align: center; + font-size: 30px; + border-radius: 100%; + float: left; + margin-right: 10px; } .mini-stat-info { - font-size: 14px; - padding-top: 2px; + font-size: 14px; + padding-top: 2px; } .mini-stat-info span { - display: block; - font-size: 24px; + display: block; + font-size: 24px; } .round { - line-height: 60px; - color: #605daf; - width: 60px; - height: 60px; - font-size: 26px; - display: inline-block; - font-weight: 400; - border: 3px solid #d5d4ea; - text-align: center; - border-radius: 50%; - background: #c5c3e2; + line-height: 60px; + color: #605daf; + width: 60px; + height: 60px; + font-size: 26px; + display: inline-block; + font-weight: 400; + border: 3px solid #d5d4ea; + text-align: center; + border-radius: 50%; + background: #c5c3e2; } .round-inner, .text-lightdark { - color: #bcc1c2; + color: #bcc1c2; } .text-greylight { - color: #d4d8e1; + color: #d4d8e1; } .new-user table td img, .new-user ul li img { - margin-right: 8px; - width: 50px; + margin-right: 8px; + width: 50px; } .boxscroll { - height: 510px; - overflow: auto; + height: 510px; + overflow: auto; } /*--FB-TWIT-Carousel--*/ .vertical .carousel-item-next.carousel-item-left, .vertical .carousel-item-prev.carousel-item-right { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); } .vertical .carousel-item-next, .vertical .active.carousel-item-right { - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100% 0); + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100% 0); } .vertical .carousel-item-prev, .vertical .active.carousel-item-left { - -webkit-transform: translate3d(0, -100%, 0); - transform: translate3d(0, -100%, 0); + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); } .carousel-icon i { - font-size: 50px; - width: 80px; - height: 80px; - background-color: transparent; + font-size: 50px; + width: 80px; + height: 80px; + background-color: transparent; } #verticalCarousel, #verticalCarousel2 { - height: 165px; + height: 165px; } #line-2 { - padding: 0 -10px -10px !important; + padding: 0 -10px -10px !important; } /* ============== Maps ===================*/ -.gmaps, .gmaps-panaroma { - height: 300px; - background: #f5f5f7; - border-radius: 3px; +.gmaps, +.gmaps-panaroma { + height: 300px; + background: #f5f5f7; + border-radius: 3px; } .gmaps-overlay { - display: block; - text-align: center; - color: #ffffff; - font-size: 16px; - line-height: 40px; - background: #605daf; - border-radius: 4px; - padding: 10px 20px; + display: block; + text-align: center; + color: #ffffff; + font-size: 16px; + line-height: 40px; + background: #605daf; + border-radius: 4px; + padding: 10px 20px; } .gmaps-overlay_arrow { - left: 50%; - margin-left: -16px; - width: 0; - height: 0; - position: absolute; + left: 50%; + margin-left: -16px; + width: 0; + height: 0; + position: absolute; } .gmaps-overlay_arrow.above { - bottom: -15px; - border-left: 16px solid transparent; - border-right: 16px solid transparent; - border-top: 16px solid #605daf; + bottom: -15px; + border-left: 16px solid transparent; + border-right: 16px solid transparent; + border-top: 16px solid #605daf; } .gmaps-overlay_arrow.below { - top: -15px; - border-left: 16px solid transparent; - border-right: 16px solid transparent; - border-bottom: 16px solid #605daf; + top: -15px; + border-left: 16px solid transparent; + border-right: 16px solid transparent; + border-bottom: 16px solid #605daf; } /* ============== Account Pages ===================*/ .accountbg { - background: url("../images/bg-account.jpg"); - position: absolute; - height: 100%; - width: 100%; - top: 0; - background-size: cover; - background-position: center; - -webkit-box-shadow: inset 0 0 0 2000px rgba(31, 35, 60, 0.8); - box-shadow: inset 0 0 0 2000px rgba(31, 35, 60, 0.8); + background: url("../images/bg-account.jpg"); + position: absolute; + height: 100%; + width: 100%; + top: 0; + background-size: cover; + background-position: center; + -webkit-box-shadow: inset 0 0 0 2000px rgba(31, 35, 60, 0.8); + box-shadow: inset 0 0 0 2000px rgba(31, 35, 60, 0.8); } .wrapper-page { - margin: 7.5% auto; - max-width: 460px; - position: relative; + margin: 7.5% auto; + max-width: 460px; + position: relative; } .wrapper-page .logo-admin { - font-size: 28px; - line-height: 70px; + font-size: 28px; + line-height: 70px; } .wrapper-page .card { - border: 7px double #605daf; - border-radius: 10px; + border: 7px double #605daf; + border-radius: 10px; } .user-thumb { - position: relative; - z-index: 999; + position: relative; + z-index: 999; } .user-thumb img { - height: 88px; - margin: 0 auto; - width: 88px; + height: 88px; + margin: 0 auto; + width: 88px; } .ex-page-content h1 { - font-size: 98px; - font-weight: 500; - line-height: 150px; - text-shadow: rgba(61, 61, 61, 0.3) 1px 1px, rgba(61, 61, 61, 0.2) 2px 2px, rgba(61, 61, 61, 0.3) 3px 3px; + font-size: 98px; + font-weight: 500; + line-height: 150px; + text-shadow: + rgba(61, 61, 61, 0.3) 1px 1px, + rgba(61, 61, 61, 0.2) 2px 2px, + rgba(61, 61, 61, 0.3) 3px 3px; } /* File: Menu */ .topbar .topbar-left { - float: left; - height: 70px; - position: relative; - width: 240px; - z-index: 1; - background-color: #ffffff; + float: left; + height: 70px; + position: relative; + width: 240px; + z-index: 1; + background-color: #ffffff; } .topbar-left { - -webkit-box-shadow: none !important; - box-shadow: none !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; } .topbar-left .bg-logo { - background-color: #605daf; + background-color: #605daf; } .logo { - color: #f5f5f7 !important; - font-size: 20px; - font-weight: 700; - letter-spacing: .03em; - line-height: 70px; - text-transform: uppercase; + color: #f5f5f7 !important; + font-size: 20px; + font-weight: 700; + letter-spacing: 0.03em; + line-height: 70px; + text-transform: uppercase; } .has_sub.nav-active i.mdi-chevron-right:before { - content: "\F140"; + content: "\F140"; } .navbar-custom { - background-color: #605daf; - border: none; - margin: -20px -25px 0 -25px; - -webkit-box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.2); - box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.2); + background-color: #605daf; + border: none; + margin: -20px -25px 0 -25px; + -webkit-box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.2); + box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.2); } /* Notification */ .notification-list { - margin: 0 !important; + margin: 0 !important; } .notification-list .noti-title { - border-radius: 0.25rem 0.25rem 0 0; - background-color: #605daf; - margin: -4px 0px 0px 0px; - width: auto; - padding: 12px 20px; + border-radius: 0.25rem 0.25rem 0 0; + background-color: #605daf; + margin: -4px 0px 0px 0px; + width: auto; + padding: 12px 20px; } .notification-list .noti-title h5 { - margin: 0; - font-size: 14px; - color: #ffffff; + margin: 0; + font-size: 14px; + color: #ffffff; } .notification-list .noti-title .label { - float: right; + float: right; } .notification-list .noti-icon { - font-size: 16px; - vertical-align: middle; - color: #ffffff; - background: #7471b9; - width: 36px; - height: 36px; - display: inline-block; - border-radius: 50%; - line-height: 36px; - text-align: center; + font-size: 16px; + vertical-align: middle; + color: #ffffff; + background: #7471b9; + width: 36px; + height: 36px; + display: inline-block; + border-radius: 50%; + line-height: 36px; + text-align: center; } .notification-list .noti-icon-badge { - display: inline-block; - position: absolute; - top: 14px; - right: 9px; + display: inline-block; + position: absolute; + top: 14px; + right: 9px; } .notification-list .notify-item { - padding: 15px 20px; + padding: 15px 20px; } .notification-list .notify-item .notify-icon { - float: left; - height: 36px; - width: 36px; - line-height: 36px; - text-align: center; - margin-right: 10px; - border-radius: 50%; - color: #ffffff; + float: left; + height: 36px; + width: 36px; + line-height: 36px; + text-align: center; + margin-right: 10px; + border-radius: 50%; + color: #ffffff; } .notification-list .notify-item .notify-icon img { - margin-top: 4px; + margin-top: 4px; } .notification-list .notify-item .notify-details { - margin-bottom: 0; - overflow: hidden; - margin-left: 45px; - text-overflow: ellipsis; - white-space: nowrap; + margin-bottom: 0; + overflow: hidden; + margin-left: 45px; + text-overflow: ellipsis; + white-space: nowrap; } .notification-list .notify-item .notify-details b { - font-weight: normal; + font-weight: normal; } .notification-list .notify-item .notify-details small { - display: block; - white-space: normal; + display: block; + white-space: normal; } .notification-list .notify-item .notify-details span { - display: block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - font-size: 13px; + display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + font-size: 13px; } .notification-list .notify-all { - border-radius: 0 0 0.25rem 0.25rem; - margin: 0 0 -5px 0; - background-color: #f5f5f7; + border-radius: 0 0 0.25rem 0.25rem; + margin: 0 0 -5px 0; + background-color: #f5f5f7; } .notification-list .profile-dropdown .notify-item { - padding: 4px 20px; + padding: 4px 20px; } .notification-list .nav-link { - padding: 0 10px; - line-height: 70px; + padding: 0 10px; + line-height: 70px; } .notification-list .language-switch a img { - float: right; - margin-top: 5px; + float: right; + margin-top: 5px; } .profile-dropdown { - width: 170px; + width: 170px; } .profile-dropdown i { - font-size: 17px; - vertical-align: middle; - margin-right: 5px; + font-size: 17px; + vertical-align: middle; + margin-right: 5px; } .profile-dropdown span { - vertical-align: middle; + vertical-align: middle; } .nav-user { - margin: 0 15px 0 0; + margin: 0 15px 0 0; } .nav-user img { - height: 36px; - width: 36px; + height: 36px; + width: 36px; } .arrow-none:after { - border: none; - margin: 0; - display: none; + border: none; + margin: 0; + display: none; } .menu-title { - padding: 12px 25px !important; - letter-spacing: .035em; - pointer-events: none; - cursor: default; - font-size: 13px; - color: #8c9ea9; + padding: 12px 25px !important; + letter-spacing: 0.035em; + pointer-events: none; + cursor: default; + font-size: 13px; + color: #8c9ea9; } .profile { - padding: 17px 15px !important; + padding: 17px 15px !important; } .profile img { - border: 2px solid #edf0f0; - height: 36px; - width: 36px; - float: left; + border: 2px solid #edf0f0; + height: 36px; + width: 36px; + float: left; } .profile .profile-username { - margin-left: 45px; - display: block; - line-height: 36px; + margin-left: 45px; + display: block; + line-height: 36px; } .dropdown-menu-lg { - width: 270px; + width: 270px; } .navbar-nav { - margin: 0; + margin: 0; } .side-menu { - bottom: 0; - top: 0; - width: 240px; - -webkit-transition: all 0.4s ease-in-out; - transition: all 0.4s ease-in-out; - background: #ffffff; - position: absolute; - z-index: 99; - -webkit-box-shadow: 2px 0px 3px rgba(96, 93, 175, 0.05); - box-shadow: 2px 0px 3px rgba(96, 93, 175, 0.05); + bottom: 0; + top: 0; + width: 240px; + -webkit-transition: all 0.4s ease-in-out; + transition: all 0.4s ease-in-out; + background: #ffffff; + position: absolute; + z-index: 99; + -webkit-box-shadow: 2px 0px 3px rgba(96, 93, 175, 0.05); + box-shadow: 2px 0px 3px rgba(96, 93, 175, 0.05); } body.fixed-left .side-menu.left { - bottom: 50px; - height: 100%; - margin-bottom: -70px; - margin-top: 0; - padding-bottom: 70px; - position: fixed; + bottom: 50px; + height: 100%; + margin-bottom: -70px; + margin-top: 0; + padding-bottom: 70px; + position: fixed; } .content-page { - margin-left: 240px; - overflow: hidden; - min-height: 500px; + margin-left: 240px; + overflow: hidden; + min-height: 500px; } .content-page > .content { - margin-bottom: 63px; - padding: 20px 25px 0 25px; - -webkit-transition: all 0.4s ease-in-out; - transition: all 0.4s ease-in-out; + margin-bottom: 63px; + padding: 20px 25px 0 25px; + -webkit-transition: all 0.4s ease-in-out; + transition: all 0.4s ease-in-out; } .page-content-wrapper { - margin: 0 -10px; + margin: 0 -10px; } .button-menu-mobile { - background-color: #605daf; - font-size: 28px; - color: #ffffff; - width: 42px; - border-radius: 3px; - border: none; - line-height: 70px; - display: none; + background-color: #605daf; + font-size: 28px; + color: #ffffff; + width: 42px; + border-radius: 3px; + border: none; + line-height: 70px; + display: none; } .button-menu-mobile-topbar { - background-color: #f96e5b; - color: #ffffff; - font-size: 20px; - height: 42px; - width: 42px; - line-height: 42px; - border-radius: 0; - border: none; - position: absolute; - right: -42px; - top: 0; + background-color: #f96e5b; + color: #ffffff; + font-size: 20px; + height: 42px; + width: 42px; + line-height: 42px; + border-radius: 0; + border: none; + position: absolute; + right: -42px; + top: 0; } -.app-search .form-control, .app-search .form-control:focus { - border: 1px solid #7471b9; - font-size: 13px; - height: 34px; - color: #ffffff; - padding-left: 20px; - padding-right: 40px; - background: #7471b9; - -webkit-box-shadow: none; - box-shadow: none; - border-radius: 30px; - width: 200px; +.app-search .form-control, +.app-search .form-control:focus { + border: 1px solid #7471b9; + font-size: 13px; + height: 34px; + color: #ffffff; + padding-left: 20px; + padding-right: 40px; + background: #7471b9; + -webkit-box-shadow: none; + box-shadow: none; + border-radius: 30px; + width: 200px; } .app-search { - position: relative; - padding-top: 18px; - margin-left: 20px; + position: relative; + padding-top: 18px; + margin-left: 20px; } .app-search input.form-control::-webkit-input-placeholder { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.7); } .app-search input.form-control:-moz-placeholder { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.7); } .app-search input.form-control::-moz-placeholder { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.7); } .app-search input.form-control:-ms-input-placeholder { - color: rgba(255, 255, 255, 0.7); + color: rgba(255, 255, 255, 0.7); } .app-search a { - position: absolute; - top: 18px; - left: 160px; - display: block; - height: 34px; - line-height: 34px; - width: 34px; - text-align: center; - color: rgba(255, 255, 255, 0.5); + position: absolute; + top: 18px; + left: 160px; + display: block; + height: 34px; + line-height: 34px; + width: 34px; + text-align: center; + color: rgba(255, 255, 255, 0.5); } .sidebar-inner { - height: 100%; + height: 100%; } -#sidebar-menu, #sidebar-menu ul, #sidebar-menu li, #sidebar-menu a { - border: 0; - font-weight: normal; - line-height: 1; - list-style: none; - margin: 0; - padding: 0; - position: relative; - text-decoration: none; - z-index: 20; +#sidebar-menu, +#sidebar-menu ul, +#sidebar-menu li, +#sidebar-menu a { + border: 0; + font-weight: normal; + line-height: 1; + list-style: none; + margin: 0; + padding: 0; + position: relative; + text-decoration: none; + z-index: 20; } .navbar-nav > li > a.notification-icon-box { - line-height: 70px; + line-height: 70px; } .navbar-nav > li > a.notification-icon-box i { - font-size: 26px; - vertical-align: middle; + font-size: 26px; + vertical-align: middle; } #sidebar-menu { - background-color: #ffffff; - padding-bottom: 230px; - width: 100%; + background-color: #ffffff; + padding-bottom: 230px; + width: 100%; } #sidebar-menu ul ul { - display: none; + display: none; } #sidebar-menu ul ul li { - border-top: 0; + border-top: 0; } #sidebar-menu ul ul li.active a { - color: #605daf; + color: #605daf; } #sidebar-menu ul ul a { - color: rgba(45, 59, 72, 0.8); - display: block; - padding: 12px 25px 12px 60px; - font-size: 14px; + color: rgba(45, 59, 72, 0.8); + display: block; + padding: 12px 25px 12px 60px; + font-size: 14px; } #sidebar-menu ul ul a:hover { - color: #2d3b48; + color: #2d3b48; } #sidebar-menu ul ul a i { - margin-right: 5px; + margin-right: 5px; } #sidebar-menu ul ul ul a { - padding-left: 80px; + padding-left: 80px; } #sidebar-menu > ul > li > a { - color: #2d3b48; - display: block; - padding: 16px 25px; - margin: 3px 0; - background-color: #ffffff; + color: #2d3b48; + display: block; + padding: 16px 25px; + margin: 3px 0; + background-color: #ffffff; } #sidebar-menu > ul > li > a:hover { - color: #605daf; - text-decoration: none; + color: #605daf; + text-decoration: none; } #sidebar-menu > ul > li > a:hover i { - color: #605daf; + color: #605daf; } #sidebar-menu > ul > li > a span i { - font-size: 18px; - line-height: 16px; + font-size: 18px; + line-height: 16px; } #sidebar-menu > ul > li.nav-active > a { - background-color: #f5f5f7; + background-color: #f5f5f7; } #sidebar-menu > ul > li > a > span { - vertical-align: middle; + vertical-align: middle; } #sidebar-menu > ul > li > a > i { - display: inline-block; - font-size: 18px; - line-height: 17px; - margin-left: 3px; - margin-right: 10px; - text-align: center; - vertical-align: middle; - width: 20px; - color: #8c9ea9; + display: inline-block; + font-size: 18px; + line-height: 17px; + margin-left: 3px; + margin-right: 10px; + text-align: center; + vertical-align: middle; + width: 20px; + color: #8c9ea9; } #sidebar-menu > ul > li > a > i.i-right { - float: right; - margin: 3px 0 0 0; + float: right; + margin: 3px 0 0 0; } #sidebar-menu > ul > li > a.active { - color: #605daf; - background-color: rgba(96, 93, 175, 0.15); + color: #605daf; + background-color: rgba(96, 93, 175, 0.15); } #sidebar-menu > ul > li > a.active i { - color: #605daf; + color: #605daf; } #sidebar-menu > ul > li.nav-active > ul { - display: block; + display: block; } #wrapper.enlarged .left.side-menu { - padding-top: 0; - z-index: 20; - margin-left: -100%; + padding-top: 0; + z-index: 20; + margin-left: -100%; } #wrapper.enlarged .content-page { - margin-left: 0; + margin-left: 0; } #wrapper.enlarged .footer { - left: 0; + left: 0; } .user-details { - min-height: 80px; - padding: 20px; - position: relative; + min-height: 80px; + padding: 20px; + position: relative; } .user-details img { - position: relative; - z-index: 9999; - height: 64px; - width: 64px; + position: relative; + z-index: 9999; + height: 64px; + width: 64px; } .user-details .user-info { - text-align: center; + text-align: center; } .user-details .user-info .user-status { - display: inline-block; - padding: 3px 10px; - border: 1px solid rgba(34, 34, 34, 0.27); - border-radius: 20px; - font-size: 12px; + display: inline-block; + padding: 3px 10px; + border: 1px solid rgba(34, 34, 34, 0.27); + border-radius: 20px; + font-size: 12px; } .page-title-box { - padding: 22px 0; + padding: 22px 0; } .page-title-box .page-title { - font-size: 18px; - margin-bottom: 0; - margin-top: 0; + font-size: 18px; + margin-bottom: 0; + margin-top: 0; } .page-title-box .breadcrumb .breadcrumb-item a { - color: #8c9ea9; + color: #8c9ea9; } .sidebar-user { - text-align: center; - padding: 22px 0; + text-align: center; + padding: 22px 0; } .sidebar-user .dropdown-toggle { - font-weight: 500; + font-weight: 500; } .sidebar-user img { - width: 64px; - height: 64px; + width: 64px; + height: 64px; } .sidebar-user a { - border: 1px solid #ebeff8; - display: inline-block; - width: 36px; - height: 36px; - line-height: 34px; - border-radius: 3px; + border: 1px solid #ebeff8; + display: inline-block; + width: 36px; + height: 36px; + line-height: 34px; + border-radius: 3px; } .sidebar-user a:hover { - background-color: #f3f8fd; + background-color: #f3f8fd; } /* File: Responsive */ @media (min-width: 768px) and (max-width: 991px) { - body { - overflow-x: hidden; - } + body { + overflow-x: hidden; + } } @media (max-width: 1024px) { - .side-menu.left { - margin-left: -100%; - z-index: 1000 !important; - } - .content-page { - margin-left: 0; - } - .enlarged .side-menu.left { - margin-left: 0 !important; - } - .button-menu-mobile { - display: inline-block; - } - .navbar-custom { - padding-left: 10px; - } - .content-page > .content { - padding: 20px; - } - #wrapper.enlarged .footer, .footer { - left: 0; - } + .side-menu.left { + margin-left: -100%; + z-index: 1000 !important; + } + .content-page { + margin-left: 0; + } + .enlarged .side-menu.left { + margin-left: 0 !important; + } + .button-menu-mobile { + display: inline-block; + } + .navbar-custom { + padding-left: 10px; + } + .content-page > .content { + padding: 20px; + } + #wrapper.enlarged .footer, + .footer { + left: 0; + } } @media (max-width: 768px) { - .topbar { - position: fixed; - left: 25px; - right: 25px; - z-index: 999; - } - .page-content-wrapper { - margin-top: 50px; - } - .sticky-table-header.fixed-solution { - top: 74px; - } + .topbar { + position: fixed; + left: 25px; + right: 25px; + z-index: 999; + } + .page-content-wrapper { + margin-top: 50px; + } + .sticky-table-header.fixed-solution { + top: 74px; + } } @media (max-width: 767px) { - body { - overflow-x: hidden; - } - .content-page { - margin-left: 0 !important; - } - .enlarged .left.side-menu { - margin-left: -75px; - } - .mobile-sidebar { - left: 0; - } - .mobile-content { - left: 250px; - right: -250px; - } - .wrapper-page { - width: 90%; - } - .navbar-nav .open .dropdown-menu { - background-color: #ffffff; - -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); - box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); - left: auto; - position: absolute; - right: 0; - } - .fc-toolbar .fc-right { - float: left; - margin: 10px 0; - } + body { + overflow-x: hidden; + } + .content-page { + margin-left: 0 !important; + } + .enlarged .left.side-menu { + margin-left: -75px; + } + .mobile-sidebar { + left: 0; + } + .mobile-content { + left: 250px; + right: -250px; + } + .wrapper-page { + width: 90%; + } + .navbar-nav .open .dropdown-menu { + background-color: #ffffff; + -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); + box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); + left: auto; + position: absolute; + right: 0; + } + .fc-toolbar .fc-right { + float: left; + margin: 10px 0; + } } @media (max-width: 620px) { - .page-header-title { - text-align: center; - } - .dataTables_paginate .page-link { - padding: .35rem .5rem; - } - .mo-mb-2 { - margin-bottom: 10px; - } - .mo-mt-2 { - margin-top: 10px !important; - } - .pagination-lg .page-link { - padding: .25rem .5rem; - font-size: 15px; - } + .page-header-title { + text-align: center; + } + .dataTables_paginate .page-link { + padding: 0.35rem 0.5rem; + } + .mo-mb-2 { + margin-bottom: 10px; + } + .mo-mt-2 { + margin-top: 10px !important; + } + .pagination-lg .page-link { + padding: 0.25rem 0.5rem; + font-size: 15px; + } } @media (max-width: 480px) { - .side-menu { - z-index: 10; - } - .button-menu-mobile { - display: block; - } + .side-menu { + z-index: 10; + } + .button-menu-mobile { + display: block; + } } @media (max-width: 420px) { - .hide-phone, .notify-icon { - display: none; - } - .dropdown-menu-lg { - width: 200px; - } - .notify-details { - margin-left: 0 !important; - } + .hide-phone, + .notify-icon { + display: none; + } + .dropdown-menu-lg { + width: 200px; + } + .notify-details { + margin-left: 0 !important; + } } @media (min-width: 1200px) and (max-width: 1366px) { - .entry .title { - width: 28% !important; - float: left !important; - padding-right: 24px !important; - } - .entry .title h6 { - font-size: 14px !important; - } - .entry .title:before { - content: ''; - right: -3px !important; - } - .entry .body { - width: 72% !important; - } + .entry .title { + width: 28% !important; + float: left !important; + padding-right: 24px !important; + } + .entry .title h6 { + font-size: 14px !important; + } + .entry .title:before { + content: ""; + right: -3px !important; + } + .entry .body { + width: 72% !important; + } } /* ============== Dashboard-2 ===================*/ .icon-contain i { - font-size: 32px; + font-size: 32px; } .accordion { - -webkit-box-shadow: none; - box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; } .accordion .card, .accordion .btn:focus { - -webkit-box-shadow: none; - box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; } .accordion .card-body { - border: 1px solid rgba(188, 193, 194, 0.2); + border: 1px solid rgba(188, 193, 194, 0.2); } .accordion .card-header { - background-color: rgba(212, 216, 225, 0.2); - border: 1px solid rgba(188, 193, 194, 0.2); - padding: 0 12px; + background-color: rgba(212, 216, 225, 0.2); + border: 1px solid rgba(188, 193, 194, 0.2); + padding: 0 12px; } .accordion .btn { - margin-bottom: 0; + margin-bottom: 0; } .blog-card h4 { - font-weight: 600; + font-weight: 600; } .card-img-overlay { - bottom: auto; + bottom: auto; } .round-icon { - font-size: 22px; - width: 44px; - height: 44px; - line-height: 45px; - text-align: center; - border-radius: 50%; - display: inline-block; + font-size: 22px; + width: 44px; + height: 44px; + line-height: 45px; + text-align: center; + border-radius: 50%; + display: inline-block; } /*Timeline*/ .timeline-card { - overflow: hidden; + overflow: hidden; } .timeline { - width: 100%; - max-width: 800px; - position: relative; + width: 100%; + max-width: 800px; + position: relative; } .timeline:before { - content: ''; - position: absolute; - top: 0px; - left: calc(25% + 0px); - bottom: 0px; - width: 4px; - background: #f5f5f7; + content: ""; + position: absolute; + top: 0px; + left: calc(25% + 0px); + bottom: 0px; + width: 4px; + background: #f5f5f7; } .timeline:after { - content: ""; - display: table; - clear: both; + content: ""; + display: table; + clear: both; } .entry { - clear: both; - text-align: left; - position: relative; + clear: both; + text-align: left; + position: relative; } .entry .title { - margin-bottom: .5em; - float: left; - width: 25%; - padding-right: 30px; - text-align: right; - position: relative; + margin-bottom: 0.5em; + float: left; + width: 25%; + padding-right: 30px; + text-align: right; + position: relative; } .entry .title h6 { - font-size: 16px; - color: #8c9ea9; - font-weight: 400; - margin-top: 0px; + font-size: 16px; + color: #8c9ea9; + font-weight: 400; + margin-top: 0px; } .entry .title:before { - content: ''; - position: absolute; - width: 16px; - height: 16px; - border: 4px solid #ffffff; - background-color: #33cdff; - border-radius: 100%; - top: 8%; - right: -10px; - z-index: 99; - -webkit-box-shadow: 0px 0px 0px 1.25px #5dd099; - box-shadow: 0px 0px 0px 1.25px #5dd099; + content: ""; + position: absolute; + width: 16px; + height: 16px; + border: 4px solid #ffffff; + background-color: #33cdff; + border-radius: 100%; + top: 8%; + right: -10px; + z-index: 99; + -webkit-box-shadow: 0px 0px 0px 1.25px #5dd099; + box-shadow: 0px 0px 0px 1.25px #5dd099; } .entry .title p { - margin: 0; - font-size: 100%; + margin: 0; + font-size: 100%; } .entry .body { - margin: 0 0 42px; - float: right; - width: 75%; - padding-left: 30px; + margin: 0 0 42px; + float: right; + width: 75%; + padding-left: 30px; } .entry .body p { - line-height: 1.4em; - color: #8c9ea9; - font-size: 14px; + line-height: 1.4em; + color: #8c9ea9; + font-size: 14px; } .entry .body p:first-child { - margin-top: 0; - font-weight: 400; + margin-top: 0; + font-weight: 400; } .text-gradient-success { - background: -webkit-linear-gradient(#42e695, #3bb2b8); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; + background: -webkit-linear-gradient(#42e695, #3bb2b8); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; } .text-gradient-danger { - background: -webkit-linear-gradient(#f81f8b, #f56348); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; + background: -webkit-linear-gradient(#f81f8b, #f56348); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; } .text-gradient-warning { - background: -webkit-linear-gradient(#f6d365, #ff7850); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; + background: -webkit-linear-gradient(#f6d365, #ff7850); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; } .text-gradient-primary { - background: -webkit-gradient(linear, left top, right top, from(#30CFD0), to(#330867)); - background: linear-gradient(to right, #30CFD0 0%, #330867 100%); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; + background: -webkit-gradient( + linear, + left top, + right top, + from(#30cfd0), + to(#330867) + ); + background: linear-gradient(to right, #30cfd0 0%, #330867 100%); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; } .bg-gradient1 { - background-image: linear-gradient(120deg, #f56348 0%, #f81f8b 100%); + background-image: linear-gradient(120deg, #f56348 0%, #f81f8b 100%); } .bg-gradient2 { - background-image: linear-gradient(120deg, #00e795 0%, #0095e2 100%); + background-image: linear-gradient(120deg, #00e795 0%, #0095e2 100%); } .bg-gradient3 { - background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%); + background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%); } .bg-gradient4 { - background: linear-gradient(120deg, #606c88 0%, #330867 100%); + background: linear-gradient(120deg, #606c88 0%, #330867 100%); } .title-border::before { - content: ""; - border-left: 4px solid; - margin-left: -20px; - padding-right: 16px; - height: 54px; - top: 0px; - display: inline-block; - position: absolute; - -o-border-image: linear-gradient(to top, #f81f8b 0%, #ff7850 100%); - border-image: -webkit-gradient(linear, left bottom, left top, from(#f81f8b), to(#ff7850)); - border-image: linear-gradient(to top, #f81f8b 0%, #ff7850 100%); - border-image-slice: 1; - border-width: 4px; + content: ""; + border-left: 4px solid; + margin-left: -20px; + padding-right: 16px; + height: 54px; + top: 0px; + display: inline-block; + position: absolute; + -o-border-image: linear-gradient(to top, #f81f8b 0%, #ff7850 100%); + border-image: -webkit-gradient( + linear, + left bottom, + left top, + from(#f81f8b), + to(#ff7850) + ); + border-image: linear-gradient(to top, #f81f8b 0%, #ff7850 100%); + border-image-slice: 1; + border-width: 4px; } .dashboard-map { - height: 290px; + height: 290px; } .badge.badge-outline-success { - border: 1px solid #5dd099; - background-color: transparent; - color: #5dd099; + border: 1px solid #5dd099; + background-color: transparent; + color: #5dd099; } .badge.badge-outline-danger { - border: 1px solid #f96e5b; - background-color: transparent; - color: #f96e5b; + border: 1px solid #f96e5b; + background-color: transparent; + color: #f96e5b; } .badge.badge-outline-primary { - border: 1px solid #605daf; - background-color: transparent; - color: #605daf; + border: 1px solid #605daf; + background-color: transparent; + color: #605daf; } .badge.badge-outline-warning { - border: 1px solid #f8c955; - background-color: transparent; - color: #f8c955; + border: 1px solid #f8c955; + background-color: transparent; + color: #f8c955; } .badge.badge-outline-info { - border: 1px solid #33cdff; - background-color: transparent; - color: #33cdff; + border: 1px solid #33cdff; + background-color: transparent; + color: #33cdff; } .badge.badge-outline-pink { - border: 1px solid #f5468e; - background-color: transparent; - color: #f5468e; + border: 1px solid #f5468e; + background-color: transparent; + color: #f5468e; } .badge.badge-outline-purple { - border: 1px solid #775fd5; - background-color: transparent; - color: #775fd5; + border: 1px solid #775fd5; + background-color: transparent; + color: #775fd5; } .badge.badge-outline-secondary { - border: 1px solid #aaaece; - background-color: transparent; - color: #aaaece; + border: 1px solid #aaaece; + background-color: transparent; + color: #aaaece; } .badge.badge-outline-dark { - border: 1px solid #2d3b48; - background-color: transparent; - color: #2d3b48; + border: 1px solid #2d3b48; + background-color: transparent; + color: #2d3b48; +} +/*# sourceMappingURL=style.css.map */ + +/* Modifica del colore della topbar con una sfumatura verso il bianco puro */ +.navbar-custom { + background-image: linear-gradient(to right, #1e3a8a, #ffffff); + background-color: transparent; +} +/* Allinea il colore della topbar laterale con il colore iniziale della sfumatura */ +.topbar-left .bg-logo { + background-color: #1e3a8a; +} + +.topbar .topbar-left { + background-color: #1e3a8a; +} + +/* Opzionale: migliora il contrasto del testo del logo */ +.logo { + color: #ffffff !important; +} + +/* navbar + +/* Stile per la sidebar */ +.left.side-menu { + background-color: #f5f5f7; /* Colore di sfondo chiaro come nello screenshot */ +} + +/* Stile per i titoli delle sezioni */ +.menu-title { + color: #2d3b48; /* Colore scuro per i titoli */ + font-size: 14px; + font-weight: 600; + text-transform: uppercase; + padding: 15px 20px; + margin: 0; +} + +/* Stile per i pulsanti della sidebar */ +.sidebar-btn { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + width: 100%; + padding: 15px 10px; + background-color: transparent; + border: none; + text-align: center; + color: #2d3b48; /* Colore del testo */ + font-size: 12px; + font-weight: 500; + transition: background-color 0.3s ease; + text-decoration: none; /* Rimuove il sottolineato dai link */ +} + +.sidebar-btn-icon { + margin-bottom: 8px; +} + +.sidebar-btn-icon i { + font-size: 24px; /* Icona più grande */ + color: #2d3b48; /* Colore delle icone */ +} + +.sidebar-btn span { + display: block; + line-height: 1.2; +} + +/* Stile per il pulsante attivo (es. "I miei immobili") */ +.sidebar-btn.active, +.sidebar-btn:hover { + background-color: #e0e7ff; /* Colore di sfondo chiaro per il pulsante attivo o hover */ + color: #1e3a8a; /* Colore del testo attivo */ +} + +.sidebar-btn.active .sidebar-btn-icon i, +.sidebar-btn:hover .sidebar-btn-icon i { + color: #1e3a8a; /* Colore dell'icona attiva */ +} + +/* Rimuovi eventuali effetti di default */ +.sidebar-btn:focus, +.sidebar-btn:active { + outline: none; + box-shadow: none; +} + +/* Aggiusta il padding della lista */ +#sidebar-menu ul li { + padding: 5px 10px; +} +.sidebar-btn .fas.fa-tachometer-alt { + color: #dc3545; /* Rosso per Dashboard */ +} +.sidebar-btn .fas.fa-home { + color: #007bff; /* Blu per I miei immobili */ +} +.sidebar-btn .fas.fa-users { + color: #28a745; /* Verde per Persone/Società */ +} +.sidebar-btn .fas.fa-share-alt { + color: #17a2b8; /* Ciano per Immobili Condivisi */ +} +.sidebar-btn .fas.fa-cogs { + color: #dc3545; /* Rosso per Admin Page */ +} +.sidebar-btn .fas.fa-folder { + color: #6c757d; /* Grigio per Template */ +} + +/* Sovrascrivi il colore per il pulsante attivo o hover */ +.sidebar-btn.active .sidebar-btn-icon i, +.sidebar-btn:hover .sidebar-btn-icon i { + color: #1e3a8a; +} +/* Restringi la larghezza della sidebar */ +.left.side-menu { + width: 120px !important; /* Nuova larghezza */ +} + +/* Restringi la larghezza della sezione del logo */ +.topbar .topbar-left { + width: 120px !important; /* Nuova larghezza */ +} +/* Adatta il logo */ +.topbar-left .bg-logo { + padding: 15px 0; +} + +.topbar-left .logo { + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; +} + +.topbar-left .logo img { + height: 40px; + margin-bottom: 5px; +} + +.topbar-left .logo span { + display: block; + font-size: 14px; + line-height: 1.2; + text-align: center; +} + +/* Adatta i titoli delle sezioni */ +.menu-title { + font-size: 12px; + padding: 15px 10px; + text-align: center; +} + +/* Adatta i pulsanti */ +.sidebar-btn { + padding: 10px 5px; +} + +.sidebar-btn-icon i { + font-size: 24px; +} + +.sidebar-btn span { + font-size: 11px; + line-height: 1.2; + max-width: 100px; /* Limita la larghezza del testo */ + text-align: center; + word-wrap: break-word; /* Permette al testo di andare a capo */ +} + +/* Adatta il padding della lista */ +#sidebar-menu ul li { + padding: 5px 5px; +} +/* Adatta il margine del contenuto principale */ +.content-page { + margin-left: 120px !important; /* Nuova larghezza della sidebar */ +} + +/* Adatta il margine per la topbar */ +.navbar-custom { + margin-left: 150px !important; /* Nuova larghezza della sidebar */ +} +@media (max-width: 767px) { + .left.side-menu { + width: 250px !important; /* Mantieni la larghezza anche su mobile */ + } + .content-page { + margin-left: 0 !important; /* Rimuovi il margine su mobile quando la sidebar è nascosta */ + } + .navbar-custom { + margin-left: 0 !important; /* Rimuovi il margine su mobile */ + } +} +/* Rimuovi i margini e fai occupare tutta la larghezza */ +.topbar { + position: fixed; + top: 0; + left: 0; + right: 0; + z-index: 1000; +} + +.navbar-custom { + margin: 0 !important; /* Rimuovi tutti i margini */ + padding: 0 20px; /* Aggiungi padding laterale per il contenuto */ + width: 100% !important; + background-image: linear-gradient( + to right, + #1e3a8a, + #ffffff + ); /* Mantieni la sfumatura */ + -webkit-box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.2); + box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.2); +} + +/* Rimuovi il contenitore topbar-left */ +.topbar .topbar-left { + display: none !important; /* Non serve più, il logo è nella topbar */ } -/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/public/userportal/assets/js/select2.min.js b/public/userportal/assets/js/select2.min.js new file mode 100644 index 0000000..cc9a83f --- /dev/null +++ b/public/userportal/assets/js/select2.min.js @@ -0,0 +1,2 @@ +/*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */ +!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t),t}:n(jQuery)}(function(t){var e,n,s,p,r,o,h,f,g,m,y,v,i,a,_,s=((u=t&&t.fn&&t.fn.select2&&t.fn.select2.amd?t.fn.select2.amd:u)&&u.requirejs||(u?n=u:u={},g={},m={},y={},v={},i=Object.prototype.hasOwnProperty,a=[].slice,_=/\.js$/,h=function(e,t){var n,s,i=c(e),r=i[0],t=t[1];return e=i[1],r&&(n=x(r=l(r,t))),r?e=n&&n.normalize?n.normalize(e,(s=t,function(e){return l(e,s)})):l(e,t):(r=(i=c(e=l(e,t)))[0],e=i[1],r&&(n=x(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:n}},f={require:function(e){return w(e)},exports:function(e){var t=g[e];return void 0!==t?t:g[e]={}},module:function(e){return{id:e,uri:"",exports:g[e],config:(t=e,function(){return y&&y.config&&y.config[t]||{}})};var t}},r=function(e,t,n,s){var i,r,o,a,l,c=[],u=typeof n,d=A(s=s||e);if("undefined"==u||"function"==u){for(t=!t.length&&n.length?["require","exports","module"]:t,a=0;a":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},s.__cache={};var n=0;return s.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null!=t||(t=e.id?"select2-data-"+e.id:"select2-data-"+(++n).toString()+"-"+s.generateChars(4),e.setAttribute("data-select2-id",t)),t},s.StoreData=function(e,t,n){e=s.GetUniqueElementId(e);s.__cache[e]||(s.__cache[e]={}),s.__cache[e][t]=n},s.GetData=function(e,t){var n=s.GetUniqueElementId(e);return t?s.__cache[n]&&null!=s.__cache[n][t]?s.__cache[n][t]:r(e).data(t):s.__cache[n]},s.RemoveData=function(e){var t=s.GetUniqueElementId(e);null!=s.__cache[t]&&delete s.__cache[t],e.removeAttribute("data-select2-id")},s.copyNonInternalCssClasses=function(e,t){var n=(n=e.getAttribute("class").trim().split(/\s+/)).filter(function(e){return 0===e.indexOf("select2-")}),t=(t=t.getAttribute("class").trim().split(/\s+/)).filter(function(e){return 0!==e.indexOf("select2-")}),t=n.concat(t);e.setAttribute("class",t.join(" "))},s}),u.define("select2/results",["jquery","./utils"],function(d,p){function s(e,t,n){this.$element=e,this.data=n,this.options=t,s.__super__.constructor.call(this)}return p.Extend(s,p.Observable),s.prototype.render=function(){var e=d('
      ');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e},s.prototype.clear=function(){this.$results.empty()},s.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=d(''),s=this.options.get("translations").get(e.message);n.append(t(s(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},s.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},s.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n",{class:"select2-results__options select2-results__options--nested",role:"none"});i.append(l),o.append(a),o.append(i)}else this.template(e,t);return p.StoreData(t,"data",e),t},s.prototype.bind=function(t,e){var i=this,n=t.id+"-results";this.$results.attr("id",n),t.on("results:all",function(e){i.clear(),i.append(e.data),t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on("results:append",function(e){i.append(e.data),t.isOpen()&&i.setClasses()}),t.on("query",function(e){i.hideMessages(),i.showLoading(e)}),t.on("select",function(){t.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),t.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),t.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e,t=i.getHighlightedResults();0!==t.length&&(e=p.GetData(t[0],"data"),t.hasClass("select2-results__option--selected")?i.trigger("close",{}):i.trigger("select",{data:e}))}),t.on("results:previous",function(){var e,t=i.getHighlightedResults(),n=i.$results.find(".select2-results__option--selectable"),s=n.index(t);s<=0||(e=s-1,0===t.length&&(e=0),(s=n.eq(e)).trigger("mouseenter"),t=i.$results.offset().top,n=s.offset().top,s=i.$results.scrollTop()+(n-t),0===e?i.$results.scrollTop(0):n-t<0&&i.$results.scrollTop(s))}),t.on("results:next",function(){var e,t=i.getHighlightedResults(),n=i.$results.find(".select2-results__option--selectable"),s=n.index(t)+1;s>=n.length||((e=n.eq(s)).trigger("mouseenter"),t=i.$results.offset().top+i.$results.outerHeight(!1),n=e.offset().top+e.outerHeight(!1),e=i.$results.scrollTop()+n-t,0===s?i.$results.scrollTop(0):tthis.$results.outerHeight()||s<0)&&this.$results.scrollTop(n))},s.prototype.template=function(e,t){var n=this.options.get("templateResult"),s=this.options.get("escapeMarkup"),e=n(e,t);null==e?t.style.display="none":"string"==typeof e?t.innerHTML=s(e):d(t).append(e)},s}),u.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),u.define("select2/selection/base",["jquery","../utils","../keys"],function(n,s,i){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return s.Extend(r,s.Observable),r.prototype.render=function(){var e=n('');return this._tabindex=0,null!=s.GetData(this.$element[0],"old-tabindex")?this._tabindex=s.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),e.attr("aria-disabled","false"),this.$selection=e},r.prototype.bind=function(e,t){var n=this,s=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){n.trigger("focus",e)}),this.$selection.on("blur",function(e){n._handleBlur(e)}),this.$selection.on("keydown",function(e){n.trigger("keypress",e),e.which===i.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){n.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){n.update(e.data)}),e.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",s),n._attachCloseHandler(e)}),e.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.trigger("focus"),n._detachCloseHandler(e)}),e.on("enable",function(){n.$selection.attr("tabindex",n._tabindex),n.$selection.attr("aria-disabled","false")}),e.on("disable",function(){n.$selection.attr("tabindex","-1"),n.$selection.attr("aria-disabled","true")})},r.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)},1)},r.prototype._attachCloseHandler=function(e){n(document.body).on("mousedown.select2."+e.id,function(e){var t=n(e.target).closest(".select2");n(".select2.select2-container--open").each(function(){this!=t[0]&&s.GetData(this,"element").select2("close")})})},r.prototype._detachCloseHandler=function(e){n(document.body).off("mousedown.select2."+e.id)},r.prototype.position=function(e,t){t.find(".selection").append(e)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r}),u.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,s){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e[0].classList.add("select2-selection--single"),e.html(''),e},i.prototype.bind=function(t,e){var n=this;i.__super__.bind.apply(this,arguments);var s=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",s).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",s),this.$selection.attr("aria-controls",s),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},i.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},i.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},i.prototype.selectionContainer=function(){return e("")},i.prototype.update=function(e){var t,n;0!==e.length?(n=e[0],t=this.$selection.find(".select2-selection__rendered"),e=this.display(n,t),t.empty().append(e),(n=n.title||n.text)?t.attr("title",n):t.removeAttr("title")):this.clear()},i}),u.define("select2/selection/multiple",["jquery","./base","../utils"],function(i,e,c){function r(e,t){r.__super__.constructor.apply(this,arguments)}return c.Extend(r,e),r.prototype.render=function(){var e=r.__super__.render.call(this);return e[0].classList.add("select2-selection--multiple"),e.html('
        '),e},r.prototype.bind=function(e,t){var n=this;r.__super__.bind.apply(this,arguments);var s=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",s),this.$selection.on("click",function(e){n.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){var t;n.isDisabled()||(t=i(this).parent(),t=c.GetData(t[0],"data"),n.trigger("unselect",{originalEvent:e,data:t}))}),this.$selection.on("keydown",".select2-selection__choice__remove",function(e){n.isDisabled()||e.stopPropagation()})},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return i('
      • ')},r.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=this.$selection.find(".select2-selection__rendered").attr("id")+"-choice-",s=0;s')).attr("title",s()),e.attr("aria-label",s()),e.attr("aria-describedby",n),a.StoreData(e[0],"data",t),this.$selection.prepend(e),this.$selection[0].classList.add("select2-selection--clearable"))},e}),u.define("select2/selection/search",["jquery","../utils","../keys"],function(s,a,l){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=this.options.get("translations").get("search"),n=s('');this.$searchContainer=n,this.$search=n.find("textarea"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",t());e=e.call(this);return this._transferTabIndex(),e.append(this.$searchContainer),e},e.prototype.bind=function(e,t,n){var s=this,i=t.id+"-results",r=t.id+"-container";e.call(this,t,n),s.$search.attr("aria-describedby",r),t.on("open",function(){s.$search.attr("aria-controls",i),s.$search.trigger("focus")}),t.on("close",function(){s.$search.val(""),s.resizeSearch(),s.$search.removeAttr("aria-controls"),s.$search.removeAttr("aria-activedescendant"),s.$search.trigger("focus")}),t.on("enable",function(){s.$search.prop("disabled",!1),s._transferTabIndex()}),t.on("disable",function(){s.$search.prop("disabled",!0)}),t.on("focus",function(e){s.$search.trigger("focus")}),t.on("results:focus",function(e){e.data._resultId?s.$search.attr("aria-activedescendant",e.data._resultId):s.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(e){s.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){s._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){var t;e.stopPropagation(),s.trigger("keypress",e),s._keyUpPrevented=e.isDefaultPrevented(),e.which!==l.BACKSPACE||""!==s.$search.val()||0<(t=s.$selection.find(".select2-selection__choice").last()).length&&(t=a.GetData(t[0],"data"),s.searchRemoveChoice(t),e.preventDefault())}),this.$selection.on("click",".select2-search--inline",function(e){s.$search.val()&&e.stopPropagation()});var t=document.documentMode,o=t&&t<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){o?s.$selection.off("input.search input.searchcheck"):s.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){var t;o&&"input"===e.type?s.$selection.off("input.search input.searchcheck"):(t=e.which)!=l.SHIFT&&t!=l.CTRL&&t!=l.ALT&&t!=l.TAB&&s.handleSearch(e)})},e.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},e.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.resizeSearch(),n&&this.$search.trigger("focus")},e.prototype.handleSearch=function(){var e;this.resizeSearch(),this._keyUpPrevented||(e=this.$search.val(),this.trigger("query",{term:e})),this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="100%";""===this.$search.attr("placeholder")&&(e=.75*(this.$search.val().length+1)+"em"),this.$search.css("width",e)},e}),u.define("select2/selection/selectionCss",["../utils"],function(n){function e(){}return e.prototype.render=function(e){var t=e.call(this),e=this.options.get("selectionCssClass")||"";return-1!==e.indexOf(":all:")&&(e=e.replace(":all:",""),n.copyNonInternalCssClasses(t[0],this.$element[0])),t.addClass(e),t},e}),u.define("select2/selection/eventRelay",["jquery"],function(o){function e(){}return e.prototype.bind=function(e,t,n){var s=this,i=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],r=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",function(e,t){var n;-1!==i.indexOf(e)&&(t=t||{},n=o.Event("select2:"+e,{params:t}),s.$element.trigger(n),-1!==r.indexOf(e)&&(t.prevented=n.isDefaultPrevented()))})},e}),u.define("select2/translation",["jquery","require"],function(t,n){function s(e){this.dict=e||{}}return s.prototype.all=function(){return this.dict},s.prototype.get=function(e){return this.dict[e]},s.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},s._cache={},s.loadPath=function(e){var t;return e in s._cache||(t=n(e),s._cache[e]=t),new s(s._cache[e])},s}),u.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),u.define("select2/data/base",["../utils"],function(n){function s(e,t){s.__super__.constructor.call(this)}return n.Extend(s,n.Observable),s.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},s.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},s.prototype.bind=function(e,t){},s.prototype.destroy=function(){},s.prototype.generateResultId=function(e,t){e=e.id+"-result-";return e+=n.generateChars(4),null!=t.id?e+="-"+t.id.toString():e+="-"+n.generateChars(4),e},s}),u.define("select2/data/select",["./base","../utils","jquery"],function(e,a,l){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return a.Extend(n,e),n.prototype.current=function(e){var t=this;e(Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),function(e){return t.item(l(e))}))},n.prototype.select=function(i){var e,r=this;if(i.selected=!0,null!=i.element&&"option"===i.element.tagName.toLowerCase())return i.element.selected=!0,void this.$element.trigger("input").trigger("change");this.$element.prop("multiple")?this.current(function(e){var t=[];(i=[i]).push.apply(i,e);for(var n=0;nthis.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),u.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("select",function(){s._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var s=this;this._checkIfMaximumSelected(function(){e.call(s,t,n)})},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current(function(e){e=null!=e?e.length:0;0=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t&&t()})},e}),u.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),u.define("select2/dropdown/search",["jquery"],function(r){function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("translations").get("search"),e=r('');return this.$searchContainer=e,this.$search=e.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",n()),t.prepend(e),t},e.prototype.bind=function(e,t,n){var s=this,i=t.id+"-results";e.call(this,t,n),this.$search.on("keydown",function(e){s.trigger("keypress",e),s._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(e){r(this).off("keyup")}),this.$search.on("keyup input",function(e){s.handleSearch(e)}),t.on("open",function(){s.$search.attr("tabindex",0),s.$search.attr("aria-controls",i),s.$search.trigger("focus"),window.setTimeout(function(){s.$search.trigger("focus")},0)}),t.on("close",function(){s.$search.attr("tabindex",-1),s.$search.removeAttr("aria-controls"),s.$search.removeAttr("aria-activedescendant"),s.$search.val(""),s.$search.trigger("blur")}),t.on("focus",function(){t.isOpen()||s.$search.trigger("focus")}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(s.showSearch(e)?s.$searchContainer[0].classList.remove("select2-search--hide"):s.$searchContainer[0].classList.add("select2-search--hide"))}),t.on("results:focus",function(e){e.data._resultId?s.$search.attr("aria-activedescendant",e.data._resultId):s.$search.removeAttr("aria-activedescendant")})},e.prototype.handleSearch=function(e){var t;this._keyUpPrevented||(t=this.$search.val(),this.trigger("query",{term:t})),this._keyUpPrevented=!1},e.prototype.showSearch=function(e,t){return!0},e}),u.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,s){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,s)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return t="string"==typeof t?{id:"",text:t}:t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),s=t.length-1;0<=s;s--){var i=t[s];this.placeholder.id===i.id&&n.splice(s,1)}return n},e}),u.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function e(e,t,n,s){this.lastParams={},e.call(this,t,n,s),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("query",function(e){s.lastParams=e,s.loading=!0}),t.on("query:append",function(e){s.lastParams=e,s.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=n.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&(e=this.$results.offset().top+this.$results.outerHeight(!1),this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=e+50&&this.loadMore())},e.prototype.loadMore=function(){this.loading=!0;var e=n.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=n('
      • '),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),u.define("select2/dropdown/attachBody",["jquery","../utils"],function(u,o){function e(e,t,n){this.$dropdownParent=u(n.get("dropdownParent")||document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("open",function(){s._showDropdown(),s._attachPositioningHandler(t),s._bindContainerResultHandlers(t)}),t.on("close",function(){s._hideDropdown(),s._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t[0].classList.remove("select2"),t[0].classList.add("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=u(""),e=e.call(this);return t.append(e),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlers=function(e,t){var n;this._containerResultsHandlersBound||(n=this,t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0)},e.prototype._attachPositioningHandler=function(e,t){var n=this,s="scroll.select2."+t.id,i="resize.select2."+t.id,r="orientationchange.select2."+t.id,t=this.$container.parents().filter(o.hasScroll);t.each(function(){o.StoreData(this,"select2-scroll-position",{x:u(this).scrollLeft(),y:u(this).scrollTop()})}),t.on(s,function(e){var t=o.GetData(this,"select2-scroll-position");u(this).scrollTop(t.y)}),u(window).on(s+" "+i+" "+r,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n="scroll.select2."+t.id,s="resize.select2."+t.id,t="orientationchange.select2."+t.id;this.$container.parents().filter(o.hasScroll).off(n),u(window).off(n+" "+s+" "+t)},e.prototype._positionDropdown=function(){var e=u(window),t=this.$dropdown[0].classList.contains("select2-dropdown--above"),n=this.$dropdown[0].classList.contains("select2-dropdown--below"),s=null,i=this.$container.offset();i.bottom=i.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=i.top,r.bottom=i.top+r.height;var o=this.$dropdown.outerHeight(!1),a=e.scrollTop(),l=e.scrollTop()+e.height(),c=ai.bottom+o,a={left:i.left,top:r.bottom},l=this.$dropdownParent;"static"===l.css("position")&&(l=l.offsetParent());i={top:0,left:0};(u.contains(document.body,l[0])||l[0].isConnected)&&(i=l.offset()),a.top-=i.top,a.left-=i.left,t||n||(s="below"),e||!c||t?!c&&e&&t&&(s="below"):s="above",("above"==s||t&&"below"!==s)&&(a.top=r.top-i.top-o),null!=s&&(this.$dropdown[0].classList.remove("select2-dropdown--below"),this.$dropdown[0].classList.remove("select2-dropdown--above"),this.$dropdown[0].classList.add("select2-dropdown--"+s),this.$container[0].classList.remove("select2-container--below"),this.$container[0].classList.remove("select2-container--above"),this.$container[0].classList.add("select2-container--"+s)),this.$dropdownContainer.css(a)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),u.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,s){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,s)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,s=0;s');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),r.StoreData(e[0],"element",this.$element),e},o}),u.define("jquery-mousewheel",["jquery"],function(e){return e}),u.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(i,e,r,t,o){var a;return null==i.fn.select2&&(a=["open","close","destroy"],i.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=i.extend(!0,{},t);new r(i(this),e)}),this;if("string"!=typeof t)throw new Error("Invalid arguments for Select2: "+t);var n,s=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=o.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,s)}),-1load(); + + $host = $_ENV['DB_HOST']; + $db = $_ENV['DB_DATABASE']; + $user = $_ENV['DB_USERNAME']; + $pass = $_ENV['DB_PASSWORD']; + $charset = 'utf8mb4'; + + $dsn = "mysql:host=$host;dbname=$db;charset=$charset"; + $options = [ + PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, + PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, + PDO::ATTR_EMULATE_PREPARES => false, + ]; + + try { + $this->pdo = new PDO($dsn, $user, $pass, $options); + } catch (PDOException $e) { + die("Database connection failed: " . $e->getMessage()); + } + } + + public static function getInstance() + { + if (self::$instance === null) { + self::$instance = new DBHandlerSelect(); + } + return self::$instance; + } + + public function getConnection() + { + return $this->pdo; + } +} diff --git a/public/userportal/class/mailer.php b/public/userportal/class/mailer.php new file mode 100644 index 0000000..851e4cf --- /dev/null +++ b/public/userportal/class/mailer.php @@ -0,0 +1,61 @@ +load(); + +function sendEmail($to, $subject, $body, $attachments = [], $cc = [], $bcc = []) +{ + // Configurazione SMTP + $mail = new PHPMailer(true); + try { + // Configurazione server SMTP con dati da .env + $mail->isSMTP(); + $mail->Host = $_ENV['MAIL_HOST'] ?? 'smtp.example.com'; + $mail->SMTPAuth = true; + $mail->Username = $_ENV['MAIL_USERNAME'] ?? 'email@example.com'; + $mail->Password = $_ENV['MAIL_PASSWORD'] ?? 'password'; + $mail->SMTPSecure = $_ENV['MAIL_ENCRYPTION'] ?? PHPMailer::ENCRYPTION_STARTTLS; + $mail->Port = $_ENV['MAIL_PORT'] ?? 587; + + // Mittente + $mail->setFrom($_ENV['MAIL_FROM_ADDRESS'] ?? 'default@example.com', $_ENV['MAIL_FROM_NAME'] ?? 'Default Name'); + + // Destinatari principali + foreach ((array)$to as $recipient) { + $mail->addAddress($recipient); + } + + // Destinatari CC + foreach ((array)$cc as $recipient) { + $mail->addCC($recipient); + } + + // Destinatari BCC + foreach ((array)$bcc as $recipient) { + $mail->addBCC($recipient); + } + + // Allegati + foreach ((array)$attachments as $file) { + $mail->addAttachment($file); + } + + // Contenuto dell'email + $mail->isHTML(true); + $mail->Subject = $subject; + $mail->Body = $body; + + // Invia l'email + $mail->send(); + return ['success' => true, 'message' => 'Email inviata con successo.']; + } catch (Exception $e) { + return ['success' => false, 'message' => "Errore nell'invio dell'email: {$mail->ErrorInfo}"]; + } +} diff --git a/public/userportal/get-available-owners.php b/public/userportal/get-available-owners.php index 8d59c98..1da42f2 100644 --- a/public/userportal/get-available-owners.php +++ b/public/userportal/get-available-owners.php @@ -1,40 +1,96 @@ connect_error) { - die("Errore di connessione: " . $conn->connect_error); +// Inizializza la connessione al database +try { + $dbHandler = DBHandlerSelect::getInstance(); + $pdo = $dbHandler->getConnection(); +} catch (Exception $e) { + echo ''; + error_log("Errore connessione database in get-available-owners.php: " . $e->getMessage()); + exit(); } +// Recupera l'ID dell'immobile e l'ID dell'utente +$iduserlogin = isset($_GET['iduser']) ? intval($_GET['iduser']) : 0; $idhome = isset($_GET['idhome']) ? intval($_GET['idhome']) : 0; -// Recupera tutti i proprietari disponibili per l'assegnazione -$queryAvailableOwners = $conn->prepare(" - SELECT owner_id, first_name, last_name, company_name, tax_code - FROM property_owners - WHERE user_id = ? - AND owner_id NOT IN ( - SELECT owner_id FROM home_owners WHERE home_id = ? - ) -"); -$queryAvailableOwners->bind_param('ii', $iduserlogin, $idhome); -$queryAvailableOwners->execute(); -$resultAvailableOwners = $queryAvailableOwners->get_result(); +// Debug: logga i valori di $iduserlogin e $idhome +error_log("Valori iniziali - idhome: $idhome, iduserlogin: $iduserlogin"); -// Genera il nuovo dropdown -echo ''; + error_log("Parametri non validi in get-available-owners.php: idhome=$idhome, iduserlogin=$iduserlogin"); + exit(); } -echo ''; -$conn->close(); +// Debug: verifica il numero di proprietari associati all'immobile +try { + $stmt = $pdo->prepare("SELECT owner_id FROM home_owners WHERE home_id = ?"); + $stmt->execute([$idhome]); + $associatedOwners = $stmt->fetchAll(PDO::FETCH_COLUMN, 0); + error_log("Proprietari associati all'immobile (idhome=$idhome): " . json_encode($associatedOwners)); +} catch (Exception $e) { + error_log("Errore query associati in get-available-owners.php: " . $e->getMessage()); + $associatedOwners = []; +} + +// Debug: verifica tutti i proprietari dell'utente +try { + $stmt = $pdo->prepare("SELECT owner_id, first_name, last_name FROM property_owners WHERE user_id = ?"); + $stmt->execute([$iduserlogin]); + $allOwners = $stmt->fetchAll(PDO::FETCH_ASSOC); + error_log("Tutti i proprietari dell'utente (iduser=$iduserlogin): " . json_encode($allOwners)); +} catch (Exception $e) { + error_log("Errore query tutti i proprietari in get-available-owners.php: " . $e->getMessage()); + $allOwners = []; +} + +// Recupera i proprietari disponibili +try { + $stmt = $pdo->prepare(" + SELECT + po.owner_id, + po.first_name, + po.last_name, + po.company_name, + po.tax_code + FROM + property_owners po + LEFT JOIN + home_owners ho ON po.owner_id = ho.owner_id AND ho.home_id = ? + WHERE + po.user_id = ? + AND ho.owner_id IS NULL + "); + $stmt->execute([$idhome, $iduserlogin]); + $availableOwners = $stmt->fetchAll(PDO::FETCH_ASSOC); + error_log("Proprietari disponibili per idhome=$idhome e iduser=$iduserlogin: " . json_encode($availableOwners)); +} catch (Exception $e) { + echo ''; + error_log("Errore query in get-available-owners.php: " . $e->getMessage()); + exit(); +} + +?> + \ No newline at end of file diff --git a/public/userportal/get-owners.php b/public/userportal/get-owners.php index f0240b3..4ade4e4 100644 --- a/public/userportal/get-owners.php +++ b/public/userportal/get-owners.php @@ -1,14 +1,22 @@ connect_error) { - die("Errore di connessione: " . $conn->connect_error); -} +require_once 'class/db-functions.php'; +// Inizializza la connessione al database +$dbHandler = DBHandlerSelect::getInstance(); +$pdo = $dbHandler->getConnection(); + +// Recupera l'ID dell'immobile $idhome = isset($_GET['idhome']) ? intval($_GET['idhome']) : 0; -$queryOwners = $conn->prepare(" +if ($idhome <= 0) { + echo '

        Errore: ID immobile non valido.

        '; + exit(); +} + +// Recupera i proprietari associati all'immobile +$stmt = $pdo->prepare(" SELECT po.owner_id, po.first_name, @@ -25,13 +33,12 @@ $queryOwners = $conn->prepare(" WHERE ho.home_id = ? "); -$queryOwners->bind_param('i', $idhome); -$queryOwners->execute(); -$resultOwners = $queryOwners->get_result(); +$stmt->execute([$idhome]); +$owners = $stmt->fetchAll(PDO::FETCH_ASSOC); -$totalPercentage = 0; - -echo ' +if (!empty($owners)) { +?> +
        @@ -41,32 +48,35 @@ echo '
        Nome
        - '; - -while ($owner = $resultOwners->fetch_assoc()) { - $totalPercentage += $owner['ownership_percentage']; - echo " - - - - - - "; + + + + + + + + "; + } + ?> + + + + + + + + +
        Azioni
        " . htmlspecialchars($owner['first_name'] . ' ' . $owner['last_name']) . "" . htmlspecialchars($owner['tax_code']) . "" . htmlspecialchars($owner['ownership_percentage']) . "" . htmlspecialchars($owner['notes']) . " - -
        " . htmlspecialchars($owner['first_name'] . ' ' . $owner['last_name']) . "" . htmlspecialchars($owner['tax_code']) . "" . htmlspecialchars($owner['ownership_percentage']) . "" . htmlspecialchars($owner['notes']) . " + +
        Totale % Proprietà:%
        +Nessun proprietario associato.

        '; } - -echo ' - - - Totale % Proprietà: - ' . $totalPercentage . '% - - - - '; - -$queryOwners->close(); -$conn->close(); +?> \ No newline at end of file diff --git a/public/userportal/homes-list.php b/public/userportal/homes-list.php index f33bc28..67a9759 100644 --- a/public/userportal/homes-list.php +++ b/public/userportal/homes-list.php @@ -264,6 +264,39 @@ $result = $stmt->get_result(); .box-home:hover .action-menu { opacity: 1; } + + /* Stile per il nuovo banner */ + .header-banner { + position: relative; + background-size: cover; + background-position: center; + border-radius: 10px; + height: 150px; + /* Altezza del banner */ + overflow: hidden; + } + + .header-banner-overlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient(to right, rgba(30, 58, 138, 0.8), rgba(255, 255, 255, 0.2)); + /* Gradiente sovrapposto */ + padding: 20px; + display: flex; + align-items: center; + } + + .header-banner-title { + color: #ffffff; + font-size: 28px; + font-weight: 700; + text-transform: uppercase; + letter-spacing: 0.03em; + margin: 0; + } @@ -290,10 +323,22 @@ $result = $stmt->get_result(); + + +
        +
        +
        +
        +

        Immobili

        +
        +
        +
        +
        +
        - Aggiungi Casa/Terreno + Aggiungi Nuovo
        - - @@ -394,10 +415,21 @@ $result = $stmt->get_result(); + +
        +
        +
        +
        +

        Immobili

        +
        +
        +
        +
        +
        - Aggiungi Casa/Terreno + Aggiungi Nuovo
        - -