
                div.ccm-page .galleryESedit {
                    width: 100%;
                    margin-top: 20px;
                    margin-bottom: 20px;
                    height: 50px;
                    line-height: 50px;
                    font-size: 18px;
                    background: #ccc;
                    color: #999;
                    text-align: center;
                }
				div.ccm-page .galleryESrow {
					margin-bottom: 10px;
				}
				div.ccm-page .GalleryESPreviewImgRow {
					float: left;
					padding-right: 10px;
				}
        	    div.ccm-page .galleryESTagButton {
        	    	background-color: transparent;
        	    	text-decoration: none;
        	    	border: none;
        	    	cursor: pointer;
        	    	cursor: hand;
        	    }
        	    div.ccm-page .galleryESTagButton:hover {
        	    	background-color: #000000;
        	    	text-decoration: none;
        	    	border: none;
        	    	cursor: pointer;
        	    	color: #ffffff;
        	    	cursor: hand;
        	    }
        
        	    div.ccm-page .slider { margin: 50px 0 10px!important;}
        	    div.ccm-page .carousel li {margin-right: 5px;}
        	    div.ccm-page .carousel img {display: block; opacity: .5; cursor: pointer;}
        	    div.ccm-page .carousel img:hover {opacity: 1;}
        	    div.ccm-page .carousel .flex-active-slide img {opacity: 1; cursor: default;}
        	
        	    div.ccm-page .carousel li {
        	    	margin-right: 5px;
        	    }
        	    div.ccm-page .masonry {
        	        -webkit-transition-property: height, width;
        	        -moz-transition-property: height, width;
        	        -o-transition-property: height, width;
        	        transition-property: height, width;
        	        -webkit-transition-duration: 0.2s;
        	        -moz-transition-duration: 0.2s;
        	        -o-transition-duration: 0.2s;
        	        transition-duration: 0.2s;
        	    }
    	    
        	    @media only screen and (max-width: 480px) {
        	       /* Smartphone view: 1 tile */
        	       div.ccm-page .galleryESmasonry849 {
        	          width: 100%;
        	       }
        	    }
        	
        	    @media only screen and (max-width: 650px) and (min-width: 481px) {
        	       /* Tablet view: 2 tiles */
        	       div.ccm-page .galleryESmasonry849 {
        	          width: 50%;
        	       }
        	    }
        	
        	    @media only screen and (max-width: 1050px) and (min-width: 651px) {
        	       /* Small desktop / ipad view: 3 tiles */
        	       div.ccm-page .galleryESmasonry849 {
        	          width: 33.3%;
        	       }
        	    }
        	
        	    @media only screen and (max-width: 1290px) and (min-width: 1051px) {
        	       /* Medium desktop: 4 tiles */
        	       div.ccm-page .galleryESmasonry849 {
        	          width: 25%;
        	       }
        	    }
        	
        	    div.ccm-page .masonry-brick {
        	        -webkit-transition-duration: 1s;
        	        -moz-transition-duration: 1s;
        	        -o-transition-duration: 1s;
        	        transition-duration: 1s;
        	    }
        	    div.ccm-page .galleryESmasonry849.masonry-brick {
        	        opacity: 1;
        	        -webkit-transition-property: opacity;
        	        -moz-transition-property: opacity;
        	        -o-transition-property: opacity;
        	        transition-property: opacity;
        	    }
        	    div.ccm-page .galleryESmasonry849 {
        	    	opacity: 0;
        	    }
        	    div.ccm-page .galleryESmasonry849 a {
        	    	display: block;
        	    	margin: px;
        	    }
        	    div.ccm-page .galleryESmasonry849 img {
        	    	width: 100%;
        	    }
    	    
        	    div.ccm-page .galleryESspacer {
        	    	clear: both;
        	    }
        	
        	    div.ccm-page .galleryESboxPortrait849 a {
        	    	display: block;
        	    	width: 100%;
        	    	height: auto;
        	    	overflow: hidden;
        	    }
        	    div.ccm-page .galleryESboxPortrait849 img {
        	    	width: 100%;
        	    }
        	
        	    div.ccm-page .galleryESboxInnerPortrait849 {
        	    	margin: px;
        	    	overflow: hidden;
        	    }
        	
        	    div.ccm-page .galleryESboxInner849 {
        	       position: absolute;
        	       left: px;
        	       right: px;
        	       top: px;
        	       bottom: px;
        	       overflow: hidden;
        	    }
        	
        	    div.ccm-page .galleryESboxInner849 img {
        	       width: 100%;
        	    }
        	
        	    div.ccm-page .galleryESboxInner849 .galleryEStitleBox849 {
        	       font-family: 'verdana', sans-serif;
        	       position: absolute;
        	       bottom: 0;
        	       left: 0;
        	       right: 0;
        	       margin-bottom: -100px;
        	       background: #000000;
        	       background: rgba(0, 0, 0, 0.5);
        	       color: #FFFFFF;
        	       font-size: 11px;
        	       line-height: 13px;
        	       padding: 5px;
        	       text-align: center;
        	       -webkit-transition: all 0.3s ease-out;
        	       -moz-transition: all 0.3s ease-out;
        	       -o-transition: all 0.3s ease-out;
        	       transition: all 0.3s ease-out;
        	    }
				
        	    div.ccm-page .galleryESboxInner849:hover .galleryEStitleBox849 {
        	       margin-bottom: 0;
        	    }

        	    div.ccm-page .galleryEStitleBoxPortrait849 {
        	       font-family: 'verdana', sans-serif;
        	       position: absolute;
        	       left: 0;
        	       bottom: 0px;
        	       opacity: 0;
        	       margin: px;
        	       background: #000000;
        	       background: rgba(0, 0, 0, 0.5);
        	       color: #FFFFFF;
        	       padding: 3px;
        	       font-size: 11px;
        	       line-height: 13px;
        	       text-align: center;
        	       transition: opacity .25s ease-in-out;
        	       -moz-transition: opacity .25s ease-in-out;
        	       -webkit-transition: opacity .25s ease-in-out;
        	       -o-transition: opacity .25s ease-in-out;
        	    }

        	    div.ccm-page .galleryESboxInnerPortrait849:hover .galleryEStitleBoxPortrait849 {
        	       opacity: 1;
        	    }

        	    @media only screen and (max-width: 480px) {
        	       /* Smartphone view: 1 tile */
        	       div.ccm-page .galleryESbox849 {
        	          width: 100%;
        	          padding-bottom: 100%;
        	       }
        	    	div.ccm-page .galleryESboxPortrait849 {
        	    	   float: left;
        	    	   position: relative;
        	    	   width: 100%;
        	    	}
        	    	div.ccm-page .galleryESspacer {
        	    		clear: none;
        	    	}
        	    }
        	
        	    @media only screen and (max-width: 650px) and (min-width: 481px) {
        	       /* Tablet view: 2 tiles */
        	       div.ccm-page .galleryESbox849 {
        	          width: 50%;
        	          padding-bottom: 50%;
        	       }
        	    	div.ccm-page .galleryESboxPortrait849 {
        	    	   float: left;
        	    	   position: relative;
        	    	   width: 50%;
        	    	}
        	    	div.ccm-page .galleryESspacer {
        	    		clear: none;
        	    	}
        	    }
        	
        	    @media only screen and (max-width: 1050px) and (min-width: 651px) {
        	       /* Small desktop / ipad view: 3 tiles */
        	       div.ccm-page .galleryESbox849 {
        	          width: 33.3%;
        	          padding-bottom: 33.33%;
        	       }
        	    	div.ccm-page .galleryESboxPortrait849 {
        	    	   float: left;
        	    	   position: relative;
        	    	   width: 33.33%;
        	    	}
        	    	div.ccm-page .galleryESspacer {
        	    		clear: none;
        	    	}
        	    }
    	    
            div.ccm-page .galleryESboxInner849.preload, div.ccm-page .galleryESboxInnerPortrait849.preload {
                background: black url("/packages/gallery_e_s/src/Assets/images/loading.gif") center center no-repeat;
            }
            div.ccm-page .galleryESboxInner849.preload.is-broken, div.ccm-page .galleryESboxInnerPortrait849.preload.is-broken {
                background: #be3730 url("/packages/images/broken.png") center center no-repeat;
            }
            div.ccm-page .galleryESboxInner849.preload img, div.ccm-page .galleryESboxInnerPortrait849.preload img {
                opacity: 0;
            }     
            div.ccm-page .galleryESboxInner849.preload.is-loaded, div.ccm-page .galleryESboxInnerPortrait849.preload.is-loaded {
                background: transparent;
            }
            div.ccm-page .galleryESboxInner849.preload.is-loaded img, div.ccm-page .galleryESboxInnerPortrait849.preload.is-loaded img {
                opacity: 1;
            }       
            div.ccm-page .galleryESboxInner849.preload img, div.ccm-page .galleryESboxInnerPortrait849.preload img {
              -webkit-transition: opacity 0.4s;
                 -moz-transition: opacity 0.4s;
                  -ms-transition: opacity 0.4s;
                      transition: opacity 0.4s;
            }
            div.ccm-page .galleryESboxInner849.preload, div.ccm-page .galleryESboxInnerPortrait849.preload {
              -webkit-transition: background 0.4s;
                 -moz-transition: background 0.4s;
                  -ms-transition: background 0.4s;
                      transition: background 0.4s;
            }
            
            .flexslider.loading, .bx.loading {
                height: 300px; 
                overflow: hidden;
                background: black url("/packages/gallery_e_s/src/Assets/images/loading.gif") no-repeat center center !important;
            }
            .bx.loading .bxslider, .bx.loading .bx-wrapper {
                opacity: 0;
            }
            .bx.loaded .bx-wrapper {
                opacity: 1;
            }
            .bx-wrapper {
              -webkit-transition: opacity 0.4s;
                 -moz-transition: opacity 0.4s;
                  -ms-transition: opacity 0.4s;
                      transition: opacity 0.4s;
            }
            .flexslider.loaded, .bx.loading {
                background: transparent;
            }
            
            .flexslider, .bx {
              -webkit-transition: height 0.4s;
                 -moz-transition: height 0.4s;
                  -ms-transition: height 0.4s;
                      transition: height 0.4s;
              -webkit-transition: background 0.4s;
                 -moz-transition: background 0.4s;
                  -ms-transition: background 0.4s;
                      transition: background 0.4s;
            }
            
            /* fix for flex slider line height */
            .flex-direction-nav a {
                line-height: 40px;
            }
            
            .galleryES-EditWrapper {
                max-height: 400px;
                height: 400px;
                max-width: 100%;
                width: 100%;
                overflow: hidden;
                padding-top: 400px;
                border: 3px dashed #999;
                background-color: #CCC;
                background-image: url("/packages/gallery_e_s/src/Assets/images/gallery-es-watermark.png");
                background-position: center center;
                background-size: 90%;
                background-repeat: no-repeat;
                position: relative;
            }
            .galleryES-EditWrapper-Text {
                position: absolute;
                top: 0px;
                width: 100%;
                padding: 10px;
                text-align: center;
                font-weight: bold;
                color: #666;
            }
        