.popup-box-close .icon{
  font-size: 18px !important;
}

.popup-box-bottombutton{
  padding-top: 10px;
  height: 44px;
  display: table;
  margin: auto;
}

.popup-addmodule-wrapper{
  /*height: 330px;*/
}
.popup-addmodule-slidebox{
  transition: all 0.6s;
  transform: translateY(0px);
}
.popup-addmodule-choose{
  overflow: auto;
  height: 330px;
  display: none;
  transition: all 0.6s;
  padding-top: 3px;
}
.popup-addmodule-choose.active{
  display: block;
}
.popup-addmodule-choose-item{
  line-height: 34px;
  vertical-align: middle;
  cursor: default;
  padding-right: 10px;
}

.popup-addmodule-choose-item:after{
  content: ' ';
  display: table;
  clear: both;
}
.popup-addmodule-choose-item .btn{
  width: 70px;
}

.popup-addmodule-choose-item.twitch{
  color: #6441a4;
}

.popup-addmodule-choose-icon{
  float: left;
  display: block;
  padding: 5px 15px 0px 10px;
  vertical-align: middle;
  width: 50px;
  text-align: center;
}
.popup-addmodule-choose-icon i{
  font-size: 24px !important;
}
.popup-addmodule-choose-text{
  float: left;
  display: block;
  font-size: 16px;
  white-space: nowrap;
  width: calc(100% - 140px);
  text-overflow: ellipsis;
  overflow: hidden;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
  margin-bottom: 2px;
  padding-left: 5px;
}
.popup-addmodule-choose-continue{
  float: right;
}

.popup-addmodule-modulesettings{
  min-height: 150px;
  padding-bottom: 40px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s;
  visibility: collapse;
  position: absolute;
}
.popup-addmodule-modulesettings.active{
  transform: translateY(0px);
  opacity: 1;
  visibility: visible;
  position: relative;
}
.popup-addmodule-modulesettings-addbutton{
  position: absolute !important;
  bottom: -6px !important;
}

.popup-updatemodule{
  padding-bottom: 40px;
}
.popup-updatemodule-update{
  position: absolute !important;
  bottom: 4px;
}

.module-news-box{
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
  background: #fff;
  padding: 8px;
  margin: 8px 4px;
}
.module-news-view, .module-email-view{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  visibility: collapse;
  transform: translateX(100%);
  overflow: hidden;
  transition: all 1.2s;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
.module-news-view.active, .module-email-view.active{
  visibility: visible;
  transform: translateX(0%);
}
.module-news-view-title, .module-email-view-title{
  font-size: 18px;
  padding: 11px;
  color: #fff;
}
.module-news-view-title-text, .module-email-view-title-text{
  width: 100%;
  padding-right: 24px;
}
.module-news-view-title-close, .module-email-view-title-close{
  position: absolute;
  top: 12px;
  right: 14px;
  cursor: pointer;
}
.module-news-view-title-close .fa, .module-email-view-title-close .fa{
  font-size: 20px !important;
  margin: 0px;
}
.module-news-view-title-close:hover .icon, .module-email-view-title-close:hover .icon{
  color: #dedede !important;
}
.module-news-view-description, .module-email-view-description{
  font-size: 14px;
  padding: 10px;
  height: 100%;
  color: rgba(0, 0, 0, 0.81);
  background-color: #fff;
}
.module-news-view-footer, .module-newsMain-footer, .module-email-view-footer{
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 32px;
  background: #eaeaea;
  color: rgba(0, 0, 0, 0.81);
  padding: 8px;
  font-size: 16px;
  line-height: 16px;
}
.module-news-view-footer-date, .module-newsMain-footer-date, .module-email-view-footer-date{
  float: left;
}
.module-news-view-footer-link, .module-newsMain-footer-link, .module-email-view-footer-link{
  float: right;
}
.module-news-view-footer-link a, .module-newsMain-footer-link a, .module-email-view-footer-link a{
  text-decoration: underline;
  color: rgba(0, 0, 0, 0.81);
}
.module-news-view-footer-link a:hover, .module-newsMain-footer-link a:hover, .module-email-view-footer-link a:hover{
  color: rgba(0, 0, 0, 1);
}

.module-news-padded{
  padding: 6px 12px 6px 10px;
  height: calc(100% - 48px);
}
.module-news-padded-inner{
  height: 100%;
  overflow: hidden;
}
.module-news-icon{
  display: inline;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  margin-top: 7px;
  vertical-align: top;
}
.module-news-url{
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: calc(100% - 26px);
  text-decoration: none;
  line-height: 30px;
  font-size: 16px;
  cursor: pointer;
}
.module-news-url:hover{
  text-decoration: underline;
}
.module-news-item{
  height: 29px;
  overflow: hidden;
}
.module-news-publisher{
  float: left;
  font-size: 11px;
  line-height: 16px;
}
.module-news-date{
  float: right;
  font-size: 11px;
  line-height: 16px;
}
.module-news-item:after{
  content: ' ';
  display: table;
  clear: both;
}

.module-newsMain{
  height: 100%;
}
.module-newsMain-controls{
	position: absolute;
	right: 0px;
	top: 0px;
  background: rgba(0, 0, 0, 0.6);
  border-bottom-left-radius: 5px;
  color: #fff;
  padding: 5px 10px;
}
.module-newsMain-back, .module-newsMain-next{
  display: inline;
}
.module-newsMain-back:hover, .module-newsMain-next:hover{
  text-decoration: underline;
  cursor: pointer;
}
.module-newsMain-slide{
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  transition: all 0.6s;
  opacity: 0;
  visibility: hidden;
}
.module-newsMain-slide.active{
  opacity: 1;
  visibility: visible;
}
.module-newsMain-image{
  width: 100%;
  height: 100%;
  display: block;
}
.module-newsMain-background{
  position: absolute;
  left: -10px;
  right: -10px;
  top: -10px;
  bottom: -10px;
  background-size: cover;
  background-position: center center;
}
.module-newsMain-background.tiles{
  background-size: auto auto;
  background-position: center center;
}
.module-newsMain-info{
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 100%;
  color: #fff;
  transition: all 0.6s;
  padding-top: 50px;
}
.module-newsMain-info:hover{
  transform: translateY(-100%) !important;
}
.module-newsMain-title{
  padding: 10px 10px 10px 20px;
  font-size: 24px;
  width: 100%;
  display: inline-block;
  padding-left: 10px;
  transition: all 0.3s;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 400;
  box-shadow: 0px -1px 1px 0px rgba(0, 0, 0, 0.2);
}
.module-newsMain-description{
  width: 100%;
  height: 100%;
  font-size: 14px;
  padding: 10px;
  overflow: auto;
  color: rgba(0, 0, 0, 0.81);
  background-color: #fff;
}
.module-newsMain-description img{
  float: left;
  padding-right: 20px;
}

.module-calculator{

}
.module-calculator-inner{
  height: 80%;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
}
.module-calculator-output{
  height: 20% !important;
  font-size: 20px !important;
  text-align: right;
}
.module-calculator-status{
  position: absolute;
  top: 10%;
  left: 20px;
  color: rgba(0, 0, 0, 0.6);
  background: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
}
.module-calculator-cell{
  display: block;
  float: left;
  width: 25%;
  height: 20%;
  padding: 5px;
  vertical-align: bottom;
}
.module-calculator-cell2{
  display: block;
  float: left;
  width: 50%;
  height: 20%;
  padding: 5px;
  vertical-align: bottom;
}
.module-calculator-button{
  width: 100%;
  height: 100%;
  font-size: 12px !important;
  padding: 3px 12px !important;
}
.module-calculator-clean{
  background: #e53935 !important;
  border-color: #c62828 !important;
  color: #fff !important;
}
.module-calculator-calculate{
  background: #689f38 !important;
  border-color: #558b2f !important;
  color: #fff !important;
}

.module-weather-content{
  width: 100%;
  height: 100%;
}
.module-weather-top{
  width: 100%;
  height: calc(100% - 90px);
  color: rgb(255, 255, 255);
  font-size: 28px;
  position: relative;
  overflow: hidden;
}
.module-weather-temperature{
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 40px;
}
.module-weather-location{
  position: absolute;
  top: 15px;
  right: 20px;
  max-width: calc(100% - 100px);
  white-space: nowrap;
  overflow: hidden;
  /*text-overflow: ellipsis;*/
  line-height: 30px;
}
.module-weather-date{
	position: absolute;
	right: 20px;
	top: 40px;
	font-size: 16px;
}
.module-weather-state{
  position: absolute;
  bottom: 10px;
  right: 10px;
  cursor: default;
  opacity: 0.4;
}
/*.module-weather-state img{
  width: 160px;
  height: 160px;
}*/
.module-weather-additional{
  position: absolute;
  left: 15px;
  bottom: 10px;
  font-size: 20px;
}
.module-weather-additional-item{
	line-height: 20px;
  font-size: 16px;
}
.module-weather-weather{
  font-size: 55px;
  line-height: 50px;
  margin-left: -5px;
  white-space: nowrap;
}

.module-weather-bottom{
  width: 100%;
  height: 90px;
}
.module-weather-day{
  width: 33.3%;
  height: 80px;
  float: left;
  text-align: center;
  position: relative;
}
.module-weather-day-icon{
  cursor: default;
  position: relative;
  top: 7px;
  height: 38px;
}
.module-weather-day-icon .osenice-weather-icon {
	width: 32px;
  opacity: 0.8;
}
.module-weather-day-day{
  font-size: 20px;
  line-height: 26px;
}
.module-weather-day-temp{
  font-size: 14px;
}

.module-notepad-padded{
  padding: 10px;
  font-size: 20px;
  height: 100%;
}
.module-notepad-notes{
  word-wrap: break-word;
  height: 100%;
  overflow: hidden;
  font-size: 18px;
  line-height: 30px;
}
.module-notepad-notes-edit{
  width: 100%;
  height: calc(100% - 48px);
  resize: none;
  padding: 10px;
  border: 0px;
}

.module-twitch-head-icon{
  font-size: 24px !important;
  position: absolute;
  right: 10px;
  padding-right: 2px;
  top: 14px;
  cursor: default;
}
.module-twitch-padded{
  padding: 10px 0px;
}
.module-twitch-padded-inner{
  overflow: auto;
}
.module-twitch-nolive{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 24px;
  color: #6441a4;
  font-weight: 400;
  text-align: center;
}
.module-twitch-item{
  position: relative;
  height: 58px;
  /*margin: 4px 0px 8px;*/
  padding: 5px 10px;
  cursor: pointer;
  display: block;
}
.module-twitch-item:hover{
  background: rgba(255, 255, 255, 0.5);
}
.module-twitch-icon{
  width: 48px;
  height: 48px;
  border-radius: 0px;
  float: left;
  transition: all 0.3s;
}
.module-twitch-item:hover .module-twitch-icon{
  border-radius: 7px;
}
/*.module-twitch-item:hover .module-twitch-icon{
  filter: grayscale(100%) invert(100%);
}*/
.module-twitch-content{
  float: left;
  padding-left: 10px;
  color: rgba(0, 0, 0, 0.81);
}
/*.module-twitch-item:hover .module-twitch-content{
  color: #fff;
}*/
.module-twitch-name{
  font-size: 20px;
  line-height: 24px;
}
.module-twitch-live{
  background: #8bc34a;
  border-radius: 4px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 8px;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 400;
  transition: all 0.3s;
}
.module-twitch-item:hover .module-twitch-live{
  transform: translateY(-50%) translateX(-10px);
}

.popup-settingmodule-presetstreamers{
  color: #fff;
  background: #bbb;
  padding: 10px 10px;
  margin-top: 15px;
  margin-bottom: 5px;
  position: relative;
  left: -10px;
  width: calc(100% + 20px);
  font-weight: 400;
  font-size: 16px;
  background-image: url('../img/twitch-settings.gif');
  background-size: cover;
  background-position: center;
}
.popup-settingmodule-presetstreamers .btn{
  margin-bottom: 5px;
}

.module-currencies{
  width: 100%;
  height: 100%;
}
.module-currencies-item{
  width: 165px;
  height: 170px;
  margin: 0px 10px 10px 0px;
  position: relative;
  float: left;
  padding: 10px;
  font-weight: 400;
}
.module-currencies-item.small{
  width: 120px;
}
@media (max-width: 640px){
  .module-currencies-item{
    width: 100% !important;
  }
}
.module-currencies-item.small .module-currencies-item-symbol{
  /*width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 20px;
  margin-top: 6px;*/
  display: none;
}
.module-currencies-item.small .module-currencies-item-rate{
  font-size: 18px;
}
.module-currencies-item.small .module-currencies-item-state{
  font-size: 18px;
}
.module-currencies-item-top:after{
  content:' ';
  clear: both;
  display: table;
}
.module-currencies-item-symbol{
  float: left;
  border-radius: 50%;
  color: #fff;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  margin-right: 5px;
}
.module-currencies-item-symbol i{
  font-size: 20px;
  line-height: 40px;
}
.module-currencies-item-code{
  float: right;
  font-size: 24px;
  line-height: 40px;
  margin-right: 5px;
}

.module-currencies-item-bottom{
  margin-top: 10px;
  position: absolute;
  bottom: 10px;
}
.module-currencies-item-rate{
  display: inline-block;
  font-size: 24px;
  line-height: 28px;
}
.module-currencies-item-state{
  display: inline-block;
  line-height: 28px;
  font-size: 24px;
  margin-left: 5px;
}

.module-email{
  padding: 6px 0px 6px 0px;
  height: calc(100% - 48px);
  overflow: auto;
}
.module-email-content{
  width: 100%;
  float: left;
}
.body-grid.fullscreen .module-email-content{
  width: 35%;
}
.module-email-viewer{
  display: none;
  width: 65%;
  height: 100%;
  float: right;
}
.body-grid.fullscreen .module-email-viewer{
  display: block;
}
.module-email-item{
  height: 29px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #eee;
}
body.osenice-darktheme .module-email-item{
  border-bottom-color: #d6d6d6;
}
.module-email-item.active{

}
.body-grid.fullscreen .module-email-item.active:after{
  content: ' ';
  border: 14px solid transparent;
  border-right-color: #fff;
  position: absolute;
  right: 0px;
  z-index: 10000;
  top: 0px;
  filter: drop-shadow(0px 0px 4px rgba(0,0,0,0.23));
}
.module-email-item:first-child{
}
.module-email-item:last-child{
  margin-bottom: 6px;
    border-bottom: 0px;
}
.module-email-url{
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  text-decoration: none !important;
  line-height: 30px;
  font-size: 16px;
  cursor: pointer;
  padding-left: 10px;
  padding-right: 12px;
  transition: all 0.3s;
}
.module-email-subject{
  display: inline;
}
.module-email-date{
  display: inline-block;
  width: 100px;
  text-align: right;
  padding-right: 5px;
  color: rgba(0, 0, 0, 0.81);
}
.module-email-url .module-email-cover{
  position: absolute;
  left: 113px;
  top: 0px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s;
  background: #fff;
  color: rgba(0, 0, 0, 0.81);
  text-overflow: ellipsis;
  width: calc(100% - 120px);
  overflow: hidden;
}
body.osenice-darktheme .module-email-url .module-email-cover{
  background: #eeeeee;
}
.module-email-url:hover .module-email-cover{
  opacity: 1;
  transform: translateX(0px);
}
.module-email-view-description{
  padding: 0px !important;
}
.body-grid.fullscreen .module-email-view-description{
  height: calc(100% - 79px) !important;
}
.module-email-view-description-noactive{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 32px;
}
.module-email-view-message{
  width: 100%;
  height: 100%;
  border: 0px;
}
.module-email-view-message.small{
  width: 200% !important;
  height: 200% !important;
  transform: scale(0.5, 0.5) !important;
  transform-origin: left top !important;
}
.module-email-view-footer-link a{
  cursor: pointer;
}

.module-email-reload i.active{
  animation: 1s email-reloading linear infinite;
}
@keyframes email-reloading {
  0%{transform: rotateZ(0deg);}
  100%{transform: rotateZ(360deg);}
}

.body-grid.fullscreen{
  left: -100px !important;
  right: 0px !important;
  top: 0px !important;
  bottom: 0px !important;
  width: calc(100% + 200px) !important;
  height: 700px !important;
  z-index: 1000 !important;
}
.body-grid.fullscreen .module-email-view{
  width: 65%;
  left: auto;
}
.body-grid.fullscreen .module-email-view-title-close{
  display: none;
}
.body-grid.fullscreen .module-email-view-footer-link{
  display: none;
}
.body-grid.fullscreen .body-grid-container-title-additional{
  z-index: 1000;
}

.popup-settingmodule-email-name{
  margin: 0px !important;
  display: inline-block !important;
}
.popup-settingmodule-email-domain{
  margin: 0px !important;
  display: inline-block !important;
  /*float: right !important;*/
}

.module-time-wrapper{
  transition: all 0.6s;
}
.module-time-wrapper:not(.inverted){
  background-color: #fff !important;
}
body.osenice-darktheme .module-time-wrapper:not(.inverted){
  background-color: #eeeeee !important;
}
.module-time, .module-time-wrapper{
  width: 100%;
  height: 100%;
}
.module-time-inner, .module-time-stopwatch-inner{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
}
.module-time-stopwatch-inner{
  width: 100%;
}
.module-time.rotated{
  transform: rotateZ(-90deg);
}
.module-time-time, .module-time-stopwatch-time{
}
.module-time-date, .module-time-stopwatch-ms{
  opacity: 0.7;
  font-weight: 400;
  font-size: 20px;
}
.module-time-stopwatch-time, .module-time-stopwatch-ms{
  display: inline-block;
}
.module-time-switch, .module-time-play{
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.6s;
  opacity: 0;
  transform: translateY(20px);
}
.module-time-switch{
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}
.module-time-play{
  right: auto;
  left: 10px;
  background-color: transparent;
  cursor: default;
  visibility: hidden;
}
.module-time-play i{
  font-size: 20px !important;
}
.module-time-wrapper.inverted .module-time-switch{
  background: #fff !important;
}
.module-time-switch i, .module-time-play i{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 24px;
  color: #fff;
  transform: translateX(-50%) translateY(-50%);
  transition: all 0.6s;
}
.module-time-wrapper.inverted .module-time-switch i{
  color: #000;
}
.module-time-wrapper.inverted .module-time-play{
  cursor: pointer;
  background: #fff;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
  visibility: visible;
}
.module-time-wrapper.inverted .module-time-play i{
  color: #000;
}
.module-time-wrapper:hover .module-time-switch, .module-time-wrapper.inverted:hover .module-time-play{
  opacity: 1 !important;
  transform: translateY(0px) !important;
}

.module-irc{
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
}
.module-irc-window{
  padding: 10px;
}
.module-irc-line{
  line-height: 20px;
  font-size: 16px;
  font-weight: 300;
}
.module-irc-line-time, .module-irc-line-nick, .module-irc-line-text{
  display: inline-block;
}
.module-irc-output{
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 40px;
}
.module-irc-output-text{
  border-width: 0px;
  background: transparent;
  width: calc(100% - 80px);
  height: 100%;
  line-height: 40px;
  padding: 0px 15px;
  color: #fff;
}
.module-irc-output-button{
  color: #fff;
  position: absolute;
  right: 0px;
  bottom: 0px;
  height: 40px;
  width: 80px;
  background: transparent;
  border-width: 0px;
  font-size: 24px !important
}
.module-irc-output-button:hover{
  background: rgba(0, 0, 0, 0.2);
}
