* {
    box-sizing: border-box;
}

body {
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.row {
    margin-bottom: 15px;
}

input {
    font-size: 16px;
}

/******************************************************************************/
/* Main image row with three columns.
*/
.image_row {
    display: flex;
    width: 100%;
}
.image_column {
    flex: 1;
}
.image_column.left {
    width: 25%;
}
.image_column.right {
    width: 25%;
}
.image_column.center {
    width: 40%;
    min-width: 256px;
}

.image_column.center img {
    width: 100%;
    max-width: 400px;
    display:block;
    margin:auto;
    cursor: zoom-in;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/******************************************************************************/
/* Fullscreen img.
*/
#fullscreen_container {
    z-index: 2;
    background-color: white;
    cursor: zoom-out;
    position: fixed;
    top:0px;
    left: 0px;
    display: none;
    width: 100vw;
    height: 100vh;
}
#fullscreen_container img {
    width:100%;
    height:100%;
    object-fit: contain;
    /*overflow: hidden;*/
}

/******************************************************************************/
/* Right Column.
*/
.image_column.right {
    display: flex;
    align-items: center;
}
.button_column {
    /*right: 15px;*/
    margin-left: 15px;
    left: 0px;
    width: 35px;
    /*position: absolute;*/

}
.button_column a {
    display: inline-block;
    margin-top: 4px;
    margin-bottom:4px;
    cursor: pointer;
}

.button_column a img {
    width: 35px;
}

/* Left Column
*/
.image_column.left {
    display: flex;
}
.image_column.left a {
    font-size: 18px;
    color: black;
}

.row.info {
    margin-top: -15px;
    margin-bottom: 20px;
    text-align: center
}
.row.info p {
    margin-top: 0px;
    margin-left: 5px;
    display: inline-block;

}

/******************************************************************************/
/* Menu Row
*/
.menu_row.row {
    margin-bottom: 0px;
}
.menu_row.row .buttons {
    text-align: center;
}
.buttons {
    font-size: 1.0em;
}
.menu_row.row .buttons p {
    display: inline-block;
    margin-left: 15px;
    margin-right: 15px;
    cursor: pointer;
}
.menu_row.row .buttons p.selected {
    /*border-bottom: 1px solid black;*/
}

.loading {

}
.loading img {
    margin: 2em;
    width: 5em;
    height: 5em;
}

/******************************************************************************/
/* Mix
*/
.mix_container {
    text-align: center;
    margin-bottom: 15px;
}

.mix_container input.parent {
    width: 200px;
    height: 50px;
}

*/
/******************************************************************************/
/* Componenets
*/
.adjust_row.row {
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    width: 100%;
    /*text-align: center;*/
}
.adjust_container {
    width: 90%;
    max-width: 900px;
    margin: 0px auto;
    text-align: center;
}
.adjust_container .slider {
    display: inline-block;
    padding: 5px;
}
.adjust_container .slider p {
    margin: 0px;
}

.button-more {
    background-color: #fafafa;
    color:#000000;
    font-size: 20px;
}

.buttons_container {
    width: 90%;
    max-width: 900px;
    text-align: center;
    margin: 0px auto;
    margin-bottom: 20px;
}
/*
.buttons_container button {
    margin: 10px;
    background-color: #fafafa;
    min-width: 100px;
    border: 1px solid black;
}
*/
input#gene_labels, input#add_gene {
    position: relative;
    /*top: -20px;*/
}

/******************************************************************************/
/* Children
*/
.children_row.row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.children_container {
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

.children_container a {
    /*padding-left: 20px;*/
}

.slider.mutation_amount * {
    display: inline-block;

}
.slider.mutation_amount input {
    width: 140px;
    max-width: 30%;
}
.slider.mutation_amount p {
    width: 80px;
    margin-top: 0.0em;
    margin-right: 1em;
    margin-left: 1em;
}
/*.children_container a img {
    width: 30%;
    max-width: 256px;
    padding-bottom: 15px;
}
*/
.add_children_container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.add_children_button {
    border-radius: 50%;
    border: 1px solid;
    width: 64px;
    height: 64px;
    margin-top: 10px;
    cursor: pointer;
}

.add_children_button.loading {
    border: none;
    cursor: inherit;
}

.add_children_button img {
    width: 100%;
    /*height: 100%;*/
}


@media only screen and (max-width: 700px) {
    body {
        /*margin-left: 0px;*/
        /*margin-right: 0px;*/
    }
    .children_container {
        width: 100%;
    }
    .button_column {
        right: 5px;
    }
    .menu_row.row .buttons p {
        margin-left: 8px;
        margin-right: 8px;
    }
}