/*Reset paddings and margins*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    /* background-color: whitesmoke; */
    /* padding: 5px */
    background-color: #f0f1f6;
}

button {
    padding: 2px
}

#app {
    font-size: 13px;
    font-family: "Roboto", sans-serif;
    color: #102e4a;
    width: 100vw;
    height: 100vh;
    cursor: default;
    display: flex;
    flex-direction: row;
}

.container{
    display:flex;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

#text-container{
    flex-direction: column;
    width: 75%;
    height: 100%;
    background-color: white;
    /* color: #102e4a; */
    margin-left: 5px;
    border-radius: 4px;
}

#minimap-container {
    flex-direction: column;
    width: 25%;
    height: 100%;
    background-color: white;
    /* color: #102e4a; */
    /* margin-left: 5px; */
    border-radius: 4px;
}

#argument-map-container {
    flex-direction: column;
    width: 74%;
    height: 100%;
    background-color: white;
    /* color: #102e4a; */
    /* margin-left: 5px; */
    border-radius: 4px;
}

#argument-map-container>.header {
    width:100%;
    height: 7%;
    padding: 2px;
    border-bottom: 2px solid lightgray;
    display: flex;
    flex-direction: row;
}

#network-container {
    flex-direction: column;
    width: 25%;
    height: 100%;
    background-color: white;
    /* color: #102e4a; */
    /* margin-left: 5px; */
    border-radius: 4px;
}

#network-container>.header {
    width:100%;
    height: 7%;
    padding: 2px;
    border-bottom: 2px solid lightgray;
    display: flex;
    flex-direction: row;
}

#calendar-heatmap-container {
    flex-direction: column;
    width: 100%;
    height: 22%;
    background-color: white;
    /* color: #102e4a; */
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 4px;
}

#calendar-heatmap-container>.header {
    width:100%;
    height: 14%;
    padding: 2px;
    border-bottom: 2px solid lightgray;
    display: flex;
    flex-direction: row;
}

#filter-container {
    flex-direction: column;
    /* width: 100%; */
    height: 26%;
    background-color: white;
    /* color: #102e4a; */
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 4px;
}

#filter-container>.header {
    width:100%;
    height: 12%;
    padding: 2px;
    border-bottom: 2px solid lightgray;
    display: flex;
    flex-direction: row;
}

#donut-container {
    flex-direction: column;
    width: 50%;
    height: 100%;
    background-color: white;
    /* color: #102e4a; */
    /* margin-left: 5px; */
    border-radius: 4px;
}

#positioning-container {
    flex-direction: column;
    width: 49%;
    height: 100%;
    background-color: white;
    /* color: #102e4a; */
    /* margin-left: 5px; */
    border-radius: 4px;
}

#donut-container>.header,
#positioning-container>.header {
    width:100%;
    height: 12%;
    padding: 2px;
    border-bottom: 2px solid lightgray;
    display: flex;
    flex-direction: row;
}

#text-container>.header,
#minimap-container>.header {
    width:100%;
    height: 5%;
    padding: 2px;
    border-bottom: 2px solid lightgray;
    display: flex;
    flex-direction: row;
}

.container-title{
    padding-left: 4px;
    flex:90%;
}

.help{
    flex:10%;
    padding-right: 4px;
    text-align: right;
    cursor: pointer;
}

.main-header {
    width: 100%;
    height: 10%;
    border-bottom: 2px solid lightgray;
    display: flex;
    flex-direction: row;
}

.main-header>.title {
    width: 20%;
    height: 100%;
    border-right: 2px solid lightgrey;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-header>.search {
    width: 60%;
    height: 100%;
    border-right: 2px solid lightgrey;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.main-header>.main-mid {
    width: 60%;
    height: 100%;
    border-right: 2px solid lightgrey;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;
}

.main-header>.open-document {
    width: 20%;
    height: 100%;
    /* border-right: 2px solid lightgrey; */
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

#open-document-box {
    width: 30%;
    /* height: 30%; */
    border: 4px solid lightgrey;
    border-radius: 5px;
    background-color: white;


    display: flex;
    align-items: center;
    flex-direction: column;

    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0%);
}


#open-document-box>.header {
    padding: 8px;
    width: 100%;
    height: 36px;
    border-bottom: 2px solid lightgrey;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

#open-document-box>.body {
    width: 100%;
    max-height: 200px;
    overflow: auto;
}

#open-document-box>.body>ul>li {
    padding-right: 8px;
    padding-left: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

.main-body {
    width: 100%;
    height: 92%;
    display: block;
    padding: 5px;
    background-color: #f0f1f6;
    /* margin-left: auto;
    margin-right: auto; */
    /* float: left */
}

/*COMPONENTS*/

#text-component {
    width: 100%;
    height: 95%;
    /* width: 75%;
    height: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
    color: #102e4a;
    margin-left: 5px; 
    border-radius: 4px;*/
}

#filter-component {
    width: 100%;
    height: 90%;
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white; */
    /* color: #102e4a; */
    /* margin: 5px; */
    /* flex-grow: 1; */
    /* border-radius: 4px; */
    /* border: 2px solid lightgray; */
}

#text-component2 {
    width: 30%;
    height: 70%;
    border: 2px solid lightgray;

}

#map-component {
    width: 100%;
    height: 93%;
    /* border: 2px solid lightgray; */
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white; */
    /* margin: 5px; */
    /* border-radius: 4px; */
    /* flex: 1; */
}

#network-component {
     width: 100%;
     height: 93%;
    /* height: 70%; */
    /* border: 2px solid lightgray; */
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white; */
    /* margin: 5px; */
    /* border-radius: 4px; */
    /* flex: 1; */
}

#timeline-component {
    width: 100%;
    height: 10%;
    /* border: 2px solid lightgray; */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 4px;
    padding: 5px;
    /* float: left; */
}

#details-component {
    width: 100%;
    /* flex-grow: 1; */
    height: 100%;
    background-color: white;
    color: #102e4a;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    margin-top: 2px;
    border-radius: 4px;
    /* padding-top: 5px; */
}

#calendar-component {
    /* width: 100%; */
    width:30%;
    height: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    /* background-color: white; */
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 5px;
    border-radius: 4px;
    color: #102e4a;
    background-color: white;
}

#search-component {
    /* width: 100%; */
    height: 30%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 5px;
    border-radius: 4px;
    color: #102e4a;
    /* background-color: #102e4a; */
}

#selected-documents-component {
    /* width: 100%; */
    height: 25%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 5px;
    border-radius: 4px;
    color: #102e4a;
    /* background-color: #102e4a; */
}

#minimap-component {
    width: 100%;
    height: 95%;
}

#calendar-heatmap-component {
    width: 100%;
    height: 85%;
    /* border: 2px solid lightgray; */
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white; */
    /* margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 4px; */
    /* padding: 5px; */
    /* float: left; */
}

#donut-chart-component {
    width: 100%;
    height: 88%;
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white; */
    /* margin-top: 10px; */

    /* flex: 1; */
    /* border-radius: 4px; */
    /* border: 2px solid lightgray; */
}

#fingerprint-component {
    width: 20%;
    /* height: 100%; */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
    /* margin-top: 10px; */

    /* flex: 1; */
    border-radius: 4px;
    /* border: 2px solid lightgray; */
}

#fingerprint-component2 {
    width: 25%;
    /* height: 100%; */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
    /* margin-top: 10px; */

    /* flex: 1; */
    border-radius: 4px;
    /* border: 2px solid lightgray; */
}

#selection-component {
    /* width: 22%; */
    height: 12%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 5px;

    /* flex: 1; */
    border-radius: 4px;
    /* border: 2px solid lightgray; */
}

#positioning-component {
    width: 100%;
    height: 100%;
    /* border: 2px solid lightgray; */
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white; */
    /* margin-bottom: 10px; */
    /* border-radius: 4px; */
    /* flex: 1; */
}

#positioning-component2 {
    /* width: 48%; */
    height: 48%;
    /* border: 2px solid lightgray; */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
    /* margin: 5px; */
    border-radius: 4px;
    /* flex: 1; */
}



/*
    NEW LAYOUT
                */
.left-container {
    width: 25%;
    height: 100%;
    /* background-color: #102e4a; */
    /* color: #F5FFFA; */
    display: flex;
    flex-direction: column;
    /* box-shadow: 5px 2px 8px 0 rgba(0, 0, 0, 0.2); */
    align-items: stretch;
    background-color: #f0f1f6;
}

.left-container>.title {
    /* width: 100%; */
    /* height: 8%; */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #102e4a;
    color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    margin: 5px;
    border-radius: 4px;
    padding: 5px;
}

.left-container>.bottom {
    /* width: 100%; */
    height: 63%;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 5px;
    /* padding: 5px; */
}



/* .left-container>.body {
    width: 100%;
    height: 92%;
    display: flex;
    flex-direction: column;
} */


.right-container {
    float: left;
    flex-direction: column;
    justify-content: start;
    width: 75%;
    height: 100%;
    background-color: #f0f1f6;
    display: flex;
    padding-left: 5px;
    padding-right: 10px;
    /* padding-top: 5px; */
    padding-bottom: 5px;
}

.right-container>.first-section {
    float: left;
    width: 100%;
    height: 46%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 5px;
}

.right-container>.second-section {
    float: left;
    width: 100%;
    height: 28%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 10px;
}

.positioning-section {
    display: flex;
    flex-direction: column;
    width: 48%;
}

.right-most-container {
    float: left;
    width: 18%;
    height: 100%;
    background-color: #f0f1f6;
    color: #102e4a;
    z-index: 10;
    display: flex;
    align-items: stretch;
    flex-direction: column;
}

#show_calendar_btn {
    height: 46px;
    width: 46px;
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: rgba(16, 46, 74, 0.8);
    border: none;
    padding: 9px 11px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.4);
}

#show_calendar_btn:hover {
    background-color: #102e4a;
}

#search-icon {
    height: 100%;
    width: 100%;
    color: white;
    z-index: 2;
}