:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #fed136;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #124747;
    --secondary: #936326;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #fed136;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;

    --content_margin: 14.5rem;
}


html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


body {
    font-family: Montserrat;
    background: url('img/background.png') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

header {
    color: white;
}


h1, .h1 {
    font-size: 2rem;
}

h2, .h2 {
    font-size: 1.6rem;
}

h3, .h3 {
    font-size: 1.3rem;
}

h4, .h4 {
    font-size: 1.15rem;
}

h5, .h5 {
    font-size: 1rem;
}

h6, .h6 {
    font-size: 0.9rem;
}

P, .P {
    font-size: 0.87rem;
    /*margin-bottom: 1rem;*/
    line-height: 1.5;
    background-clip: border-box;
    background-color: rgba(255, 255, 255, 0.8);
    /*box-shadow: 0px 0px 5px 5px rgba(217, 198, 187, 0.45);*/
    /*padding: 0.5rem;*/
}


/*!* overview image setup *!*/
/*a img {*/
/*    box-shadow: 0px 0px 5px 5px rgba(217, 198, 187, 0.45);*/
/*}*/

/*a img:hover {*/
/*    position: relative;*/
/*    top: 3px;*/
/*    right: -3px;*/
/*    transition: 0.2s ease-in-out;*/
/*    !*border: 1px solid white !important;*!*/
/*    !*border-radius: 15px;*!*/
/*    !*box-shadow: 0px 0px 2px 2px rgba(243, 198, 153, 0.3);*!*/
/*}*/



 /*adjust margins and width of all elements */
#page-content > * {
    max-width: 60rem;
    margin: auto;
}

 /*adjust spacing of all elements */
#page-content > * > * {
    /* for all children (page_content > div > all elements; this means we need to go one level deeper) */
    /* https://stackoverflow.com/questions/6507014/how-to-space-the-children-of-a-div-with-css */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.8rem;
    margin-top: 1rem;
    padding: 1rem 1.5rem 1rem;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 7px 7px rgba(217, 198, 187, 0.25);
    border-radius: 3px;
}

/* on big screens, show two charts next to each other for positioning */
@media (min-width: 48rem) {
    #chart_pos_aktien,
    #chart_pos_obligationen {
        margin-top: 0.5rem !important;
        margin-right: 2% !important;
        float: left;
        width: 48%;
        overflow: hidden;
    }

    #chart_pos_rohstoffe,
    #chart_pos_währungen {
        margin-top: 0.5rem !important;
        margin-left: 2% !important;
        float: left;
        width: 48%;
        overflow: hidden;
    }
}


/* remove padding for all charts */
.dash-graph {
    padding: 0rem;
}


/*background color for text selection*/
::selection {
    background: rgba(243, 198, 153, 1) !important; /* WebKit/Blink Browsers */
}

::-moz-selection {
    background: rgba(243, 198, 153, 1) !important; /* Gecko Browsers */
}


/* format Dropdowns */
.dash-dropdown .VirtualizedSelectFocusedOption {
    background-color: rgba(18, 71, 71, 0.4);
}

.dash-dropdown .Select--multi .Select-value {
  background-color: rgba(18, 71, 71, 1);
  color: #fff;
}


/*****************************************************************/
/* Disclaimer Blocksatz */
#disclaimer {
    text-align: justify;
}


/*****************************************************************/
/* PERFORMANCE PAGE */
/* format all children buttons (in performance) */
#all_buttons_performance > *,
#collapse-button-bm {
    background-color: white;
    border-color: rgba(18, 71, 17, 1);
    border-width: 2px;
    border-radius: 0px;
    color: rgba(18, 71, 71, 1);
    padding: 0px;
    width: 40px;
    height: 27px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    font-size: 12px;
    margin-bottom: 1rem;
    margin-right: 0.5rem;
}

#collapse-button-bm {
    margin-top: 0.5rem;
    width: 120px;
}

#all_buttons_performance > *:hover,
#collapse-button-bm:hover {
    background-color: rgb(18, 71, 71);
    color: white;
}

#all_buttons_performance > *.active {
    background-color: rgb(18, 71, 71);
    color: white;
    box-shadow: none;
}


/* format input box for investment size */
#input_box,
#date_picker_return {
    font-size: 12pt;
    background-color: #fff;
    border-radius: 0px;
    border: 1px solid #ccc;
    color: #333;
    padding-left: 0.8rem;
    height: 32px !important;
}

/* remove the border from the last object (it is doubled otherwise) */
#date_picker_return > *,
#date_picker_return > * > * > * {
    border: 0;
    background-color: rgba(0, 0, 0, 0);
}

#date_picker_return > * > * > * > * {
    background-color: rgba(0, 0, 0, 0);
}

.DateRangePickerInput > * > * {
    font-size: 12pt;
    border: 0;
    padding: 0.3rem 0 0 0;
    background-color: rgba(0, 0, 0, 0);
    vertical-align: middle !important;
    margin: auto;
}

/* format the input box for the benchmark selection */
.Select-control {
    border-radius: 0 !important;
    border: 1px solid #ccc !important;
}

/*styling of tables key facts*/
.cell-table {
    font-size: 0.87rem !important;
    font-family: Montserrat !important;
    padding: 1rem 1.5rem 1rem !important;
    height: auto;
    max-width: 100% !important;
}

.row {
    margin: 0;
}


/*****************************************************************/
/* LANDING PAGE FORMATTING */
/* intro video */
#intro_vid {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    margin: 0;
    padding: 0;
}

/* landing page logo */
#landing-page-logo {
    position: absolute;
    top: 22%;
    left: 50%;
    width: 600px;
    max-width: 92%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* add return numbers to landing page */
#landing-page-perf-mtd,
#landing-page-perf-ytd,
#landing-page-perf-since-inception {
    position: absolute;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-color: rgba(0, 0, 0, 0);
    box-shadow: none;
    font-size: 32px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0);
}

#landing-page-perf-mtd,
#landing-page-label-mtd {
    left: 70%;
}

#landing-page-perf-ytd,
#landing-page-label-ytd {
    left: 30%;
}

/*#landing-page-perf-since-inception,*/
/*#landing-page-label-since-inception {*/
/*    left: 30%;*/
/*}*/

/* add description to landing page */
#landing-page-label-mtd,
#landing-page-label-ytd,
#landing-page-label-since-inception,
#landing-page-dt {
    position: absolute;
    top: 53%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-color: rgba(0, 0, 0, 0);
    box-shadow: none;
    font-size: 16px;
    font-weight: normal;
    background-color: rgba(0, 0, 0, 0);
}


#landing-page-dt {
    left: 50%;
    top: 58%;
}

input:-webkit-autofill {
    -webkit-box-shadow:0 0 0 50px white inset; /* Change the color to your own background color */
    -webkit-text-fill-color: #999;
}
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 50px white inset;
    -webkit-text-fill-color: #999;
}

/* landing button */
#landing-page-button {
    position: absolute;
    left: 50%;
    top: 65%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100px;
    height: 35px;
    border-color: white;
    border-width: 2px;
    box-shadow: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

#landing-page-button:hover {
    color: rgba(18, 71, 71, 1);
    background-color: white;
}


/* adjust returns so that they do not overlap on mobile */
@media (max-width: 48rem) {

    #landing-page-perf-mtd,
    #landing-page-label-mtd {
        left: 75%;
    }

    #landing-page-perf-ytd {
        top: 58%;
        left: 50%;
    }

    #landing-page-label-ytd {
        top: 61%
    }

    #landing-page-perf-since-inception,
    #landing-page-label-since-inception {
        left: 25%;
    }

    #landing-page-dt {
        top: 65%
    }

    #landing-page-button {
        top: 75%
    }
}

/*****************************************************************/
/* CONTACTS PAGE */
/*.jumbotron,*/
/*#content_contacts {*/
/*    background: url('/assets/img/foto/team.png');*/
/*    background-repeat: no-repeat;*/
/*    background-size: cover;*/
/*    background-color: rgba(0, 0, 0, 0);*/
/*    min-height: 300px;*/
/*}*/

#content_contacts > * > *,
#content_contacts > * {
    /*background-color: rgba(0, 0, 0, 0) !important;*/
}


/* on big screens, show two charts next to each other for positioning */
@media (min-width: 48rem) {
    .card {
        margin-right: 2% !important;
        margin-left: 2%;
        float: left;
        width: 30%;
        overflow: hidden;
    }
}


/*****************************************************************/
/* FORMAT ALL BUTTONS */
.button {
    background-color: rgba(0, 0, 0, 0);
    border-color: rgba(18, 71, 71, 1);
    border-radius: 0px;
    border-width: 2px;
    color: rgba(18, 71, 71, 1);
}

.button:hover {
    background-color: rgba(18, 71, 71, 1);
    border-color: rgba(18, 71, 71, 1);
    border-radius: 0px;
    border-width: 2px;
    color: rgba(255, 255, 255, 1);
}

