body {
    margin: 0;
    padding: 0;
    color: #3b3c3d;
    background-color: white;
    font-family: BlinkMacSystemFont, Segoe UI, Roboto, sans-serif, monospace;
}

.row {
    display: table;
    width: 100%;
}

.row>div {
    display: inline-block;
}

#main-page.fade-out {
    opacity: 0;
}

.card {
    background-color: #f9f8f6;
    border: 1px solid #ccc;
    padding: 20px;
    position: relative;
    margin: 15px 0;
    box-sizing: border-box;
}

.output.card {
    margin-top: 60px;
}

.output.card:before {
    content: "Output";
    position: absolute;
    top: -40px;
    left: -1px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f8f6;
    box-sizing: border-box;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#contract-selection {
    background-color: #f9f8f6;
    padding: 20px;
}

.font-large {
    font-size: 26px;
    line-height: 34px
}

.pad-top20 {
    padding-top: 20px;
}

.github-logo {
    vertical-align: text-bottom;
    display: inline-block;
}

.header {
    font-size: 1em;
    padding: 0 20px;
}

.header>div {
    display: inline-block;
    padding: 15px 0;
    box-sizing: border-box;
}

.network-container {
    float: right;
}

.input-wrapper input {
    width: 100%;
    outline: none;
    box-sizing: border-box;
    font-size: 14px;
    position: relative;
}

.button {
    color: #19B5FE;
    margin: 0 5px;
}

.button:hover {
    cursor: pointer;
    color: #2574A9;
}

.button.btn-std:hover {
    background-color: #2574A9;
}

.button.btn-std {
    background-color: #19B5FE;
    width: 100px;
    color: white;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
}

#metamask {
    background-color: orangered;
}

#contract {
    font-size: 18px;
    padding: 10px;
    border-radius: 3px;
    font-weight: 300;
    margin: 0;
    box-sizing: border-box;
    transition: all 0.2s;
    word-wrap: break-word;
}

.dropdown {
    position: relative;
    margin: 10px 0;
}

.dropdown-btn {
    padding: 10px;
    box-sizing: border-box;
    font-size: 18px;
    float: right;
    border-left: 1px solid #ccc;
}

.white-box {
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: white;
    border-sizing: border-box;
}

.hide {
    display: none;
}

.dropdown-content {
    position: absolute;
    background-color: #f1f1f1;
    overflow: auto;
    z-index: 1;
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    overflow-wrap: break-word;
}

.dropdown-content div {
    padding: 10px;
}

.dropdown-content .active {
    background-color: #ddd;
}

.dropdown-content div:hover {
    background-color: #ddd;
}

#contract-details>div {
    float: left;
    padding: 20px 0;
}

#menu {
    width: 25%;
    box-sizing: border-box;
    background: #fff;
    min-height: 90vh;
}

#menu .caption {
    font-weight: bold;
}

#menu>div {
    margin-right: 15px;
}

#filterer {
    width: 100%;
    font-size: 1em;
    border-radius: 50px;
    padding: 6px 12px;
    border: solid 1px #ccc;
    margin-bottom: 10px;
    box-sizing: border-box;
}

#function-content {
    width: 75%;
    box-sizing: border-box;
    background: #fff;
    min-height: 90vh;
    margin: auto;
}

#function-content>div {
    margin-left: 15px;
}

#function-list {
    margin-top: 5px;
    height: 90vh;
    overflow-y: auto;
}

#function-list>div {
    padding: 0 5px;
    margin: 5px 0;
    overflow-wrap: break-word;
    line-height: 21px;
    font-size: 14px;
}

#function-list>div:hover {
    color: #19B5FE;
    cursor: pointer;
}

#function-list>.selected {
    border-left: solid #19B5FE 3px;
    font-weight: bold;
}

#function-name {
    font-size: 23px;
    word-wrap: break-word;
}

#function-name.setter:after {
    content: '\21AA setter - requires gas to run';
    display: block;
    font-size: 12px;
    color: #888;
}

.input-row {
    padding: 0 0 10px;
    box-sizing: border-box;
}

.input-row input {
    padding: 10px 5px;
    font-size: 0.8em;
    width: 100%;
    box-sizing: border-box;
}

.wallet-modal {
    display: none;
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


/* Modal Content/Box */

.wallet-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 70%;
    /* Could be more or less, depending on screen size */
}

.wallet-modal-content div {
    margin-bottom: 10px;
}


/* The Close Button */

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#modal {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    background: #000;
    transform: scale(0);
    transition: all 0.6s;
}

#modal.fade-in {
    transform: scale(1);
}

.modal-content {
    width: 100%;
    height: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    background: #fff;
}

#modal .caption {
    padding: 5px 0;
    font-size: 1.2em;
    opacity: 0;
}

#modal.del .caption {
    padding: 20px 0;
    opacity: 1;
}

textarea {
    width: 100%;
    height: 142px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.spinner.show {
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.error {
    opacity: 0;
    color: red;
    font-size: 13px;
}

.container {
    padding: 0 20px;
}

@media only screen and (max-width: 600px) {
    #contract {
        font-size: 14px;
        overflow-wrap: break-word;
    }
    .dropdown-btn {
        font-size: 14px;
    }
}

#no-contract {
    color: orange;
    text-align: center;
}

.network-container button {
    width: 200px;
}

.network-container>div {
    margin-bottom: 5px;
}