/**********************************************************************************************************************/
/************************************************** Sharegraph styles *************************************************/
/**********************************************************************************************************************/

#target-ticker {
    /*font-family: "Noto Sans",Arial,sans-serif;*/
    color: #14133B;
}

#target-sharegraph-wrapper {
    margin-top: -20px;
    /*font-family: "Noto Sans",Arial,sans-serif;*/
    color: #14133B;
}

#target-sharegraph-wrapper .btn {
    /*color: #14133B;*/
}

#target-sharegraph-wrapper .btn:hover, #target-sharegraph-wrapper .btn:active, .sharegraph-extras .show > .btn-outline-secondary.dropdown-toggle {
    background-color: #02b4ab;
    /*color: #fff!important;*/
    border-color: #02b4ab;
}

#sharegraph-container {
    height: 500px;
    width: 100%;
    margin-bottom: 40px;
}

/* small sharegraph */
#mini-sharegraph #sharegraph-container {
    margin: 20px auto;
    height: 150px;
    width: 500px;
}

/* Horisontal ticker *******************************************/

#horisontal-ticker {
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
}

 #horisontal-ticker th {
     font-weight: bold;
 }

 #horisontal-ticker td, #horisontal-ticker th {
     padding: 10px;
     border: 2px #eee solid;
     font-size: 12px;
     text-align: center;
 }

 #horisontal-ticker th.image {
     border-bottom: none;
 }

 #horisontal-ticker th.image img {
     width: 20px;
 }


/***************************************** Sharegraph extras ***********************************************/


.prev:hover, .next:hover {
    cursor: pointer !important;
}

.sharegraph-container .row {
    padding: 25px 15px 25px 5px;
    margin-left: 0px;
}

.dropdown {
    float: left;
    margin-right: 10px;
}

.sharegraph-extras .date-picker {
    float: left;
    margin-right: 10px;
    /*width: 160px;*/
}

.date-picker input {
    padding: 0.375rem 0.75rem;
    border: 1px solid #14133B;
}

.sharegraph-extras .date-picker .btn-outline-secondary, .sharecalclulator-container .date-picker .btn-outline-secondary {
    display: flex;
}

#share-options-select li a, #share-download-options li a {
    min-width: 220px;
    color: #333;
    margin-right: 40px;
}

#share-options-select li.cision-disabled a {
    color: grey;
}
#share-options-select li.cision-disabled:hover, #share-options-select li.cision-disabled:hover a {
    cursor: default;
}

#share-options-select li .fa-check {
    display: none;
    float: left;
    margin-right: 5px;
}

#share-options-select .dropdown-item, #share-download-options .dropdown-item {
    padding: 0 10px;
    font-size: 14px;
}

#share-options-select .dropdown-item:active {
    background-color: #f8f9fa;
}

#share-options-select li.selected .fa-check {
    display: inline-block;
}

.performance-table td:first-child {
    font-weight: 500;
}

.sharegraph-extras {
    margin-top: 10px;
    display: block;
}

.sharegraph-extras .fa-calendar-alt, .sharecalclulator-container .fa-calendar-alt {
    background: url("../images/calendar.png");
    background-size: cover;
    display: inline-block;
    height: 17px;
    width: 15px;
}

.sharegraph-extras .fa-check {
    background: url("../images/check.svg");
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    height: 13px;
    width: 15px;
}

.sharegraph-extras .dropdown-toggle, .sharegraph-extras .action,
.sharegraph-extras .btn-outline-secondary
{
    border-radius: 15px;
}

.sharegraph-extras input {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

#periods .btn.active {
    background-color: #14133B;
    color: #fff;
}

/*.sharegraph-tabs .tab-content {
    font-size: 12px;
}*/

.sharegraph-tabs .tab-content td {
   border-top: 2px solid #eee;
   /*border: 1px solid #d3d3d3;*/
}

.sharegraph-tabs .tab-content > .tab-pane {
    margin-top: 30px;
    display: none !important;
}
.sharegraph-tabs .tab-content > .tab-pane.active {
    display: block !important;
}

/*.sharegraph-tabs .nav-tabs {
    border-bottom: 2px solid #eee;
    margin-left: 0;
}*/

.sharegraph-tabs .nav-tabs .nav-item {
    margin-bottom: -2px;
}

/*.sharegraph-tabs .nav-tabs .nav-item .nav-link {
    color: #14133B;
}*/

.sharegraph-tabs .nav-tabs .nav-link {
    border: 2px solid transparent;
}


.sharegraph-tabs .nav-tabs .nav-link.active {
    border-color: #eee #eee #fff;
}

@media only screen and (max-width: 767px) {
/*    #target-ticker, #target-orderbook, #target-trades, #target-share-performance, #sharecalclulator-history-container {
        overflow-x: auto;
    }*/
    #horisontal-ticker td, #horisontal-ticker th {
        min-width: 70px;
        padding: 6px;
    }
    #target-sharegraph-wrapper .justify-content-between #periods .btn {
        padding: 0.375rem 6px;
    }
    #target-sharegraph-wrapper .justify-content-between .sharegraph-extras > div:not(:last-of-type) {
        margin-bottom: 10px;
    }
/*    .sharegraph-tabs .nav-tabs .nav-link {
        padding: 8px;
        font-size: 14px;
    }*/
/*    .sharegraph-tabs .nav-tabs .nav-link.active {
        border-color: rgba(206,169,65,0.8);
        border-radius: 0;
        background-color: rgba(206,169,65,0.8);
    }*/
    .sharegraph-tabs .tab-content {
        padding-right: 10px;
        padding-left: 10px;
    }
    .sharegraph-tabs .tab-content td, .sharegraph-tabs .tab-content th {
        min-width: 60px;
        padding: 6px;
    }
    #sharecalclulator-history-container .history-download {
        float: unset!important;
        margin-top: 0;
    }
    #sharecalclulator-container .row {
        flex-wrap: wrap;
    }
    #sharecalclulator-container .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 100%;
    }
    #sharecalclulator-container .col-6:last-child, #sharecalclulator-container .col-6 {
        padding-right: 10px;
    }
    #sharecalclulator-container .col-6 .first {
        width: auto;
    }
    #sharecalclulator-container .col-6 td, #sharecalclulator-container .col-6 th {
        min-width: 80px;
    }
}

@media only screen and (max-width: 1200px) {
    #target-sharegraph-wrapper .justify-content-between {
        justify-content: flex-start!important;
    }
}