html {
    min-height: 100%;
    height: 100%;
}
body {
    margin: 0;
    background-color: #ffffff;
    height: 100%;
    overflow: hidden;
    font-family: "Open Sans",sans-serif;
}
.grsMainCont {
    padding: 10px;
    box-sizing: border-box;
    height: 100%;
}
.grsGallsLightCont {
    height: 100%;
    position:relative;
}
.grsGallsCont {
    float: left;
    width: calc(50% - 4px);
    padding: 2px;
    box-sizing: border-box;
    overflow: hidden;
    height: 100%;
}
.grsLightCont {
    float: right;
    width: calc(50% - 4px);
    padding: 2px;
    box-sizing: border-box;
    overflow: hidden;
    height: 100%;
}
.grsClear {
    clear: both;
}
.grsGallButton, .grsAlbButton, .grsThemeButton {
    float: left;
    padding: 3px;
    box-shadow: 0px 0px 1px 1px #DAD9D9;
    border-radius: 3px;
    position: relative;
}

.grsAlbButton {
    margin: 0px 0px 0px 12px;
}

.grsThemeButton {
    margin: 12px 0px 0px 0px;
    display: inline-block;
    float: none;
}

.grsTypeButton {
    float: right;
    padding: 3px;
    box-shadow: 0px 0px 1px 1px #DAD9D9;
    border-radius: 3px;
    position: relative;
}
a.grsGall, a.grsType, a.grsLightbox, a.grsAlb, a.grsTheme {
    display: inline-block;
    text-align: left;
    border-radius: 3px;
    padding: 2px 5px 2px 5px;
    box-sizing: border-box;
    text-decoration: none;
    color: #7d7d7d;
    font-size: 12px;
    transition: background-color 0.2s ease;
}
a.grsGall:hover, a.grsType:hover, a.grsLightbox:hover, a.grsAlb:hover {
    background-color: #E4E4E4;
    color: #00a0d2;
}
a.grsTypeDeactive, a.grsLightboxDeactive {
    display: inline-block;
    text-align: left;
    border-radius: 3px;
    padding: 2px 5px 2px 5px;
    box-sizing: border-box;
    text-decoration: none;
    color: #DCDCDC;
    font-size: 12px;
    transition: background-color 0.2s ease;
}
a > i {
    color: #6C9BFF;
    margin: 0px 0px 0px 0px;
}
.grsLightboxButton {
    float: right;
    padding: 3px;
    box-shadow: 0px 0px 1px 1px #DAD9D9;
    border-radius: 3px;
}

.grsGallTitlesCont, 
.grsAlbTitlesCont, 
.grsThemeNamesCont {
    position: absolute;
    display: inline-block;
    width: 135px;
    left: 0px;
    top: 37px;
    box-sizing: border-box;
    box-shadow: 0px 1px 4px 1px rgba(115, 115, 115, 0.5);
    background-color: #FFFFFF;
    z-index: 1;
    border-radius: 2px;
    border-top-right-radius: 0px;
    max-height: 200px;
    overflow: auto;
}
.grsGallTitles, 
.grsAlbTitles, 
.grsThemeNames {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}
.grsGallTitle, 
.grsAlbTitle, 
.grsThemeName {
    margin: 0px 0px 0px 0px;
    box-sizing: border-box;
    border-bottom-style: solid;
    border-width: 1px;
    border-color: rgba(232, 232, 232, 0.59);
}   
.grsGallTitle > .grsCheck, 
.grsAlbTitle > .grsCheck, 
.grsThemeName > .grsCheck {
    background-image: url('../images/admin/multiple.png');
    background-repeat:  no-repeat;
    background-position: -479px -2px;
    transition: background 0.3s linear;
    float: left;
    height: 19px;
    display: block;
    cursor: pointer;
    width: 13px;
    margin: 0px 6px 0px 0px;
    opacity: 0.5;
}       
.grsGallTitle:hover, 
.grsAlbTitle:hover, 
.grsThemeName:hover {
    background-color:#80BDF7;
}
.grsGallTitle:hover .grsTitleLabel,
.grsAlbTitle:hover .grsTitleLabel,
.grsThemeName:hover .grsNameLabel {
    color: #FFFFFF;
}
.grsGallTitle:hover .grsCheck,
.grsAlbTitle:hover .grsCheck,
.grsThemeName:hover .grsCheck {
    color: #FFFFFF;
    visibility: visible; 
    opacity: 1;
}  
.grsGallTitle.grsGallSelected > .grsCheck, 
.grsAlbTitle.grsAlbSelected > .grsCheck, 
.grsThemeName.grsThemeSelected > .grsCheck {
    background-position: -467px -2px;
    opacity: 1;
}      
.grsGallTitle.grsGallSelected, 
.grsAlbTitle.grsAlbSelected, 
.grsThemeName.grsThemeSelected {
    background-color: #80BDF7;
} 
.grsGallTitle.grsGallSelected .grsTitleLabel, 
.grsAlbTitle.grsAlbSelected .grsTitleLabel, 
.grsThemeName.grsThemeSelected .grsNameLabel {
    color: #FFFFFF;
}
.grs_galleries_title_ln, 
.grsAlbumsTitleLn, 
.grsThemesNameLn {
    display: inline-block;
    width: 82%;
    text-decoration: none;
    color: #8C8C8C;
    border:0;
}

.grsTitleLabel, .grsNameLabel {
    margin: 0px;
    color: #BFBFBF;
    display: inline-block;
    font-size: 12px;
    vertical-align: middle;
}
.grsThumbnailCont, 
.grsFilmCont,
.grsCarousel3dCont,
.grsMasonryCont, 
.grsMosaicCont, 
.grsSlideshowCont, 
.grsAlbumCont {
    padding: 5px;
    box-sizing: border-box;
    margin: 12px 0px 0px 0px;
    box-shadow: 0px 0px 1px 1px #DAD9D9;
    border-radius: 3px;
    position: relative;
}
.grsThumbnailTitle, 
.grsFilmTitle,
.grsCarousel3dTitle,
.grsMasonryTitle, 
.grsMosaicTitle, 
.grsSlideshowTitle, 
.grsAlbumTitle {
    float: left;
    color: #7d7d7d;
    font-size: 12px;
    border-bottom-style: solid;
    border-width: 1px;
    border-color: rgb(169, 169, 169);
    padding: 2px 0px 2px 0px;
}
.grsThumbnailParamsCont {
    margin: 10px 0px 0px 0px;
}

.grsLightboxParamsCont {
    padding: 5px;
    box-sizing: border-box;
    margin: 12px 0px 0px 0px;
    box-shadow: 0px 0px 1px 1px #DAD9D9;
    border-radius: 3px;
    position: relative;
}
.grsThumbnailParams, 
.grsLightboxParams {
    display: table;
    width: 100%;
}
.grsRow {
  display:table-row
}
.grsCell {
    display: table-cell;
    width: 25%;
    vertical-align: middle;
    padding: 3px 9px 3px 0px;
}
.grsCell.disabled label {
    opacity: 0.5;
}
.grsCell.disabled a {
    font-size: 11px;
    font-family: sans-serif;
    color: #60adf2;
    text-decoration: none;
    font-weight: bold;
}
.grsCell label {
    text-decoration: none;
    font-size: 11px;
    color: #7d7d7d;
    cursor: pointer;
}
.grsForSizeing {
    min-width: 91px;
}
.grsCell span.iden {
    font-size: 10px;
    color: #BFBFBF;
    margin-left: 3px;
}

.grsGallViewsCont {
    position: absolute;
    right: 0px;
    width: 212px;
    padding: 2px;
    box-sizing: border-box;
    top: 37px;
    box-shadow: 0px 1px 4px 1px rgba(115, 115, 115, 0.5);
    background-color: #FFFFFF;
    z-index: 2;
}

.grsView {
    width: 100px;
    height: 100px;
    float: left;
    background-color: #F3F3F3;
    margin: 2px;
    cursor: pointer;
    background: url('../images/admin/views_new.png') no-repeat;
    transition: 0.3s opacity linear;
    position: relative;
}
.grsView.disabled > a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a6b;
    text-decoration: none;
}
.grsView.disabled > a > span {
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    font-family: sans-serif;
}
.grsDeacView {
    opacity: 0.4;
}
.grsViewSelected {
    box-shadow: 0 0 6px #5b9dd9;
    outline: 1px solid rgb(91, 157, 217);
}
.grsGallThumbnailView {
    background-position: -4px -5px;
}
.grsGallMasonryView  {
    background-position: -107px -4px;
}
.grsGallMosaicView  {
    background-position: -211px -4px;
}
.grsGallFilmView {
    background-position: -418px -4px;
}
.grsGallCarousel3dView {
    background-position: -522px -2px;
}
.grsGallAlbumView  {
    background-position: -314px -4px;
}
.grsOkCont {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.grsOk {
    background: #0083ff;
    float: right;
    padding: 4px 7px;
    box-shadow: 0 0 3px 0 #a5a5a5;
    border-radius: 2px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.grsOk:hover {
    background-color: #57adf2;
}

input[type="text"], input[type="number"] {
    width: 45px;
    height: 12px;
    padding: 2px !important;
    font-size: 11px !important;
    size: 20px;
    -ms-appearance:none;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    overflow: hidden;
    background-position: right 0px center;
    border-style: solid !important;
    border-radius: 3px !important;
    border: 1px solid #cccccc !important;
    background-color: #FFFFFF !important;
    padding-left: 10px;
    text-decoration: none;
    box-shadow: none !important;
    color: #7A7A7A !important;
    transition-duration: 200ms !important;
    -webkit-transition-duration: 200ms !important;
    transition-property: border, box-shadow !important;
    -webkit-transition-property: border, box-shadow !important;
    transition-timing-function: linear !important;
    -webkit-transition-timing-function: linear !important;
}
input[type="text"]:focus, input[type="number"]:focus {
    width: 45px;
    height: 12px;
    padding: 2px !important;
    font-size: 11px !important;
    size: 20px;
    -ms-appearance:none;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    overflow: hidden;
    background-position: right 0px center;
    border-style: solid !important;
    background-color: #FFFFFF  !important;
    padding-left: 10px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6)!important;
    border-color: rgba(82,168,236,0.8) !important;
    border-radius: 3px !important;
    outline: none;
}

input[type="radio"], input[type="radio"]:checked {
    border: 1px solid rgba(0, 0, 0, 0.27);
    -ms-appearance:none;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    height: 13px;
    width: 13px;
    font-size: 6px;
    outline: none;
    margin: 0px 0px 0px 0px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 2px;
    cursor:pointer;
}

input[type="radio"]:checked {
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6)!important;
}

input[type=radio]:checked:before {
    content: '\2022';
    text-indent: -9999px;
    -webkit-border-radius: 50px;
    border-radius: 1px;
    font-size: 24px;
    width: 7px;
    height: 7px;
    margin: 2px 0px 0px 2px;
    line-height: 16px;
    background-color: rgba(45, 153, 239, 0.8) !important;
    display: inline-block;
}

select {
    width: 100px;
    height: 20px;
    padding: 2px !important;
    font-size: 11px !important;
    size: 20px;
    overflow: hidden;
    background-position: right 0px center;
    border-style: solid !important;
    border-radius: 3px !important;
    border: 1px solid #cccccc !important;
    background-color: #FFFFFF !important;
    padding-left: 10px;
    text-decoration: none;
    box-shadow: none !important;
    color: #444444 !important;
    transition-duration: 200ms !important;
    -webkit-transition-duration: 200ms !important;
    transition-property: border, box-shadow !important;
    -webkit-transition-property: border, box-shadow !important;
    transition-timing-function: linear !important;
    -webkit-transition-timing-function: linear !important;
}

select:focus {
    width: 100px;
    height: 20px;
    padding: 2px !important;
    font-size: 11px !important;
    size: 20px;
    overflow: hidden;
    background-position: right 0px center;
    border-style: solid !important;
    background-color: #FFFFFF  !important;
    padding-left: 10px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6)!important;
    border-color: rgba(82,168,236,0.8) !important;
    border-radius: 3px !important;
    outline: none;
}
/* Select 2 options */
.grsSingleLightboxEffectNameCont {
    font-size: 11px;
}
.grsSingleLightboxEffectNameCont a {
    display: block;
    text-decoration: none;
    color: #444444;
}
.grsSingleLightboxEffectNameCont a[data-disabled="1"] {
    display: block;
    text-decoration: none;
    color: #4444447a;
}
.grsSingleLightboxEffectNameCont a span.grsUpgradeUrlLabel {
    color: #60adf2;
    font-size: 10px;
    font-weight: bold;
}
.select2-container--default .select2-results__group {
    font-size: 12px;
    padding: 0 0 0 6px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] .grsSingleLightboxEffectNameCont a {
    color: white;
}

.select2-container--default .select2-results__option .select2-results__option {
    padding: 3px 0 3px 1em;
    line-height: 14px;
}
.select2-selection__rendered {
    font-size: 12px;  
}
/*transitions*/
.animated  {
  -webkit-animation-duration: 0.6s;
          animation-duration: 0.6s;   
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-transition-timing-function: ease-out; 
          transition-timing-function: ease-out;
}
@-webkit-keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
          animation-name: fadeInLeft;
}   

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
          animation-name: fadeInRight;
}
@-webkit-keyframes fadeOutRight {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
}

@keyframes fadeOutRight {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
}

.fadeOutRight {
  -webkit-animation-name: fadeOutRight;
          animation-name: fadeOutRight;
}
@-webkit-keyframes fadeOutLeft {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
  }
}

@keyframes fadeOutLeft {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
  }
}

.fadeOutLeft {
  -webkit-animation-name: fadeOutLeft;
          animation-name: fadeOutLeft;
}

@-webkit-keyframes fadeOutRight {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
  }
}

@keyframes fadeOutRight {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
  }
}

.fadeOutRight {
  -webkit-animation-name: fadeOutRight;
          animation-name: fadeOutRight;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
          animation-name: fadeInRight;
}

@keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
            transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
            transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
            transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
            transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
            transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
            transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
            transform: perspective(400px);
  }
}

.flipInX {
  -webkit-backface-visibility: visible !important;
          backface-visibility: visible !important;
  -webkit-animation-name: flipInX;
          animation-name: flipInX;
}

@-webkit-keyframes flipOutX {
  0% {
    -webkit-transform: perspective(400px);
            transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
            transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
            transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

@keyframes flipOutX {
  0% {
    -webkit-transform: perspective(400px);
            transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
            transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
            transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

.flipOutX {
  -webkit-animation-name: flipOutX;
          animation-name: flipOutX;
  -webkit-animation-duration: .75s;
          animation-duration: .75s;
  -webkit-backface-visibility: visible !important;
          backface-visibility: visible !important;
}
@-webkit-keyframes fadeOutDown {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0);
  }
}

@keyframes fadeOutDown {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0);
  }
}

.fadeOutDown {
  -webkit-animation-name: fadeOutDown;
          animation-name: fadeOutDown;
}
@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
          animation-name: fadeInUp;
}