* {
    font-family: 'Questrial', sans-serif;
    font-size: 16px;
    margin: 0;
}

/* width */

::-webkit-scrollbar {
    width: 5px;
}

/* Track */

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    width: 5px;
}

/* Handle */

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    width: 5px;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}

body {
    background: #11171f;
    margin: 0px;
}

.tb {
    padding: 20px 30px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    box-sizing: border-box;
    z-index: 40;
    overflow: hidden;
    height: 70px;
}

.tbopenmobile {
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.4);
    height: 181px;
    position: fixed;
    top: 0px;
    background: rgb(39, 54, 73);
}

.logo {
    width: 200px;
    cursor: pointer;
    user-select: none;
    transition-duration: 0.2s;
    position: absolute;
    top: 20px;
    left: 30px;
}

.sbb {
    position: absolute;
    top: 20px;
    left: calc(50% - 150px);
    width: 300px;
    display: inline-block;
    background: #19222e;
    padding: 10px 15px;
    border-radius: 15px;
}

.sicon {
    height: 22px;
}

.searchbar {
    border: none;
    box-sizing: border-box;
    outline: none;
    background: rgba(0, 0, 0, 0);
    color: #fff;
    font-size: 16px;
    vertical-align: top;
    margin-top: 2px;
    margin-left: 10px;
}

.searchbar::placeholder {
    color: #fff;
    font-size: 16px;
    color: #fff;
}

.searchbar:hover {}

.searchbar:focus {}

.tnavbtn {
    color: #fff;
    float: right;
    margin: 0px 4px;
    padding: 13px;
    cursor: pointer;
    user-select: none;
    transition-duration: 0.2s;
}

.tnavbtn:hover {
    color: #8f9bac;
}

.tcontuppd {
    text-align: center;
}

.tcont {
    margin-top: 140px;
    max-width: 900px;
    display: inline-block;
    text-align: left;
}

.tvit {
    cursor: pointer;
    overflow: hidden;
    width: 256px;
    height: 144px;
    box-shadow: 1px 1px 30px 0px rgba(0, 0, 0, 0.24);
    border-radius: 15px;
    margin: 20px;
    display: inline-block;
    transition-duration: 0.2s;
}

.tvit:hover {
    transform: scale(1.04);
}

.tvtn {
    width: 100%;
    transition-duration: 1s;
    border-radius: 15px;
}

.ttlimg {
    width: 100%;
}

.tooltitle {
    font-size: 30px;
    color: #fff;
}

.fttltool {
    width: 256px;
    border-radius: 15px;
    overflow: hidden;
    display: inline-block;
    margin: 10px;
    background: #fff;
}

.tooldescr {
    color: #4e4e4e;
    max-width: 300px;
    display: inline-block;
    margin: 15px;
    text-align: left;
}

.menuicombl {
    display: none;
    position: absolute;
    top: 12px;
    right: 8px;
    cursor: pointer;
    user-select: none;
    padding: 20px;
}

.gfooter {
    margin-top: 100vh;
    box-sizing: border-box;
    height: 200px;
    padding: 30px 20px 20px 20px;
    color: #fff;
    text-align: center;
}

.flink {
    color: #69788f;
    display: inline-block;
    margin: 0px 2px;
    padding: 8px 4px 0px 4px;
    cursor: pointer;
    user-select: none;
    transition-duration: 0.2s;
}

.flink:hover {
    color: #3b4452;
}

.menuicoimg {
    width: 30px;
}

.spacer50px {
    height: 50px;
}

@media only screen and (max-width: 880px) {
    .sbb {
        top: 80px;
        left: 20px;
        width: calc(100% - 70px);
    }
    .menuicombl {
        display: inline-block;
    }
    .tnavbtn {
        display: inline-block;
        margin-top: 110px;
        float: none;
    }
}

/* //////////////////////////////// */

/*           RF RANGE CALC          */

/* //////////////////////////////// */

.dtf {
    border: none;
    box-sizing: border-box;
    outline: none;
    color: #fff;
    font-size: 16px;
    padding: 15px 22px;
    background: #19222e;
    width: 80px;
}

.dtfcont {
    overflow: hidden;
    border-radius: 10px;
    margin: 0px 0px 10px 0px;
    background: #19222e;
    display: inline-block;
    height: 52px;
}

.rslcont {
    overflow: hidden;
    border-radius: 10px;
    margin: 0px 0px 10px 0px;
    background: #408171;
    display: inline-block;
    height: 52px;
}

.soutputpanel {
    overflow: hidden;
    border-radius: 10px;
    margin: 0px 0px 10px 0px;
    background: #19222e;
    display: inline-block;
    height: 52px;
}

.tflct {
    -webkit-transform: translateY(100%);
    transform: translateY(-50%);
    margin-top: 25px;
}

.rslct {
    -webkit-transform: translateY(100%);
    transform: translateY(-50%);
    margin-top: 25px;
}

.dtfsel {
    text-align: center;
    color: #fff;
    padding: 18px 0px;
    width: 80px;
    border-left: 1px solid #243142;
    vertical-align: top;
    display: inline-block;
}

.rslsel {
    text-align: center;
    color: #fff;
    padding: 18px 0px;
    width: 80px;
    border-left: 1px solid #4a9683;
    vertical-align: top;
    display: inline-block;
}

.rtxtxs {
    border: none;
    box-sizing: border-box;
    outline: none;
    color: #fff;
    font-size: 16px;
    padding: 15px 22px;
    width: 80px;
    display: inline-block;
}

.cpage {
    max-width: 350px;
    display: inline-block;
    text-align: left;
    margin: 60px 0px 60px 0px;
}

.tflabel {
    margin: 0px 0px 8px 0px;
    color: #fff;
    display: inline-block;
    width: 100px;
    vertical-align: top;
    background: #263548;
    height: 100%;
    padding: 0px 15px;
}

.rsllabel {
    margin: 0px 0px 8px 0px;
    color: #fff;
    display: inline-block;
    width: 100px;
    vertical-align: top;
    background: #4c9c88;
    height: 100%;
    padding: 0px 15px;
}

.tfblockhd {
    margin: 10px;
}

.rsloutr {
    margin: 10px;
}

/* //////////////////////////////// */

/*          LOGICGATETHING          */

/* //////////////////////////////// */

.toolbar {
    /* Disable text highlighting */
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    /*  */
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    padding: 6px;
    width: 100%;
    z-index: 30;
    background: #fff;
    padding-left: 5vw;
    box-sizing: border-box;
    height: 90px;
}

.tal {
    text-align: left;
    margin-top: 100px;
    display: inline-block;
    width: calc(100% - 60px);
    overflow: hidden;
    border-radius: 15px;
    height: 600px;
}

.fsocico {
    width: 20px;
}

.fullscreenoc {
    float: right;
    margin: 30px;
}

.fullscreenapplgt {
    border-radius: 0px;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    margin: 0px;
    z-index: 100;
}

.workspace {
    height: calc(100% - 90px);
    width: 100%;
    overflow: auto;
    background: #333f4e;
    position: relative;
}

.addbtn {
    padding: 10px 12px;
    text-transform: uppercase;
    background: #5cbcce;
    color: #fff;
    cursor: pointer;
    margin: 2px;
    border-radius: 14px;
    transition-duration: 0.3s;
    display: inline-block;
}

.addbtn:hover {
    background: #38727c;
}

.ubtn {
    padding: 10px 12px;
    background: #e08d21;
    color: #fff;
    cursor: pointer;
    margin: 2px;
    border-radius: 14px;
    transition-duration: 0.3s;
    display: inline-block;
}

.ubtn:hover {
    background: #915b15;
}

.block {
    /* Disable text highlighting */
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    /*  */
    border-radius: 20px;
    overflow: hidden;
    display: inline-block;
    background: #fff;
    position: absolute;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    padding: 5px;
}

.labelblock {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    display: inline-block;
    background: #547eff;
    color: #fff;
    position: absolute;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    padding: 0px 15px 5px 35px;
}

/* Header of draggable blocks */

.blockheader {
    color: #303030;
    font-weight: bold;
    display: inline-block;
    padding: 6px 6px;
    background: #fff;
    cursor: pointer;
    width: 40px;
}

.bluebh {
    background: #3c5bb7;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 26px;
    height: 100%;
    box-sizing: border-box;
}

/* Block input field styling */

.if {
    width: 70px;
    border: none;
    outline: none;
    display: block;
    background: #d6d6d6;
    border-radius: 20px;
    padding: 5px;
    margin: 4px;
    transition: background-color 0.1s, color 0.1s;
}

/* Label textarea styling */

.label {
    outline: none;
    border: none;
    outline: none;
    display: block;
    margin-top: -10px;
    font-size: 16px;
    background: #547eff;
    color: #fff;
    min-width: 20px;
    cursor: text;
    position: relative;
    top: -2px;
}

.label::placeholder {
    color: #89a6ff
}

/* Block close button styling */

.close {
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 8px;
    border-radius: 10px;
    width: 16px;
    height: 16px;
    font-size: 10px;
    transition-duration: 0.4s;
    cursor: pointer;
    padding-left: 3px;
    box-sizing: border-box;
}

.close:hover {
    background: #fa2b1c;
    color: #fff;
}

.closeaddblock {
    display: inline-block;
    position: absolute;
    top: 6px;
    right: 6px;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    font-size: 10px;
    transition-duration: 0.4s;
    box-sizing: border-box;
    padding-top: 3px;
    padding-left: 6px;
    cursor: pointer;
}

.closeaddblock:hover {
    background: #fa2b1c;
    color: #fff;
}

.closelabel {
    opacity: 0;
    color: #fff;
    display: inline-block;
    position: absolute;
    top: 8px;
    right: 4px;
    border-radius: 10px;
    width: 16px;
    height: 16px;
    font-size: 10px;
    transition-duration: 0.4s;
    box-sizing: border-box;
    padding-left: 3px;
}

.closelabel:hover {
    background: #547eff;
    opacity: 1;
}

.on {
    background: #7eb34d;
    color: #fff;
}

.on::placeholder {
    color: #33491f
}

/* Input / output seperator */

.sp {
    margin-bottom: 15px;
}

/* Tool buttons */

.abutton {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    color: #fff;
    display: inline-block;
    transition-duration: 0.3s;
    font-size: 13px;
    cursor: pointer;
    padding: 5px 6px;
    color: #888;
    border-radius: 14px;
}

.abutton:hover {
    color: #222;
    background: #eee;
}

/* Toggle button for 'input' block */

.toggle {
    border-radius: 20px;
    background: #f53d2f;
    color: #fff;
    padding: 20px 10px;
    margin: 7px 5px;
    text-align: center;
    transition: background 0.1s;
}

.togon {
    background: #7eb34d;
}

/* Output state indicator */

.output {
    border-radius: 20px;
    background: #f53d2f;
    color: #fff;
    padding: 3px;
    margin: 4px;
    text-align: center;
    transition: background 0.1s;
}

/* Info block */

.info {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    display: inline-block;
    max-width: 400px;
    position: fixed;
    top: 95px;
    left: 20px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
}

.ex {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    display: inline-block;
    max-width: 400px;
    position: fixed;
    top: 95px;
    left: 20px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    background: #fff;
    padding: 5px 10px 20px 10px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
}

.h2 {
    padding: 5px;
    font-size: 18px;
    font-weight: bold;
}

p {
    padding-left: 20px;
    margin-bottom: 20px;
    font-size: 13px;
}

.closeinfobtn {
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 8px;
    border-radius: 10px;
    width: 16px;
    height: 16px;
    font-size: 10px;
    transition-duration: 0.4s;
    cursor: pointer;
    padding-left: 4px;
    box-sizing: border-box;
}

.closeinfobtn:hover {
    background: #fa2b1c;
    color: #fff;
}

.appname {
    font-weight: bold;
    font-size: 20px;
    display: inline-block;
    margin-right: 10px;
}

.nameif {
    border: none;
    outline: none;
    /* background: #eee; */
    padding: 6px 10px;
    border-radius: 14px;
    background: #fff;
    border: 2px solid #fff;
    transition-duration: 0.3s;
    width: 200px;
    box-sizing: border-box;
    background: #eee;
    /* margin-right: 2vw; */
    margin-bottom: 4px;
}

.nameif:hover {
    border: 2px solid #ccc;
}

.nameif:focus {
    background: #eaefff;
    border: 2px solid #c1d1ff;
}

.addblock {
    background: #547eff;
    padding: 8px 10px;
    border-radius: 14px;
    color: #fff;
    margin-left: 10px;
    font-size: 14px;
    cursor: pointer;
    transition-duration: 0.3s;
    display: inline-block;
}

.addblock:hover {
    background: #3e5cb6;
}

.addblockpanel {
    position: fixed;
    top: 95px;
    right: 20px;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    z-index: 110;
}

.row {
    padding: 10px;
    margin: 10px 10px;
    background: #eee;
    border-radius: 20px;
    transition-duration: 0.3s;
    font-size: 13px;
}

.row:hover {
    background: #547eff;
    color: #fff;
}

.alerttxt {
    position: fixed;
    top: 180px;
    left: 40px;
    background: #547eff;
    color: #fff;
    border-radius: 20px;
    padding: 20px;
    display: inline-block;
}

.ftr {
    color: #888;
    text-align: center;
}

.scrollcont {
    margin-top: 20px;
    overflow-y: scroll;
    max-height: 200px;
}

.exheader {
    color: #303030;
    font-weight: bold;
    display: inline-block;
    padding: 6px 6px;
    background: #fff;
    cursor: pointer;
    width: 40px;
    font-size: 16px;
}

.errlgt {
    margin: 20px;
    color: #fff;
    background: rgb(190, 62, 62);
    padding: 10px 20px;
    border-radius: 15px;
}


/* //////////////////////////////// */

/*         LIVE HTML EDITOR         */

/* //////////////////////////////// */

.htmltaesa {
    display: inline-block;
    height: 90vh;
    resize: none;
    width: calc(50vw - 50px);
    margin-left: 10px;
    background: #19222e;
    border-radius: 10px;
    vertical-align: top;
    outline: none;
    border: none;
    padding: 20px;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
}


.rslttaesa {
    vertical-align: top;
    display: inline-block;
    height: 90vh;
    resize: none;
    width: calc(50vw - 50px);
    margin-left: 10px;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
    border: none;
}

@media only screen and (max-width: 800px) {
    .htmltaesa {
        height: 40vh;
        width: calc(100vw - 50px);
        margin-bottom: 10px;
    }

    .rslttaesa {
        height: 40vh;
        width: calc(100vw - 50px);

    }
}