﻿/* Positions outside */
.m-ui [m-where=top-left-outsiade],
.m-ui [m-where=t-l-o] {bottom: calc(100% + 10px) !important;left: 0 !important; top: auto !important; right: auto !important;}
.m-ui [m-where=top-right-outsiade],
.m-ui [m-where=t-r-o] {bottom: calc(100% + 10px) !important;right: 0 !important; top: auto !important;left: auto !important;}
.m-ui [m-where=bottom-left-outsiade],
.m-ui [m-where=b-l-o] {top: calc(100% + 10px) !important;left: 0 !important;bottom: auto !important;right: auto !important;}
.m-ui [m-where=bottom-right-outsiade],
.m-ui [m-where=b-r-o] {top: calc(100% + 10px) !important;right: 0 !important;bottom: auto !important;left: auto !important;}
.m-ui [m-where=left-top-outsiade],
.m-ui [m-where=l-t-o] {top: 0 !important;right: calc(100% + 10px) !important;bottom: auto !important;left: auto !important;}
.m-ui [m-where=left-bottom-outsiade],
.m-ui [m-where=l-b-o] {bottom: 0 !important;right: calc(100% + 10px) !important;top: auto !important;left: auto !important;}
.m-ui [m-where=right-top-outsiade],
.m-ui [m-where=r-t-o] {top: 0 !important;left: calc(100% + 10px) !important;bottom: auto !important;right: auto !important;}
.m-ui [m-where=right-bottom-outsiade],
.m-ui [m-where=r-b-o] {bottom: 0 !important;left: calc(100% + 10px) !important;top: auto !important;right: auto !important;}

/* Positions inside */
.m-ui [m-where=top-left-inside],
.m-ui [m-where=t-l-i],
.m-ui [m-where=left-top-inside],
.m-ui [m-where=l-t-i] {top: 0 !important;left: 0 !important;bottom: auto !important;right: auto !important;}
.m-ui [m-where=top-right-inside],
.m-ui [m-where=t-r-i],
.m-ui [m-where=right-top-inside],
.m-ui [m-where=r-t-i] {top: 0 !important;right: 0 !important;bottom: auto !important;left: auto !important;}
.m-ui [m-where=bottom-left-inside],
.m-ui [m-where=b-l-i],
.m-ui [m-where=left-bottom-inside],
.m-ui [m-where=l-b-i] {bottom: 0 !important;left: 0 !important;top: auto !important;right: auto !important;}
.m-ui [m-where=bottom-right-inside],
.m-ui [m-where=b-r-i],
.m-ui [m-where=right-bottom-inside],
.m-ui [m-where=r-b-i] {bottom: 0 !important;right: 0 !important;top: auto !important;left: auto !important;}















