div.mv-profileedit-area-inner-wrapper {
    height: 100%;
    margin: 5px 0;
    overflow: hidden;
    width: 100%;
}

div.mv-profileedit-area {
    height: 100%;
    overflow: hidden;
    position: absolute;
    width: 100%;

    moz-transition:opacity 1.5s;
    -webkit-transition:opacity 1.5s;
    -o-transition:opacity 1.5s;
    -ms-transition:opacity 1.5s;
    transition:opacity 1.5s;
}


form.mv-profileedit-form{
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}




div.mv-lightbox-profileedit-extension div.elements div.description{
    height: 100px;
    width: 100%;
}

div.mv-lightbox-profileedit-extension div.elements input[type="text"].full-width{
    width: calc(100% - 10px);
}


/*ul.mv-profile-preload li div.preview div.item div.mv-profile-wrapper div.mv-profile-one-day-wrapper
div.mv-profile-timeslot div.mv-profile-timeslot-temp.fixed-climate-state{
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.5) 5px, rgba(255, 255, 255, 0.5) 10px)
}*/

ul.mv-profile-preload li div.preview div.mv-profile-wrapper div.mv-profile-one-day-wrapper{
    box-shadow: none;
    width: 100%;
}

form.mv-profileedit-form-climate div.mv-lightbox-log{
    margin-left: calc((100% - (100% - 500px)) / 5);
}

div.mv-lightbox-log div.elements div.mv-profile-one-day-wrapper {
    height: calc(100% - 10px);
    width: 100%;
}

div.mv-lightbox-log div.actions{
    height: 30px;
}

div.mv-profileedit-inputs label.move-synchron{
    background: linear-gradient(to bottom, rgba(200, 200, 200, 0.5) 50%, #58585a 200%) no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid rgb(200, 200, 200);
    border-radius: 3px;
    box-shadow: 0 1px 3px -1px #d3d3d3 inset;
    display: block;
    height: 25px;
    line-height: 10px;
    overflow: hidden;
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
    vertical-align: middle;
}

div.mv-profileedit-inputs label{
    float: left;
    margin-right: 20px;
}

div.mv-profile-wrapper{
    overflow: visible;
    height:100%;
    position:relative;
    float:left;
}

.mv-add-timeslot-hint,
.mv-del-timeslot-hint{
    display: none;
    position: absolute;
    z-index: 1;
    top: 25px;
    border: 1px solid lightgray;
    padding: 5px;
    background-color: #ececec;
    border-radius: 3px;
    left: calc((100% - 40%) / 2 );
    width: 40%;
    text-align: center;
}

div.mv-profile-wrapper.mv-add-timeslot-in-progress div.mv-profile-one-day-wrapper div.mv-profile-timeslot div.mv-profile-timeslot-temp,
div.mv-profile-wrapper.mv-del-timeslot-in-progress div.mv-profile-one-day-wrapper div.mv-profile-timeslot div.mv-profile-timeslot-temp{
    opacity: 0.6;
}

div.mv-profile-wrapper.mv-add-timeslot-in-progress .mv-add-timeslot-hint,
div.mv-profile-wrapper.mv-del-timeslot-in-progress .mv-del-timeslot-hint{
    display: block;

}
div.mv-profile-wrapper div.mv-profile-one-day-wrapper div.mv-profile-timeslot.disabled{
    opacity: 0.4;
}

div.mv-profile-wrapper.mv-add-timeslot-in-progress div.mv-profile-one-day-wrapper div.mv-profile-timeslot:hover{
    cursor: url(/media/images/meteoviva/add-col-cursor.cur), progress !important;
    opacity: 1;
}

div.mv-profile-wrapper.mv-del-timeslot-in-progress div.mv-profile-one-day-wrapper div.mv-profile-timeslot:hover{
    cursor: url(/media/images/meteoviva/del-col-cursor.cur), progress !important;
    opacity: 1;
}

div.mv-profile-timeslot-switch{
    background-color: white;
    border-radius: 3px;
    bottom: -25px;
    box-shadow: 2px 2px 3px 1px;
    cursor: pointer;
    height: 60px;
    left: -7px;
    line-height: 30px;
    position: absolute;
    text-align: center;
    width: 30px;
    z-index: 1005;
}

div.mv-profile-timeslot-switch:not(.detail){
    height: 0;
    width: 0;
}

div.mv-profileedit-scale-wrapper div div div:nth-of-type(odd){
    background-color: rgba(255,0,0,0.3);
}

div.mv-profileedit-scale-wrapper div{
    font-size: smaller;
    background-color: white;
    width: 100%;
    line-height: 0;
    text-align: center;
    vertical-align: top;
}

div.mv-profileedit-dayscale-wrapper{
    float: left;
    position: absolute;
    text-align: center;
    overflow: hidden;
    background-color: #ececec;
    border-radius: 3px 3px 0 0;
}

div.mv-profileedit-dayscale-time-wrapper{
    position: relative;
}

div.mv-profileedit-dayscale-time-wrapper div{
    position: absolute;
    float: left;
    overflow: visible;
}

div.mv-profileedit-dayscale-wrapper div.day-name {
    float: left;
    font-weight: normal;
    height: 100%;
    margin-top: 3px;
    position: relative;
    text-align: center;
    width: 100%;
    font-size: 10px;
}

div.mv-profileedit-area.mv-opacity-00.mv-opacity-04 div.mv-profile-wrapper div.mv-profile-one-day-wrapper div.mv-profileedit-dayscale-wrapper div.day-name{
    color: transparent;
}


div.mv-profileedit-dayscale-wrapper div.mv-profileedit-dayscale-inner-wrapper{
    height: 100%;
    margin-left: calc(100% / 12 / 2 * -1);
    position: relative;
    width: calc(100% + 100% / 12);
    line-height: 18px;
}


div.mv-profile-one-day-wrapper.planned div.mv-profileedit-dayscale-wrapper div.mv-profileedit-dayscale-inner-wrapper{
    background: rgba(0, 0, 0, 0) linear-gradient(to top, rgba(18, 35, 114, 0.8) 5%, rgba(255, 255, 255, 1) 125%) no-repeat scroll 0 0 !important;
    color: white;
}
div.mv-profile-one-day-wrapper.planned-holidays div.mv-profileedit-dayscale-wrapper div.mv-profileedit-dayscale-inner-wrapper{
    background: rgba(0, 0, 0, 0) linear-gradient(to top, rgba(200, 200, 0, 0.3) 65%, rgba(0, 0, 255, 1) 125%) no-repeat scroll 0 0 !important;
}

div.mv-profileedit-dayscale-wrapper div.mv-profileedit-dayscale-inner-wrapper div.day-time {
    float: left;
    height: 100%;
    position: relative;
    text-align: center;
    width: calc(100% / 13);
}
div.mv-profileedit-dayscale-wrapper div.day-time div{
    font-size: 8px;
}
div.mv-profile-timeslot.disabled{
    cursor: not-allowed;
}



div.mv-profile-timeslot:hover div.mv-profile-edit-tooltip{
    display: block;
}

div.mv-profile-edit-tooltip {
    display: none;
    background-color: #ececec;
    border-radius: 5px;
    color: grey;
    height: 60px;
    margin-top: -30px;
    padding: 2px;
    position: absolute;
    text-align: center;
    top: 30%;
    width: 80px;
    left: 50%;
    margin-left: -40px;
    z-index: 50;
}
div.mv-profile-edit-tooltip div {
    width:100%; 
    height:calc(100% / 3);
    overflow:hidden;
}

div.mv-profile-edit-tooltip div:not(.change) div{
    width:50%; 
    height:100%;
    float:left;
    overflow:hidden;
}
div.mv-profile-edit-tooltip div.change {
    width:100%; 
    float:left;
    overflow:hidden;
}
div.mv-profile-edit-tooltip div.change div{
    width:100%; 
    float:left;
    overflow:hidden;
}

div.mv-profileedit-area.mv-opacity-04 div.mv-profile-wrapper div.mv-profile-one-day-wrapper
div.mv-profile-timeslot:not(.disabled) div.mv-profile-edit-tooltip{
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    box-shadow: none;
    font-size: 10px;
    margin-left: -30px;
    opacity: 1;
    text-align: center;
    top: 10%;
    width: 60px;
}
div.mv-profileedit-area.mv-opacity-04 div.mv-profile-wrapper div.mv-profile-one-day-wrapper
div.mv-profile-timeslot:not(.disabled) div.mv-profile-edit-tooltip div.temperature{
    display: none;
}

div.mv-profileedit-area.mv-opacity-04 div.mv-profile-wrapper div.mv-profile-one-day-wrapper
div.mv-profile-timeslot:not(.disabled) div.mv-profile-edit-tooltip div.time div.from,
div.mv-profileedit-area.mv-opacity-04 div.mv-profile-wrapper div.mv-profile-one-day-wrapper
div.mv-profile-timeslot:not(.disabled) div.mv-profile-edit-tooltip div.time div.until{
    float: none;
    width: 100%;
    text-align: center;
}

div.mv-profileedit-area.mv-opacity-04 div.mv-profile-wrapper div.mv-profile-one-day-wrapper
div.mv-profile-timeslot:not(.disabled) div.mv-profile-edit-tooltip div.time div.until:before{
    content: "- \a";
    white-space: pre;
}

div.mv-profile-timeslot-tooltip-time-from,
div.mv-profile-timeslot-tooltip-time-until{
    background-color: #D3D3D3;
    border-radius: 3px;
    height: 30px;
    line-height: 30px;
    position: absolute;
    text-align: center;
    vertical-align: middle;
    width: 60px;

    z-index: 50;
    box-shadow: 1px 1px 6px -2px;
}

div.mv-profile-timeslot-tooltip-time-from{
    left: 0;
    margin-left: -60px;
}

div.mv-profile-timeslot-tooltip-time-until{
    margin-right: -60px;
    right: 0;
}

div.mv-profile-timeslot-tooltip div.temperature.lower:after,
div.mv-profile-timeslot-tooltip div.temperature.upper:after{
    content: " °C";
}

div.time.from:after,
div.time.until:after{
    content: " h";
}


div.mv-profile-timeslot-temp{
    width: 100%;
    position: absolute;
}

div.mv-profile-timeslot-temp.fixed-time{

}
div.mv-profile-timeslot-temp.fixed-climate-state{
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.5) 5px, rgba(255, 255, 255, 0.5) 10px);
}


div.mv-profile-one-day{
    height: 100%;
    width: 100%;
    border: none;
    overflow: hidden;
}

div.mv-profile-timeslot-temp.lower div.temperature{
    top: 0;
    font-size: 10px;
    height: 10px;
    line-height: 15px;
    position: absolute;
    text-align: center;
    width: 100%;
}

div.mv-profile-timeslot-temp.upper div.temperature{
    bottom: 0;
    font-size: 10px;
    height: 10px;
    line-height: 10px;
    position: absolute;
    text-align: center;
    width: 100%;
}

.ui-resizable-disabled{
    opacity: 1;
}

div.ui-resizable-n,
div.ui-resizable-s{
    height: 50px;
    z-index: 1001 !important;
}

div#mv-profileedit-area-climate-mobile div.mv-profile-timeslot:not(.mv-edit-timeslot-active) div.ui-resizable-handle,
div#mv-profileedit-area-loadperson-mobile div.mv-profile-timeslot:not(.mv-edit-timeslot-active) div.ui-resizable-handle,
div#mv-profileedit-area-loaddevice-mobile div.mv-profile-timeslot:not(.mv-edit-timeslot-active) div.ui-resizable-handle,
div#mv-profileedit-area-loadhumidity-mobile div.mv-profile-timeslot:not(.mv-edit-timeslot-active) div.ui-resizable-handle,
div#mv-profileedit-area-equipment-mobile div.mv-profile-timeslot:not(.mv-edit-timeslot-active) div.ui-resizable-handle{
    height: 0px !important;
    width: 0px !important;
}

div.mv-profile-timeslot.mv-edit-timeslot-active div.ui-resizable-n,
div.mv-profile-timeslot.mv-edit-timeslot-active div.ui-resizable-s{  
    background-image: url(/media/images/meteoviva/up-and-down.png);
    background-position: center;
    background-repeat: no-repeat;
}

div.ui-resizable-e,
div.ui-resizable-w{
    /*width: 10px;*/
    width: 50px;
    z-index: 1000 !important;
}
div.ui-resizable-e{
    right: -25px;
}
div.ui-resizable-w{
    left: -25px;
}

div.mv-profile-timeslot.mv-edit-timeslot-active div.ui-resizable-e,
div.mv-profile-timeslot.mv-edit-timeslot-active div.ui-resizable-w{
    background-image: url(/media/images/meteoviva/left-and-right.png);
    background-position: center;
    background-repeat: no-repeat;
}

.ui-resizable-w,
.ui-resizable-e{
    cursor: col-resize;
}


.ui-resizable-n,
.ui-resizable-s{
    cursor: row-resize;
}

.ui-resizable-s{
    bottom: -25px;
}

.ui-resizable-n{
    top: -25px;
}

div.move-synchron div{
    background-position: 5px 6px;
    background-repeat: no-repeat;
    background-size: 30px auto;
}

div.move-synchron.link div{
    background-color: #5A5A5A;
    background-image: url(/media/images/icons/link.png);
}

div.move-synchron.unlink div{
    background-image: url(/media/images/icons/unlink.png);
}

div.mv-profileedit-menu-plan-wrapper:hover {
    box-shadow: 0 0 30px -20px inset;
}

div.mv-profileedit-menu-calendar-wrapper{
    overflow: auto;
    width: 100%;
}

div.mv-profileedit-menu-calendar-wrapper div.ui-datepicker{
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: medium none;
    box-shadow: none;
    height: 100%;
    margin: auto;
    padding: 0;
    position: relative;
    width: calc(100% - 1px);
}

div.mv-profileedit-menu-calendar-wrapper div.ui-datepicker table tbody tr td:not(.ui-state-selected) a,
div.mv-profileedit-menu-calendar-wrapper div.ui-datepicker table tbody tr td:not(.ui-datepicker-week-end) a,
div.mv-profileedit-menu-calendar-wrapper div.ui-datepicker table tbody tr td:not(.ui-state-special) a{
    color: rgb(90, 90, 90);
    font-weight: normal;
    margin: 3px;
    padding: 4px;
}


div.mv-profileedit-menu-calendar-wrapper div.ui-datepicker table tbody tr td.ui-datepicker-week-end a{
    background: linear-gradient(to right bottom, rgba(200, 200, 200, 0.3) 10%, rgba(90, 90, 90, 0.15) 180%) no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: rgb(90, 90, 90);
    font-weight: normal;
    margin: 3px;
    padding: 4px;
}


div.ui-datepicker table tbody tr td{
    border: none !important;
    margin: 0px;
    padding: 0px;
}


table tbody tr td.ui-state-special a{
    background: linear-gradient(to top, rgba(250, 187, 0, 1) 5%, rgba(255, 255, 255, 1) 125%) no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    color: #5a5a5a !important;
}
table tbody tr td.ui-state-special a:hover{
    color: #5a5a5a !important;
}

table tbody tr td.ui-state-planned-holidays a,
div.mv-profile-one-day-wrapper.planned-holidays div.mv-profileedit-dayscale-wrapper div.day-name{
    background: rgba(0, 0, 0, 0) linear-gradient(to top, rgba(200, 200, 0, 0.3) 65%, rgba(0, 0, 255, 1) 125%) no-repeat scroll 0 0 !important;
}

table tbody tr td.ui-state-planned-mvc-inactive a,
div.mv-profile-one-day-wrapper.planned-mvc-inactive div.mv-profileedit-dayscale-wrapper div.day-name{
    background: rgba(0, 0, 0, 0) linear-gradient(to top, rgba(255, 0, 0, 0.7) -20%, rgba(0, 255, 0, 0.1) 100%) no-repeat scroll 0 0 !important;
}

table tbody tr td.ui-state-planned-mvc-active a,
div.mv-profile-one-day-wrapper.planned-mvc-active div.mv-profileedit-dayscale-wrapper div.day-name{
    background: rgba(0, 0, 0, 0) linear-gradient(to top, rgba(0, 255, 0, 0.7) -20%, rgba(255, 0, 0, 0.1) 100%) no-repeat scroll 0 0 !important;
}

div.ui-datepicker table tbody tr td a{
    margin: 1px !important;
    padding: 0;
}

div.ui-datepicker table tbody tr td a.ui-state-highlight{
    font-weight: bold !important;
    border-color: rgb(90, 90, 90);
}

div.ui-datepicker-header a.ui-state-hover:not(.ui-state-disabled){
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: medium none;
    box-shadow: 1Cpx 2px 1px 0 #808080 inset;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: medium none;
    /*margin-left: 2px;*/
    /*margin-top: 2px;*/
}

div.ui-datepicker-header a.ui-state-hover.ui-state-disabled{
    border: medium none;
}

div.mv-profileedit-menu-plan-wrapper{
    border: 1px solid rgb(200, 200, 200);
    border-radius: 5px;
    margin-top: 20px;
    min-height: 220px;
    padding: 5px;
    position: relative;
    width: calc(100% - 10px);
}

div.mv-profileedit-menu-calendar-wrapper div div.ui-datepicker-header{
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: medium none;
    color: rgb(90, 90, 90);
}

div.mv-profileedit-menu-calendar-wrapper div div.ui-datepicker-header a{
    background-color: rgb(200,200,200);
}

div.mv-profileedit-menu-calendar-wrapper div div.ui-datepicker-header span.ui-icon{
    background-image: url("/media/images/ui-icons_888888_256x240.png");
}


div.ui-datepicker-header a.ui-state-hover span.ui-icon {
    background-image: url("/media/images/ui-icons_888888_256x240.png");
}

div.mv-profileedit-menu-plan-wrapper h3{
    margin-bottom: 5px;
    margin-top: 5px;
}



div.mv-profileedit-area div.mv-profile-tempscale{
    opacity: 0;
}

div.mv-profileedit-area.mv-opacity-10 div.mv-profile-tempscale,
div.mv-profileedit-area.mv-opacity-07 div.mv-profile-tempscale{
    opacity: 1;
}

div.mv-profileedit-area.mv-opacity-00{
    opacity: 0;
}

div.mv-profileedit-area.mv-opacity-04{
    opacity: 0.6;
    z-index: 98;
}

div.mv-profileedit-area.mv-opacity-07{
    opacity: 0.6;
    z-index: 99;
}

div.mv-profileedit-area.mv-opacity-10{
    opacity: 1;
    z-index: 100;
}