html {
  -height:100%;
}
body {
  -height:100%;
  margin:0;
  padding:0;
}

ons-toolbar-button.logo-menu-item {
  padding: 6px !important;
}
.button-small {
  padding: 0px 9px;
}
/*
.decrease-dim-button{
  margin-right: 5px;
}
*/
.increase-dim-button{
  margin-right: 5px;
}
/* CHECK */
.expired.list-item .button,
.button.expired {
    background-color: #ea3f2d !important;
}
.expired.list-item .button--quiet,
.button--quiet.expired {
    background-color: inherit !important;
    color: #ea3f2d;
}
.expired.list-item .button--outline {
    border-color: #ea3f2d;
    color: #ea3f2d;
    background-color: #ffffff;
}
.expired.list-item,
.expired.list,
img.expired,
div.expired 
ons-toolbar-button.expired {
  opacity: 0.3;
  -color: #ea3f2d !important;
}
.expired.list-item .button--quiet {
    border-color: inherit;
    color: #ea3f2d;
    background-color: transparent;
}

.course-button-outline {
  padding: 5px 8px;
  margin: 0;
  -border-radius: 18px;
  border: none;
  line-height: 18px;
}
.course-menu-bar {
  width:100%;
  padding:0; 
  text-align:center;
}
.course-fab {
  position: absolute !important;
  right: 17px;
  left: auto;
  bottom: auto;
  opacity: 0.85;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  /*
  background-color: white !important;
  color: #2e70b8 !important;  
  */
}
.course-fab .ons-icon{
  vertical-align: 0 !important;
  font-size: 21px !important;
}

#coursesPage_path {
  display: none;
}  

#scrollWrapper {
  position: absolute; 
  right: 10px; 
  top: 5px; 
  border: 1px solid #ccc;
}
.right-menu #scrollWrapper {
  right: 100px; 
}

.download-option {
  border: solid 1px #bbb;
  padding: 4px 10px;
  margin: 2px 4px 2px 0px;
  border-radius: 10px;
}
.download-option.disabled {
  opacity: 0.35;
}
.download-option.selected {
  border: solid 1px #2e70b8;
  background-color: #2e70b8;
  color: white;
}

/*******/
/* PRO : #B82E70 */
/*******/
.profeature {
  opacity: 1;
}
.disabled-profeature {
  opacity: 0.6;
}

.profeature .download-option,
.download-option.profeature,
.border-profeature {
    border-color: #B82E70;
}
.profeature .download-option.selected,
.download-option.profeature.selected {
    border: solid 1px #B82E70;
    background-color: #B82E70;
}
.profeature .segment__button {
    color: #B82E70;
    border-color: #B82E70;
}
.profeature.list-item :checked + .segment__button {
    background-color: #B82E70;
    color: #ffffff;
    border-color: #B82E70;
}
.profeature .download-option.selected {
    border: solid 1px #B82E70;
    background-color: #B82E70;
}
.profeature-text,
.profeature-icon {
  color: #B82E70;
}
.profeature-border {
  border-color: #B82E70;
}
.profeature-background,
.button.profeature {
  background-color: #B82E70 !important;
}
.button--quiet.profeature {
  color: #B82E70 !important;
  background-color: rgba(0,0,0,0) !important;
}
.button--outline.profeature {
  color: #B82E70 !important;
  background-color: transparent !important;
  border-color: #B82E70 !important;
}
/*
.profeature.disabled{
  color: #B82E70 !important;
}
*/



.title-info {
    text-transform: none;
    font-size: 13px;
    color: #666;
    line-height: 15px;
    padding-bottom: 8px;
}
.list-header-info {
    text-transform: none;
    font-size: 85%;
    color: #666;
    padding-bottom: 3px;
}
div.list-header-info {
    line-height: 100%;
    padding-bottom: 3px;
}
span.list-header-info {
    padding-left: 5px;
    color: #888;
}
.numbersBtn {
  padding: 0 8px;
}
#versionInfoPage .list.list--inset,
#helpPage .list.list--inset {
  margin-top: 10px;
  margin-bottom: 10px ;
}
#versionInfoPage .list-header,
#helpPage-ignore .list-header {
  font-weight: 900;
}
#versionInfoPage .list-item__title {
  margin-bottom: 6px;
  color: #2e70b8;
}
#versionInfoPage .list-item__subtitle {
  margin-top: 4px;
  margin-bottom: 2px;
}
.hidden {
  display: none !important;
}
.clearfix {         
    clear: both;
}
.text-highlight,
.icon-highlight {
  color: #ea3f2d;
}
.border-highlight {
  border-color: #ea3f2d;
}
.lborder-highlight {
  border-left-color: #ea3f2d;
}
.button-highlight {
  background-color: #ea3f2d !important;
}
.button-quiet-highlight {
  color: #ea3f2d !important;
}
.button-outline-highlight {
  color: #ea3f2d !important;
  border-color: #ea3f2d !important;
}
.button-pink {
  background-color: #FF0050 !important;
}
.button-green {
  background-color: #289C00 !important; /* #8bc34a */
}
.button-gray {
  background-color: #607d8b !important;
}
.button-purple {
  background-color: #9c27b0 !important; /* #C937CA */
}
.button-orange {
  background-color: #9c27b0 !important;
}
.button-blue2 {
  background-color: #3f51b5 !important;
}
.button-icon {
    font-size: 22px;
    width: 30px;
}
body.isAndroidDevice .search-input {
    margin: 12px auto 6px auto;
}
.isWeb {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    padding: 0 1px;
}
body.isAndroidDevice .toolbar-button.selectedObstacle {
    border: 1px solid rgba(24, 103, 194, 0.5);
    background-color: rgba(24, 103, 194, 0.2);
    -height: 45px;
}
body.isAndroidDevice #saveCourseImageBtn {
    display: none;
}
body.isAndroidDevice .close-splitter-menu {
    float:right;
}
.toast--error {
  background-color: #ff2600; /* c80000 */
}
.toast--warning {
  background-color: #ff6600;
}
.toast--info {
  background-color: #006dff;
}
.toast--success {
  background-color: #02d13c;
}
.main-button-wrapper {
  width: 95%;
  min-width: 230px;
  max-width: 350px;
  text-align: center;
  display: inline-block;
}
.main-button-wrapper-wrapper {
  width: 100%;
  text-align: center;
  display: block;
  margin: 5px 0;
}

#homePageUserStatusWrapper {
  margin: 15px 0 10px 0;
}

/* square buttons */
.square-button-pannel {
  /* width: 100%; */
  max-width: 730px; /* 620 */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;    
  padding: 15px;
}
.square-button-wrapper {
  display: inline-block;
  padding: 5px;
}
.button.button--square {
  width: 110px;
  height: 110px;
  text-align: center;
  padding: 12px 1px 1px 1px;
}
.button.button--square ons-icon{
  display: block;
  font-size: 60px;
}
.button.button--square img{
  width: 50px;
  padding: 5px;
}
.button.button--square span{
  font-size: 70%;
  height: 30px;
  white-space: normal;
  vertical-align: middle;
  display: block;
  line-height: normal;
  padding: 2px;
  display: table;
  display: table-cell;
  width: 106px;
}
.button.button--square .notification {
  display: inline;
  padding: 4px;
  position: absolute;
  top: 3px;
  right: 3px;
  height: 19px;
  width: auto;
  border-radius: 3px;
}

.hidden {
  display: none;
}
.close-popover  {
  float: right;
  color: #aaaaaa;
  margin-right: 10px;
  font-size: 90%
}
/* hide arrow for popovers*/
.popover__arrow.popover--top__arrow,
.popover__arrow.popover--bottom__arrow {
  display: none;
}

/* iOS */
/*
body.isIOSDevice .search-input {
    margin: 6px auto 6px auto;
}
*/
body.isIOSDevice .toolbar-button.selectedObstacle {
    border: 1px solid rgba(24, 103, 194, 0.5);
    background-color: rgba(24, 103, 194, 0.2);
}
body.isIOSDevice .close-splitter-menu {
    padding: 0px 3px 0px 0px;
    float:right;
}
.splitter-menu-right-item {
    padding: 0px 3px 0px 0px;
    float:right;
}

.app-background {
    background-color: #2e70b8 !important;
}

.dblue-notification,
.courses-notification {
    top: 4px;
    left: 0px;
    font-size: 12px;
    line-height: 14px;
    height: 14px;
    position: absolute;
    background-color: #003f88;
}
.courses-notification {
    background-color: #2e70b8;
}
.dblue-notification {
    background-color: #003f88;
}
.highlight-notification {
    top: -9px;
    left: 4px;
    font-size: 8px;
    line-height: 10px;
    height: 10px;
    position: absolute;
    -background-color: #003f88;  
}

.public-course-icon {
  color:#2e70b8;
  padding-right:1px;
  font-size: 18px;
  vertical-align: 0 !important;
}
.draft-notification {
    font-size: 12px;
    line-height: 17px;
    height: 17px;
    background-color: #a7a7a7a7;
    border-radius: 3px;
    margin-right: 5px;
    /* color: #444; */
}
.label-notification {
    font-size: 12px;
    line-height: 17px;
    height: 17px;
    background-color: #2e70b824;
    /* background-color: #ea3f2d5c; */
    border-radius: 3px;
    margin-right: 5px;
    padding:0; 
    color: #444;
}
.label-notification-text {
  line-height: 16px;
  height: 17px;
  display: inline-block;   
  padding:0 4px; 
}
.delete-label {
  line-height: 16px;
  height: 17px;
  display: inline-block;  
  padding: 0 4px; 
  -display: none;
}
.delete-label:hover {
  background-color: #2e70b875;
}
#coursesList .list-item {
  padding-left: 8px;
}
.list {
    font-size: 15px;
}
.helptopic-index {
  width: 30px;
  min-width: 30px;
  max-width: 30px;
  color: #888888;
  padding: 12px 7px 12px 0px;
  justify-content: center;
  font-size: 80%;
}
.helptopic-date {
  width: 83px;
  min-width: 83px;
  max-width: 83px;
  color: #888888;
  padding: 12px 7px 12px 0px;
  justify-content: right;
  font-size: 80%;
}
.course-index {
  width: 38px;
  min-width: 38px;
  max-width: 38px;
  color: #888888;
  padding: 12px 7px;
  justify-content: center;
}
#coursesList .list-item{
  padding-left: 2px;
}
#coursesList .list-item__center {
  padding: 10px 6px 10px 0;
}
#coursesList .list-item__right {
  width: 30px;
  min-width: 30px;
  max-width: 30px;
  padding: 0;
  color: #ddd;
  justify-content: center;  
}
.list-item.list-item-shallow .list-item__center,
.list-item.list-item-shallow .list-item__right,
.list-item.list-item-shallow .list-item__left{
  padding-top: 5px;
  padding-bottom: 5px;
}
.course-date {
    width: 100%;
    color: #999;
    font-size: 13px;
    display: block;
}
.course-title {
  display: inline-block;
  padding-bottom: 3px;
}
.course-title.is-public-course {
  width: calc(100% - 30px);
  padding-left: 5px;
}
.course-status {
  display: inline-block;
}
#coursesList .list-item {
  border-left: 5px solid #fafafa;
}
#coursesList .selected-list-item {
  border-left: 5px solid #2e70b8;
}
#coursesList .selected-list-item .course-index,
#coursesList .selected-list-item .course-title,
#coursesList .selected-list-item .course-date, {
  color: #2e70b8 !important;
}
.list-label {
    width: 100px;
}
.left-label {
    width: 30%;
    color: #777;
    font-size: 90%;
}
.course-flagged {
    color: /*#3498db*/ rgba(38,100,171,0.81);
}
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.truncate-segment .segment__button {
  text-overflow: ellipsis;
  overflow: hidden;
}

.instruction {
    width:100%;
    text-align:center;
    opacity:0.5; 
    font-size:12px;
    padding: 10px 2px 5px 2px;
}
.courseDetails ons-row {
    padding: 2px 0;
}
.list-item.disabled {
    color: #aaaaaa;
}
.img-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.img-container-padded {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
}
.img-container .centerer,
.img-container-padded .centerer {
    height: 100%;
    display: flex;
}

.button-list .button {
  margin: 2px;
}

/* popover widths */
#courseActionsPopover .popover__content,
#otherObstaclesPopover .popover__content{
    width: 375px;
    max-width: 96vw;
    min-height: 35px;
}
#exitBuilderPopover .popover__content,
#cameraPopover .popover__content,
#actionsPopover .popover__content,
#numbersPopover .popover__content,
#settingsPopover .popover__content{
    width: 350px;
    max-width: 96vw;
    min-height: 35px;
}
#manualLineColorPopover .popover__content{
    width: 325px;
    max-width: 96vw;
    min-height: 35px;
}
#previewsPerRowPopover .popover__content,
#transformTunnelPopover .popover__content,
#manualLineSettingsPopover .popover__content,
#editDogPopover .popover__content{
    width: 300px;
    min-height: 35px;
}
#distanceLabelFontSizePopover .popover__content,
#areaPopover .popover__content,
#pathPopover .popover__content{
    width: 250px;
    min-height: 35px;
}
#zoomFactorPopover .popover__content {
    width: 175px;
    min-height: 35px;
}
#replaceObstaclePopover .popover__content {
    width: 400px;
    max-width: 97vm;
    min-height: 35px;
}
#replaceNumberPopover .popover__content {
    width: 300px;
    max-width: 97vm;
    min-height: 35px;
}
#coursesPage_labelPopup .popover__content {
    width: 280px;
    min-height: 85px;
}
/* header */
.obstacle.active {
    border: 1px solid rgba(38,100,171,0.81);    
}
.obstacle img,
.builderToolbarItem img {
    position: relative; 
    top: 3px; 
    left 0px;    
}
/*
#variableObstacleBtn {
  display: flex;
  place-content: center;
  align-items: center;  
}
*/
#variableObstacleBtn svg {
  position: relative; 
  top: 3px;
}
/*
#variableObstacleBtn img {
  top: 0 !important;
}
*/
#courseBuilderMainContent .page__content {
    overflow: hidden;
}

/* check if still needed*/
/*
.fab {
    background: rgba(0,0,0,0.71) !important;
}
*/
.close-button {
    position:absolute; 
    right: 10px; 
    top: 10px;    
    z-index: 999;
}
.close-button .ons-icon {
    opacity:.25;
    color:#222222;
}
#infoPerformance {
  text-transform: none;
}
#builderInstructions {
  position: fixed;
  text-align: center;
  width: 100vw;
  font-size: 13px;
  -color: #2e70b8;
  color: #ea3f2d;
  top: 43px;
  left:0;
  padding: 5px 50px;
}
#builderInstructions .highlighted {
  color: #ffffff;
  -background-color: #2e70b8;    
  background-color: #ea3f2d;    
}
#obstacleFeedbackWrapper,
#positionWrapper {
    position: fixed;
    font-size: 10px;
    background-color: white;
    opacity: .75;
    left: 3px;
}
#obstacleFeedbackWrapper {
    top: 46px;
}
#positionWrapper {
    top: 60px;
}
body.isAndroidDevice #obstacleFeedbackWrapper,
body.isAndroidDevice #positionWrapper {
    color: rgb(0, 102, 92);   
}

body.isIOSDevice #obstacleFeedbackWrapper,
body.isIOSDevice #positionWrapper {
    color: rgb(24, 103, 194);   
}

.otherObstaclesBtn {
    padding: 0px 2px 0px 10px;
}

.isIOSDevice #modePage .page__content,
.isIOSDevice #initLengthUnitsPage .page__content,
.isIOSDevice #initLanguagePage .page__content,
.isIOSDevice #checkUserContentPage .page__content,
.isIOSDevice #checkUserPage .page__content,
.isIOSDevice #homeContentPage .page__content,
.isIOSDevice #syncPage .page__content,
.isIOSDevice #syncSettingsPage .page__content,
.isIOSDevice #iOSPurchasePage .page__content,
.isIOSDevice #syncAccountPage .page__content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    /*resize: vertical;*/    
}
.isAndroidDevice #modePage .page__content,
.isAndroidDevice #initLengthUnitsPage .page__content,
.isAndroidDevice #initLanguagePage .page__content,
.isAndroidDevice #checkUserContentPage .page__content,
.isAndroidDevice #checkUserPage .page__content,
.isAndroidDevice #homeContentPage .page__content,
.isAndroidDevice #syncPage .page__content,
.isAndroidDevice #syncSettingsPage .page__content,
.isAndroidDevice #syncAccountPage .page__content{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-box-flex-direction: column;
    -moz-box-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    
    -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
    justify-content:center;
}

.badge {
    border-radius: 10px;
    padding: 1px 5px;
    border: 1px solid black;
    font-size: 80%;
    margin: 1px;
    color: black;
}
/*
.badge.badge-menu-item {
    top: -3px;
    position: relative;
}
*/
/*
body.isAndroidDevice .badge.badge-menu-item {
    left: 1px;
}
*/
.badge.badge-list {
    padding: 1px 6px;
    margin: 2px 6px;
}
.badge.no-border-badge {
    border: none !important;  
    background-color: transparent !important;
}
.badge.rounded-square-badge {
    border-radius: 2px !important;  
}
.badge.square-badge {
    border-radius: 0 !important;  
}
.badge.badge-list.square-badge { 
    margin: 2px 5px;
} 

.bottom-bar ons-toolbar-button {
    position: relative;
    top: 1px;
    text-align: center;
}
.bottom-bar ons-toolbar-button.disabled {
    display: none;
}
.bottom-bar ons-toolbar-button ons-icon {
    width: 20px;
}    
.on-off-button .on-button {
  opacity: 1;
}
.on-off-button .off-button {
  opacity: 0.3;
}
.on-off-button.button-is-off .on-button {
  opacity: 0.3;
}
.on-off-button.button-is-off .off-button {
  opacity: 1;
}

.menu-item-title { 
  left: -5px;
  top: 6px;
  position: absolute;
  width:  50px;
  font-size: 9px;
  color:  #aaaaaa;
  text-align:  center;
  height: 0px;              
}
.range-menu-item-title { 
  left: 0px;
  top: 15px;
  position: absolute;
  width:  100px;
  font-size: 9px;
  color:  #aaaaaa;
  text-align:  center;
  height: 0px;              
}

.color-frame {
    min-width: 30px; 
    height: 30px; 
    margin: 2px;
    border: 1px solid #222222;
}
.color-frame.color-frame-wide {
    min-width: 60px; 
}

.course-preview{
    height: auto;
    object-fit: 'scale-down';
    margin: 4px;
    border: 1px solid #ddd;
    tabindex: -1;
    opacity:0; 
    max-height: max(25vh, 25vw);
}
.course-preview-wrapper.cols-1 .course-preview{
    max-height: 85vh;
}
.course-preview-wrapper.cols-2 .course-preview{
    max-height: max(50vh, 50vw);
}
.course-preview-wrapper.cols-3 .course-preview{
    max-height: max(33vh, 33vw);
}
.course-preview.course-preview-img {
    max-width: 97%;
    width: 100%;
}
.course-preview svg {
  width: 100%;
  height: auto;
  max-height: max(25vh, 25vw);  
}
.course-preview-wrapper.cols-1 .course-preview svg{
    max-height: 85vh;
}
.course-preview-wrapper.cols-2 .course-preview svg{
    max-height: max(50vh, 50vw);
}
.course-preview-wrapper.cols-3 .course-preview svg{
    max-height: max(33vh, 33vw);
}
.course-preview-info{
    max-width: 97%;
    height: 30px;
    position: relative;
    bottom: 39px;
    left: 8px;
    margin: 4px;
    border: 1px solid #000;
    background-color: #222;
    opacity:0.5; 
    font-size: 11px;
    color: #fff;
}

.course-preview-index{
    min-width: 9px;
    min-height: 9px;
    position: relative;
    opacity:0.5; 
    top: 6px;
    left: 8px;
    color: #222;
    font-size: 9px;
}

.selected-course-preview .course-preview {
  /*
    margin: 2px;
    padding: 2px;
    background-color: #2979ff;
  */
  border: 1px solid #2979ff;
}

.course-preview.fade-in { 
    opacity:1; 
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;   
}
.course-preview.fade-empty { 
    opacity:1; 
    border: none;
}

#imageContainer {
  width: 96%;
  height: 96%;
  max-width: 800px;
  max-height: 600px;
  position: absolute;
  overflow: hidden;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background: red;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


#imageContainer > img {
  display: block;
  max-width:100%;
  max-height:100%;
  cursor: move;
  touch-action: none;
}

.grid-course-fab {
  display: none !important;
  position: absolute;
  top: 10px;
  opacity: 0.75;
}
.selected-course-preview .grid-course-fab {
  display: block !important;
}

.ons-icon[rotate="45"] {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

.ons-icon[rotate="-45"] {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.img-thumbnail {
    display: inline-block;
    max-width: 100%;
    height: auto;
    padding: 6px;
    line-height: 1.42857143;
    background-color: rgba(255,255,255,0.90);
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    vertical-align: middle;
}
.flex-container,
.flex-container-wide {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    width: 97%;
    margin: 0 auto;
    /* for 34 columns;
    max-width: 900px;
    */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;

    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content:center;

    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.flex-container-wide {
    max-width: 1100px;
}
.flex-col {
    max-width: 200px;
    min-width: 200px;
    flex: 1;
    margin: 5px;
}
.short-lang {
    display: none;
}
.user-select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: auto;  
  -webkit-touch-callout: default !important;
}
.force-select {  
  -webkit-user-select: text;
  -moz-user-select: text; 
  -ms-user-select: text;
  user-select: all;    
  -webkit-touch-callout: default !important;
}
#coursePreview {
  max-width: 100%;
  margin: auto;
  max-height: 66vh;  
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;  
  -webkit-touch-callout: default !important;
}
#restoreCoursePage_currentCoursePreviewDiv{
  width: 100%;
  max-width:100%;
  margin: 0 auto;
  max-height: 35vh;  
}
#restoreCoursePage_currentCoursePreviewDiv img{ 
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;  
  -webkit-touch-callout: default !important;
}
#restoreCoursePage_currentCoursePreviewDiv svg {
  width: 100%;
  height: auto;
  -max-height: min(275px, 20vw); 
  max-height: 35vh; 
}
#coursePreviewDiv {
  width: 100%;
  max-width:100%;
  margin: 0 auto;
  max-height: 55vh;  
}
#coursePreviewDiv img{ 
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;  
  -webkit-touch-callout: default !important;
}
#coursePreviewDiv svg {
  width: 100%;
  height: auto;
  -max-height: min(275px, 20vw); 
  max-height: 55vh; 
}
.restoreCoursePreview {
  max-width: 100%;
  margin: auto;
  max-height: 35vh;  
  border: 1px solid #dedede;
}
.restoreCoursePreview img{
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;  
  -webkit-touch-callout: default !important;
}
.coursePreview img,
.course-preview img {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;  
  -webkit-touch-callout: default !important;
}
#sharePreview img,
.img-container img,
#coursePreview {
  max-width: 100%;
  margin: auto;
  max-height: 100%; 
  max-height: 70vh; 
  pointer-events:auto !important;
  -touch-action: auto !important;
  -webkit-user-select: auto !important;
  -moz-user-select: auto !important;
  -ms-user-select: auto !important;
  user-select: auto !important;
  -webkit-touch-callout: default !important; 
}
#sharePreview {
  width:100%;
  text-align:center;
  height:25vh;
  overflow:hidden;
  margin-bottom: 15px;
  min-height: 160px;
}
#courseImportTabbar #courseText {
  -touch-action: auto;
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
  -webkit-touch-callout: default !important;   
}
#bottomActionsMenu {
  position: absolute; 
  left: 0px; 
  bottom: 0px; 
  z-index: 1010; 
  padding-left: 5px; 
  padding-top: 4px;
  height: 36px;
  border-left-width: 0px;
  border-top-width: 1px;
}
@media (orientation: landscape) {
  html[onsflag-iphonex-landscape] #bottomActionsMenu {
    padding-left: 40px;
    padding-right: 40px;
    height: 26px;
    padding-top: 1px;
  }
}
/*
@media (orientation: portrait) {
  html[onsflag-iphonex-portrait] #bottomActionsMenu {
  }
}
*/
.right-menu #bottomActionsMenu {
  position: absolute; 
  left: auto; 
  top: 0px;
  right: 0;
  padding-left: 0px; 
  height: 100%;
  width: 110px;
  border-left: 1px solid #ccc;
  border-top: none;
  display: flex;
  flex-direction: row; /* column*/
  align-content: flex-start; /* stretch */
  flex-wrap: wrap;
  justify-content: space-between; /* flex-start */
  align-items: center;  
}
.right-menu #bottomActionsMenu .toolbar-button{
  -margin-left: 2px;
  -margin-right: 4px;
  width: 22px;
  height: 25px;
}
#bottomActionsMenuInfo {
  white-space: normal;
  text-align:center;
  width:100%;
  font-size:11px;
  color:#aaaaaa;
  padding:12px 9px 9px 9px;
  position: absolute;
  bottom: 13px;  
}
#bottomActionsMenu .hbar-only {
  display: inline-block;
}
#bottomActionsMenu .vbar-only {
  display: none;
}


.right-menu #bottomActionsMenu .hbar-only {
  display: none;
}
.right-menu #bottomActionsMenu .vbar-only {
  display: inline-block;
}
#bottomActionsMenu.menu-large .toolbar-button{
  padding-left: 8px !important;
  padding-right: 8px !important;
}
.right-menu #bottomActionsMenu.menu-large .toolbar-button{
  padding: 6px 12px !important;
}
/*******************/
/* CAMERA SVG      */
/*******************/
svg.camera {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
}
svg.camera.zoomed {
  opacity: .4;
}
#svg_flat_container .info {
    text-align: center;
    font-size: 12px;
    padding: 35px 5px 5px;
    color: #999999;
}
.cameraHandle {
  fill: #eee;
  opacity: .5;
  pointer-events: all;
  stroke: #444;
  stroke-width: 1px;
  cursor: move;
}
.cameraHandleLocator {
  fill: #ccc;
  opacity: .5;
  pointer-events: all;
  stroke: #000;
  stroke-width: 1px;
  cursor: crosshair;
}


/**************************/
/* MEDIA QUERIES DEFAULTS */
/**************************/
#container, 
#container2,
#container3 {
  height:100%;
  overflow: hidden;
  background-color: white;
}

#container {
  width: 100%;
}
#container2 {
  width: 100%;
  overflow-y: auto;
  /* border-top: solid #dddddd 1px; */
}
#container3 {
  display:none;
  padding-top: 0 8px;
  overflow-y: auto;  
  -webkit-overflow-scrolling: auto;
  background-color: #f8f8f8;
  width: 25%;
  width: max(150px, min(33%, 280px));
  min-width: 150px;
  max-width: 33%;    
}

.container-wrapper {
  width: 100%;
  display: flex;
  background-color: #fff;
}
#container-wrapper-1 {
  height: 38px;
  border-bottom: solid #dddddd 1px;
  background-color: rgb(250, 250, 250);
  display: none;
}
#container-wrapper-2 {
  height: calc(100% - 40px);
  height: 100%;
}
#button-container1 {
  display: none;
  border-right: solid #dddddd 1px;
}
#button-container2 {
  width: 100%;
  overflow: hidden;
}

#container-wrapper-1 ons-button{
  padding: 4px 7px;
}

.content.show-folders #button-container1 {
  display:block;
  /*
  width: 33%;
  min-width: 150px;
  max-width: 280px; 
  */
  width: 25%;
  width: max(150px, min(33%, 280px));
  min-width: 150px;
  max-width: 33%;   
}
/*
.content.show-folders #button-container2 {
  width: 67%;
  min-width: calc(100% - 280px);
  max-width: calc(100% - 150px);
}
.content.show-folders #container {
  width: 67%;
  min-width: calc(100% - 280px);
  max-width: calc(100% - 150px);
}
.content.show-folders #container2 {
  width: 67%;
  min-width: calc(100% - 280px);
  max-width: calc(100% - 150px);
}
*/
.content.show-folders #container3 {
  display:block;
  /*
  width: 33%;
  min-width: 150px;
  max-width: 280px; 
  */
  /*
  width: 25%;
  width: max(150px, min(33%, 280px));
  min-width: 150px;
  max-width: 33%;  
  border-right: solid #dddddd 1px;
  */
}

.content.show-searchbar #container-wrapper-2{
  height: calc(100% - 40px);
}
.content.show-searchbar #container-wrapper-1{
  display: flex;
}
.col1 .course-checkbox{
  display: none;
}
.col1 .index-label {
  display: block;
  font-size: 75%;
  text-align: center;  
}
/*
.col1 .list-item,
.col1 .course-checkbox {
  pointer-events: none;
}
*/
.col1.show-checkboxes .course-checkbox {
  display: block;
  height: 20px;
  /* pointer-events: none;*/
}
.col1.show-checkboxes .index-label {
  display: none;
}

#container .col0 {
  float:left;
  overflow-y: auto;
  width: 0;
  display: none;
  background-color: red;
}
#container .col1,
#container .col3 {
  float:left;
  overflow-y: auto;
  width: 100%;
}
#container .col2,
#container .col4 {
  float:left;
  overflow-y: auto;
}
/*
#container .col2 {
  border-top: solid #dddddd 1px;
}
*/

#resetSearch {
  left: -30px;
  position: relative;
  color: #cccccc;
  padding: 0 10px 0 10px;
  /* cursor: pointer; */
}    
#resetSearch:hover {
  color: #888888;
}
#searchAndOr {
  position: relative;
  left:-54px; 
  float: right;
  top: -2px;
  padding:0 5px;
  font-size:16px;
}
#searchTerm{
  width:100%; 
  padding-right:60px;
}
.public-property-term {
  border: solid 1px #2e70b8;
  color: #2e70b8;
  padding: 5px 1px 3px 1px;
  margin: 3px 3px 3px 0;
  border-radius: 3px;
  font-size: 13px;
  width: calc(25% - 7px);
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  height: 19px;
}
.public-property-term.selected {
  background-color: #2e70b8;
  color: #fff;
}
.search-term,
.property-term {
  border: solid 1px #bbb;
  padding: 3px 6px;
  margin: 3px;
  border-radius: 10px;
}
.search-term-grade {
  border: solid 1px #c7e3f9;
  background-color: #c7e3f9;
  color: #004a86;
}
.search-term-category {
  border: solid 1px #fbd7cd;
  background-color: #fbd7cd;
  color: #cc3100;
}
.search-term-course {
  border: solid 1px #d5f1ef;
  background-color: #d5f1ef;
  color: #015049;
}
.search-term-event {
  border: solid 1px #f0f4be;
  background-color: #f0f4be;
  color: #6e7600;
}
.search-term-date {
  border: solid 1px #dbd1ec;
  background-color: #dbd1ec;
  color: #4e06ce;
}
.search-term-keyword {
  border: solid 1px #ffdae0;
  background-color: #ffdae0;
  color: #d30013;
}
.search-term-location {
  border: solid 1px #FFDEAD;
  background-color: #FFDEAD;
  color: #552300;
}
.search-term-designer {
  border: solid 1px #daf5ff;
  background-color: #daf5ff;
  color: #004a86;
}
.search-term-term {
  border: solid 1px #daf5ff;
  background-color: #daf5ff;
  color: #004a86;
}
.search-term.selected,
.property-term.selected {
  border: solid 1px #2e70b8 !important;
  background-color: #2e70b8 !important;
  color: white !important;
}
.search-term-grade.selected {
  border: solid 1px #004a86 !important;
  background-color: #004a86 !important;
}
.search-term-category.selected {
  border: solid 1px #e83800 !important;
  background-color: #e83800 !important;
}
.search-term-keyword.selected {
  border: solid 1px #dc0014 !important;
  background-color: #dc0014 !important;
}
.search-term-term.selected {
  border: solid 1px #004a86 !important;
  background-color: #004a86 !important;
}
.search-term-course.selected {
  border: solid 1px #178a80 !important;
  background-color: #178a80 !important;
}
.search-term-event.selected {
  border: solid 1px #6e7600 !important;
  background-color: #6e7600 !important;
}
.search-term-date.selected {
  border: solid 1px #6e4aad !important;
  background-color: #6e4aad !important;
}
.flex-break {
  width: 100%;
  margin: 2px 0;
}
.flex-break.bordered {
  border-bottom: 1px solid #ddd;
  margin: 4px 0;
}
#builderToolbar {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;  
  -align-items: center;
  padding-left:3px;  
  overflow: hidden;
}
#courseBuilderPage .toolbar__right {
  display: flex;
  justify-content: flex-end;
  -align-items: center;
  min-width: 348px;  
  -background-color: lightcoral;
}
#zoomFactorMenu {
  font-size:15px;
  width: 45px;
  text-align: center;
}
.otherObstaclesBtn {
    padding: 0px 2px 0px 10px;
}
.builderToolbarItem {
  width: 35px;
  height: 40px;
  padding: 0;
  margin: 0;
  text-align: center;
}

#courseBuilderPage .toolbar__left {
  min-width: calc(100% - 350px);
}
#coursesPage .toolbar__left {
  min-width: 105px;
  width: 105px;
} 
#coursesPage .toolbar__right {
  min-width: 220px;
  width: 220px;  
  position: absolute;
  right: 1px;
}
#coursesPage .toolbar__center {
  width: calc(100% - 337px);
  min-width: 79px;
  overflow: hidden;
  position: relative;  
  text-align: left;
} 

ons-icon.flag img {
  position: relative;
  top:2px;
}
.min1500 {
  display: none;    
}
.min600,
.min900,
.min940,
.min1250 {
  display: inline-block;    
}
.max600,
.max940,
.max940block {
    display: none;
} 
.my-chevron {
  padding-left: 20px;
  padding-right: 20px;
}
.right-chevron {
  padding-left: 6px;
  font-size: 20px;
  color: #aaa;
  color: #2e70b8;
}


/* ensure outline works / is shown on Android */
.button--material--flat,
.button--material--flat:hover {
    border: 1px solid #006dff !important;
}
.custom-popover .scrollable {
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.custom-modal .scrollable {
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#helpTopicPage_content {
  padding: 1px 25px 10px 25px;
  background-color: white;  
  max-width: 1000px;
  margin: 0 auto;
  border-left: 1px solid #d7d7e2;
  border-right: 1px solid #d7d7e2;  
  min-height: calc(100% - 12px);
}
#helpTopicPage_content blockquote{
  background: #ecf4ff /*#E5F0FF*/;
  border-left: 6px solid #006FFF;
  margin: 10px 0;
  padding: 10px;
}
#helpTopicPage_content h1,
#helpTopicPage_content h2 {
  margin-top: 1.2em;
  font-weight: 800;
}
#helpTopicPage_content h3 {
  text-decoration: underline;
  font-size: 22px;
  font-weight: 600; 
  margin-top: 1em; 
}
#helpTopicPage_content img{
  display: block;  
  /*
  max-width: 100% !important;
  max-width: min(900px, 50%) !important;
  min-width: min(100%, 300px) !important;
  height: auto !important;
  */
  max-height: 75vh;
  max-width: min(1000px, 100%);
  width: auto !important;  
}
#helpTopicPage_content img.inline-img,
#helpTopicPage_content img.inline-image {
  display: inline-block !important;  
  vertical-align: middle; 
}
#helpTopicPage_content li{
  padding-top: 3px;  
  padding-bottom: 3px;  
}
#helpTopicPage_contentTitle {
    display: none;
}

.page__content > .list--inset:first-child {
    margin-top: 16px !important;
}
.list--inset {
    margin: 12px 8px;
}
.shallow-listitem {
  padding: 9px 12px 9px 0;
}

.text-sad {
  color: #2e70b8 !important;
}
.font-bold {
  font-weight: 600;
}
.font-bolder {
  font-weight: 800;
}
.w100 {
  width: 100%;
}

.p-sm {
  padding-top: 3px;
  padding-bottom: 3px;
}
.p-md {
  padding-top: 8px;
  padding-bottom: 8px;
}.p-lg {
  padding-top: 12px;
  padding-bottom: 12px;
}
/************************/
/* MEDIA QUERIES LAYOUT */
/************************/
@media print {
  .no-print,
  .toolbar { 
    display: none !important;
  }
  .fullpageprintable,
  .page {
      overflow: visible !important;
      height: auto !important;
  } 
  .page__content {
    background-color: #ffffff !important;
    overflow: visible !important;
  }
  img {
    page-break-inside: avoid;
    display: inline-block;
  }
}
@media (orientation:portrait){
  #container .col1,
  #container .col2{
    width:100% !important;
    height: 50% !important;
    border-bottom: solid #dddddd 1px;
  }
  #container .col2{
    border-top: solid #dddddd 1px;
  }   
  #individual-course-fab-box {
    top: 52%;
  }
}
@media (orientation:landscape){
  #container .col1,
  #container .col2{
    display: block;
    width: 49.8%;
    height: 100%;
  }
  #container .col2{
    border-left: solid #dddddd 1px;
  }      
}
@media (orientation:portrait) and (min-width: 600px){
    #container .col3{
      width: 49.9% !important;
      height: 100% !important;
    }
    #container .col4{
      width: 49.9% !important;
      height: 100% !important;
    }
}

/*******************/
/* MEDIA QUERIES 3 */
/*******************/
@media screen and (min-width: 1500px){
  body.isAndroidDevice .obstacle.min1500 {
      display: inline-block;
  }
  body.isIOSDevice .min1500 {
      display: inline;
  }
}
@media screen and (min-width: 1060px){
  body.isAndroidDevice .obstacle.min940 {
      display: inline-block;
  }
  body.isIOSDevice .min940 {
      display: inline;
  }
  .bottom-bar ons-toolbar-button  span{
        font-size: 80% !important;
  }      
   .bottom-bar ons-toolbar-button{
      padding-left: 6px !important;
      padding-right:6px !important;
  }   
  .bottom-bar ons-toolbar-button ons-icon {
    width: 20px !important;
  }  
  #bottomActionsMenu.bottom-menu.menu-large .toolbar-button{
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .right-menu #bottomActionsMenu.menu-large .toolbar-button{
    padding: 6px 15px !important;
  }  
  .button.button--large ons-icon {
      float: left; 
      position: relative; 
      left: 22px; 
  }
  .button.button--large ons-icon.flag {
      left: 15px !important; 
  }
  .button.button--large span {
      position: relative; 
      left: -10px; 
  }
  #coursesPage_path {
    display: inline;
  }
}
@media screen and (max-width: 1059px) and (min-width: 902px){
  body.isAndroidDevice .obstacle.min940 {
      display: inline-block;
  }
  body.isIOSDevice .min940 {
      display: inline;
  }
  .max940,
  .max940block {
      display: none;
  } 
  .bottom-bar ons-toolbar-button  span{
       font-size: 80% !important;
  }      
  .bottom-bar ons-toolbar-button{
      padding-left: 6px !important;
      padding-right:6px !important;
  }   
  .bottom-bar ons-toolbar-button ons-icon {
    width: 20px !important;
  }  
  #bottomActionsMenu.bottom-menu.menu-large .toolbar-button{
    padding-left: 9px !important;
    padding-right: 9px !important;
  }
  .right-menu #bottomActionsMenu.menu-large .toolbar-button{
    padding: px 12px !important;
  }  
  .button.button--large ons-icon {
      float: left; 
      position: relative; 
      left: 30px; 
  }
  .button.button--large ons-icon.flag {
      left: 15px !important; 
  }
  .button.button--large span {
      position: relative; 
      left: -10px; 
  }
  #coursesPage_path {
    display: inline;
  }  
}
@media screen and (max-width: 901px) and (min-width: 751px){ 
  .delete-label {
    display: none;
  }
  #builderInstructions {
    font-size: 12px;
  }  
  .min900 {
    display: none !important;    
  }
  body.isAndroidDevice .obstacle.min940 {
      display: inline-block;
  }
  body.isIOSDevice .min940 {
      display: inline;
  }
  .max940,
  .max940block {
      display: none;
  } 
  .bottom-bar ons-toolbar-button  span{
        font-size: 80% !important;
  }      
   .bottom-bar ons-toolbar-button{
        padding-left: 2px !important;
        padding-right:2px !important;
  }   
  .bottom-bar ons-toolbar-button ons-icon {
    width: 20px !important;
  }   
  #bottomActionsMenu.bottom-menu.menu-large .toolbar-button{
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  .right-menu #bottomActionsMenu.menu-large .toolbar-button{
    padding: 5px 12px !important;
  }  
  #courseBuilderPage .toolbar__left {
    min-width: calc(100% - 342px);
  }  
  #courseBuilderPage .toolbar__right {
    min-width: 340px;  
  }   
  #zoomFactorMenu {
    font-size:15px;
    width: 43px;
  }
  .otherObstaclesBtn {
      padding: 0px 2px 0px 8px;
  }  
  .builderToolbarItem {
    width: 28px;
  }  
  .button.button--large ons-icon {
      float: left; 
      position: relative; 
      left: 30px; 
  }
  .button.button--large ons-icon.flag {
      left: 15px !important; 
  }
  .button.button--large span {
      position: relative; 
      left: -10px; 
  }   
}
@media screen and (max-width: 750px) and (min-width: 601px){
  .label-notification {
    display: none;
  }
  .right-menu #bottomActionsMenu {
    width: 80px; 
  }  
  #builderInstructions {
    font-size: 11px;
  }    
  .min900 {
    display: none !important;    
  }
  body.isAndroidDevice .obstacle.min940,
  body.isIOSDevice .min940 {
      display: none;
  }
  .max940 {
      display: inline;
  }
  .max940block {
      display: block;
  } 
  .bottom-bar ons-toolbar-button  span{
        font-size: 70% !important;
  }      
  .bottom-bar ons-toolbar-button{
        padding-left: 1px !important;
        padding-right: 1px !important;
  }   
  .bottom-bar ons-toolbar-button ons-icon {
    width: 18px !important;
  }  
  #bottomActionsMenu.bottom-menu.menu-large .toolbar-button{
    padding-left: 3px !important;
    padding-right: 3px !important;
  }
  .right-menu #bottomActionsMenu.menu-large .toolbar-button{
    padding: 3px 6px !important;
  }    
  #searchAndOr {
    left:-32px; 
  }      
  #courseBuilderPage .toolbar__left {
    min-width: calc(100% - 312px);
  }  
  #courseBuilderPage .toolbar__right {
    min-width: 310px;  
  }   
  .builderToolbarItem {
    width: 27px;
  }   
  #zoomFactorMenu {
    font-size:15px;
    width: 40px;
  }  
  .otherObstaclesBtn {
      padding: 0px 2px 0px 6px;
  }  
  .button.button--large ons-icon {
      float: left; 
      position: relative; 
      left: 22px; 
  }
  .button.button--large ons-icon.flag {
      left: 15px !important; 
  }
  .button.button--large span {
      position: relative; 
      left: -8px; 
  }
  .badge.badge-list{
    margin: 2px
  } 
}
@media screen and (max-width: 1249px){
  .min1250 {
    display: none !important;    
  }      
}
@media screen and (max-width: 750px){
  #container-wrapper-1 ons-button{
    padding: 4px 4px 4px 5px;
  }       
}
@media screen and (max-width: 600px) and (min-width: 331px){
  .label-notification {
    display: none;
  }  
  #coursesPage .toolbar-button {
    padding:5px;
  }  
  #coursesPage .toolbar__right {
      min-width: 195px;
      width: 195px;
  }  
  #coursesPage .toolbar__center {
      width: calc(100% - 270px);
  }    
  .right-menu #bottomActionsMenu {
    width: 80px; 
  }  
  #builderInstructions {
    font-size: 10px;
  }  
  .min600,
  .min900,
  .min940,
  .min1250 {
    display: none !important;    
  }
  .max600{
      display: block;
  }   
  body.isAndroidDevice .obstacle.min940,
  body.isIOSDevice .min940 {
      display: none;
  }
  .max940 {
      display: inline;
  }
  .max940block {
      display: block;
  }  
  .bottom-bar ons-toolbar-button span{
        font-size: 60% !important;
  }      
  .bottom-bar ons-toolbar-button{
      padding-left: 0px !important;
      padding-right: 0px !important;
  }   
  #bottomActionsMenu.bottom-menu.menu-large .toolbar-button{
    padding-left: 3px !important;
    padding-right: 3px !important;
  }
  .right-menu #bottomActionsMenu.menu-large .toolbar-button{
    padding: 4px 6px !important;
  }  
  .bottom-bar ons-toolbar-button ons-icon {
    width: 16px !important;
  }  
  #searchAndOr {
    left:-24px; 
  }   
  #searchTerm{
    padding-right:60px;
  }     
  #courseBuilderPage .toolbar__left {
    min-width: calc(100% - 302px);
  }  
  #courseBuilderPage .toolbar__right {
    min-width: 300px;  
  }     
  #zoomFactorMenu {
    font-size:15px;
    width: 38px;
  }   
  .builderToolbarItem {
    width: 26px;
  }    
  .otherObstaclesBtn {
      padding: 0px 2px 0px 5px;
  }    
  .button.button--large ons-icon {
      float: left; 
      position: relative; 
      left: 22px; 
  }
  .button.button--large ons-icon.flag {
      left: 15px !important; 
  }
  .button.button--large span {
      position: relative; 
      left: -8px; 
  } 
  .search-term {
      padding: 3px;
      margin: 1px;
      font-size: 14px;
  }    
  .flex-col {
      display: inline-block;
      max-width: 75px;
      min-width: 75px;
      padding: 0;
      margin: 2px;
  }
  .short-lang {
      display: inline;
      left: 2px !important;
  }    
  .long-lang {
      display: none;
  }    

  .button.button--large ons-icon.flag {
      left: 2px !important; 
      top: 2px;
  }  
  .badge.badge-list{
    margin: 2px
  }    
  #container-wrapper-1 ons-button{
    padding: 4px 3px;
  }    
}
@media screen and (max-width: 330px) {
  .label-notification {
    display: none;
  }  
  #coursesPage .toolbar-button {
    padding:4px 0;
  }
  #coursesPage .toolbar__right {
      min-width: 140px;
      width: 140px;
  }    
  #coursesPage .toolbar__center {
      width: calc(100% - 210px);
  }    
  .right-menu #bottomActionsMenu {
    width: 80px; 
  }  
  #builderInstructions {
    font-size: 8px;
  }    
  .min600,
  .min900,
  .min940,
  .min1250 {
    display: none !important;    
  }
  .max600{
      display: block;
  }   
  body.isAndroidDevice .obstacle.min940,
  body.isIOSDevice .min940 {
      display: none;
  }
  .max940 {
      display: inline;
  }
  .max940block {
      display: block;
  }  
  .bottom-bar ons-toolbar-button span{
        font-size: 60% !important;
  }      
   .bottom-bar ons-toolbar-button{
        padding-left: 0px !important;
        padding-right: 0px !important;
  }   
  .bottom-bar ons-toolbar-button ons-icon {
    width: 16px !important;
  }  
  #bottomActionsMenu.bottom-menu.menu-large .toolbar-button{
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
  .right-menu #bottomActionsMenu.menu-large .toolbar-button{
    padding: 3px 6px !important;
  }    
  #searchAndOr {
    left:-24px; 
  }   
  #searchTerm{
    padding-right:60px;
  }       
  #courseBuilderPage .toolbar__left {
    min-width: calc(100% - 262px);
  }  
  #courseBuilderPage .toolbar__right {
    min-width: 260px;  
  }     
  .builderToolbarItem {
    width: 25px;
  }    
  #zoomFactorMenu {
    font-size:14px;
    width: 35px;
  }   
  .otherObstaclesBtn {
      padding: 0px 2px 0px 4px;
  }  
  
  .button.button--large ons-icon {
      float: left; 
      position: relative; 
      left: 22px; 
  }
  .button.button--large ons-icon.flag {
      left: 15px !important; 
  }
  .button.button--large span {
      position: relative; 
      left: -8px; 
  } 

  #coursesPage .toolbar__center {
    -width: calc(93% - 201px);
    width: calc(100% - 270px);
  } 
  #coursesPage .toolbar__right {
    min-width: 200px;
    width: 200px;
  }     
  .search-term {
      padding: 3px;
      margin: 1px;
      font-size: 14px;
  }    
  .flex-col {
      display: inline-block;
      max-width: 75px;
      min-width: 75px;
      padding: 0;
      margin: 2px;
  }
  .short-lang {
      display: inline;
      left: 2px !important;
  }    
  .long-lang {
      display: none;
  }    

  .button.button--large ons-icon.flag {
      left: 2px !important; 
      top: 2px;
  }   
  .badge.badge-list{
    margin: 2px
  }  
  .my-chevron {
    padding-left: 10px;
    padding-right: 10px;
  }   
  #homePageUserStatusWrapper {
    margin: 11px 0 5px 0;
  }
  /* square buttons */
  .square-button-pannel { 
    padding: 3px;
  }
  .square-button-wrapper {
    padding: 3px;
  }
  .button.button--square {
    width: 100px;
    height: 100px;
    padding: 14px 1px 1px 1px;
  }
  .button.button--square ons-icon{
    display: block;
    font-size: 55px;
  }
  .button.button--square img{
    width: 47px;
    padding: 4px;
  }
  .button.button--square span{
    font-size: 66%;
    height: 26px;
    padding: 1px;
    width: 98px;
  }
  .button.button--square .notification {
    padding: 4px;
    top: 3px;
    right: 3px;
    height: 19px;
  }   
  #container-wrapper-1 ons-button{
    padding: 4px 1px;
  }     
}
@media screen and (max-height: 420px), screen and (max-width: 420px) { 
  /* square buttons */
  #homePageUserStatusWrapper {
      margin: 0px 0 5px 0;
  }  
  .square-button-pannel { 
    width: 620px; /* 100% */
    max-width: 100%;
    padding: 0px;
  }
  .square-button-wrapper {
    padding: 3px;
  }
  .button.button--square {
    width: 95px;
    height: 95px;
    padding: 10px 1px 1px 1px;
  }
  .button.button--square ons-icon{
    display: block;
    font-size: 52px;
  }
  .button.button--square img{
    width: 44px;
    padding: 4px;
  }  
  .button.button--square span{
    font-size: 66%;
    height: 28px;
    padding: 1px;
    width: 93px;
  }
  .button.button--square .notification {
    padding: 3px;
    top: 3px;
    right: 3px;
    height: 18px;
  } 
}
@media screen and (max-width: 361px) { 
  #courseBuilderPage .toolbar__left {
    min-width: 61px;
  } 
}
@media screen and (max-width: 330px) { 
  #courseBuilderPage .toolbar__left {
    min-width: 57px;
  } 
}
@media screen and (max-height: 330px), screen and (max-width: 330px) {    
  /* main page info */
  #homePageUserStatusWrapper {
    margin: 8px 0 5px 0;
  }
  /* square buttons */
  .square-button-pannel { 
    -max-width: 530px;
    width: 100%;
    padding: 0px;
  }
  .square-button-wrapper {
    padding: 2px;
  }
  .button.button--square {
    width: 85px;
    height: 79px;
    padding: 4px 1px 1px 1px;
  }
  .button.button--square ons-icon{
    display: block;
    font-size: 45px;
  }
  .button.button--square img{
    width: 39px;
    padding: 3px;
  }  
  .button.button--square span{
    font-size: 60%;
    height: 25px;
    padding: 1px;
    width: 83px;
  }
  .button.button--square .notification {
    padding: 3px;
    top: 3px;
    right: 3px;
    height: 18px;
  } 
}

@media print {
  #helpTopicPage_content {
    padding: 0;
    background-color: white;  
    width: 100%;
    margin: 0;
    border: none;
  }
  #helpTopicPage_content img{
    max-height: 44vh;
    max-width: 100%; 
  }  
  #helpTopicPage_contentTitle {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 32px;
    font-weight: 800;   
    text-decoration: underline; 
  }
}

ul.jqtree-tree {
  margin: 2px;
}
ul.jqtree-tree .jqtree-element {
  padding: 0px;
}
ul.jqtree-tree .jqtree-toggler.jqtree-toggler-left {
  padding: 0.25em;
}
ul.jqtree-tree .jqtree-title-button-left.jqtree-title-folder {
  padding: 0.25em 0;
}
ul.jqtree-tree .jqtree-title {
  padding: 0.25em 0 0.25em 0.5em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;  
  width: 100%;
  font-size: 15px;
  /*color: #1e5087 /* #2e70b8 */;
}
ul.jqtree-tree li.jqtree-selected > .jqtree-element, 
ul.jqtree-tree li.jqtree-selected > .jqtree-element:hover {
  background: none;
  background-color: #2e70b8 ; /* #c0dbff */
}
ul.jqtree-tree li.jqtree-selected > .jqtree-element .jqtree-title , 
ul.jqtree-tree li.jqtree-selected > .jqtree-element:hover .jqtree-title {
  color: white;
}

ul.jqtree-tree ul.jqtree_common {
  margin-left: 1.5em;
}
.hidden-node {
    display: none;
}
.highlight-node > .jqtree-element > .jqtree-title {
    font-weight: bold;
}
.svg-container { 
  display: block;
  height: 96vh;
  width: 96vw;
  position: relative;
  text-align: center;
  vertical-align: middle;  
}
.svg-container svg{ 
  height: 92vh !important;
  width: 95vw !important;
}
#mycourses_coursesSearchTerm {
  width: calc(100% - 95px);
  margin: 6px 0 6px 6px;
  min-width: 20px;  
  padding-right: 135px;
}
#mycourses_folderTree {
  width: 100%;
  background-color: white;
  min-height: 99%;  
}
#mycourses_folderTreeSearchTerm {
  max-width: calc(100% - 151px); 
  margin: 6px 0 6px 6px;
  padding-right: 25px;
}
.tree-item-button {
  color: white;
  width: 32px;
  text-align: center;
  display: none;
  padding: 4px;
}
.jqtree-selected .tree-item-button  {
  display: block;
}

#coursesPage_addLabelModal .dialog,
#coursesPage_selectLabelModal .dialog {
  width: 450px;
  max-width: 95%;
}

.text-muted {
  color: #aaaaaa !important;
}
.text-semi-transparent {
  opacity: 0.5;
}
.tree-label-handle{
  color: #cecece;
  width: 18px;
  rotate: 180deg;
  display: inline;
  padding-right: 3px;  
}

#coursesPage_selectLabelModal_label .select-input {
  width: calc(100% - 10px);
  padding-left: 10px;  
}

#navigator[onsflag-iphonex] {
  height: calc(100vh - 20px);
}
#coursePreviewsPage_content {
  overflow-x: hidden;
}
.img-landscape,
.img-portrait {
  object-fit: contain;
  display: block;
  max-width: 95vw;
  max-height: 95vh;
  margin: auto;  
  box-sizing: border-box;
  height: 95vh;
  width: 95vw;
  margin: auto;    
}
.isSafari .img-landscape,
.isSafari .img-portrait {
  max-width: -webkit-fill-available;
  max-height: -webkit-fill-available;
  height: -webkit-fill-available;  
  width: -webkit-fill-available;     
}
.img-wrapper {
  width: 99%;
  height: auto;
  display: block;
  margin: auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;  
  overflow-x: hidden;
  padding-bottom: 10px;  
}
.isSafari .img-wrapper{
  height: -webkit-fill-available; 
}
ons-fab.fab:disabled,
ons-fab.fab[disabled], 
ons-speed-dial-item.fab:disabled, 
ons-speed-dial-item.fab[disabled], 
button.fab:disabled, 
button.fab[disabled] {
  color: white !important;
}

@media print{
  .img-wrapper {
    padding-bottom: 0;
    page-break-before: always;
    page-break-inside: avoid;    
  }
  .isSafari .img-wrapper{
    height: -webkit-fill-available; 
  }  
  .svg-container { 
    page-break-after: always;
  }   
  .toolbar {
    display: none;
  }
  .toolbar+.page__background+.page__content {
      top: 0;
      padding-top: 0;
  }  
}

@media screen{
  body.blue-background { 
    background-color: #2e70b8
  }
}

body.blue-background #main-logo {
  display: none;
}


/* context menu */

.context-menu {
  display: none;
  position: absolute;
  z-index: 9999;
  padding: 0;
  width: auto ;
  background-color: #fff;
  border: solid 1px #dfdfdf;
  box-shadow: 1px 1px 2px #cfcfcf;
}

.context-menu--active {
  display: block;
}

.context-menu__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.context-menu__item {
  display: block;
  margin-bottom: 4px;
}

.context-menu__item:last-child {
  margin-bottom: 0;
}

.context-menu__link {
  display: block;
  padding: 4px 12px;
  font-size: 15px;
  color: #0066aa;
  text-decoration: none;
}

.context-menu__link.disabled {
  color: #999999;
  opacity: 0.5
}

.context-menu__link:hover {
  color: #fff;
  background-color: #0066aa;
}

.context-menu__link.disabled:hover {
  color: #999999;
  background-color: #fff;
}

.checkbox.checkbox-lg {
  line-height: 30px;
}
.checkbox.checkbox-lg .checkbox__checkmark {
  height: 30px;
  width: 30px;
}
.checkbox.checkbox-lg .checkbox__checkmark:before {
  width: 30px;
  height: 30px;
  border-radius: 30px;
  border-color: #44db5e;
}
.checkbox.checkbox-lg :checked + .checkbox__checkmark:before {
  background-color: #44db5e !important;
}
/* checkmark's line */
.checkbox.checkbox-lg .checkbox__checkmark:after {
  top: 7px;
  left: 6px;
  width: 17px;
  height: 9px;
}
.fab-box-courses {
  top: 2px;
  right: 14px;
  position: absolute;
  width: 40px;
  height: 100%;
  z-index: 10000;
  height: calc(100vh - 95px); 
  min--height: 220px;
  display: flex;
  flex-flow: column wrap-reverse;
  align-content: end;
}
.fab-box-courses .fab.fab--mini {
  position: relative !important;
  left: 0;
  right: 0;
  margin: 3px;  
}

.notification-button {
  position: absolute;
  padding: 3px 5px !important;
  color: #B82E70;
  background-color: transparent;
  line-height: 14px;
  top: 1px;
  font-size: 80%;
  border-radius: 6px;
}
.notification-button.active {
  color: white;
  background-color: #B82E70;
}

#mycourses_coursesSearchTerm {
    width: calc(100% - 95px);
    margin: 6px 0 6px 6px;
    min-width: 20px;
    padding-right: 135px;
}
@media screen and (max-width: 601px){
  #mycourses_coursesSearchTerm {
      padding-right: 50px;
  }
  .notification-button {
    display: none;
  }
}
.pos-absolute {
  position: absolute !important;
}
.pos-relative {
  position: relative !important;
}

#settingsColorsPage_backupSchemes_local .button,
#settingsColorsPage_backupSchemes_server .button {
  margin: 2px; 
}

#canvasPreview {
  border-style: dashed;
  background: #ffffff;
}

.canvasPreview_wrapper {
  background: rgb(238,238,238);
  background: linear-gradient(180deg, rgba(238,238,238,1) 0%, rgba(239,239,239,1) 40%, rgba(254,254,254,1) 100%);
}

