/* Imports | Defaults */
.modGallery{}
.modGallery figure{display:none;}
.modGallery .clear{clear:both;}
.modGallery *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:16px;line-height:16px;color:#242424;transition:background .24s;}
.modGallery input{outline:none;}

/* Pinned */
.modGallery body.pinned{background:#F4F4F4;}
.modGallery body.pinned header{box-shadow:0px 2px 2px rgba(0,0,0,.28);}


/* Header */
.modGallery header{display:block;position:relative;margin-top:10px;}
.modGallery header a.logo{display:inline-block;width:758px;height:90px;background:url(../../templates/nef/images/sprite-sheet.png) -1px 0 no-repeat;}
.modGallery header a.helpNurse{display:inline-block;width:160px;height:23px;background:url(../../templates/nef/images/sprite-sheet.png) -1px -96px no-repeat;}
.modGallery header a.joinToday{display:inline-block;width:166px;height:23px;background:url(../../templates/nef/images/sprite-sheet.png) -163px -96px no-repeat;}


/* Content */
.modGallery content{display:block;position:relative;z-index:1;}
/* Rows */
.modGallery content .rows{}
.modGallery content .rows h2:first-child{margin-top:0px;}
.modGallery content .rows h2{margin:16px 0px;font-weight:300;font-size:26px;}
.modGallery content .rows .description{overflow:hidden;height:16px;margin:0px 0px 10px 0px;font-weight:300;font-size:14px;color:#828282;}
.modGallery content .rows .expanded .description{height:auto;}
.modGallery content .rows .galleryHolder{margin-bottom:20px;}
.modGallery content .rows .galleryHolder:last-child{margin-bottom:0px;}
/* Gallery */
.modGallery content .gallery{width:100%;height:auto;float:left;}
.modGallery content .gallery img{width:auto;max-width:100%;height:auto;border:0;}
.modGallery content .gallery a{display:block;float:left;margin:0 12px 12px 0;line-height:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none;}
.modGallery content .gallery a img{height:114px;}
.modGallery content .gallery a.main img{height:240px;}


/* New design of checkbox input */
.modGallery div.switch{width:48px;height:24px;}
.modGallery div.switch>input.toggle{position:absolute;margin-left:-9999px;visibility:hidden;}
.modGallery div.switch>input.toggle+label{display:block;position:relative;cursor:pointer;outline:none;user-select:none;}
.modGallery div.switch>input.toggle.round+label{padding:2px;width:100%;height:100%;background-color:#dddddd;border-radius:24px;}
.modGallery div.switch>input.toggle.round+label:before,
.modGallery div.switch>input.toggle.round+label:after{display:block;position:absolute;top:1px;left:1px;bottom:1px;content:"";}
.modGallery div.switch>input.toggle.round+label:before{right:1px;background-color:#f1f1f1;border-radius:24px;transition:background .24s;}
.modGallery div.switch>input.toggle.round+label:after{width:22px;background-color:#fff;border-radius:100%;box-shadow:0 2px 5px rgba(0,0,0,.3);transition:margin .24s;}
.modGallery div.switch>input.toggle.round:checked+label:before{background-color:#8ce196;}
.modGallery div.switch>input.toggle.round:checked+label:after{margin-left:24px;}

/* New design for text input */
.modGallery .input.round{width:180px;padding:6px 12px;border:1px solid #dddddd;border-radius:40px;transition:all .24s;color:#464646;}
.modGallery .input.round.short{width:60px;}
.modGallery .input.round:focus{background:#F8F8F8;}
.modGallery .input.round.toggle:focus{width:260px;}
