html {
    overscroll-behavior-x: none;
}

body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    touch-action: manipulation;    
    overflow: hidden;
    overscroll-behavior-x: none;
}

body.page-editor {
    flex-direction:row;
}

.embedded .toolbar_button.google {
    display:none;
}

.page-editor .toolbar {
    border: none;
    position: absolute;
    z-index: 10000;
    background: transparent;
    margin: 10px 0 0 10px;
    align-items:center;
}

.page-editor.player-view .toolbar {
    display:none;
}

.player-view .wixie_canvas {
    border:none;
}
.player-view.iframe .wixie_canvas {
    box-shadow:none;
}

input[type="range"]:focus {
    outline-offset: 0;
}

#editor-page,
#palette_brushes,
#palette_symmetry,
#palette_fills,
#palette_brush_size,
.paint_color.advanced,
.palette_button.edit_colors,
.palette_button.edit.shadow,
.palette_button.edit.bubble,
#palette_bubble_stroke_width,
#palette_bubble_stroke_color,
#palette_bubble_fill_color,
#text_color,
#text_bubble,
.palette_label,
#graphic_filter,
#graphic_shape,
#graphic_shadow,
.checkbox.allow.import,
.teacher.single #editor-instructions-button,
.teacher.single .modal-social-button.facebook,
.teacher.single .modal-social-button.twitter,
.teacher.single .modal-social-button.pinterest,
.teacher.single .modal-social-button.linkedin,
.es_ES #fill_sample_label,
.fr_FR #fill_sample_label,
.slider_value.small,
.palette_switch.scale-switch,
.storyboard_holder,
.palette_undo.zoom{
    display: none!important;
}

.embedded .share-advanced-label {
    display: none;
}

.student #export_wixie,
.student #dialog-export .modal-row.secondary,
.student .modal-body .widget.team.flex.container .list.flexcolumn,
.student #share-header-embed,
.student #share-body-embed,
.student #share-copy-embed-key,
.student .palette_options.graphics.show,
.student .handle:not(.handle10){
    display: none!important;
}

.student .selectionDiv.selected{
    border:none;
}

.not-loggedin .palette_row.audio,
.readonly .palette_row.audio {
    display:none;
}

.student.complete .stage {
    display:none;
}

#stage_tools {
    display: none;
}

.loggedin.player-view #stage_tools,
.loggedin.readonly #stage_tools,
.not-loggedin #stage_tools {
    display:block;
}

.student #dialog-export .modal-row.primary {
    margin: 40px 0;
}

.palette_label.open-to {display:unset;}

#editor-presentation .palette_label, #editor-page .palette_label {
    display: inline-block;
}

.page-authkey .toolbar_account {
    margin-left: auto;
    margin-right:20px;
}
                
.toolbar_section {
    flex: 1;
    text-align: center;
}
                
.toolbar_section.name {
    text-align: left;
    flex: 3;
    padding: 10px 10px 2px;
    background-color: var(--white);
    border: 1px solid var(--middlegrey);
    border-radius: 4px;
    box-shadow: 0px 0px 2px 0px var(--middlegrey);
    display: flex;
    flex-direction:column;
    margin-bottom:30px;
}

.not-loggedin .toolbar_section.name,
.readonly .toolbar_section.name{
    margin-bottom:0;
    border:none;
    background:transparent;
    box-shadow:none;
    padding:0;
}

.toolbar_section.print,
.toolbar_section.team {
    width:80px;
    flex:initial;
}

.es_ES .toolbar_section.print,
.es_ES .toolbar_section.team,
.fr_FR .toolbar_section.print,
.fr_FR .toolbar_section.team{
    width:unset;
}

img.profile-primary-link {
    margin:0;
}
                
.toolbar_button,
.page-editor .toolbar_home{
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: .8em;
    background: #ffffffc2;
    border-radius: 50%;
    border: 1px solid var(--grey);
}

.es_ES .toolbar_button,
.fr_FR .toolbar_button {
    width: unset;
    min-width: 48px;
}

.teacher.single .toolbar_button.google,
.teacher.student-project .toolbar_button.google,
.readonly .toolbar_button.google {
    display:none;
}

.toolbar_button svg,
.toolbar_menu_item.share svg{
    height:32px;
    width:32px;
    pointer-events: none;
}

.toolbar_button.share svg {
    position:relative;
    left:-2px;
}
                
.toolbar_icon.home:focus,
.toolbar_home:hover,
.toolbar_home:focus,
.toolbar_button:hover,
.toolbar_button:focus,
.toolbar_button:focus {
    background-color: var(--white);
    color: var(--primary-color-dark);
    outline:none;
    box-shadow: var(--primary-color) 0 0 6px 2px;
}
                
.toolbar_button.active {
    background-color: var(--primary-color-dark);
    cursor: default;
}

.toolbar_button.undo {
    margin-right: 10px;
}

.toolbar_button.redo,
.toolbar_button.undo{
    height:44px;
    width:44px;
}

.toolbar_button.edit {
    width: 68px;
    margin-left: 20px;
}

.toolbar-items {
    display:none;
    position:relative;
}

.not-loggedin .toolbar {
    bottom: 10px;
    right: 10px;
}

.not-loggedin .toolbar_button.menu {
    display:none;
}

.not-loggedin .toolbar-items {
    display:block;
}

.not-loggedin .toolbar_button.google,
.not-loggedin .toolbar_button.export,
.not-loggedin .toolbar_button.share{
    display:none;
}

.lti-sg.iframe,
.lti.iframe.page-editor .toolbar_button.google,
.lti-li.iframe.page-editor .toolbar_button.google,
.lti-li.iframe.student.page-editor .toolbar_button.projectlist {
    display:none;
}

.toolbar-items.show {
    display:block;
}

.student.lti-li .toolbar-items.show {
    display:flex;
}

.toolbar-items button {
    margin-left:10px;
}

.teacher.lti-li .toolbar_button.lti {
    display:none;
}

.member .toolbar_button.video,
.member .toolbar_button.export{
    display: none
}
                
.toolbar_project_name {
    display: block;
    color: var(--darkgrey);
    font-family: 'Lexend Deca','Roboto', Verdana, Arial, sans-serif;
    font-size: 18pt;
    padding: 0;
    border: 1px solid var(--white);
    background-color: transparent;
    vertical-align: middle;
    flex: 1;
    overflow:hidden;
    text-overflow:ellipsis;
    width: 100%;
    resize: none;
}

.toolbar_project_name:focus-visible {
    outline:none;
}

.toolbar_project_name_readonly {
    display: block;
    font-size: 18pt;
    font-weight: 500;
    margin: 0;
    border: none;
    background-color: transparent;
    width:100%;
    text-align: center;
}

.toolbar_project_name_printonly {display: none;}
                
.toolbar_menus {
    display: block;
    padding: 0;
    height: 20px;
}

.student .toolbar_menus {
    display: none;
}

.toolbar-menu {
    display: inline-block;
    position: relative;
}

.toolbar_menu_item {
    color: var(--primary-color-dark);
    width: 44px;
    height: 20px;
    cursor: pointer;
    text-align: left;
    padding: 0px 4px;
    margin: 0px;
    font-size: .8em;
}

.toolbar_menu_item.share {
    color: var(--primary-color-dark);
    height: 50px;
    text-align: center;
}

.es_ES .toolbar_menu_item,
.fr_FR .toolbar_menu_item{
    width: unset;
}
                
.toolbar_menu_item:focus,
.toolbar_menu_item:hover {
    background-color: var(--primary-color-light);
    color: var(--primary-color-dark);
}

.toolbar_menu_item.active {
    background-color: var(--lightgrey);
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.2);
    color: var(--darkgrey);
}

.toolbar-menu-list>li.disabled:hover {
    background-color: transparent;
}

.toolbar-menu-list>li ul {
    position: absolute;
    left: -999px;
}

.toolbar-menu-list>li:hover ul {
    position: absolute;
    left: 182px;
    top: 265px;
    background-color: var(--lightgrey);
    width: 190px;
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.toolbar-menu-list>li.disabled:hover ul {
    display: none;
}

.toolbar-menu-icon {
    display: inline-block;
    height: 24px;
    width: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    vertical-align: middle;
    margin-right: 8px;
    position: relative;
    top: -1px;
}
                
.toolbar-menu-icon.print {background-image:url(/images/themes/1/menu_print.svg);}
.toolbar-menu-icon.ruler {background-image:url(/images/themes/1/menu_ruler.svg);}
.toolbar-menu-icon.open {background-image:url(/images/themes/1/library_file_upload.svg);}
.toolbar-menu-icon.complete {background-image:url(/images/themes/1/menu_complete.svg);}
.toolbar-menu-icon.assessment {background-image:url(/images/themes/1/icon_rubric_black.svg);}
.toolbar-menu-icon.highlight {background-image:url(/images/themes/2/menu_highlight.svg);height: 30px;width: 30px;background-size: 26px 26px;}
.toolbar-menu-icon.share {background-image:url(/images/themes/2/menu_share.svg);height: 30px;width: 30px;background-size: 30px 30px;}
.toolbar-menu-icon.export {background-image:url(/images/themes/2/menu_export.svg);height: 30px;width: 30px;background-size: 30px 30px;}
.toolbar-menu-icon.help {background-image:url(/images/themes/1/menu_help.svg);}
.toolbar-menu-icon.keyboard {background-image:url(/images/themes/1/menu_keyboard.svg);}
.toolbar-menu-icon.checked {background-image:url(/images/themes/1/menu_checked.svg);}
.toolbar-menu-icon.cut {background-image:url(/images/themes/1/menu_cut.svg);}
.toolbar-menu-icon.copy {background-image:url(/images/themes/1/menu_copy.svg);}
.toolbar-menu-icon.paste {background-image:url(/images/themes/1/menu_paste.svg);}
.toolbar-menu-icon.properties {background-image:url(/images/themes/1/menu_properties.svg);}
.toolbar-menu-icon.new_window {background-image:url(/images/themes/1/menu_new_window.svg);opacity: .3;float: right;background-size: 16px 16px;}

.menu-arrow-right {
    position: relative;
    top: 4px;
    float: right;
    width: 0px;
    height: 0px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 8px solid var(--darkgrey);
}

.menu-arrow-down-white {
    display: inline-block;
    position: relative;
    top: 6px;
    margin-right: 10px;
    width: 0px;
    height: 0px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 12px solid var(--white);
}
                
.toolbar_nav_pages {
    display: inline-block;
    font-weight: 500;
    color: var(--primary-color-dark);
    position: relative;
    top: -5px;
    user-select: none;
}
                
.toolbar_icon {
    height: 34px;
    display: block;
    background-repeat: no-repeat;
    background-position: center; 
    background-size: 32px 32px;
}

.toolbar_icon.insert {background-image:url(/images/themes/2/toolbar_add.svg);}
.toolbar_icon.print {background-image:url(/images/themes/2/toolbar_print.svg);}
.toolbar_icon.page {background-image:url(/images/themes/2/toolbar_page.svg);}
.toolbar_icon.text {background-image:url(/images/themes/2/toolbar_text.svg);}
.toolbar_icon.image {background-image:url(/images/themes/2/toolbar_image.svg);}
.toolbar_icon.video {background-image:url(/images/themes/1/toolbar_video.svg);}
.toolbar_icon.voice {background-image:url(/images/themes/1/toolbar_mic.svg);}
.toolbar_icon.view {background-image:url(/images/themes/2/toolbar_view.svg);}
.toolbar_icon.full {background-image:url(/images/themes/2/toolbar_view_full.svg);}
.toolbar_icon.storyboard {background-image:url(/images/themes/2/toolbar_view_storyboard.svg);}
.toolbar_icon.slideshow {background-image:url(/images/themes/2/toolbar_view_slideshow.svg);}
.toolbar_icon.previous {background-image:url(/images/themes/2/toolbar_nav_prev.svg);}
.toolbar_icon.next {background-image:url(/images/themes/2/toolbar_nav_next.svg);}
.toolbar_icon.team {background-image:url(/images/themes/2/toolbar_team.svg);}
.toolbar_icon.comment {background-image:url(/images/themes/1/toolbar_comment.svg);}
.toolbar_icon.editmenu {background-image:url(/images/themes/2/icon-Menu-32.png);}

.toolbar_icon.send {background-image:url(/images/themes/2/toolbar_send.svg);}
.toolbar_icon.assign {background-image:url(/images/themes/2/toolbar_assign.svg);}
.toolbar_icon.edit {background-image:url(/images/themes/2/toolbar_customize.svg);}

.toolbar_menu_item.filemenu svg {
    height:32px;
    width:32px;
    pointer-events: none;
    display: none;
}

.toolbar_icon.logout {
    background-image:url(/images/themes/2/toolbar_logout.svg);
    display: inline-block;
    width: 32px;
    vertical-align:middle;
    margin-left: 10px;
}
                
.toolbar_button_label {
    display: none;
    position: relative;
    top: -1px;
    font-weight: 500;
    cursor: pointer;
}
                
.toolbar_collaborator_list {
    flex: 1;
    flex-wrap: wrap;
    text-align: left;
    padding: 2px;
}
                
.toolbar_profile_image {
    display: inline-block;
    width: 16px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin: 3px 0px 0px 5px;
}

.account_profile_image {
    color: var(--primary-color);
    font-size: .85em;
    margin-top: 10px;
    cursor: pointer;
}

.toolbar_voice_active {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: lime;
    position: relative;
    top: -41px;
    right: -14px;
}

.main {
    flex: 1;
    display: flex;
    padding: 10px 10px 0 10px;
    min-height: 0;
    flex-grow: 1;
}

.readonly .main,
.not-loggedin .main {
    padding:10px;
    flex-direction: column-reverse;
}

.main.playing .progressIndicator {
    display: none;
}

.page-editor.player-view .main {
    padding:0px;
}

.page-editor.player-view .stage {
    margin:0;
}

.button_show_editors {display: none;}

.workspace_tools {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.readonly .workspace_tools,
.not-loggedin .workspace_tools {
    margin: 10px 0 10px 0;
    flex: unset;
}

.lti-sg.iframe .workspace_tools {
    height: 60px;
    margin-bottom: 5px;
}

.canvas {
    overflow-y: auto;
    margin: 20px auto;
    background-color: var(--white);
    border: 1px solid var(--middlegrey);
    box-shadow: 0px 0px 2px var(--middlegrey);
}

.canvas_tools {
    position: absolute;
    z-index: 10;
    bottom: 5%;
    right: 5%;
}

.wixie_canvas {
    box-shadow: 0px 0px 2px 0px var(--middlegrey);
    border: 1px solid var(--middlegrey);
}

.canvas_button.play_audio, .palette_button.play_audio {
    background-image:url(/images/wriddle/editor/button-canvas-sound.svg); 
    border-radius: 50%;
    flex: 1;
}

.canvas_button.play_audio {
    display: block;
    pointer-events: all;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.canvas_button.zoom_in, .palette_button.zoom_in {background-image:url(/images/themes/1/button_zoom_in.svg);}
.canvas_button.zoom_out, .palette_button.zoom_out {background-image:url(/images/themes/1/button_zoom_out.svg);}

.editor_button.highlight.play.disabled,
.canvas_button.play_audio.disabled {
    display:none;
}

.palette_options {
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
    text-align:center;
    -webkit-overflow-scrolling: touch;
    background-color: var(--white);
    border: 1px solid var(--middlegrey);
    border-radius: 4px;
    box-shadow: 0px 0px 2px 0px var(--middlegrey);
    box-sizing: border-box;
    padding: 10px;
}

#editor-instructions.palette_options {
    text-align:left;
}

.readonly .palette_options {
    display: block;
}

.palette_options .section{
    margin-bottom: 20px;
}

.palette_options .video-controls {
    border-bottom:1px solid var(--middlegrey);
    padding-left:20px;
}

.palette_options.eraser.show {
    display: flex;
    flex-direction: column;
}

.palette_options.mic {
    display: block;
    border: none;
    background-color: transparent;
    flex: unset;
    box-shadow: none;
    height: 60px;
    padding: 0;
    margin:10px 0;
    overflow: unset;
    position: relative;
}

.palette_options.mic .palette_row {
    margin:0;
}

.palette_options.mic .palette_row.progress {
    display: none!important;
}

.palette_undo {   
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 5px;
}

.palette_undo label {
    margin-left: auto;
    min-width: unset;
    margin-right: 2px;
}

.palette_tools {
    display: flex;
    justify-content: space-evenly;
}
                
.palette_row {
    margin: 20px 0;
}

.palette_row.right {
    text-align:right;
}

.palette_row.color {
    display: inline-grid;
    grid-template-columns: repeat(7,1fr);
    grid-gap: 3px;
    width:100%;
    margin: 10px 0;
}

.palette_row.measuring-tools {
    border-top: 1px solid var(--middlegrey);
    padding-top: 20px;
}

.palette_row.split {
    justify-content: space-between;
}

.palette_row.flex {
    display: flex;
    align-items: center;
}

.palette_row.eraser_all {
    margin-top:auto;
}

#graphic_size.palette_row.flex,
#graphic_options.palette_row.flex,
#graphic_rotate.palette_row.flex{
    justify-content: space-around;
}

#marquee_options.palette_row{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.palette_row.flex.hide,
#graphic_size.palette_row.flex.hide {
    display: none;
}

.palette_row.flex.bubble {
    margin: 5px 0;
}

.palette_row.flex.center {
    justify-content: center;
}

.palette_row.center {
    text-align:center;
}

.palette_row.playback.split {
    display: block;
    text-align:center;
}

.palette_row.playback.split .playback-buttons{
    display: inline-block;
    vertical-align:middle;
}

.palette_row.playback.split .playback-buttons .pause{
    margin-right:0;
}

.palette_row.playback.volume {
    display: none;
}

.palette_row.font {
    flex: 1;
    overflow: auto;
    margin-top: 0;
    margin-bottom: 0;
    background-color: var(--white);
    outline: none;
}

.palette_row.grid {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-gap: 10px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.palette_row.grid.shape,
.palette_row.grid.spray {
    border: 1px solid var(--middlegrey);
    background-color: var(--white);
    border-top: none;
    margin:0;
}

.palette_row.grid.bubble {
    border: 1px solid var(--middlegrey);
    background-color: var(--white);
}

.palette_row.editor_options {
    flex: 1;
    overflow-y:auto;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    margin: 5px 0 0 0;
    padding: 5px;
    border: 1px solid var(--middlegrey);
    background-color: var(--white);
    box-sizing: border-box;
    }
    
.palette_row.editor_options.spray {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 84px;
    grid-auto-rows: min-content;
}
    
.palporttte_row.editor_options svg {
    height: 80px;
    width: 80px;
    margin: 5px 0 0 5px;
    border: 4px solid var(--lightgrey);
    cursor: pointer;
}

.palette_row.editor_options svg.active {
    border: 4px solid var(--primary-color-dark);
}
                
.canvas_button {
    display: inline-block;
    width: 60px;
    height: 60px;
    cursor: pointer;
    background-size: 55px 55px;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    justify-self: center;
    user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.palette_button {
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    justify-self: center;
    user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    outline: none;
}

.palette_button svg {
    width: 40px;
    height: 40px;
    position: relative;
    top: 5px;
    fill:var(--primary-red);
}

.palette_button:focus svg,
.palette_button:hover svg,
.palette_button.active svg {
    width: 50px;
    height: 50px;
    top: -1px;
}

.palette_button.align_center {background-image:url(/images/themes/1/button_align_center.svg);}
.palette_button.align_justify {background-image:url(/images/themes/1/button_align_justify.svg);}
.palette_button.align_left {background-image:url(/images/themes/1/button_align_left.svg);}
.palette_button.align_right {background-image:url(/images/themes/1/button_align_right.svg);}
.palette_button.animals {background-image:url(/images/themes/2/shape-category-animals.svg);}
.palette_button.back {background-image:url(/images/themes/1/toolbar_nav_previous_black.svg);}
.palette_button.basic {background-image:url(/images/themes/1/shape-category-basic.svg);}
.palette_button.bubble_icon {background-image:url(/images/themes/2/icon_bubble.svg);}
.palette_button.cursor {background-image:url(/images/themes/2/palette_cursor.svg);}
.palette_button.edit {background-image:url(/images/themes/1/toolbar_nav_next_black.svg);}
.palette_button.eraser_chalk {background-image:url(/images/themes/1/palette_eraser_chalk.svg);}
.palette_button.eraser_pencil {background-image:url(/images/themes/1/palette_eraser_pencil.svg);}
.palette_button.font.large {background-image:url(/images/themes/2/icon_font_large.svg);}
.palette_button.font.small {background-image:url(/images/themes/2/icon_font_small.svg);}
.palette_button.general {background-image:url(/images/themes/2/shape-category-nature.svg);}
.palette_button.glue {background-image:url(/images/themes/2/menu_glue.svg);}
.palette_button.marquee_rect {background-image:url(/images/themes/1/palette_marquee.svg);}
.palette_button.marquee_lasso {background-image:url(/images/themes/1/palette_marquee_lasso.svg);}
.palette_button.marquee_oval {background-image:url(/images/themes/1/palette_marquee_oval.svg);}
.palette_button.marquee_wand {background-image:url(/images/themes/1/palette_marquee_wand.svg);}
.palette_button.more {background-image:url(/images/themes/1/palette_more.svg);}
.palette_button.numbers {background-image:url(/images/themes/1/shape-category-numbers.svg);}
.palette_button.pencil {background-image:url(/images/themes/1/palette_pencil.svg);}
.palette_button.people {background-image:url(/images/themes/2/shape-category-people.svg);}
.palette_button.play {background-image:url(/images/themes/1/button_play.svg);}
.palette_button.redo {background-image:url(/images/themes/2/palette_redo.svg);}
.palette_button.revert {background-image:url(/images/themes/2/palette_revert2.svg); margin-left:auto;width: 44px;height: 44px;background-size: 32px 32px;}
.palette_button.settings {background-image:url(/images/themes/1/icon_gear.svg);}
.palette_button.size.large {background-image:url(/images/themes/2/icon_size_large.svg);}
.palette_button.size.small {background-image:url(/images/themes/2/icon_size_small.svg);}
.palette_button.stroke.thin {background-image:url(/images/themes/2/icon_stroke_thin.svg);}
.palette_button.stroke.wide {background-image:url(/images/themes/2/icon_stroke_wide.svg);}
.palette_button.shadow_icon {background-image:url(/images/themes/2/icon_shadow.svg);}
.palette_button.shadow_text_icon {background-image:url(/images/themes/2/icon_shadow_text.svg);}
.palette_button.smaller {background-image:url(/images/themes/2/button_smaller.svg);}
.palette_button.bigger {background-image:url(/images/themes/2/button_bigger.svg);}
.palette_button.duplicate {background-image:url(/images/themes/2/button_duplicate.svg);}
.palette_button.rotate_l {background-image:url(/images/themes/2/button_rotate_left.svg);}
.palette_button.rotate_r {background-image:url(/images/themes/2/button_rotate_right.svg);}
.palette_button.flip_h {background-image:url(/images/themes/2/button_flip_h.svg);}
.palette_button.flip_v {background-image:url(/images/themes/2/button_flip_v.svg);}
.palette_button.shape_fill {background-image:url(/images/themes/1/button_shape_filled.png);}
.palette_button.shape_rotate {background-image:url(/images/themes/1/button_shape_rotate.png);}
.palette_button.shape_dashed {background-image:url(/images/themes/1/button_shape_dashed.png);}
.palette_button.stop {background-image:url(/images/themes/2/icon_stop.svg);}
.palette_button.symmetry_2 {background-image:url(/images/themes/1/palette_mirror2.png);}
.palette_button.symmetry_4 {background-image:url(/images/themes/1/palette_mirror4.png);}
.palette_button.symmetry_6 {background-image:url(/images/themes/1/palette_mirror6.png);}
.palette_button.symmetry_8 {background-image:url(/images/themes/1/palette_mirror8.png);}
.palette_button.undo {background-image:url(/images/themes/2/palette_undo.svg);}
.palette_button.volume.low {background-image:url(/images/themes/2/icon_volume_low.svg); margin-left: 20px;}
.palette_button.volume.high {background-image:url(/images/themes/2/icon_volume_high.svg);}

.palette_button.size {
    display: none;
}

.palette_button.bold {
    font-size:1.5em;
    font-weight: bold;
}

.palette_button.italic {
    font-size:1.7em;
    font-style: italic;
    font-family:serif;
    font-weight:bolder;
}

.palette_button.underline {
    font-size:1.5em;
    text-decoration:underline;
    position: relative;
    top: -1px;
}

.palette_button.delete {
    height: 40px;
    cursor: pointer;
    float:right;
    position:relative;
    top:10px;
}

.palette_button.delete svg{
    fill:var(--grey);
    width: 24px;
    height: 24px;
    position: relative;
    top: 2px;
}

.palette_button.delete:focus svg,                                   
.palette_button.delete svg:hover{
    fill:var(--darkgrey);   
}

.teacher.student-project .palette_button.delete {
    display:none;
}

.palette_button.edit_colors {
    background-image:url(/images/themes/1/toolbar_nav_next_black.svg);
    width: 38px;
    height: 38px;
    vertical-align: middle;
}

.palette_button.edit.sprays {
    height: 46px;
}

.palette_button.bubble_icon {
    margin-left: auto;
}

.palette_button.shadow_text_icon {
    margin-left: 10px;
}

.palette_switch.right.shadow {
    margin-left: 0;
}

.palette_switch.right.bubble {
    margin-left: 5px;
    margin-right: 10px;
}

.history-row.header.sprays .palette_button {
        width:48px;
    }

#currentSymmetryButton.palette_button {
    height: 32px;
    width: 32px;
    margin-left: 5px;
    background-size: 24px 24px;
}

#currentSymmetryButton.palette_button.active {
    background-color: initial;
    cursor: initial;
}

.mic_button.audio {
    border-radius: 50%;
    border: 2px solid var(--middlegrey);
    background-color: var(--white);
    width: 60px;
    height: 60px;
}

.mic_button svg {
    width: 40px;
    height: 40px;
}

.filter_button {
    display: inline-block;
    padding: 7px;
    cursor: pointer;
    vertical-align: middle;
    justify-self: center;
}

.filter_button .greyscale {filter: grayscale(100%);}
.filter_button .sepia {filter: sepia(100%);}
.filter_button .blur {filter: blur(2px);}
.filter_button .invert {filter: invert(100%);}
.filter_button .cameo {border-radius:50%;}
.filter_button .rounded {border-radius:4px;}

.windows .filter_button:hover,
.apple.filter_button:hover,
.chromebook .filter_button:hover,
.filter_button.active{
    background-color: var(--primary-color-light);
}
                
.canvas_button:hover,
.canvas_button:focus,
.palette_shape_button:hover,
.palette_shape_button:focus {
    background-color: var(--primary-color-light);
}

.palette_button.disabled:hover,
.palette_button.bubble_icon:hover,
.palette_button.font.large:hover,
.palette_button.font.small:hover,
.palette_button.shadow_icon:hover,
.palette_button.shadow_text_icon:hover,
.palette_button.size.large:hover,
.palette_button.size.small:hover,
.palette_button.stroke.thin:hover,
.palette_button.stroke.wide:hover,
.palette_button.volume.low:hover,
.palette_button.volume.high:hover{
    background-color: transparent;
    cursor:default;
}
                
.palette_button_icon {
    height: 30px;
    width: 30px;
}

/* The slider */

.palette_switch_button {
    position: relative;
    display: inline-block;
    width: 72px;
    height: 39px;
    vertical-align: middle;
    margin: 0 auto;
}

.switch_button {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 4px;
  border: 1px solid var(--grey);
  background-color: var(--middlegrey);
  -webkit-transition: .4s;
  transition: .4s;
}

.switch_button:before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  left: 4px;
  bottom: 4px;
  border-radius: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  background-size: 30px 30px;
  background-repeat: no-repeat;
  background-position: center;
}

#shape_options .switch_button:before {
    background-image:url(/images/themes/2/button_shape_hollow.svg);
}

input:checked + .switch_button {
  background-color: var(--primary-color-light);
}

#shape_options input:checked + .switch_button:before {
  -webkit-transform: translateX(32px);
  -ms-transform: translateX(32px);
  transform: translateX(32px);
  background-image:url(/images/themes/1/button_shape_filled.svg);
}

.subpanel_grid_option {
    box-sizing: border-box;
    width: 72px;
    height:72px;
    padding: 6px;
    margin: 0 auto;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.subpanel_grid_option.bubble {
    height:70px;
    width: 120px;
}

.subpanel_grid_option.shape {
    height: 60px;
    width: 60px;
}

.subpanel_grid_option.spray {
    height: 80px;
    width: 80px;
    padding: 0;
    border: 4px solid var(--white);
    background-color: var(--white);
}

#shape_options_short_list .subpanel_grid_option.shape {
    height: 44px;
    width: 44px;
    margin-right: 5px;
}

#spray_options_short_list .subpanel_grid_option.spray {
    height: 46px;
    width: 46px;
}

.subpanel_grid_option:hover {
    background-color: var(--middlegrey);
    border-color: var(--middlegrey);
}

.subpanel_grid_option.active{
    background-color: var(--primary-color-light);
    border-color: var(--primary-color-light);
}

.subpanel_grid_option img {
    max-width: 100%;
    height: 100%;
}

.palette_shape_button {
    height: 28px;
    width: 28px;
    padding: 6px;
    margin-right: 5px;
    cursor: pointer;
}

.svg_shape_option {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.font_option {
    border-bottom: 1px solid var(--middlegrey);
    padding: 10px 15px 6px;
    cursor: pointer;
    width: 100%;
    display: block;
    text-align: left;
}

.font_option:last-child {
    border-bottom: none;
}

.font_option img {
    height: 36px;
    user-select: none;
    pointer-events: none;
}

.font_option.brush {
    display: block;
    width: 100%;
    text-align: center;
}

.font_option.brush img {
    width: 80%;
}

.palette_brush_option {
    border: 1px solid var(--middlegrey);
    padding: 2px 10px;
    background-color: var(--white);
    justify-self: center;
    cursor: pointer
}

.palette_brush_option.active,
.palette_brush_option.active:hover,
.font_option.active,
.font_option.active:hover{
    background-color: var(--primary-color-light);
}

.palette_brush_option:hover,
.font_option:hover{
    background-color: var(--lightgrey);
}

.editor_count_indicator {
    display: none;
    position: relative;
    height: 16px;
    width: 16px;
    color: var(--white);
    border-radius: 50%;
    background-color: var(--primary-red);
    font-size: .75em;
}

.editor_count_indicator.comments {
    left: 16px;
    top: -18px;
    line-height: 1.4;
}

.editor_count_indicator.team {
    left: 25px;
    top: -20px;
    line-height: 1.6;
}

.palette_icon {
    width: 44px;
    height: 44px;
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center; 
}
                
.palette_icon.brush {background-image:url(/images/themes/1/palette_paint_brush.svg);}

.palette_header {
    margin-left: 5px;
    font-weight: 500;
    user-select: none;
}

.palette_note {
    color: var(--darkgrey);
    position: relative;
    top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}

.palette_text_field {
    border: 1px solid var(--middlegrey);
    background-color: var(--white);
    flex:1;
    height: 36px;
    padding-left: 10px;
}

.project_instructions_text {
    border: 1px solid var(--middlegrey);
    width: 94%;
    min-height: 80px;
    font-family: 'Lexend Deca','Roboto', verdana, sans-serif;
    font-size: 1em;
    padding: 5px;
}

.feedback-text {
    font-family: 'Lexend Deca','Roboto', verdana, sans-serif;
    font-size: 1em;
}

#instructions-comments-student {
    border-top: 1px solid var(--middlegrey);
}

#instructions-comment-list .header{
    align-items: center;
    font-size:.85em;
    margin-bottom: 5px;
}

#instructions-comment-list .date {
    margin-left: auto;
    font-size:.9em;
    color: var(--darkgrey);
}

#instructions-comment-list p {
    margin-bottom: 10px;
    font-weight:normal;
}

.project_instructions_text.student {
    border: none;
    background-color: transparent;
    opacity:0.8;
    padding: 0;
    min-height: unset;
}

.palette_font_current {
    background-color: var(--white);
    border: 1px solid var(--middlegrey);
    padding: 4px 8px;
    text-align: right;
    flex: 1;
    font-size: 18pt;
    max-width: 210px;
    margin-left: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.palette_font_current.roboto {font-family: 'Roboto', sans-serif;}
.palette_font_current.multiple {font-family: verdana, sans-serif; font-style: italic;}

.palette_text_color, .palette_background_color {
    width: 80px;
    height:34px;
    border: 1px solid var(--middlegrey);
    box-shadow: inset 0 0 0 4px var(--white);
    margin-left: auto;
    cursor:pointer;
}

.palette_text_color.black, .palette_background_color.black {background-color: var(--black);}
.palette_text_color.white, .palette_background_color.white {background-color: var(--white);}

.brush_sample {
    border: 1px solid var(--middlegrey);
    padding: 2px;
    background-color: var(--white);
    margin-left: auto;
}
                
.paint_color {
    background-color: var(--white);
    width: 100%;
    padding-bottom: 100%;
    box-shadow: inset 0 0 0 1px var(--grey);
    border-radius: 50%;
}

.paint_color.active,
.paint_color.active:focus {
    background-image:url(/images/wriddle/editor/check-white.svg);
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: inset 0 0 0 2px var(--darkgrey);
}

.paint_color.active.white,
.paint_color.active.lightred,
.paint_color.active.lightorange,
.paint_color.active.orange,
.paint_color.active.lightgreen,
.paint_color.active.lightblue,
.paint_color.active.lightpurple,
.paint_color.active.lightyellow,
.paint_color.active.yellow,
.paint_color.active.skin1,
.paint_color.active.darkyellow{
    background-image:url(/images/wriddle/editor/check-black.svg);
}

.paint_color:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--darkgrey);
}
                
.paint_color:disabled {
    opacity:0.3;
}

.paint_color.lightred {background-color:pink;}
.paint_color.skin1 {background-color:navajowhite;}
.paint_color.lightyellow {background-color:#FFFFCC;}
.paint_color.lightgreen {background-color:springgreen;}
.paint_color.lightblue {background-color:lightskyblue;}
.paint_color.lightpurple {background-color:violet;}
.paint_color.white {background-color:white;}
.paint_color.red {background-color:red;}
.paint_color.orange {background-color:orange;}
.paint_color.yellow {background-color:yellow;}
.paint_color.green {background-color:limegreen;}
.paint_color.blue {background-color:blue;}
.paint_color.purple {background-color:purple;}
.paint_color.grey {background-color:grey;}
.paint_color.darkred {background-color:darkred;}
.paint_color.skin3 {background-color:#592f2a;}
.paint_color.skin2 {background-color:peru;}
.paint_color.darkgreen {background-color:darkgreen;}
.paint_color.darkblue {background-color:navy;}
.paint_color.darkpurple {background-color:indigo;}
.paint_color.black {background-color:#252525;}

.paint_color.picker{
    background-image:url(/images/themes/1/palette_eyedropper.svg);
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center; 
}
.paint_color.more{
    background-image:url(/images/themes/1/palette_more.svg);
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center; 
}

.paint_color.image {
    background-image:url(/images/themes/1/palette_image.svg);
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center;
}

.fill_color {
    background-color: var(--white);
    width: 38px;
    height: 38px;
    box-shadow: inset 0 0 0 4px white;
    border: 1px solid var(--grey);
    margin-left: auto;
    margin-right: 10px;
}

.morecolorlabel {
    margin-top: -13px;
    height: 30px;
    width: 30px;
    cursor: pointer;
}

.pickerlabel {
    margin-top: -12px;
    height: 30px;
    width: 30px;
    cursor: pointer;
    padding-right: 13px;
}

.morecolorsvg {
    width: 32px;
    height: 32px;
   
}

.colorpickercursor {
    cursor: url(/images/themes/1/palette_eyedropper.svg) 0 31, auto;
}

.colorpickerinput {
    display: none;
    opacity: 0;
}

.eyedropper-stage-indicator {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    box-shadow: 0px 0px 0px 8px rgba(0,0,0,0.5);
    position: absolute;
    z-index: 10000;
}

.color_wheel {
    /* setting the padding-bottom to 100% will keep the square aspect ratio */
    width: 80%;
    padding-bottom: 60%;
    
    background: rgb(0,0,0);
    background: linear-gradient(rgba(125, 125, 125, 0) 0%, rgb(125, 125, 125) 100%), 
        linear-gradient(to right, rgb(255, 0, 0) 0%, rgb(255, 255, 0) 17%, rgb(0, 255, 0) 33%, rgb(0, 255, 255) 50%, rgb(0, 0, 255) 67%, rgb(255, 0, 255) 83%, rgb(255, 0, 0) 100%);
    overflow: hidden;
    
  border: 1px solid var(--grey);
  margin: auto;
  cursor: pointer;
}

.color_wheel_target {
    background-color:var(--white);
    border:3px solid white;    
    height:30px;
    border-radius:50%;
    width:30px;
    box-sizing: border-box;

    position: relative;
    top: 0px;
    left: 0px;
    background: transparent;
}

.color_lightness {
    height: 40px;
    width: 80%;
    background: rgb(0,0,0);
    overflow: hidden;
    
    border: 1px solid var(--grey);
    margin: auto;
    cursor: pointer;
}

.color_lightness_target {
    background-color:var(--white);
    border:3px solid white;    
    height:100%;
    width:30px;
    box-sizing: border-box;

    position: relative;
    top: 0px;
    left: 0px;
}


/* To not show blue selection square in Chrome */
.palette_row > button.palette_button:focus {
    outline: none;
}

.size_slider {
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    width: 90%;
    height: 10px;
    background: var(--white);
    outline: none; /* Remove outline */
    opacity: 1; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    border:1px solid var(--grey);
}

.size_slider:focus {
    border: 1px solid var(--grey);
}

.size_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%; 
    background: var(--darkgrey);
    cursor: pointer;
    border: 1px solid var(--black);
}

.size_slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--darkgrey);
    cursor: pointer;
    border: 1px solid var(--black);
}

.size_slider.volume {
    width: 60%;
}

.width_slider {
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    width: 70%;
    height: 10px;
    background: var(--lightgrey); /* Grey background */
    outline: none; /* Remove outline */
    opacity: 1; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
}

.width_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 15px;
    background: var(--grey);
    cursor: pointer;
}

.width_slider::-moz-range-thumb {
    width: 20px;
    height: 15px;
    background: var(--grey);
    cursor: pointer;
}

.slider_value {
    min-width: 34px;
    text-align: right;
    user-select: none;
}

#font_size_slider_indicator.slider_value {
    display: none;
}

.editor-button {
    background-color: var(--lightgrey);
    border: 1px solid var(--grey);
    border-radius: 22px;
    color: var(--darkgrey);
    height: 44px;
    padding: 0 18px;
    margin-left: 2px;
    font-weight: 500;
    font-size: .9em;
    user-select: none;
}

.editor-button.background {
    background-color:transparent;
    margin:36px 0 0;
    font-size: unset;
    font-weight: unset;
    padding: 5px 20px;
    height: unset;
}

.editor-button.background svg {
    height: 40px;
    width: 40px;
    vertical-align: middle;
    margin-right: 8px;
    position: relative;
    top: -2px;
}

.editor-button.background .button-label {
    position: relative;
    top: 2px;
}

.editor-button.highlight {
    background-color:var(--white);
}

.editor-button.highlight svg {
    height:24px;
    width:24px;
    vertical-align: middle;
}

.editor-button.record svg {
    height:40px;
    width:40px;
    vertical-align: middle;
    padding-right:0;
}

.editor-button.highlight.rewind,
.editor-button.highlight.fullscreen{
    padding: 0 8px;
}

.editor-button.highlight.fullscreen {
    margin:0 20px 0 auto;
}

.ipad .editor-button.highlight {
    height: 44px;
    padding: 0 20px;
    font-size: 1em;
}

.editor-button.highlight.play,
.editor-button.highlight.pause,
.editor-button.highlight.resume,
.editor-button.highlight.record,
.editor-button.highlight.stop{
    border-radius: 50%;
    height:60px;
    width:60px;
    padding: 0;
    margin-left:0;
    letter-spacing: 1px;
    font-size:1em;
    outline:none;
}

.editor-button.highlight.stop{
    margin-left:20px;
}

.editor-button.highlight.record .material-icons,
.editor-button.highlight.resume .material-icons,
.editor-button.highlight.pause .material-icons,
.editor-button.highlight.stop .material-icons{
    font-size: 30px;
    margin-right: 0;
}

.editor-button .inline-button-icon {
    margin-right: 0;
    height: unset;
}

.editor-button.highlight.play .inline-button-label,
.editor-button.highlight.record .inline-button-label,
.editor-button.highlight.stop .inline-button-label,
.editor-button.highlight.pause .inline-button-label,
.editor-button.highlight.resume .inline-button-label,
.es_ES .editor-button.play .inline-button-label,
.es_ES .editor-button.pause .inline-button-label,
.fr_FR .editor-button.play .inline-button-label,
.fr_FR .editor-button.pause .inline-button-label{
    display: none;
}

.editor-button.highlight.stop svg {fill:var(--primary-red);stroke: var(--black);}
.editor-button.highlight.pause svg {fill:var(--primary-green);stroke: var(--black);}
.editor-button.highlight.record svg {fill:var(--primary-green);stroke: var(--black);}
.editor-button.highlight.play svg {
    fill:var(--primary-color);  
    stroke: var(--black);
    position: relative;
    left: 3px;
    top: 1px;
}

.es_ES .editor-button.play,
.es_ES .editor-button.pause,
.fr_FR .editor-button.play,
.fr_FR .editor-button.pause{
    padding: 0 9px;
}

.editor-button:hover,
.editor-button:focus{
    box-shadow: var(--primary-color) 0 0 6px 2px;
}

progress.editor-recording-sound {
    height: 20px;
    width: 90%;
}

progress.editor-recording-sound::-webkit-progress-bar {
  background-color: var(--lightgrey);
  border: 1px solid var(--middlegrey);
  border-radius: 2px;
}

 /* Search Boxes */

.search-box {
    background:none;
    border: 1px solid var(--middlegrey);
    display: flex;
    margin: 2px 0 0 5px;
    padding: 4px;
    border-radius: 2px;
 }
 
 .search-box.library {
    width: 90%;
 }
 
 .search-box>input{
     flex:1;
     font-size: 12pt;
     border: none;
 }
 
 .search-box>input:focus{
    outline:none;
 }
 
 .search-box-icon {
    background-image:url(/images/themes/1/icon_search.svg);
    width: 28px;
    height: 28px;
    cursor: pointer;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center; 
    padding: 0;
    position: relative;
}
  

/* Library Classes */

.library-container {
    display:flex;
    height:100%;
    flex-direction: column;
    flex-grow: 1;
    background-color: var(--lightgrey);
    margin: 15% auto; /* 15% from the top and centered */
    padding: 5px;
    border: 1px solid var(--darkgrey);
    width: 80%; /* Could be more or less, depending on screen size */
}

.widget.library.navbar.flex.container {
    display:none;
}

.library-tabs {
    display: none;
    align-items: center;
}

.library-tabs:not(:first-child) {
    position:relative;
    left:-1px;
}

.library-tab {
    width: 100px;
    height: 48px;
    padding: 0;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    border: 1px solid var(--middlegrey);
    box-sizing: border-box;
    background-color:var(--lightgrey);
}

.library-tab:hover,
.library-tab:focus {
    background-color: var(--primary-color-light);
}

.library-tab.drive {display:none;}

.library-tab:focus {outline:none;}

.library-tab.search {
    flex:1 0 auto;
    border-width: 0 0 1px 0;
    background-color: var(--white);
    padding: 0 8px;
}


.library-tab.file {
    background-color: transparent;
    border-width: 0 0 1px 0;
}

.library-uploadIndicator {
    height: 90%;
    width: 95%;
    margin: 20px;
    margin-left: 17px;
    margin-bottom: 60px;
    box-shadow: 0 0 5px 10px white;
    background-color: white;
    display:flex;
    flex-direction: column;
    align-content: center;
}

.library-uploadIndicator > img {
    margin: auto;
    -webkit-animation: rotation 4s infinite linear;
}

.library-uploadIndicator > p {
    margin: auto;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}

.modal-content.show.backgroundSound .library-tab.file {
    flex: 1;
    text-align: left;
    padding-left: 20px;
}

.android .library-tab.file .library-tab-label,
.iphone .library-tab.file .library-tab-label,
.ipad .library-tab.file .library-tab-label {
    display: none;
}

.library-video-url {
    margin: 20px;
}
.library-video-url > label {
    display:block;
    margin-bottom: 5px;
}
.library-video-url > input {
    border: 1px solid var(--grey);
    height: 2em;
    width:90%;
}

.library-tab-search {
    flex: 1;
    height: 48px;
    padding: 0;
    text-align: right;
    margin-right: 10px;
}

.library-tab.active {
    background-color: var(--white);
    cursor: default;
    border-bottom: none;
}

.library-tab.file.active,
.library-tab.search.active {
    background-color: transparent;
    border-bottom: 1px solid var(--middlegrey);
}

.windows .library-tab.camera-roll,
.apple .library-tab.camera-roll {
    display: none;
}

.library-tab-label {
    display: none;
    font-size: 12pt;
    vertical-align: middle;
}

.library-tab-advanced-search {
    font-size: 10pt;
    color: var(--primary-color-dark);
    cursor: pointer;
}

.library-tab-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center; 
    vertical-align: middle;
    margin-right: 5px;
}

.library-tab-icon.search {background-image:url(/images/themes/1/icon_search.svg);}
.library-tab-icon.stickers {background-image:url(/images/themes/2/icon_apple.svg);}
.library-tab-icon.pics4learning {background-image:url(/images/themes/1/library-pics4learning.png);}
.library-tab-icon.videos {background-image:url(/images/themes/2/icon_camera.svg);position: relative;top: -2px;}
.library-tab-icon.backgrounds {background-image:url(/images/themes/1/library-backgrounds.png);}
.library-tab-icon.camera {background-image:url(/images/themes/2/icon_camera.svg);position: relative;top: -2px;}
.library-tab-icon.videocamera {background-image:url(/images/themes/2/icon_camera.svg);position: relative;top: -2px;}
.library-tab-icon.url {background-image:url(/images/themes/1/icon_youtube.svg);}
.library-tab-icon.music {background-image:url(/images/themes/1/library-music.svg);position: relative;top: -2px;margin-right: 10px;}
.library-tab-icon.drive {background-image:url(/images/themes/1/icons8-google-drive.svg);}
.library-tab-icon.camera-roll {background-image:url(/images/themes/1/icons8-ios-photos.svg);}
.library-tab-icon.file {background-image:url(/images/themes/1/library_computer.svg);}

.android .library-tab-icon.file, 
.iphone .library-tab-icon.file, 
.ipad .library-tab-icon.file {background-image:url(/images/themes/1/library_tablet.svg);}

.chromebook .library-tab-icon.file {background-image:url(/images/themes/1/library_chromebook.svg);}

.library-content {
    flex: 1;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 55%;
    height: 55%;
}

.library-folder-list,
.library-image-list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-left: 6px;
    margin-right: 10px;
}

.library-folder-list {
    padding-bottom: 6px;
}

.library-folder,
.library-image {
    border-radius: 2px;
    margin: 0 10px 10px 0;
    text-align: center;
    cursor: pointer;
    padding: 10px;
}

.library-image > .holder.audio {
    visibility:hidden;
    margin-bottom:12px;
}

.camera_control {
    height:50px;
    width:50px;
    border-radius:50%;
    background-color:var(--white);
    border:2px solid var(--primary-color-dark);
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center;
}

.camera_control.switch_camera {
    background-image:url(/images/themes/1/button_switch_camera_blue.svg);
}

.camera_control.record{
    background-image:url(/images/themes/2/button_record.svg);
    background-size: 28px 28px;
}

.camera_control.preview{
    background-image:url(/images/themes/2/button_record_play.svg);
    background-size: 22px 22px;
    background-position: 14px;
}

.camera_control.stop{
    background-image:url(/images/themes/2/button_record_stop.svg);
    background-size: 24px 24px;
}

.camera_control.pause{
    background-image:url(/images/themes/1/button_record_pause.svg);
    background-size: 22px 22px;
    margin-right:60px;
}

.camera_control.resume{
    background-image:url(/images/themes/1/button_record.svg);
    background-size: 24px 24px;
    margin-right:60px;
}

.camera_control.preview_stop{
    background-image:url(/images/themes/2/button_record_play_stop.svg);
    background-size: 24px 24px;
}

.library-image.chosen {
    box-shadow: 0 0 8px var(--primary-color-dark);
    font-weight:bold;
}

.library-image.chosen > .holder.audio {
    visibility:visible;
}

.library-folder {
    background-color: var(--lightgrey);
    border: 1px solid var(--grey);
}

.library-folder>img,
.library-image>img {
    background-color: white;
    height: 140px;
    object-fit: contain;
}

.library-folder>img {
    width: 158px;
}

.library-list-title {
    display: none;
    align-content: center;
    line-height: 30px;
    margin-left: 5px;
}

.library-list-title.folder > .material-icons {
    color:goldenrod;
    margin-right:5px;
    padding-top:3px;
}

.library-list-title > .text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 113px;
    margin: 0 auto;
    font-size: .8em;
}

.library-folder-icon {
    background-image:url(/images/themes/1/icon_folder.svg);
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    position: relative;
    top: -1px;
}    

.library-folder>.library-list-title{
    text-align: left;
}

.library-footer {
    padding: 10px;
    border-top: 1px solid var(--middlegrey);
    text-align: right;
}

.library-camera-preview.error {
    background: var(--darkgrey);
}

.spray-list-image {
    flex: 0 0 160px;
    margin: 0 0 10px 10px;
    text-align: center;
    cursor: pointer;   
    border: solid var(--black) 1px;
}
.spray-list-image.active {
    border: 2px solid var(--primary-color);
}

.history-row {
    display: flex;
    align-items: center;
}

.history-row.header {
    border-bottom: 1px solid var(--middlegrey);
    padding: 5px;
    min-height: 45px;
}

.history-row.header.sprays {
    padding: 15px 0px;
    border-bottom: none;
}

.history-list {
    background-color: var(--white);
}

.history-list-item {
    padding: 5px;
}

.history-list-item.date {
    font-size: .9em;
    font-weight: 500;
}

.history-list-item.date:not(:first-child) {
    border-top: 1px solid var(--middlegrey);
}

.history-list-item.date:not(:last-child) {
    border-bottom: 1px solid var(--middlegrey);
}

.history-list-item.contribution {
    padding-left: 15px;
}

.history-list-item-name {
    display: inline-block;
    vertical-align: middle;
    font-weight: 500;
    font-size: .9em;
}

.history-list-item-time {
    display: inline-block;
    vertical-align: middle;
    float: right;
    font-family: verdana, arial, sans-serif;
    font-size: 8pt;
    color: var(--darkgrey);
}

.history-list-item-action {
    font-family: verdana, arial, sans-serif;
    font-size: 8pt;
}

/**
* Styling for the selection div and its node handles.  See /js/selection-manager.js.
*/

.selectionDiv {
    position: absolute;
    z-index: 4;
    cursor: pointer;
    display: none;
}

.selected {
    border: 3px dashed var(--grey);
    cursor: move;
    display: block;
}

.handle {
    z-index: 5;
    position: absolute;
    border: 1px solid var(--black);
    border-radius: 50%;
    height: 20px;
    width: 20px;
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center; 
    cursor: move;
}

.ipad .handle,
.iphone .handle,
.android .handle {
    height: 30px;
    width: 30px;
}

.handleSelected {
    position: absolute;
    background-color: cyan;
    cursor: default;
    z-index: 5;
    cursor: move;
}

.handleDisabled {
    display: none!important;
    background-color: lightgray;
}

.handleTextEditing {
   visibility: hidden;
}


/* northwest handle - scale */
.handle0 {
    background-image:url(/images/themes/1/cursor_nw_resize.svg);
    cursor: nw-resize;
} 

/* north handle - scale */
.handle1 {
    background-image:url(/images/themes/1/cursor_ns_resize.svg);
    cursor: ns-resize;
    display:none!important;
} 

/* northeast handle - scale */
.handle2 {
    background-image:url(/images/themes/1/cursor_ne_resize.svg);
    cursor: ne-resize;
} 

/* east handle - scale */
.handle3 {
    background-image:url(/images/themes/1/cursor_ew_resize.svg);
    cursor: ew-resize;
    display:none!important;
} 

/* southeast handle - scale */
.handle4 {
    background-image:url(/images/themes/1/cursor_nw_resize.svg);
    cursor: nw-resize;
}

/* south handle - scale */
.handle5 {
    background-image:url(/images/themes/1/cursor_ns_resize.svg);
    cursor: ns-resize;
    display:none!important;
} 

/* southwest handle - scale - tts text */
.handle6 {
    background-image:url(/images/themes/1/cursor_ne_resize.svg);
    cursor: ne-resize;
    display:none!important;
} 

/* west handle - scale */
.handle7 {
    background-image:url(/images/themes/1/cursor_ew_resize.svg);
    cursor: ew-resize;
} 

/* rotate */
.handle8 {
    background-color: lightcyan;
    background-image:url(/images/themes/1/cursor_rotate.svg);
    cursor: url('/images/themes/1/cursor_rotate_16.svg'), alias;
}


/* delete */
.handle9 {
    background-color: var(--primary-red);
    background-image:url(/images/themes/1/cursor_delete_white.svg);
    cursor: pointer;
}

/* TTS/speak */
.handle10 {
    background-color: yellow;
    background-image:url(/images/themes/1/cursor_tts.svg);
    cursor: pointer;
}

.handle10_XXXXX {
    left: 5px!important;
    top: 4px!important;
    height: 96%;
    width: 96%;
    background-color: transparent;
    background-image:none;
    border: none;
}

/* Callout/bubble tail */
.handle11 {
    background-color: white;
    background-image:url(/images/themes/1/cursor_callout.svg);
    cursor: move;
}

.handle13 {
    display:none!important;
}

/* locked */
.handle_locked {
    background-color: white;
    background-image:url(/images/themes/1/cursor_lock.svg);
    cursor: default;
}

/* clonable */
.handle_clonable {
    background-color: white;
    background-image:url(/images/themes/1/cursor_clone.svg);
    cursor: default;
}

/* protected */
.handle_protected {
    background-color: white;
    background-image:url(/images/themes/1/cursor_protect.svg);
    cursor: default;
}


/* Shown during selection drag when selecting one or more elements lasso style */
.inprogress-selection-highlight {
    outline: 3px solid lightblue;
}

/* 
    CountdownSpinner40.css -- styling for "Countdown Spinner" widget that is 40 px in diameter.
    The widget uses SVG animation to show a spinner that displays a 3 second countdown.
    Created on : Mar 21, 2018, 10:41:45 AM
    Author     : jay
*/
.countdownSpinner {
    position:relative;
    margin-left:5px;
    height: 40px;
    width: 40px;
    text-align: center;
}
.countdownSpinner div {
    color: var(--darkgrey);
    display: inline-block;
    line-height: 40px;
    font-size: 1.2em;
}
.countdownSpinner svg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    transform: rotateY(-180deg) rotateZ(-90deg);
}
.countdownSpinner svg circle {
    stroke-dasharray: 113px;
    stroke-dashoffset: 0px;
    stroke-linecap: round;
    stroke-width: 4px;
    stroke: var(--primary-color);
    fill: none;
    animation: countdownSpinnerAnimation 3s linear infinite forwards;
}
@keyframes countdownSpinnerAnimation {
    from {
        stroke-dashoffset: 0px;
    }
    to {
        stroke-dashoffset: 113px;
    }
}

/* END COUNTDOWN SPINNER */


.nav-close-dialog {
    padding: 30px;
    text-align: center;
}

.nav-close-dialog p{
    margin-bottom:10px;
}

/* Student project opened by teacher */

.toolbar_button.feedback {
    display:none;
}

.teacher.student-project:not(.readonly) .toolbar_button.feedback {
    display:inline-block;
    margin-right: 10px;
    background: var(--primary-color);
}

.teacher.student-project:not(.readonly) .toolbar_button.menu {
    display:none;
}

.teacher.student-project .toolbar_button.feedback svg {
    fill:var(--white);
    height: 42px;
    width: 42px;
}

.teacher.student-project .palette_tools,
.teacher.student-project .palette_options:not(.mic){
    display:none;
}

@media (orientation: portrait) {
    
    .palette_row {
        margin: 15px 0;
    }
    
    .palette_row.only,
    .palette_row.flex,
    .palette_row.size {
        justify-content: center;
    }
    
    .palette_button.delete {margin-left: 40px;}
    
    .size_slider {
        margin-left: 10px;
        margin-right: 10px;
        max-width: 300px;
    }
    
    .main {
         flex-direction: column;
         padding: 5px 5px 0;
     }
     
     .not-loggedin .main {
        padding:5px;
    }
    
    .canvas {
        height: auto;
        width: 96%;
    }
    
    .workspace_tools {
        flex: 1;
        width: 98vw;
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .palette_tools {
        margin-top:auto;
        justify-content:center;
    }
    
    .palette_row.editor_options {
        display: block;
        overflow-y:hidden;
        overflow-x:auto;
        white-space:nowrap;
        margin-left: 0;
        width: 100%;
        min-height: 120px;
        -webkit-overflow-scrolling: touch;
    }
    
    .palette_row.editor_options {
        min-height: 120px;
    }
    
    
    .subpanel_grid_option.shape {
        width: 72px;
        height: 72px;
        margin-right: 10px;
    }
    
    .subpanel_grid_option.spray {
        margin-right: 10px;
    }
    
    .subpanel_grid_option {display: inline-block;}
    
    .palette_header {
        margin-left: 30%;
        margin-right: 20px;
        user-select: none;
    }
    
    .toolbar_section,
    .toolbar_section.name {
        margin-bottom: 10px;
    }
    
    .toolbar_project_name {
        font-size: 14pt;
    }
    
    .palette_options {
        overflow: hidden;
        padding: 10px 0;
    }
    
    .palette_row.color {
        display: block;
        overflow-x: auto;
        height: 80px;
        overflow-y: hidden;
        white-space: nowrap;
        margin:0;
    }
    
    .paint_color {
        height: 50px;
        width: 50px;
        padding: 0;
        margin-right: 5px
    }
    
    button.paint_color:first-child {
        margin-left: 8px;
    }
    
}

@media (orientation: portrait) and (min-width: 771px) and (max-width: 1100px) {
    
    .stage {
        flex:1;
        margin-bottom: 5px;
    }
}

@media (orientation: portrait) and (min-width: 600px) and (max-width: 770px) {
    
    .main {
        width: 100vw;
        box-sizing: border-box;
    }
    
    .stage {
        flex:1.6;
        margin-bottom:10px;
    }
    
    .workspace_tools {
        width: 98vw;
        margin: 0 auto;
    }
    
    .palette_options {
        overflow:hidden;
        padding: 10px 0;
    }
    
    .palette_row.color {
        display: block;
        overflow-x: auto;
        height: 80px;
        overflow-y: hidden;
        white-space: nowrap;
        margin:0;
    }
    
    .palette_row.eraser.size {
        height:50px;
    }
    
    .paint_color {
        height: 50px;
        width:50px;
        padding:0;
        margin-right:5px;
    }   
    
    button.paint_color:first-child {
        margin-left:8px;
    } 
    
    button.paint_color:last-child {
        margin-right:10px;
    } 
    
    .palette_undo {   
        top: 10px;
        right:10px;
        bottom:unset;
    }
    
    .toolbar_section.insert,
    .toolbar_section.view {
        flex: none;
    }
    
    #editor-text.palette_options,
    #editor-graphic.palette_options{margin-top: 10px;}
    
    #editor-shadow .history-row {
        margin-bottom: 10px;
    }
    
    #graphic_size.palette_row.flex,
    #text_align.palette_row.flex,
    #text_shadow.palette_row.flex,
    #shadow_distance.palette_row.flex,
    #shadow_angle.palette_row.flex{
        display: inline-block;
        width: 48%;
        margin: 5px 0 5px 10px;
    }

    #palette_brush_size.palette_row.flex,
    #graphic_rotate.palette_row.flex,
    #graphic_link.palette_row.flex,
    #text_style.palette_row.flex,
    #shadow_blur.palette_row.flex,
    #text_font.palette_row.flex,
    #text_size.palette_row.flex{
        display: inline-block;
        width: 48%;
        margin: 5px 0;
    }
    
    #graphic_filter.palette_row.flex.hide,
    #graphic_shape.palette_row.flex.hide {
        display: none;
    }
    
    .palette_button.bubble_icon {
        margin-left: 100px;
    }

    .palette_button.font.large {width: 24px;}    
    .palette_button.font.small {width: 20px;}    
    .palette_button.size.small {width: 25px;}
    .palette_button.size.large {width: 40px;}

    .brush_sample{
        display: inline-block;
        vertical-align: middle;
    }
    
    #palette_symmetry.palette_row {
        margin: 15px 0 15px 10px;
    }
    
    #palette_symmetry .palette_label {
        margin-right: 25px;
    }
    
    .palette_text_field {width: 80%;}
    
    .palette_font_current{
        display: inline-block;
        vertical-align: middle;
        width: 60%;
        text-align: center;
    }
    
    .palette_text_color, .palette_background_color{
        display: inline-block;
        vertical-align: middle;
        margin-left: 20px;
    }
    
    .plain-angle-input{
        display: inline-block;
        vertical-align: middle;
        margin-left: 20px;
    }
    
    .palette_row.font {
        display: grid;
        grid-template-columns:repeat(3, 1fr);
        grid-gap:0;
        background-color: transparent;
        border-left: 1px solid var(--middlegrey);
    }
    
    .font_option {
        border-right: 1px solid var(--middlegrey);
        background-color: var(--white);
    }
    
    .font_option:last-child {
        border-bottom: 1px solid var(--middlegrey);
    }
    
    #slideshow_timing .palette_label {width: 68px;}
    
    #editor-presentation.palette_options {
        column-count: 2;
        text-align: left;
        width: 90%;
        margin: 0 auto;
        padding-top: 10px;
    }
    
    #editor-presentation .palette_row.flex {
        justify-content: center;
        display: block;
        margin: 0;
        padding: 10px 0;
    }
    
    .ipad #slideshow_transition.palette_row.flex,
    #slideshow_timing.palette_row.flex {
        padding: 20px 0 10px;
    }
    
}

@media (orientation: portrait) and (max-width: 599px) {
    
    .page-editor .toolbar {
        margin-top:5px;
    }
    
    .toolbar_button, .page-editor .toolbar_home {
        width: 50px;
        height: 50px;
    }
    
    .toolbar_button svg, .toolbar_menu_item.share svg {
        height: 28px;
        width: 28px;
    }
    
    .palette_undo {
        right: 10px;
        top: 10px;
        bottom: unset;
    }
    .stage {
        flex: 1.1;
    }
}

@media (orientation: portrait) and (min-width:599px) {

    .palette_button.edit {margin-left: 0px;}

    .brush_sample {margin-left: 0;}
    .fill_color {margin-left: 10px;}

    .paint_color {
        height:50px;
    }

}

@media (orientation: landscape) {
  
  .stage {
    flex:3;
    display: flex;
    flex-direction: column;
    text-align:right;
    margin:0 10px 10px 0;
    }
  
  .canvas {
    height: auto;
    width: 94%;
    }

}

@media (orientation: landscape) and (max-aspect-ratio: 16/10) {
    
    .stage {
        flex:1;
        margin-bottom: 5px;
    }
    
    .teacher.student-project:not(.readonly) .toolbar_button.feedback {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .paint_color {
        height: 34px;
        margin-bottom: 3px;
    }
    
    .palette_brush_option {
        width: 90%;
        margin-bottom: 5px;
    }
    
    .subpanel_grid_option.spray {
        height: 60px;
        width: 60px;
    }
    
    .history-row.header.sprays .palette_button {
        width:34px;
        background-size: 32px 32px;
    }
    
    .palette_button {
        width: 60px;
        height: 60px;
    }
    
    .palette_button svg {
        width: 45px;
        height: 45px;
        top: 9px;
    }
    
    .palette_button:not(.delete):focus svg, 
    .palette_button:not(.delete):hover svg, 
    .palette_button:not(.delete).active svg {
        width: 60px;
        height: 60px;
        top: -1px;
    }
    
    .page-editor .toolbar {
        flex-direction: column;
        height: unset;
        margin: 11px 0 0 6px;
    }
    
    .page-editor.lti-sg.iframe .toolbar {
        margin: 10px 0 0 10px;
    }
    
    .toolbar-items button {
        display: block;
        margin: 10px 0 0 0;
    }
    
    .toolbar-items button.hidden {
        display: none;
    }
    
    .main { flex-direction: column-reverse;}
    .page-authkey .main { flex-direction: column;}
    
    .countdownSpinner {
        margin-right:10px;
    }
    
    .toolbar_section.name {
        flex-direction: row;
        height: 50px;
        align-items: center;
        margin-bottom:10px;
        margin-left: 65px;
        border-radius: 31px;
        padding:0;
    }
    .toolbar_project_name {
        display: inline-block;
        flex: 1;
        height: 34px;
        margin-left: 15px;
    }
    .palette_options.mic {
        display: inline-flex;
        margin: 0;
        position: initial;
        align-items: center;
    }
    .palette_tools {
        display: flex;
        justify-content: center;
        position: absolute;
        bottom: 0;
        width:100%;
    }
    .palette_options:not(.mic){
        position: absolute;
        right: 0;
        border: 1px solid transparent;
        background-color: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 5px;
        flex-direction: column;
        align-items: center;
        width: 60px;
        height: 89%;
        top: 80px;
    }
    
    .palette_options.eraser.show{
        display:flex;
        justify-content: center;
    }   
    .palette_row {
        margin:0;
    }
    
    .palette_row.eraser.size input {
        transform: rotate(90deg);
        width: 200px;
        transform-origin: 50% 50%;
    }
    
    .palette_row.eraser_all {
        display: none;
    }
    
    .palette_row.eraser_size {
        flex:1;
    }
    .palette_row.color{
        display: flex;
        margin: 0;
        flex-direction: column;
        flex: 1;
    }
    .palette_row.audio{
        margin-left:auto;
    }
    .paint_color {
        height: unset;
        flex: 1;
    }
    
    .paint_color.active, 
    .paint_color.active:focus {
        background-size: 26px 26px;
    }
    
    .paint_color.white {order:1;}
    .paint_color.lightred {order:2;}
    .paint_color.lightyellow {order:3;}
    .paint_color.skin1 {order:4;}    
    .paint_color.lightgreen {order:5;}
    .paint_color.lightblue {order:6;}
    .paint_color.lightpurple {order:7;}     
    .paint_color.red {order:8;}
    .paint_color.skin2 {order:9;}
    .paint_color.orange {order:10;}
    .paint_color.yellow {order:11;}
    .paint_color.green {order:12;}
    .paint_color.blue {order:13;}
    .paint_color.purple {order:14;}    
    .paint_color.darkred {order:15;}
    .paint_color.skin3 {order:16;}    
    .paint_color.darkgreen {order:17;}
    .paint_color.darkblue {order:18;}
    .paint_color.darkpurple {order:19;}
    .paint_color.grey {order:20;}
    .paint_color.black {order:21;}
    
    .toolbar_project_name_readonly {
        margin-left:20px;
    }
    
    .not-loggedin .toolbar_section.name {
        margin-left:0;
    }
    
    .page-editor.not-loggedin .toolbar {
        flex-direction: row;
        height: 60px;
        width: unset;
        left: 10px;
        right: unset;
    }
    
    .not-loggedin .toolbar-items button {
        display: inline-block;
        margin: 0 10px 0 0;
    }
}

@media (orientation: landscape) and (min-aspect-ratio: 16/10) and (min-width: 1101px) {
    
    .toolbar_button.add,
    .toolbar_button.view
    {display:none;}
    
    .workspace_tools {
        flex: 1;
        margin: 0 0 0 10px;    
    }
    
    .workspace_tools.history {
        border: 1px solid var(--grey);
        background-color: var(--white);
    }
    
    .toolbar_button.add
    {display:none;}
    
    .toolbar_section.insert {
        min-width:220px;
        flex:1.5;
    }
    
    .toolbar_section.view{
        min-width:94px;
    }

    .toolbar_button.view
    {display:none;}
    
}

@media (orientation: landscape) and (min-aspect-ratio: 16/10) and (min-width: 1500px) {
    
    .palette_row {
    margin: 25px 0;
    }
}
          
.show {
    display: block;
}
          
