html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'Share Tech', sans-serif; 
  font-size: inherit; 
  vertical-align: baseline;
}

html
{
    /*
    background: url(../assets/MECAI-bg.tn.png) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover; 
    background-size: 100% 100%;
    */
    min-width: 400px;
}
body
{
    background-image: url(../assets/MECAI.bg.tn.png);
    background-position: center 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #0E1723;

}


h1
{
    color: #00334e;
    font-family: "Open Sans";
    font-size: 24px;
    font-weight: bold;
    line-height: 36px;
}

h2
{
    font-family: "Open Sans";
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
}
h3
{
    font-family: "Open Sans";
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
}
.bodyWrapper
{
    margin: auto;
    max-width: 1940px;
    position: relative;
}
.contentOuter
{
    min-width: 400px;
    width: 100%;
}
.contentOuter h1
{
    width: 60%;
    font-family: "Share Tech";
    margin: 10px auto 0 auto;
    color: #04cfb2;
    font-size: 26px;
    text-align: center;
    position: relative;
    left: -10px;
}
.contentOuter h2
{

    font-family: "Share Tech";
    margin: 5px auto 5px auto;
    color: #c8cacc;
    font-size: 22px;
    text-align: center;
    position: relative;
    left: -10px;
}
.contentOuter h3
{
    font-family: "Share Tech";
    margin: 5px auto 10px auto;
    color: #c8cacc;
    font-size: 18px;
    text-align: center;
    position: relative;
    left: -10px;
}
.info
{
    font-family: "Share Tech";
    margin: 5px auto 5px auto;

    font-size: 11px;
    text-align: center;
    position: relative;
    left: -18px;
}
.info em
{
    font-family: "Share Tech";
    color: #a2a4a6;
}
.contentWrapper
{
    background-color: #06362d;
    padding: 30px 25px 25px 25px;
    width: 60%;
    margin: auto;
    border-radius: 25px 25px 25px 25px;
    -webkit-border-radius: 25px 25px 25px 25px;
    -moz-border-radius: 25px 25px 25px 25px;
    z-index: 10;
    --borderWidth: 3px;
    position: relative;
    overflow: hidden;
}
.contentWrapper:after {
    content: '';
    position: absolute;
    top: -200%;
    left: -100%;
    height: 500%;
    width: 300%;
    background: linear-gradient(156deg,rgb(64, 63, 63) 0%, rgb(103, 101, 101) 48%, rgb(203, 202, 209) 50%, rgb(103, 101, 101) 52%, rgb(64, 63, 63) 100%);
    /* background: linear-gradient(156deg,rgb(40, 40, 40) 0%, rgb(40, 40, 40) 48%, rgb(139, 148, 160) 50%, rgb(40, 40, 40) 52%, rgb(40, 40, 40) 100%); */
    border-radius: calc(2 * var(--borderWidth));
    z-index: -1;
    /*animation: animatedgradient 10s ease alternate infinite;*/
    /*animation: rotate 10s infinite;*/
    animation: revolve 25s infinite linear;
    background-size: 100%100%, 50%50%;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
}
@keyframes revolve {
    /*
    to {
      transform: rotate(360deg);
    }
    */
  }
@keyframes animatedgradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
@keyframes rotate {
    0% {transform:rotate(0deg);}
    100% {transform:rotate(360deg);}
}
.content
{
    background: rgb(32,50,75);
    background: -moz-linear-gradient(0deg, rgba(32,50,75,1) 0%, rgba(48,75,111,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(32,50,75,1) 0%, rgba(48,75,111,1) 100%);
    background: linear-gradient(0deg, rgba(32,50,75,1) 0%, rgba(48,75,111,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#20324b",endColorstr="#304b6f",GradientType=1);


    margin: auto;
    width: 95%;
 
    border: 1px solid #353535;
    box-shadow: inset 0px 0px 10px #000;
    border-radius: 3.5px;
}
.contentInner
{
    max-height: 450px;
    overflow: scroll;
    overflow-x: hidden;
    min-height: 200px;
    padding: 20px 0;
}

/* @SB: Side hands */
.bgLower
{
    position: absolute;
    width: 20%;
    height: 0;
    top: 0;
}
.bgLower .inner
{
    top: 200px;
    position: relative;
    background-position: top 0;
    background-repeat: no-repeat;
    background-size: 100% auto;

    height: 57vh;
    /*border: 1px solid red;*/
    z-index: 15;
}
.bgLower.bgLeft
{
    left: 0;
}
.bgLower.bgLeft .inner
{
    left: 1.8vw;
    background-image: url(../assets/MECAI-bg.LH.tn.png);
}
.bgLower.bgRight
{
    right: 0;
}
.bgLower.bgRight .inner
{
    right: 2.5vw;
    background-image: url(../assets/MECAI-bg.RH.tn.png);
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 167, 143, .5) transparent;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 9px;
  }

  *::-webkit-scrollbar-track {
    background: transparent;
  }

  *::-webkit-scrollbar-thumb {
    background-color: rgba(0, 167, 143, .5);
    border-radius: 10px;
    border: 1px outset rgba(0, 167, 143, .3);
  }
#mecresp
{
    display: flex;
    flex-direction: column;
    padding: 0 15px 15px 15px;
}
#mecresp .row
{
    width: 95%;
    display: block;
    /*max-width: 550px; */
    background-color: rgba(26,41,61, .2);
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 6px;
    box-shadow: 2px 2px 8px rgba(black, .3);
    border: 1px solid transparent;
    margin-left: 0;
}
#mecresp .row .wrapper p
{
    margin-bottom: 15px;
}
#mecresp .row .wrapper p:last-of-type
{
    margin-bottom: 0 !important;
}
#mecresp .wrapper p
{
    font-family: "Share Tech";
    font-weight: 400;
    font-size: 18px;
    color: #e8e8e8;
}
#mecresp .wrapper p > *, #mecresp .wrapper p > * > *
{
    font-family: "Share Tech";
    font-weight: 400;
    font-size: 18px;
    /*color: #e8e8e8;*/
}
#mecresp .wrapper p strong, #mecresp .wrapper p b
{
    font-weight: 600;
}
#mecresp .wrapper ul, #mecresp .wrapper ol
{
    padding: 5px 0 0px 30px;
}

#mecresp .wrapper p a
{
    font-family: "Share Tech";
    font-weight: 400;
    font-size: 18px;
    color: #00a78f;
    opacity: .7;
    transition: opacity 250ms ease-in-out;
    font-weight: 600;
}
#mecresp .wrapper p a:hover
{
    opacity: 1;
}
#mecresp .prompt
{
    /*background-color: rgba(26,41,61, .4);*/
    background-color: rgba(27,102,88, .4);
}
#mecresp .prompt .wrapper p
{
    color: #04cfb2;
    margin-left: 0;
    max-width: 560px;
    font-size: 20px;
}
#mecresp .error
{
    background-color: #f8e8ee;
    color: #dd3434;
}
#mecresp .row .status
{
    font-size: 11px;
    font-weight: bold;
    color: #7692a1;
}
#mecresp .error .status
{
    font-size: 11px;
    font-weight: bold;
    color: #dd3434;
}
#mecai
{
    padding: 15px;
    background-color: rgba(0, 51, 78, .3);
    background-color: rgba(33, 128, 110, .2);
    background-color: rgba(58, 91, 135, .2);
}
#mecai label
{
    display: block;
    padding: 5px 0;
}
#mecprompt, #mecpromptAdminAdd, .mecpromptEdit, #mecpromptAdminAddGreeting
{
    display: block;
    box-sizing: padding-box;
    overflow: hidden;
    
    padding: 10px;
    width: 100%;
    max-width: 550px;
    font-size: 14px;

    border-radius: 6px;
    box-shadow: 2px 2px 8px rgba(black, .3);
    border: 1px solid #dfdfdf;

    resize: none;
    
    &:focus{
        border: 1px solid #999;
        outline: none;
    }
}
#mecprompt
{
    max-width: none;
    background-color:rgba(26,41,61, .3);
    border: 1px solid rgba(26,41,61, .4);
    color: #fff;
    width: 95%;
    &:focus{
        border: 1px solid rgba(26,41,61, .6);
        outline: none;
    }
}

#mecprompt::-webkit-input-placeholder { /* Chrome */
    color: #04cfb2;
    transition: opacity 250ms ease-in-out;
}
#mecprompt:focus::-webkit-input-placeholder {
    opacity: 0.5;
}
#mecprompt:-ms-input-placeholder { /* IE 10+ */
    color: #04cfb2;
    transition: opacity 250ms ease-in-out;
}
#mecprompt:focus:-ms-input-placeholder {
    opacity: 0.5;
}
#mecprompt::-moz-placeholder { /* Firefox 19+ */
    color: #04cfb2;
    opacity: 1;
    transition: opacity 250ms ease-in-out;
}
#mecprompt:focus::-moz-placeholder {
    opacity: 0.5;
}
#mecprompt:-moz-placeholder { /* Firefox 4 - 18 */
    color: #04cfb2;
    opacity: 1;
    transition: opacity 250ms ease-in-out;
}
#mecprompt:focus:-moz-placeholder {
    opacity: 0.5;
}

#mecpromptAdminAdd, #mecpromptAdminAddGreeting
{
    margin-bottom: 10px;
}

#adminPrompts .row, #adminGreetings .row
{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    background-color: #D3F0EB;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 6px;
    box-shadow: 2px 2px 8px rgba(black, .3);
    border: 1px solid transparent;
    cursor: move;
}
#adminGreetings .row
{
    background-color: #e6dafe;
}

#adminGreetings .row ul, #adminGreetings .row ol
{
    padding: 5px 0 0px 30px;
}

#adminPrompts .row .inner, #adminGreetings .row .inner
{
    align-self: flex-start;
    max-width: 570px;
}

#adminPrompts .row .remove, #adminGreetings .row .remove
{
    align-self: flex-end;
    cursor: pointer;
    border-radius: 15px;
    padding: 2px;
    font-size: 11px;
    width: 15px;
    height: 15px;
    align-self: center;
    text-align: center;
    font-weight: bold;
    background-color: #C8E3DF;
    color: #778784;
    vertical-align: middle;
}

#adminGreetings .row .remove
{
    background-color: #d4c8e3;
    color: #7e7787;
}

#adminPrompts .edit, #adminGreetings .edit
{
    width: 94%;
}

#adminPrompts .updateRow, #adminGreetings .updateRow
{
    justify-content: normal;
}
#adminPrompts .edit .row, #adminGreetings .edit .row
{
    padding-bottom: 0;
    margin-bottom: 2px;
}

#adminPrompts .updatePrompt, #adminGreetings .updatePrompt
{
    background-color: #63A543;
}
#adminPrompts .cancelUpdatePrompt, #adminGreetings .cancelUpdatePrompt
{
    background-color: #A54343;
}

.mecRow
{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.flex-row
{
    display: flex;
    flex-wrap: wrap;
}
.flex-row .button
{
    margin-bottom: 15px;
}
.button
{
    margin: 0 10px 0 0;
    border-radius: 20px;
    color: #fff;
    box-shadow: none;
    text-transform: none;
    font-family: "Open Sans";
    font-weight: 800;
    font-size: .75em;
    text-align: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    text-shadow: none;
    border: 0;
    opacity: 1;
    transition: opacity .3s ease;
	background-color: #273d5b;
	max-width: 385px;
    white-space: normal;
    display: flex;
    justify-content: center;
    height: auto;
    padding: .5em 2em;
    line-height: 1.25em;
    width: auto;
    font-size: 14px;
    white-space: nowrap;
}

.button:disabled,
.button[disabled]
{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #676767;
  border-color: transparent;
}

.button:hover
{
    opacity: .8;
}
.mecGuild
{
    margin-left: 5px;
    transition: opacity .3s ease;
    cursor: pointer;
}
.mecGuild:hover
{
    opacity: .8;
}
.mecGuild .button
{
    padding-left: 43px;
    opacity: 1;
    transition: opacity .3s ease;
}
.mecGuild:before
{
    content: "";
    display: block;
    position: absolute;
    margin-top: -8px;
    margin-left: -9px;
    z-index: 25;
    width: 48px;
    height: 50px;
    background-image: url(../assets/MECLABS-AI-Guild-Icon.png);
}

#mecai .button
{
    background-color: #3a5b87;
}

#mecconfig img
{
    
    width: 18px;
    height: 18px;
    
}
#mecloadWrapper
{
    position: absolute;
    width: 125px;
    margin: auto;
    left: 0;
    right: 0;
    opacity: .7;
}
#mecload
{
    position: relative;
    top: -43px;
    padding: .3em .7em;
    display: flex;
    justify-content: center;
    background-color: rgba(33, 128, 110, .3);
    background-color: rgb(58, 91, 135, .8);

    border-radius: 10px;
    cursor: pointer;
}

#mecload .msg
{
    color: #87c6f3;
    font-size: 11px;
}

.hide
{
    display: none !important;
}

.slbContentOuter
{
    max-width: 800px !important;
    width: 100%;
}
.slbContent
{
    border-radius: 15px;
}
.contentInPopup {
    padding: 1em 2em 2em 2em;
    width: 100%;
}
.slbCloseBtn {
    font-size: 30px !important;
    top: 45px !important;
    right: -20px !important;
}

#mecAdmin
{
    padding: 0 5px 5px 5px;
}

#mecAdmin .row
{
    padding: 5px;
}
#mecAdmin .help
{
    font-size: 11px;
    color: #bbb;
    margin-left: 150px;
    padding: 5px;
    max-width: 550px;
}
#mecAdmin label
{
    display: inline-block;
    width: 150px;
    text-align: right;
    vertical-align: top;
}

#mecAdmin .adminHeader
{
    width: 90%;
    border-bottom: 1px solid #273d5b;
    margin-bottom: 10px;
}
#mecAdmin .intro
{
    width: 750px;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}
#mecAdmin .spacer
{
    margin: 20px 0;
}
#addPrompt, #addGreeting
{
    background-color: #63A543;
    margin-bottom: 15px;
}
#cancelPrompt, #cancelGreeting
{
    background-color: #A54343;
    margin-bottom: 15px;
}

#mecerror
{
    width: 100%;
    display: block;
    max-width: 550px;
    background-color: #f8e8ee;
    color: #dd3434;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 6px;
    box-shadow: 2px 2px 8px rgba(black, .3);
    border: 1px solid transparent;
    margin-top: 10px;
}

#adminUpdateStatusWrapper
{
    line-height: 14px;
    height: 15px;
}
#adminUpdateStatus
{
    color:rgba(90, 144, 49, .5);
    font-size: 12px;
    font-weight: bold;
    width: 90%;
    text-align: center;
}

#adminNewGreeting .tox-tinymce
{
    max-width: 613px;
    width: 100%;
    margin-bottom: 10px;
}

.tox-tinymce-aux{z-index:9999 !important;}

.footer
{
    font-family: "Share Tech";
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 5px auto;
    color: #c8cacc;
    font-size: 14px;
    line-height: 16px;
}
.footer a
{
    font-family: "Share Tech";
    font-weight: 400;
    font-size: 14px;
    color: #04cfb2;
    opacity: .7;
    transition: opacity 250ms ease-in-out;
    font-weight: 600;
}
.footer a:hover
{
    opacity: 1;
}

.appVersionWrapper
{
    position: absolute;
    text-align: center;
    width: 100%;
}
.appVersion
{
    font-family: "Open Sans";
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 5px auto;
    color: #252525;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    position: relative;
    top: -25px;
    z-index: 20;
}

/* @SB: Youtube Embed - responsive player */
.youtube
{
    position:relative;
    width:100%;
    height:0;
    padding-bottom:56.27198%;
}
.youtube iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

/* @SB: Media queries */
@media (min-width: 1475px) {
    .contentOuter h1
    {
        margin: 1vw auto 0 auto;
    }
    .content
    {
        /*margin-top: calc(15px + (100vw - 700px) * (15 - 30) / (700 -  1000));*/
    }
}
@media (max-width: 1474px) {
    .content
    {
        /*max-width: 455px;*/
    }
}
@media (max-width: 900px) {

    body
    {
        /*
        background-image: url(../assets/MECAI-bg-v3-mobile.tn.png);
        background-size: calc(max(100%, 1444px));
        */
    }
    .contentOuter h1
    {
        font-size: 22px;
    }
    .contentOuter h2
    {
        font-size: 2ex;
        line-height: normal;
    }
    .content
    {
        /*
        min-width: 350px;
        margin-top: min(40px, 10%);
        width: 60%;
        */
    }
    .flex-row
    {
        justify-content: center;
    }
}
@media (max-width: 750px) {
    .mecGuild .button
    {
        padding-left: 40px;
    }
}
@media (max-width: 650px) {

    body
    {
        /*
        background-image: url(../assets/MECAI-bg-v3-mobile.tn.png);
        background-size: 215% 100%;
        */
    }
    .contentOuter h1
    {
        font-size: 22px;
    }
    .contentOuter h2
    {
        font-size: 2ex;
        line-height: normal;
    }
    .content
    {
        /*
        width: 55%;
        */
    }

    .button
    {
        /*font-size: 12px;*/
    }
    #mecresp .prompt .wrapper p
    {
        font-size: 18px;
    }
    #mecresp .wrapper p 
    {
        font-size: 16px;
    }
    
    #mecconfig img
    {
        width: 14px;
        height: 14px;
    }
    .mecGuild:before
    {
        width: 43px;
        height: 45px;
        background-size: auto 45px;
    }
}