@import url(../js/lib/jcrop/css/jquery.Jcrop.css);.mg-clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}.icon-mgresource .x-tree-node-icon{background-image:url("../img/picture.png") !important}#modx-resource-tree-tbar .tree-new-gallery button{background-image:url("../img/picture.png") !important}.moregallery_v23 #modx-resource-tree-tbar .tree-new-gallery button{background-image:none !important}.moregallery_v23 #modx-resource-tree-tbar .tree-new-gallery button:before{content:"\f03e";display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;line-height:1}#moregallery-content{margin-top:10px}#moregallery-content .redactor_toolbar,#moregallery-content .redactor-toolbar{overflow:hidden}#moregallery-content .redactor_toolbar:after,#moregallery-content .redactor-toolbar:after{display:none}#moregallery-content .redactor-toolbar li a{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}#moregallery-content .mceEditor,#moregallery-content .mceEditor *{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}#moregallery-content .mceEditor .mceLayout,#moregallery-content .mceEditor * .mceLayout{width:100% !important}#moregallery-content .mceEditor .mceToolbar td,#moregallery-content .mceEditor * .mceToolbar td{float:left}#moregallery-content .x-panel-body .main-wrapper{border:none;padding-right:0}#mgresource-backbone-wrapper{margin:20px 0;border:none;-webkit-box-shadow:0 0 5px 0 rgba(0,0,0,0.1);box-shadow:0 0 5px 0 rgba(0,0,0,0.1);-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#mgresource-backbone-wrapper .x-panel-header{padding:15px}#mgresource-backbone-wrapper .x-panel-bwrap{border:none}.fixed-toolbar{padding-top:45px}.mgresource-toolbar{width:100%;padding:0 15px 1em 0}.fixed-toolbar .mgresource-toolbar{position:fixed;width:auto;z-index:2;top:57px;margin-left:-15px;border:none;-webkit-box-shadow:0 0 5px 0 rgba(0,0,0,0.1);box-shadow:0 0 5px 0 rgba(0,0,0,0.1);-moz-border-radius:0 0 5px 0;-webkit-border-radius:0 0 5px 0;border-radius:0 0 5px 0;background-color:rgba(230,230,230,0.7);padding:5px 7px 5px 14px}.mgresource-toolbar.mgresource-bulk-toolbar{position:fixed;z-index:2;transition:bottom 1s;bottom:-70px;width:auto;top:auto;left:50%;transform:translateX(-50%);margin:0;-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0;box-shadow:0 0 5px 2px #3697cd;background-color:#f3f3f3;padding:1em 0.5em 0.5em 1em}.mgresource-toolbar.mgresource-bulk-toolbar.show{bottom:0}.mgresource-toolbar.mgresource-bulk-toolbar .toolbar-text{padding-top:11px}.mgresource-toolbar.mgresource-bulk-toolbar .bulk-delete:hover,.mgresource-toolbar.mgresource-bulk-toolbar .bulk-delete:focus{background-color:#AF300B;box-shadow:0 0 0 1px #AF300B}.mgresource-toolbar ul{width:100%;*zoom:1}.mgresource-toolbar ul:before,.mgresource-toolbar ul:after{content:" ";display:table}.mgresource-toolbar ul:after{clear:both}.mgresource-toolbar li{display:inline;margin:0;padding:2px 10px 2px 0;float:left}.mgresource-toolbar li button{display:inline-block;position:relative;text-decoration:none;vertical-align:middle;border-radius:3px;font:400 13px "Helvetica Neue",Helvetica,Arial,Tahoma,sans-serif;background-color:#fff;border:0;box-shadow:0 0 0 1px #e4e4e4;color:#555;padding:10px 15px}.mgresource-toolbar li button:hover{cursor:pointer}.mgresource-toolbar li button:hover,.mgresource-toolbar li button:focus{background-color:#3697cd;-webkit-box-shadow:0 0 0 1px #3697cd;box-shadow:0 0 0 1px #3697cd;color:#fff}.mgresource-toolbar li button span{line-height:16px}.mgresource-toolbar li button .icon{font-size:13px;float:left;padding-top:1px}.mgresource-toolbar li button .headline{margin-left:8px}.mgresource-toolbar li#mgresource-stats{float:right}.mgresource-toolbar li.toolbar-text{color:#333;padding-top:8px}.edit-form-buttons{width:100%;height:35%;text-align:right}.edit-form-buttons a,.edit-form-buttons button{display:inline-block;margin:5px 0 0;text-decoration:none;vertical-align:middle;border-radius:3px;font:400 13px "Helvetica Neue",Helvetica,Arial,Tahoma,sans-serif;background-color:#fff;border:0;box-shadow:none;color:#fff;padding:10px 15px;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #32ab9a), color-stop(100%, #00948e));background-image:-webkit-linear-gradient(#32ab9a,#00948e);background-image:-moz-linear-gradient(#32ab9a,#00948e);background-image:-o-linear-gradient(#32ab9a,#00948e);background-image:linear-gradient(#32ab9a,#00948e)}.edit-form-buttons a:hover,.edit-form-buttons a:focus,.edit-form-buttons button:hover,.edit-form-buttons button:focus{background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #2b9385), color-stop(100%, #007571));background-image:-webkit-linear-gradient(#2b9385,#007571);background-image:-moz-linear-gradient(#2b9385,#007571);background-image:-o-linear-gradient(#2b9385,#007571);background-image:linear-gradient(#2b9385,#007571);color:#fff;cursor:pointer}.edit-form-buttons a span,.edit-form-buttons button span{line-height:16px}.edit-form-buttons a .icon,.edit-form-buttons button .icon{font-size:13px;width:13px;float:left;padding-top:1px}.mgresource-loading{text-align:center;margin:0 auto 15px;height:50px;width:50px}#mgresource-upload-input{position:absolute;left:-9999px}.mgresource-loading,.mgresource-toolbar,.mgresource-toolbar *,#mgresource-imagelist,#mgresource-imagelist li,#mgresource-imagelist li div,#mgresource-modal,#mgresource-modal *{-o-box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#mgresource-imagelist{padding-left:2px;padding-top:3px}#mgresource-imagelist li{float:left;width:33%;padding:0 15px 15px 0;height:265px}#mgresource-imagelist li .inner{position:relative}#mgresource-imagelist li .image-wrapper{box-shadow:0 0 3px rgba(0,0,0,0.2)}#mgresource-imagelist li .image_inactive .mask{display:block !important;background-color:rgba(255,255,255,0.7) !important}@media (min-width: 1850px){#mgresource-imagelist li{width:14%}#mgresource-imagelist li:nth-child(3n){width:14%}#mgresource-imagelist li:nth-child(6n){width:16%}}@media (min-width: 1600px){#mgresource-imagelist li{width:16.5%}#mgresource-imagelist li:nth-child(3n){width:17%}}@media (max-width: 1599px){#mgresource-imagelist li{width:20%}}@media (max-width: 1300px){#mgresource-imagelist li{width:25%}}@media (max-width: 1050px){#mgresource-imagelist li{width:33%}#mgresource-imagelist li:nth-child(3n){width:34%}}@media (max-width: 850px){#mgresource-imagelist li{width:50%}#mgresource-imagelist li:nth-child(3n){width:50%}}#mgresource-imagelist li.sortable-placeholder{border:3px dotted #151515;border-radius:15px;background-color:white;padding:0 0 0 0;height:250px;box-sizing:border-box;margin:0 2% 15px 0;width:31%}@media (min-width: 1850px){#mgresource-imagelist li.sortable-placeholder{width:12%;margin-right:2%}#mgresource-imagelist li.sortable-placeholder:nth-child(3n){width:12%}#mgresource-imagelist li.sortable-placeholder:nth-child(6n){width:14%}}@media (min-width: 1600px){#mgresource-imagelist li.sortable-placeholder{width:15.5%;margin-right:1%}#mgresource-imagelist li.sortable-placeholder:nth-child(3n){width:16%}}@media (max-width: 1600px){#mgresource-imagelist li.sortable-placeholder{width:19%;margin-right:1%}}@media (max-width: 1300px){#mgresource-imagelist li.sortable-placeholder{width:23.5%;margin-right:1.5%}}@media (max-width: 1050px){#mgresource-imagelist li.sortable-placeholder{width:31%;margin-right:2%}#mgresource-imagelist li.sortable-placeholder:nth-child(3n){width:32%}}@media (max-width: 850px){#mgresource-imagelist li.sortable-placeholder{width:48%;margin-right:2%}#mgresource-imagelist li.sortable-placeholder:nth-child(3n){width:48%}}#mgresource-imagelist li .image-checkbox{position:absolute;top:1.5em;left:1.5em;z-index:1;display:none}#mgresource-imagelist li .image-checkbox:focus,#mgresource-imagelist li .image-checkbox:hover{outline:#3697cd}#mgresource-imagelist li .image-checkbox+label{position:absolute;top:0;left:0;z-index:2;display:block;width:3em;height:3em}#mgresource-imagelist li .image-checkbox+label:hover{cursor:pointer}#mgresource-imagelist li .image-checkbox+label:hover+.image-wrapper .image-actions,#mgresource-imagelist li .image-checkbox+label:focus+.image-wrapper .image-actions{display:block}#mgresource-imagelist li .image-checkbox:checked{display:block !important}#mgresource-imagelist li .image-checkbox:checked+label+.image-wrapper{box-shadow:0 0 6px 2px #3697cd}#mgresource-imagelist li .image{position:relative;height:200px;overflow:hidden;background-position:center center;background-repeat:no-repeat;background-size:cover}#mgresource-imagelist li .image .mask{display:none;position:absolute;width:100%;height:100%;background-color:rgba(255,255,255,0.5)}#mgresource-imagelist li .meta{background:#fff;-webkit-transition:background 1s linear;-moz-transition:background 1s linear;-ms-transition:background 1s linear;-o-transition:background 1s linear;transition:background 1s linear;height:50px;position:relative}#mgresource-imagelist li .meta .image-information{display:block}#mgresource-imagelist li .meta .image-actions{display:none;text-align:center;padding-left:4px;white-space:nowrap}#mgresource-imagelist li .meta .image-actions button{display:inline-block;font-size:13px;padding:10px 12px;margin:8px 5px 0 0;text-decoration:none;color:#555;border:none;border-radius:3px;background-color:#fff;box-shadow:0 0 0 1px #e4e4e4;position:relative}#mgresource-imagelist li .meta .image-actions button:before{display:none;position:absolute;top:125%;left:50%;transform:translate(-50%, 0);margin-top:5px;padding:7px;width:auto;border-radius:3px;background-color:#3697cd;color:#fff;content:attr(aria-label);text-align:center;z-index:2}#mgresource-imagelist li .meta .image-actions button:after{display:none;position:absolute;top:125%;left:50%;margin-left:-5px;width:0;border-bottom:5px solid #3697cd;border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;z-index:2}#mgresource-imagelist li .meta .image-actions button:hover,#mgresource-imagelist li .meta .image-actions button:focus{cursor:pointer;background-color:#3697cd;-webkit-box-shadow:0 0 0 1px #3697cd;box-shadow:0 0 0 1px #3697cd;color:#fff}#mgresource-imagelist li .meta .image-actions button:hover:before,#mgresource-imagelist li .meta .image-actions button:hover:after,#mgresource-imagelist li .meta .image-actions button:focus:before,#mgresource-imagelist li .meta .image-actions button:focus:after{display:block}#mgresource-imagelist li .meta .image-actions button.delete:hover,#mgresource-imagelist li .meta .image-actions button.delete:focus{background-color:#AF300B;box-shadow:0 0 0 1px #AF300B}#mgresource-imagelist li .meta .image-actions button.delete:before{background-color:#AF300B}#mgresource-imagelist li .meta .image-actions button.delete:after{border-bottom-color:#AF300B}#mgresource-imagelist li .meta .name,#mgresource-imagelist li .meta .filename{width:75%;padding-left:15px;font-family:tahoma, verdana, helvetica, sans-serif;line-height:1.4em;height:1.4em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#mgresource-imagelist li .meta .name{padding-top:8px;font-size:12px}#mgresource-imagelist li .meta .filename{font-size:10px}#mgresource-imagelist li:hover .image-wrapper,#mgresource-imagelist li:focus .image-wrapper,#mgresource-imagelist li.has-focus .image-wrapper{box-shadow:0 0 2px 1px #3697cd}#mgresource-imagelist li:hover .image-information,#mgresource-imagelist li:focus .image-information,#mgresource-imagelist li.has-focus .image-information{display:none}#mgresource-imagelist li:hover .image-actions,#mgresource-imagelist li:hover .image-checkbox,#mgresource-imagelist li:focus .image-actions,#mgresource-imagelist li:focus .image-checkbox,#mgresource-imagelist li.has-focus .image-actions,#mgresource-imagelist li.has-focus .image-checkbox{display:block}#mgresource-imagelist li .uploadprogress{display:none;height:50px;position:relative;background-color:#ccc}#mgresource-imagelist li .uploadprogress .bar{position:absolute;top:0;left:0;height:50px;background-color:#3d8e2b;z-index:1;min-width:50px}#mgresource-imagelist li .uploadprogress .filename{position:absolute;top:0;left:45px;padding:15px;z-index:2;color:#fff}#mgresource-imagelist li .uploadprogress .uploading{position:absolute;left:13px;top:12px;height:30px;width:30px;z-index:2;background:transparent url("../img/ajax-loader.gif") no-repeat}#mgresource-imagelist li .mgimage-uploading .mask,#mgresource-imagelist li .mgimage-uploading .meta{display:none !important}#mgresource-imagelist li .mgimage-uploading .meta{background:#3d8e2b}#mgresource-imagelist li .mgimage-uploading .uploadprogress{display:block}#mgresource-imagelist li .mgimage-upload-new .meta{background:#3d8e2b}#mgresource-imagelist li .image-wrapper{position:relative}#mgresource-imagelist li.mgimage-editing{color:#151515;height:265px;padding-bottom:5px}#mgresource-imagelist li.mgimage-editing .editing-wrapper{display:block;z-index:5}#mgresource-imagelist li.mgimage-editing .image-wrapper{z-index:6;height:260px}#mgresource-imagelist li.mgimage-editing .image-wrapper .meta{height:60px}.image-crop{position:relative;padding:0.5em 0}.image-crop:after{content:" ";display:block;height:0;clear:both;overflow:hidden;visibility:hidden}.image-crop label{padding-left:100px;line-height:35px}.image-crop h3{font-size:12px}.image-crop .image-crop-preview{position:absolute;top:5px;left:0;width:90px}.image-crop .image-crop-preview img{-webkit-transition:all 300ms ease-in-out;-moz-transition:all 300ms ease-in-out;-ms-transition:all 300ms ease-in-out;-o-transition:all 300ms ease-in-out;transition:all 300ms ease-in-out;max-height:40px;max-width:90px;position:relative;background-color:#fff}.image-crop .image-crop-preview img:hover,.image-crop .image-crop-preview img:focus{max-height:250px;max-width:250px;z-index:1;-moz-box-shadow:0px 0px 3px 1px rgba(0,0,0,0.4);-webkit-box-shadow:0px 0px 3px 1px rgba(0,0,0,0.4);box-shadow:0px 0px 3px 1px rgba(0,0,0,0.4)}.image-crop .image-crop-saving-spinner{width:30px;height:30px;margin:5px;float:right}.image-crop .image-crop-edit{float:right;top:0.5em;padding:9px 10px;background:#fbfbfb;border:1px #CCC solid;cursor:pointer;-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;border-radius:3px}.image-crop .image-crop-edit:hover,.image-crop .image-crop-edit:focus{background-color:#3697cd;color:#fff}.image-crop .image-crop-edit[disabled]{opacity:0.5;cursor:not-allowed}.image-crop+.image-crop{border-top:1px dotted #ccc}.mgimage-tags-holder .typeahead{background-color:#fff}.mgimage-tags-holder .twitter-typeahead{float:left}.mgimage-tags-holder .tt-query{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.mgimage-tags-holder .tt-hint{color:#999}.mgimage-tags-holder .tt-menu{margin-top:-5px;margin-left:0px;padding:0 0;background-color:#fff;border:1px solid #ccc;border-top:none;right:0 !important;-webkit-border-radius:0 0 2px 2px;-moz-border-radius:0 0 2px 2px;border-radius:0 0 2px 2px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2)}.mgimage-tags-holder .tt-suggestions{max-height:250px;overflow-x:none;overflow-y:auto}.mgimage-tags-holder .tt-suggestion{padding:7px 6px;font-size:12px;line-height:16px}.mgimage-tags-holder .tt-suggestion.tt-cursor,.mgimage-tags-holder .tt-suggestion:hover,.mgimage-tags-holder .tt-suggestion:focus{color:#fff;background-color:#0097cf;text-shadow:none}.mgimage-tags-holder .tt-suggestion p{margin:0}.mgimage-tags-holder .twitter-typeahead .tt-suggestion+.tt-suggestion{border-top:1px solid #ccc}#mgresource-modal-mask{opacity:.8;background-color:#fff;width:100%;height:100%;position:absolute;top:0;display:none;z-index:1}#mgresource-modal{position:absolute;top:150px;left:0;right:0;margin:0 auto;width:80%;display:none;padding:15px;z-index:2;background-color:#fff;-moz-box-shadow:0 0 15px 0 rgba(0,0,0,0.2);-webkit-box-shadow:0 0 15px 0 rgba(0,0,0,0.2);box-shadow:0 0 15px 0 rgba(0,0,0,0.2);-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#mgresource-modal .image-zoom img{max-width:100%}#mgresource-modal .image-large{width:45%;float:left}#mgresource-modal .image-large #mgimage-image{max-width:100%;max-height:700px}#mgresource-modal input,#mgresource-modal textarea,#mgresource-modal select{width:100%;margin-bottom:8px;padding:5px;background:#fbfbfb;border:1px #CCC solid;line-height:20px;height:32px;-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;border-radius:3px}#mgresource-modal input:focus,#mgresource-modal textarea:focus,#mgresource-modal select:focus{border-color:#2d86b7;background:#FFF}#mgresource-modal textarea{min-height:9em}#mgresource-modal .edit-form{width:55%;margin-left:45%;padding:0 0 0 15px}#mgresource-modal .edit-form label{font-weight:bold;font-size:12px;color:#555}#mgresource-modal .edit-form h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#mgresource-modal .close{position:absolute;top:-5px;right:10px;color:#666;font-size:35px;text-decoration:none;border:0;background:none}#mgresource-modal .close:hover,#mgresource-modal .close:focus{cursor:pointer;color:#3697cd}#mgresource-modal .video-identified #video-url{border:1px solid #00ad00;background-color:#ecffd8}#mgresource-modal .supported-services{position:relative;top:-3em;right:0.5em;float:right;pointer-events:none}#mgresource-modal .supported-services li{display:inline-block}#mgresource-modal .supported-services li.service-youtube,#mgresource-modal .supported-services li.service-vimeo{font-size:150%}#mgresource-modal .video-identified-youtube .service-youtube,#mgresource-modal .video-identified-vimeo .service-vimeo{color:#00ad00}.mgresource-drag-entered #mgresource-droparea{display:block}#mgresource-droparea{display:none;padding:0 0 0 100px}#mgresource-droparea p{padding:6px 12px 0px 12px;font:normal 14px tahoma, verdana, helvetica, sans-serif;color:#53595f}#mgresource-droparea p i{display:block;float:left;margin-top:-4px;padding:0 10px 0 0;font-size:20px}.mgimage-tags input{float:left;margin-right:0;margin-bottom:5px !important;-moz-border-radius:2px 0 0 2px !important;-webkit-border-radius:2px 0 0 2px !important;-o-border-radius:2px 0 0 2px !important;-ms-border-radius:2px 0 0 2px !important;border-radius:2px 0 0 2px !important}.mgimage-tags input:focus+button{border-color:#658F1A}.mgimage-tags button{display:inline-block;margin:0 5px 5px 0px;height:32px;padding:5px 10px;background:#fbfbfb;border:1px #CCC solid;border-left:none;-moz-border-radius:0 3px 3px 0;-webkit-border-radius:0 3px 3px 0;-o-border-radius:0 3px 3px 0;-ms-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.mgimage-tags button:hover,.mgimage-tags button:focus{background-color:#3697cd;color:#fff}.mgimage-tags button:hover{cursor:pointer}.mgimage-tags ul{display:inline-block}.mgimage-tags ul li{display:inline-block}.mgimage-tags ul li div{border:1px solid #CCC;background-color:#f7f7f3;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;margin-right:5px;margin-bottom:5px;padding:5px 5px 5px 8px;line-height:20px;height:32px}.mgimage-tags ul li .mgimagetag-tag{font-size:11px}.mgimage-tags ul li .delete{color:#707070;text-decoration:none;padding:4px;font-size:20px;vertical-align:top}.mgimage-tags ul li .delete:hover,.mgimage-tags ul li .delete:focus{color:#AF300B}.modal-import .options{margin:25px 0}.modal-import .options li{float:left}.modal-import .options li label{background:#eee;padding:10px;border:1px solid #ccc}.modal-import .options .content{display:none;background:white;padding:20px;border:1px solid #ccc}.mgimage-tags-holder .spinner{display:none;width:30px;height:30px}.mgimage-tags-holder.mgimage-tags-loading .spinner{display:inline-block}.contentblocks_loaded #modx-resource-content-tab .main-wrapper{padding:0}.contentblocks_loaded #modx-resource-content-tab .main-wrapper #modx-resource-content{width:100% !important}.contentblocks_loaded #modx-resource-content-tab .main-wrapper .contentblocks-wrapper.type_mgresource{border-left:0;border-right:0;border-bottom:0;margin-top:15px}.spinner{position:relative;-webkit-animation:rotation .6s infinite linear;-moz-animation:rotation .6s infinite linear;-o-animation:rotation .6s infinite linear;animation:rotation .6s infinite linear;border:6px solid rgba(0,174,239,0.15);border-radius:100%}.spinner:before{content:"";display:block;position:absolute;left:-6px;top:-6px;height:100%;width:100%;border-top:6px solid rgba(0,174,239,0.8);border-left:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid transparent;border-radius:100%}@-webkit-keyframes rotation{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-moz-keyframes rotation{from{-moz-transform:rotate(0deg)}to{-moz-transform:rotate(359deg)}}@-o-keyframes rotation{from{-o-transform:rotate(0deg)}to{-o-transform:rotate(359deg)}}@keyframes rotation{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}.jcrop-keymgr{position:absolute !important;top:0px !important;left:0px !important;opacity:0}.jcrop-holder{background-color:#fff !important}
