@media only screen and (min-width: 1025px){
    
    body {
    -ms-content-zooming: none;
    }

    #menu {
        background-image: url(../images/road-ahead.png); 
        -webkit-background-size: cover;
          -moz-background-size: cover;
          -o-background-size: cover;
          background-size: cover;
    }
    
    #menu .ui-content, #menu .ui-overlay-a, #menu .ui-page-theme-a, #menu .ui-page-theme-a, #menu .ui-panel-wrapper, #menu .ui-overlay-b, #menu .ui-page-theme-b, #menu .ui-page-theme-b {
        background: none !important;
    }
    
    #menuHeader {
        background-image:none;
    }
    
    #mainMenuIcon {
        background: rgba(42, 42, 42, 0.5);
		backdrop-filter: blur(10px);
    }
    
    

    .loginForm {
        width: 600px !important;
        margin: 0 auto !important;
        position: relative !important;
    }
    
    #menuPanel {
        width: 300px !important;
        -ms-overflow-style:none;
        overflow:auto;
    }
   
    .loadMenu {
        display:none !important;
    }
    
    .ui-responsive-panel {
    height:inherit !important;
    }
    .ui-responsive-panel,
    .ui-responsive-panel > .ui-header,
    .ui-responsive-panel > .ui-footer,
    .ui-responsive-panel > .ui-panel-wrapper,
    .ui-responsive-panel > .ui-content, 
    .ui-responsive-panel > .ui-bar {
        left: 300px;
        right: -300px;
        width: auto;
        margin-right: 300px;
        margin-left: 1px;
        /*height:auto !important;
        height: auto !important;
        max-height: inherit;  */
    } 
    
    
    
  .ui-panel-animate.ui-panel-page-content-position-left {
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
  }
  .ui-panel-animate {
    -webkit-transition: none;

    -moz-transition: none;
    transition: none;
  }
    .ui-panel-open {
        position:fixed;
    }    
  .ui-panel-closed {
    /*width: 300px;*/
    visibility: visible;
    clip: auto;
    height: auto !important;
    max-height: inherit; 
      position:fixed;
  }
  .ui-panel {
    margin-right: 0;
  }
  .ui-panel-animate.ui-panel-position-left.ui-panel-display-push {
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
  }
  .hide-on-large-screen {
    visibility: hidden;
  }
   .ui-panel-inner {
        position: absolute;
        top: 1px;
        left: 0;
        right: 0;
        bottom: 0px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    } 
    .ui-panel-inner {
      padding: 0.75em;
    }
    
    /*specific elements*/

    .editContainer {        
        left: 300px;
        right: -300px;
        margin-right: 300px;
    }
    
    .ui-content-editor {
      padding:0 !important;
    }

    .noteEditor {
        /*margin-right: 300px;*/
        padding-right: 10px;
        /*margin-left: 300px;*/
        z-index:1000;
    }
    
    .fixfixed {
      width: calc(100% - 15px);
    }
    

    #mainmenu.ui-listview li .ui-btn .ui-li-aside {
        color: #eee;
    }
    /* First breakpoint is 48em (768px). 3 column layout. Tiles 250x250 pixels incl. margin at the breakpoint. */

    #mainmenu.ui-content {
        padding: .625em; /* 10px */
    }
    #mainmenu.ui-listview li {
        float: left;
        width: 23%;
        height: 230px;
        margin: .625em 1%;
        
    }
    #mainmenu.ui-listview li > .ui-btn {
        -webkit-box-sizing: border-box; /* include padding and border in height so we can set it to 100% */
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        height: 100%;
        background: rgba(42, 42, 42, 0.7) !important
    }
    #mainmenu.ui-listview li.ui-li-has-thumb .ui-li-thumb {
        height: auto; /* To keep aspect ratio. */
        max-width: 100%;
        max-height: none;
    }
    /* Make all list items and anchors inherit the border-radius from the UL. */
    #mainmenu.ui-listview li,
    #mainmenu.ui-listview li .ui-btn,
    #mainmenu.ui-listview .ui-li-thumb {
        -webkit-border-radius: inherit;
        border-radius: inherit;
    }
    /* Hide the icon */
    #mainmenu.ui-listview .ui-btn-icon-right:after {
        display: none;
    }
    /* Make text wrap. */
    #mainmenu.ui-listview h2,
    #mainmenu.ui-listview p {
        white-space: normal;
        overflow: visible;
        position: absolute;
        left: 0;
        right: 0;
    }
    /* Text position */
    #mainmenu.ui-listview h2 {
        font-size: 1.25em;
        margin: 0;
        padding: .125em 1em;
        bottom: 50%;
    }
    #mainmenu.ui-listview p {
        font-size: 1em;
        margin: 0;
        padding: 0 1.25em;
        min-height: 50%;
        bottom: 0;
    }
    /* Semi transparent background and different position if there is a thumb. The button has overflow hidden so we don't need to set border-radius. */
    #mainmenu.ui-listview .ui-li-has-thumb h2,
    #mainmenu.ui-listview .ui-li-has-thumb p {
        background: #111;
        background: rgba(0,0,0,.8);
    }
    #mainmenu.ui-listview .ui-li-has-thumb h2 {
        bottom: 35%;
    }
    #mainmenu.ui-listview .ui-li-has-thumb p {
        min-height: 35%;
    }
    /* ui-li-aside has class .ui-li-desc as well so we have to override some things. */
    #mainmenu.ui-listview .ui-li-aside {
        padding: .125em .625em;
        width: auto;
        min-height: 0;
        top: 0;
        left: auto;
        bottom: auto;
        /* Custom styling. */
        background: #990099;
        background: rgba(153,0,153,.85);
        -webkit-border-top-right-radius: inherit;
        border-top-right-radius: inherit;
        -webkit-border-bottom-left-radius: inherit;
        border-bottom-left-radius: inherit;
        -webkit-border-bottom-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    /* If you want to add shadow, don't kill the focus style. 
    #mainmenu.ui-listview li {
        -moz-box-shadow: 0px 0px 9px #111;
        -webkit-box-shadow: 0px 0px 9px #111;
        box-shadow: 0px 0px 9px #111;
    }
    */
    /* Images mask the hover bg color so we give desktop users feedback by applying the focus style on hover as well. */
    #mainmenu.ui-listview li > .ui-btn:hover {
        -moz-box-shadow: 0px 0px 12px #33ccff;
        -webkit-box-shadow: 0px 0px 12px #33ccff;
        box-shadow: 0px 0px 12px #33ccff;
    }
    /* Animate focus and hover style, and resizing. */
    #mainmenu.ui-listview li,
    #mainmenu.ui-listview .ui-btn {
        -webkit-transition: all 500ms ease;
        -moz-transition: all 500ms ease;
        -o-transition: all 500ms ease;
        -ms-transition: all 500ms ease;
        transition: all 500ms ease;
		border-radius: 15px;
		backdrop-filter: blur(10px);
		border: none !important;
    }
    #mainmenu i {
        float: right;
        margin-right: -80px !important;
        margin-top: -40px !important;
    }
    #mainmenu.ui-listview .menuicon {
        font-size:5.0em;
        opacity: 0.5;
        
    }
    #mainmenu.ui-listview .menutext {
        font-size:1.9em;
        padding-top:30px;
        margin-left:-40px;
        word-wrap: break-word;
        overflow:visible;
        white-space: normal;
        color: #ffffff !important;
        text-shadow: none !important;
    }

    /* Set a max-width for the last breakpoint to prevent too much stretching on large screens.
    By setting the max-width equal to the breakpoint width minus padding we keep square tiles. */
    #mainmenu.ui-listview {
        max-width: 62.5em; /* 1000px */
        margin: 0 auto;
    }

}   

/*@media screen and (-ms-ime-align:auto){  */
@supports (-ms-ime-align:auto) {
   /* Windows specific styles go here */  
    .ui-content {
        padding-bottom:77px;
    }
}


.box {
    font-size: 1.25rem; /* 20 */
    /*background-color: #c8dadf;*/
    position: relative;
    padding: 15px;
    text-align: -webkit-center;
}

.box.has-advanced-upload {
  padding:20px;
  background-color: black;
  outline: 1px dashed #FFFFFF;
  outline-offset: -10px;
  color: #FFFFFF;
}
.box.has-advanced-upload .box__dragndrop {
  display: inline;
}

.box.has-advanced-upload .box__icon {
    width: 100%;
    height: 80px;
    fill: #92b0b3;
    display: block;
    margin-bottom: 40px;
}

    

.box.is-dragover {
  background-color: grey;
}
.box .box__input {
  display: block;
}

.box.is-uploading .box__input {
  display: none;
}

#winjsoverlay {
    z-index:2000 !important;
}

/* Redact Class for use in theTiny MC Editor */
.redacted {
    background-color: rgb(182, 179, 4) !important;
    color: black !important;
}

#uploadVideo, #uploadFile{
    cursor: pointer;
}

#uploadVideo:hover, #uploadFile:hover{
    color: #2489ce;
}

#NoteDetailsAddVideo_file, #NoteDetailsAddFile_file, #NoteDetailsAddPhoto_file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}




.buttonView {
  border: 0;
  outline: none;
  background: #00000070;
  color: #FFFFFF;
  padding: 4px 8px;
  height: 90px !important;
  min-width: 90px !important;
  border-radius: 48px !important;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.3s ease-in;
  -webkit-transition: 0.3s ease-in;
  -moz-transition: 0.3s ease-in;
  -ms-transition: 0.3s ease-in;
  -o-transition: 0.3s ease-in;
}
.buttonView:hover {
  background: #61616155 !important;
  color: #000000 !important;
}
/* Camera Container */

.camera-view video {

  object-fit: cover;
  transform: scaleX(-1);
}

.photoBox-ctn {
  height: 450px;
  width: 100%;
}

.image-ctn {
  position: relative;
  background: #fff;
  height: 450px;
}

/* IMAGE BOTTOM */
.image-bottom {    
  background: #00000050;
  position: absolute;
  inset: 0;
  top: auto;
  padding: 0 5%;
  display: grid;
  place-items: center;
  float: right;
}
.image-bottom > .inner {
  display: grid;
  place-items: center;
  max-width: 500px;
}

/* IMAGE BOTTOM */
.image-bottom-edit {    
  background: #00000050;
  position: absolute;
  bottom: 10px; /* Adjust as necessary */
  right: 10px; /* Adjust as necessary */
  padding: 5px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-bottom-edit > .inner {
  display: grid;
  place-items: center;
  max-width: 500px;
}

/* CAMERA BOTTOM */
.camera-bottom {    
  background: #00000050;
  position: absolute;
  inset: 0;
  top: auto;
  padding: 0 5%;
  display: grid;
  place-items: center;
  margin-bottom: 5px;
}
.camera-bottom > .inner {
  display: grid;
  place-items: center;
  max-width: 500px;
}

/* LENS MODIFIER */
.lens-modifier {
  display: flex;
  position: absolute;
  top: -50px;
  background: #00000070;
  color: #FFFFFF;
  border-radius: 24px;
  height: 30px;
  padding: 0 4px;
}
.lens-modifier button {
  background: transparent;
  font-weight: 700;
}
.lens-modifier button.active, .lens-modifier button:active {
  background: #FFFFFF;
  color: #000000;
}

/* MODES */
.modes {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}
.modes button {
  font-size: 1.15rem;
  font-weight: 300;
  background: transparent;
}
.modes button.active {
  background: #00000070;
  color: #FFFFFF;
  height: 40px;
  padding-bottom: 1rem;
  padding-top: 1rem;
  padding-right: 1rem;
  padding-left: 1rem;
  font-weight: 700;
}

.ui-mobile {
  height: 100% !important;
}

.center-wrapper-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  position: relative;
  display: inline-block;
  text-align: center;
}

.image-container-sketch {
  position: relative;
  display: inline-block;
}

@media only screen and (max-width: 767px) {
  
  .tox-edit-focus{  

  }

}/*Mobile*/

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  
}/*Tablet*/

@media only screen and (min-width: 1025px) {
  
  .fixfixed .noteEditor {

  }

  .tox-edit-focus{  
  
  }
          
}/*Desktop*/






#NoteDetailsAddSketch_sketch, #capturedImage, #NoteDetailsAddPhoto_capture {
  display: block;
  max-width: 95%;
  max-height: 95%;
}

#NoteDetailsAddSketch_editor, #editImage, #NoteDetailsAddSketch_editor, #NoteDetailsAddPhoto_edit {
  position: absolute;
  bottom: 0; 
  right: 40px; 
  background:#00000050; 
  padding: 25px; 
  border-radius: 25px; 
}

.image-over{
bottom:10px;
}

@media (max-width: 767px) {
  .box {            
      padding: 0;    
  }
  .image-bottom > .inner {
      max-width: 600px;
  }
  .box.has-advanced-upload {     
    outline-offset: 0;
  }

  .ui-overlay-a, .ui-page-theme-a, .ui-page-theme-a .ui-panel-wrapper{

  }
}
