@font-face {
    font-family: 'attractive';
    src: url('fonts/attractive/Attractive-Regular.eot');
    src: url('fonts/attractive/Attractive-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/attractive/Attractive-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'cormac';
    src: url('fonts/cormac/cormac-black-webfont.eot');
    src: url('fonts/cormac/cormac-black-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/cormac/cormac-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'linea';
    src: url('fonts/linea/linea-basic-10.eot');
    src: url('fonts/linea/linea-basic-10.eot?#iefix') format('embedded-opentype'),
         url('fonts/linea/linea-basic-10.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

::-webkit-input-placeholder { color: #c4c7c7; }
::-moz-placeholder { color: #c4c7c7; }
:-ms-input-placeholder { color: #c4c7c7; }
:-moz-placeholder { color: #c4c7c7; }

/* toggle and helpers classes */
[v-cloak] { display:  none; }
.none { display: none !important; }
.none-slider-right { animation: slide-right 1s forwards; }
@keyframes slide-right {
    70% { position: absolute; }
    100% { padding-left: 200%; position: absolute; }
}
.hidden { visibility: hidden; }
.hidden-input { 
    opacity: 0;
    position: absolute;
    z-index: -999;
}

.caption { display: flex; flex-direction: column; justify-content: space-between; background-color: #c4c7c7; color: #ececec; padding: 2px; width: 40px; font-family: 'cormac' }
.caption div.top, .caption div.bottom { position: relative; }
.caption span.big { position: absolute; left: 0; width: 100%; font-size: 4em; cursor: pointer; color: #675e5e; }
.caption span.big:hover { color: #e26f4b; }
.caption span.small { font-size: 0.9em; font-family: 'attractive'; color: #675e5e; }
.caption div.rotate { font-size: 4em; transform: rotate(-90deg); white-space: nowrap; text-transform: uppercase; }

.text-bold { font-family: 'cormac'; }
.text-normal { font-family: 'attractive'; }
.text-glyph { font-family: 'linea'; }
.blocked { pointer-events: none; opacity: 0.3; }
.date { font-size: 0.7em; color: #c4c7c7; }
.gallery-32 { 
    width: 32px;
    height: 32px;
    display: inline-block;
    border: 2px solid #e4e7e7;
    border-radius: 5px;
    margin: 5px;
}
.gallery-128 { width: 128px; height: 128px; }
.gallery-256 { width: 256px; height: 256px; }
.separator { 
    background-color: #424b4b;
    color: #ececec;
    padding: 1%;
    margin-top: 1%;
    margin-bottom: 1%;
}
.rotate-button { width: 50px; height: 50px; opacity: 0.7; top: 42%; }
.lefty { background-image: url('/static/images/rotate.png'); right: 60px !important; }
.lefty:hover { background-image: url('/static/images/rotate-hot.png'); }
.righty:hover { background-image: url('/static/images/rotate-mirror-hot.png'); }
.righty { background-image: url('/static/images/rotate-mirror.png'); }
/* dom elements */
* {
    box-sizing: border-box;
    font-size: inherit;
    font-family: inherit;
    color: inherit;
}
html {
    margin: 0 auto;
    padding: 0;
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: #ececec;
    overflow-x: hidden;
}
body {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px;
    height: 100%;
    font-size: 1em;
    font-family: 'attractive';
    color: #675e5e;
    text-align: center;
    background: transparent;
}
a {
    text-decoration: none;
    color: inherit;
}
button {
    outline: none;
}
div {
    background-repeat: no-repeat;
    background-size: cover;
}
input {
    outline: none;
    border: none;
    padding-left: 1%;
}
input[type="checkbox"] { 
    width: auto !important;
}
input.submit {
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 1%;
    padding-bottom: 2%;
    border-radius: 4px;
    background-color: #c4c7c7;
    border: 2px solid #c4c7c7;
}
input.submit:hover {
    background-color: #f2d65e;
    color: #424b4b;
}
input.delete {
    color: #ececec;
    background-color: #e26f4b;
    border: 2px solid #e26f4b;
}
ul {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
}
th {
    font-weight: normal;
}
td {
    background-size: cover;
    background-repeat: no-repeat;
}
select {
    border: none;
}
#loading {
    display: none;
    width: 90%;
    margin: 5%;
    object-fit: cover;
}
/**//* login */
#auth-wrapper {
    text-align: center;
    margin: 0 auto;
}
#auth-wrapper form {
    background-color: #d4d7d7;
    border-radius: 10px;
    margin: 0 auto;
    padding: 20px;
    width: 500px;
    box-shadow: 0px 0px 2px #675e5e;
}
#auth-wrapper form div {
    height: 30px;
    display: table;
    margin-top: 15px;
}
#auth-wrapper form div * {
    display: table-cell;
    vertical-align: middle;
}
#auth-wrapper form div span {
    font-size: 2em;
    padding-right: 10px;
    padding-left: 10px;
    height: 100%;
}
#auth-wrapper form div input {
    width: 400px;
    height: 100%;
    padding-left: 10px;
    font-size: 1.2em;
}
#auth-wrapper form div.submit-wrapper {
    width: 100%;
}
#auth-wrapper form div.submit-wrapper input[type="submit"] {
    width: 100%;
    padding: 0;
    background-color: #e26f4b;
    color: #e4e7e7;
    cursor: pointer;
    transition: 0.1s;
}
#auth-wrapper form div.submit-wrapper input[type="submit"]:hover {
    box-shadow: 0px 0px 10px #e26f4b;
}
#auth-wrapper form div.submit-wrapper label {
    text-align: right;
}
#auth-wrapper li.info { display: none !important; }
/**//* 404 */
#page-404-wrapper div {
    width: 100%;
    text-align: center;
    position: relative;
}
#page-404-wrapper div * {
    display: block;
}
#page-404-wrapper div span {
    margin-top: 15%;
    font-size: 2em;
}
#page-404-wrapper div h1 {
    position: absolute;
    top: 0;
    width: 100%;
    margin: 0 auto;
    display: block;
    font-size: 5em;
    transform: scale(9);
    z-index: -999;
    opacity: 0.1;
}
/**//* MAIN SECTION */
#latest-uploads {
    background-color: #c4c7c7;
    color: #e4e7e7;
    width: 100%;
    margin-top: 1%;
    margin-bottom: 1%;
    padding: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    text-align: right;
    position: relative;
    display: flex;
    display: -ms-flexbox;
    justify-content: space-around;
    -ms-flex-pack: justify;
}
div.gallery-wrapper {
    float: right; 
    position: relative;
    background-color: #c4c7c7;
    cursor: pointer;
    transition: 0.3s;
    margin-left: 5px;
    display: table;
    text-align: center;
}
div.gallery-wrapper span {
    display: table-cell;
    vertical-align: middle;
    color: #675e5e;
}
div.gallery-wrapper:hover span.label {
    background-color: rgba(103,94,94,0.9);
    color: #e4e7e7;
}
div.gallery-wrapper span.label {
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    background-color: rgba(228,231,231,0.9);
    color: #675e5e;
    left: 0;
    padding-bottom: 4px;
    transition: 0.1s;
}
div.gallery-wrapper span.top {
    top: 0;
}
div.gallery-wrapper span.bottom {
    bottom: 0;
}
#galleries-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
#galleries-wrapper span.label {
    font-size: 1.3em;
}
#galleries-wrapper div.gallery-wrapper{
    float: none;
    display: inline-block;
    margin: 1%;
}

/**//* NAVIGATION PANEL */ 
#newyear {
    position: absolute; width: 74px; height: 70px; top: 27px; left: -27px; transform: scale(0.7);
    background: url('/static/images/logo_ny_2016.png'); animation: ball 1.5s steps(20) infinite; pointer-events: none;
}
@keyframes ball { 100% { background-position: -1480px; } }

#home-bar {
    width: 100%;
    border-bottom: 5px solid #675e5e;
    position: relative;
    margin-bottom: 2%; z-index: 1;
}
#home-title {
    text-align: left;
    float: left;
    font-size: 2em;
    transform: scale(1.4) translate(30px); 
}
#home-user {
    text-align: right;
    float: right;
}
#home-user a {
    display: inline-block;
    margin-left: 10px;
}
#home-user li {
    text-align: right;
}
#home-user span.text-glyph {
    font-size: 2em;
    display: inline-block;
    transform: rotate(270deg);
}
#home-bar:after {
    content: "";
    display: block;
    clear: both;
}
/**//* SEARCH PANEL */
#search-wrapper {
    width: 100%;
    text-align: left;
    display: table; 
    padding-left: 1%;
    padding-right: 1%;
}
#search-wrapper * {
    vertical-align: middle;
}
#search-wrapper input[type="text"] {
    width: 28%;
    margin-left: 5px;
    margin-right: 5px;
    border: 1px solid #999999;
}
#search-wrapper input[type="submit"] {
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
    margin-left: 10px;
    cursor: pointer;
    color: #675e5e;
    border: 1px solid #999999;
    background: transparent;
    transition: 0.2s;
}
#search-wrapper input[type="submit"]:hover {
    background-color: #e26f4b;
    color: #ececec;
}
#search-wrapper select {
    width: 200px;
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #999999;
}
#search-wrapper span.text-glyph {
    font-size: 2em;
}
#searched-wrapper {
    border-top: 5px solid #e26f4b;
    border-bottom: 5px solid #e26f4b;
    text-align: left;
    margin-bottom: 10px;
}
#searched-wrapper div.something_found {
    position: relative;
    display: inline-block;
    margin: 1%;
    box-shadow: 0px 0px 1px #675e5e;
    border-radius: 5px;
}
#searched-wrapper div.something_found span.label {
    position: absolute;
    bottom: 0;
    text-align: center;
    background-color: rgba(228,231,231,0.9);
    padding: 1%;
    padding-bottom: 5px;
    width: 100%;
}
#searched-wrapper div.something_found span.label2 {
    position: absolute;
    top: 0;
    text-align: center;
    background-color: rgba(228,231,231,0.9);
    padding: 1%;
    padding-bottom: 5px;
    width: 100%;
}
#searched-wrapper ul.popup-wrapper {
    position: absolute;
    background-color: rgba(228,231,231,0.95);
    color: #675e5e;
    padding: 10px;
    top: 0;
    left: 50%;
    border-radius: 5px;
    border: 1px solid #999999;
    z-index: 5;
    transform: scale(0);
    transition: 0.2s;
}
#searched-wrapper ul.popup-wrapper span.c-comment{
    font-style: italic;
    padding-left: 5px;
}
#searched-wrapper ul.popup-wrapper li {
    margin-bottom: 10px;
}
#searched-wrapper ul span {
    white-space: nowrap;
}
#searched-wrapper a:hover ul.popup-wrapper {
    transform: scale(1);
}

#nothing_found {
    text-align: center;
    padding: 1%;
    font-size: 1.1em;
}
/**//* USER PROFILE */
#my-settings-wrapper {
    position: relative;
}
#my-settings-wrapper table {
    float: right;
}
#my-settings-wrapper table input[type="submit"] {
    width: 100%;
}
#my-settings-wrapper:after {
    content: "";
    display: block;
    clear: both;
}
#validates-error {
    padding-left: 30%;
    text-align: left;
}
#validates-error li {
    padding-top: 20px;
}
#validates-error span {
    display: inline-block;
}
#validates-error span.text-glyph {
    transform: scale(2);
    margin-right: 15px;
    color: #e26f4b;
}
/**//* ADMIN PANEL */
#admin-panel-wrapper {
    position: relative;
}
#admin-panel-wrapper div.separator {
    width: 100%;
    text-align: right;
    position: relative;
}
#admin-panel-wrapper div.separator span {
    position: absolute;
    right: 0;
    font-size: 2em;
}
#admin-panel-wrapper div.separator {
    content: "";
    display: block;
}
#admin-panel-wrapper div.galleries-wrapper {
    position: relative;
}
#admin-panel-wrapper div.gallery {
    float: left;
    display: table;
    position: relative;
    width: 256px;
    height: 256px;
    border: 2px solid #c4c7c7;
    margin: 5px;
    overflow: hidden;
}
#admin-panel-wrapper div.gallery span.gallery-label-admin {
    display: table-cell;
    vertical-align: middle;
    font-size: 1em;
    transform: scale(2) rotate(-45deg);
}
#admin-panel-wrapper div.gallery div.gallery-new {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}
#admin-panel-wrapper div.gallery div.gallery-new * {
    margin-top: 4px;
    margin-bottom: 4px;
}
#admin-panel-wrapper div.gallery input.delete {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 5px;
}
#admin-panel-wrapper div.gallery input.rename {
    position: absolute;
    top: 0;
    left: 0;
    margin: 5px;
    z-index: 5;
}
#admin-panel-wrapper div.gallery input.rename-text {
    position: absolute;
    top: 0;
    left: 0;
    margin: 10px;
    width: 80%;
    padding-left: 12%;
}
#admin-panel-wrapper div.gallery input.rename-submit {
    position: absolute;
    top: 0;
    right: 0;
    margin: 5px;
    z-index: 5;
}
#admin-panel-wrapper div.galleries-wrapper:after {
    content: "";
    display: block;
    clear: both;
}
.columns-wrapper {
    position: relative;
}
.columns-wrapper ul.left-column {
    float: left;
    width: 50%;
    padding-right: 2%;
    border-right: 5px solid #675e5e;
}
.columns-wrapper ul.left-column li {
    width: 100%;
    background-color: #e4e7e7;
    margin-bottom: 10px;
    padding: 5px;
    cursor: pointer;
    box-shadow: 0px 0px 2px #424b4b;
    position: relative;
}
.columns-wrapper ul.left-column li#add-new-user {
    border-radius: 3px;
    background-color: #c4c7c7;
    border: 1px solid #c4c7c7;
}
.columns-wrapper ul.left-column li#add-new-user:hover {
    background-color: #f2d65e;
    color: #424b4b;
}
.columns-wrapper ul.left-column li div.left {
    float: left;
}
.columns-wrapper ul.left-column li div.right {
    float: right;
}
.columns-wrapper ul.left-column li span {
    padding-left: 5px;
    padding-right: 5px;
}
.columns-wrapper ul.left-column li span.label {
    display: inline-block;
    transform: scale(1.7);
}
.columns-wrapper ul.left-column li span.a {
    display: inline-block;
    transform: scale(2);
    color: #675e5e;
    width: 40px;
}
.columns-wrapper ul.left-column li:hover, .columns-wrapper ul.left-column li.selected {
    background-color: #f2d65e;
}
.columns-wrapper ul.left-column li:after {
    content: "";
    display: block;
    clear: both;
}
.columns-wrapper div.right-column {
    float: left;
    width: 50%;
}
.columns-wrapper div.right-column table {
    width: 100%;
}
.columns-wrapper div.right-column table tr {
    margin-bottom: 5px;
}
.columns-wrapper div.right-column table td.first-column {
    width: 15%;
    text-align: right;
}
.columns-wrapper div.right-column table td input {
    width: 100%;
    padding: 5px;
}
.columns-wrapper div.right-column table td input.submit {
    width: 90%;
}
.columns-wrapper div.right-column table td input.delete {
    width: 8%;
    font-size: 1.2em;
    transform: translate(0px, 3px);
}
.columns-wrapper:after {
    content: "";
    display: block;
    clear: both;
}

/**//* PAGE GALLERY */
.today { 
    background-color: #e26f4b !important;
    border: 3px solid #e26f4b !important;
    color: #ececec !important;
}
#page-gallery-wrapper {
    width: 100%;
    position: relative;
    margin-top: 1%;
}
#page-gallery-wrapper div.gallery-title {
    font-size: 2em;
    text-align: right;
    padding-right: 1%;
}
#gallery-calendar {
    width: 100%;
    position: relative;
}
#gallery-calendar div.year-caption {
    width: 10%;
    font-size: 1.5em;
    float: left;  
    cursor: pointer;
    margin-top: 5px;
}
#gallery-calendar div.year-caption ul.view-type span.active {
    color: #e26f4b;
}
#gallery-calendar div.year-caption li.year-list {
    text-align: left;
    font-size: 1.5em;
    margin-bottom: 15px;
    border-left: 10px solid #c4c7c7;
    padding-bottom: 3px;
}
#gallery-calendar div.year-caption li.year-list:hover {
    border-left: 10px solid #e26f4b;
}
#gallery-calendar div.year-caption li.active {
    color: #e26f4b;
    border-left: 10px solid #e26f4b;
}
#gallery-calendar div.year-caption span {
    color: inherit;
    padding-left: 5px;
}
#gallery-calendar ul.view-type {
    text-align: left;
    font-size: 2em;
}
#gallery-calendar ul.view-type li {
    display: inline-block;
}
#gallery-calendar ul.view-type li:hover {
    color: #e26f4b;
}
#gallery-calendar ul.view-type li.active {
    color: #e26f4b;
}
.daypicker a {
    padding-top: 3px;
    cursor: pointer;
}
.daypicker a:hover {
    background-color: #e26f4b;
    color: #e4e7e7;
}
#calendar {
    float: right;
    width: 90%;
}
#calendar div.month-label {
    position: relative;
}
#calendar div.month-label span {
    position: absolute;
    transform: scale(3); 
    right: 1.5%;
    bottom: 40%;
    color: #999999;
    text-shadow: 0px 2px 3px #c4c7c7;
    cursor: pointer;
    
}
#calendar div.month-label span:hover {
    color: #ececec;
}
#calendar ul {
    text-align: left;
    margin: 1%;
}
#calendar li {
    display: inline-block;
}
#calendar li div {
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 1%;
    background-color: #e4e7e7;
    border: 3px solid #e4e7e7;
    text-align: right;
    vertical-align: bottom;
    font-size: 2em;
    font-family: 'cormac';
    padding: 1%;
    cursor: pointer;
}
#calendar li div span {
    color: #424b4b;
    background-color: rgba(228,231,231,0.7);
    box-shadow: 0px 0px 7px #e4e7e7;
    border-radius: 7px;
    padding-left: 5px;
    padding-right: 5px;
}
.month-label {
    background-color: #c4c7c7;
    font-size: 1.5em;
    text-align: left;
    padding: 1%;
    transition: .2s;
    cursor: pointer;
}
.month-label:hover { background-color: #DF6D4D; color: #EBEBEB; }
#calendar tr.days-row td {
    width: 75px;
    height: 75px;
}
#calendar tr.days-row td.full {
    width: 128px;
    height: 128px;
    background-color: #e4e7e7;
    border: 3px solid #e4e7e7;
    text-align: right;
    vertical-align: bottom;
    font-size: 2em;
    font-family: 'cormac';
    padding: 1%;
    cursor: pointer;
    position: relative;
}
#calendar tr.days-row td.full span {
    color: #424b4b;
    background-color: rgba(228,231,231,0.7);
    box-shadow: 0px 0px 7px #e4e7e7;
    border-radius: 7px;
    padding-left: 5px;
    padding-right: 5px;
}
#calendar tr.days-row td.full a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 5%;
}
#calendar tr.days-row td.full:hover {
    color: #e26f4b;
    border: 3px solid #e26f4b;
}

/**//* DAY GALLERY */
#day-add-pictures {
    width: 100%;
    background-color: transparent;
    padding: 1%;
    text-align: left;
    position: relative;
    overflow: hidden;
    border: 2px solid #c4c7c7;
    border-left: none;
}
#day-add-pictures label {
    cursor: pointer;
    display: inline-block;
    padding: 5px;
    font-size: 1.5em;
    background-color: #424b4b;
    color: #e4e7e7;
    border-radius: 7px;
    transform: scale(1.2);
}
#day-add-pictures label:hover {
    background-color: #e26f4b;
    color: #e4e7e7;
}
#day-add-pictures span {
    display: inline-block;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 5px;
}
#day-add-pictures div#progress {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    display: inline-block;
    background-color: #c4c7c7;
    border-right: 2px solid #e26f4b;
    width: 0%;
    height: 100px;
}
#day-add-pictures span#progress-percentage {
    font-size: 2em;
    position: absolute;
    right: 0;
    border: none;
}
#day-add-pictures span.progress-label {
    display: inline-block;
    font-size: 2em;
}
#day-add-pictures span#progress-label-count {
    transform: scale(2);
    color: #e26f4b;
}
#error-wrapper {
    width: 100%;
    margin-top: 1%;
    margin-bottom: 1%;
    padding: 1%;
    background-color: #e26f4b;
    border-radius: 5px;
    color: #ececec;
}
#error-wrapper span {
    display: inline-block;
    transform: scale(2);
    padding-right: 1%;
}
#day-wrapper {
    display: flex;
    display: -ms-flexbox;
}
#day-wrapper div.thumbnail {
    display: inline-block;
    width: 75px;
    height: 75px;
    border: 3px solid #d4d7d7;
    margin: 5px;
    cursor: pointer;
    transition: 0.3s;
}
#day-wrapper div.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#day-wrapper div.thumbnail:hover {
    transform: scale(1.1);
}
#thumbnails-wrapper {
    text-align: center;
    max-width: 24% !important;
    overflow-y: auto;
    height: 600px;
    width: 11%;
}
.thumbnail-highlighted {
    border: 3px solid #e26f4b !important;
}
#picture-info-wrapper {
    flex: 1;
    min-width: 60% !important;
}
#picture-info-wrapper div.uploader-info {
    width: 100%;
    text-align: right;
}
#picture-info-wrapper div.uploader-info span.author-label {
    color: #999999;
    margin-right: 5px;
}
#picture-info-wrapper div.big-picture-wrapper {
    padding-top: 10px;
    width: 100%;
    text-align: center;
    position: relative;
}
#picture-info-wrapper div.settings {
    position: absolute;
    margin-top: 1%;
    background-color: #e4e7e7;
    border: 1px solid #c4c7c7;
    border-radius: 5px;
    padding: 3px;
    font-size: 0.8em;
    cursor: pointer;
    display: table;
    text-align: left;
    right: 0;
    z-index: 5;
}
#picture-info-wrapper div.save-link {
    top: 12%;
    padding-bottom: 5px;
    transition: 0.5s;
}
#picture-info-wrapper div.prev-day {
    top: 23%;
    padding-bottom: 5px;
    transition: 0.5s;
}
#picture-info-wrapper div.next-day {
    top: 32%;
    padding-bottom: 5px;
    transition: 0.5s;
}
.fullscreen-save-link {
    position: absolute;
    z-index: 20;
    top: 6%;
    right: 1%;
    background-color: #e4e7e7;
    border: 1px solid #c4c7c7;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.5;
}
.fullscreen-save-link:hover { background-color: #e26f4b; color: #ececec; box-shadow: 0px 0px 5px #e26f4b; opacity: 1; }
.fullscreen-save-link > span { float: left; padding: 7px; font-size: 2em; }
.fullscreen-save-link > div { float: left; padding: 5px; }
#picture-info-wrapper div.successful {
    animation-name: copied;
    animation-duration: 0.5s;
}
@keyframes copied {
    0% { background-color: #e4e7e7; border: 1px solid #c4c7c7; }
    50% { background-color: #e26f4b; border: 1px solid #e26f4b; color: #ececec; }
    100% {background-color: #e4e7e7; border: 1px solid #c4c7c7; }
}
#picture-info-wrapper div.delete-picture {
    bottom: 22%;
    padding-bottom: 5px;
}
#picture-info-wrapper div.delete-pictures {
    bottom: 12%;
    padding-bottom: 5px;
    background-color: #675e5e;
    color: #e4e7e7;
}
#picture-info-wrapper div.settings span.text-glyph {
    display: table-cell;
    vertical-align: middle;
    transform: scale(2.2);
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 3px;
    transition: 0.3s;
}
#picture-info-wrapper div.settings:hover span.text-glyph {
    transform: scale(2.5);
    color: #e26f4b;
}
#picture-info-wrapper div.settings div {
    display: table-cell;
    vertical-align: middle;
}
#picture-info-wrapper div.big-picture-wrapper img {
    max-width: 99%;
    max-height: 500px;
    object-fit: cover;
    cursor: pointer;
    box-shadow: 0px 0px 5px #424b4b;
    background-image: url(/static/Ellipsis.svg);
    background-size: cover;
}
#picture-info-wrapper div.comments-wrapper {
    width: 100%;
    padding: 1%;
    text-align: left;
    position: relative;
}
#picture-info-wrapper div.comments-wrapper input[type="text"] {
    width: 100%;
    font-size: 1.2em;
    border-bottom: 2px solid #c4c7c7;

}
#picture-info-wrapper div.comments-wrapper input[type="submit"] {
    position: absolute;
    transform: scale(2);
    transition: 0.3s;
    background: transparent;
    padding: 5px;
    right: 5%;
    top: 0;
}
#picture-info-wrapper div.comments-wrapper input[type="submit"]:hover {
    cursor: pointer;
    color: #e26f4b;
    transform: scale(3);
}
#picture-info-wrapper div.comments-wrapper li.comment {
    margin: 15px;
}
#picture-info-wrapper div.comments-wrapper li.comment span.comment-author {
    color: #999999;
    display: block;
    font-size: 1.3em;
}
#picture-info-wrapper div.comments-wrapper li.comment div {
    position: relative;
    background-color: #e4e7e7;
}
#picture-info-wrapper div.comments-wrapper li.comment span.text-glyph {
    font-size: 2em;
    float: left;
    margin-right: 5px;
    margin-left: 5px;
}
#picture-info-wrapper div.comments-wrapper li.comment span.remove-comment {
    font-size: 1em;
    display: inline-block;
    float: none;
    transform: translate(0px, 3px);
    margin: 0;
    cursor: pointer;
    transition: 0.3s;
}
#picture-info-wrapper div.comments-wrapper li.comment span.remove-comment:hover {
    transform: translate(0px, 3px) scale(1.2);
    color: #e26f4b;
}
#picture-info-wrapper div.comments-wrapper li.comment p {
    float: left;
    margin-top: 5px;
    font-style: italic;
}
#picture-info-wrapper div.comments-wrapper li.comment div:after {
    content: "";
    display: block;
    clear: both;
}
.fullscreen {
    position: fixed;
    width: auto;
    height: auto;
    max-width: 98%;
    max-height: 98%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.fullscreen-button {
    position: absolute;
    opacity: 0.3;
    z-index: 10;
    cursor: pointer;
    display: flex;
}
.fullscreen-button img {
    background-color: #c4c7c7;
    border-radius: 25px;
    width: 50px;
    height: 50px;
    margin-top: 50%;
    padding: 10px;
}
.fullscreen-prev-button { width: 30%; height: 80%; top: 20%; }
.fullscreen-next-button { width: 30%; height: 80%; top: 20%; right: 0; justify-content: flex-end; }
.fullscreen-up-button { top: 0; width: 100%; height: 20%; justify-content: center; align-items: baseline; }
.fullscreen-up-button img { transform: rotate(90deg); margin-top: 10px; }
.fullscreen-next-button img { transform: rotate(180deg); margin-right: 10px; } 
.fullscreen-prev-button img { margin-left: 10px; }

.waiting { display: inline-table; }
.waiting img { vertical-align: middle; height: 25px; transform: scale(2); padding-left: 10px; padding-bottom: 3px; }

@media (max-width: 700px) {
  input, select {
    flex: 1 !important;
    margin: 0 !important;
    padding-left: 5px !important;
  }
  input[type="submit"] {
    width: 100% !important;
    height: auto !important;
    background-color: #e26f4b !important;
    margin: 0 !important;
    color: #e4e7e7 !important;
    border-radius: 5px !important;
  }
  #auth-wrapper form {
      width: 90%;
  }
  #auth-wrapper form div {
      width: 100%;
  }
  #auth-wrapper form div input {
      width: 100%;
  }
  #home-bar {
    text-align: center;
    border: none;
  }
  #home-title {
    float: none;
    transform: scale(1.1);
  }
  #home-user {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
  }
  #home-user ul li {
    text-align: left;
  }
  .dummy-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .dummy-wrapper span.text-glyph {
    width: 40px;
  }
  #latest-uploads {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
  }
  #galleries-wrapper {
    margin-top: 10px;
    display: flex;
    justify-content: center;
  }
  #gallery-calendar div.year-caption {
    width: 22%;
  }
  #gallery-calendar div.year-caption {
    font-size: 0.7em;
  }
  #calendar {
    width: 78%;
    font-size: 2em;
  }
  #calendar div.month-label {
    font-size: 1em;
  }
  #calendar div.month-label span {
    padding-top: 10px;
    padding-right: 5px;
    transform: scale(2);
  }
  #calendar th {
    font-size: 1em;
    text-align: right;
  }
  #calendar td {
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    font-size: 0.7em !important;
    background-image: none !important;
    font-family: attractive !important;
  }
  #calendar tr.weeks {
    display: none;
  }
  .gallery-32 { width: 64px; height: 64px; }
  .days-row { height: 42px; }
  #calendar div.gallery-128 {
    width: 64px;
    height: 64px;
    background-image: none !important;
    font-size: 1em;
    font-family: attractive;
    margin: 5px;
  }
  #day-add-pictures {
    border: none;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  #day-add-pictures span.progress-label {
    display: none !important;
  }
  #day-add-pictures label {
    color: #e26f4b !important;
    background: transparent !important;
  }
  #day-wrapper {
    position: initial;
    display: flex;
    flex-direction: column;
  }
  #day-wrapper div.caption {
    display: none;
  }
  #thumbnails-wrapper {
    position: initial;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: space-between;
    padding-right: 0 !important;
    float: none;
    width: 100%;
    border: none;
  }
  #picture-info-wrapper {
    float: none;
    width: 100% !important;
    padding: 0;
    height: auto;
  }
  #picture-info-wrapper div.big-picture-wrapper {
    min-height: auto;
  }
  #picture-info-wrapper div.big-picture-wrapper div {
    display: none;
  }
  #picture-info-wrapper div.big-picture-wrapper img {
    max-width: 100%;
  }
  #picture-info-wrapper div.comments-wrapper input[type="submit"] {
    transform: scale(1);
    display: block;
  }
  #picture-info-wrapper div.comments-wrapper {
    display: flex;
    position: initial;
    flex-direction: column;
  }
  #picture-info-wrapper div.comment-element {
    display: flex;
    width: 100%;
  }
  #picture-info-wrapper div.comments-wrapper input[type="submit"] {
    position: initial;
    width: auto !important;
    transform: none;
    flex-grow: 0 !important;
  }
  #picture-info-wrapper div.comments-wrapper input[type="text"] {
    margin-right: 10px !important;
  }
  .fullscreen-save-link { display: none; }
}
