/*.header-distance{
    height: 100px;
    background: #FFFFFF
}*/
@media (max-width: 600px) {
    .header-distance{
        height: 70px;
    }
}
.logged {
    background: #dbdbdb;
}
.logged-section, .login-section{
    color: #626262;
    font-size: 14px;
    font-family: "Gotham SSm A", "Gotham SSm B";
    font-weight: 400;
    padding-top: 100px;
}
.extended-menu{
    margin-top: 50px;
    display: flex;
    flex: 2 0px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.extended-menu-btn{
    display: flex;
    align-items: center;
    background: #fff;
    min-width: 218px;
    padding: 10px 0;
    border: 1px solid #c09b56;
    font-size: 16px;
    letter-spacing: -0.45px;
    justify-content: space-around;
    flex-wrap: wrap;
}
.extended-menu-btn:hover, .extended-menu-btn.active{
    background: #c09b56;
    color: #FFFFFF;
}
.ico{
    display: inline-block;
    width: 56px;
    height: 51px;
    background-repeat: no-repeat;
}
.finanse-ico{
    background-image: url("../img/finanse-ico.png");
}
.obligacje-ico{
    background-image: url("../img/obligacje-ico.png");
}
.udzialy-ico{
    background-image: url("../img/udzialy-ico.png");
}
.historyczne-ico{
    background-image: url("../img/historyczne-ico.png");
}
.extended-menu-btn:hover .finanse-ico, .active .finanse-ico{
    background-image: url("../img/finanse-ico-white.png");
}
.extended-menu-btn:hover .obligacje-ico, .active .obligacje-ico{
    background-image: url("../img/obligacje-ico-white.png");
}
.extended-menu-btn:hover .udzialy-ico, .active .udzialy-ico{
    background-image: url("../img/udzialy-ico-white.png");
}
.extended-menu-btn:hover .historyczne-ico, .active .historyczne-ico{
    background-image: url("../img/historyczne-ico-white.png");
}
.results-table{
    margin: 40px auto 20px;
    min-width: 50%;
    text-align: left;
    border: solid 1px #c09b56;
    border-spacing: 0px;
}
.results-table th, .results-table td{
    font-weight: 400;
    font-size: 12px;
    padding: 10px 19px;
    border: 1px solid #dbdbdb;
}
.results-table > tr  td:first-of-type,
.results-table > tr  th:first-of-type{
    border-left-width: 0px;
}
.results-table > tr  td:last-of-type,
.results-table > tr  th:last-of-type{
    border-right-width: 0px;
}
.results-table th{
    color: #FFFFFF;
    background: #c09b56;
}
.results-table tr {
    background: #FFFFFF;
}
.results-table tr:nth-child(2n+1) {
    background: #e8e8e8;
}

.chart-table{
    min-width: 50%;
    margin: 0 auto 20px;
    text-align: left;
}
.chart-table td{
    padding: 10px;
    position: relative;
}
.chart-table li{
    line-height: 23px;
    padding: 8px 0;
}
.chart-table .update-date{
    font-size: 10px;
    position: absolute;
    bottom: 3px;
    right: 5px;
}
.login-section{
    display: flex;
}
.login-header{
    background-image: url("../img/s.png");
    background-repeat: no-repeat;
    color: #000;
    height: 142px;
}
.login-header h1{
    font-size: 57px;
    padding: 20px 0 0 60px;
}
.login-form-container{
    padding-top: 30px;
}
input[type=text],
input[type=password],
/*input[type=text]:focus,*/
input[type=password]:active{
    margin-top: 10px;
    border: none;
    outline: none;
    padding: 10px 0px;
    border-bottom: 1px solid #c09b56;
    min-width: 330px;
}
input[type=submit]{
    background: #c09b56;
    padding: 20px;
    color: #fff;
    border: none;
    outline: none;
}
::-webkit-input-placeholder {
    color: #000;
}
::-moz-placeholder {
    color: #000;
}
:-ms-input-placeholder {
    color: #000;
}
:-moz-placeholder {
    color: #000;
}
.login-form-submit{
    padding: 0 70px 0 55px;
    margin-top: 55px;
    display: flex;
    justify-content: space-evenly;
}
.login-form-submit a{
    color: #c09b56;
    padding: 20px;
    display: block;
    text-decoration: underline;
    font-weight: bold;
}
.adviser-wrapper{
    display: flex;
    align-items: center;
    flex-wrap: wrap
}
.adviser-wrapper .adviser-name{
    margin-left: 20px;
    text-align: left;
}
.adviser-wrapper .adviser-title{
    font-size: 10px;
    font-weight: bold;
    color: #c09b56;
}
.adviser-name{
    margin-right: 80px;
    margin-top: 12px;
}
.separation-line{
    height: 50px; 
    width: 1px; 
    background: #3d4e5e; 
    margin-right: 30px;
}
.f-col{
    display: flex;
}
.addres-box{
    text-align: left; 
    font-size: 14px
}
.ask-for-contact{
    display: block; 
    padding: 10px; 
    margin-left: 50px;
    font-size: 13px; 
    color: #fff; 
    background: #c09b56;
}
.error{
    color:red;
}
.header-wrapper{
    background-color: white;
    float: left;
    width: 100%;
    display: inline-table; 
}
.adviser-wrapper img{
    max-width: 59px;
    max-height: 59px;
}
.modal {

    display: none; /* Hidden by default */
    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 */

    font-family: "Gotham SSm A", "Gotham SSm B";
    line-height: 32px;
}

/* Modal Content/Box */
.modal-content {
    line-height: 26px;
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    top: -20px;
    right: -10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.center-dot{
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background-color: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: none;
}
.percent{
    float: left;
    display: inline-block;
    min-width: 63px;
    padding-right: 7px;
    text-align: right;
}
.number-format{
    text-align: right;
        white-space: nowrap;
}
footer .content{
    max-width: unset;
    display: table;
}

@media (max-width: 978px) {
    .ask-for-contact{
        margin-left: 80px; 
    }
    .extended-menu-btn{
        min-width: 190px;
    }
}
@media (max-width: 880px) {
    .extended-menu-btn{
        min-width: 46%;
        margin-bottom: 15px;
    }
}

@media (max-width: 760px) {

    #menu-menu-glowne {
        padding-left: 10px;
        padding-top: 100px;
    }
    .menu-item {
        font-size: 25px;
        line-height: 30px;
    }
    .sub-menu .menu-item {
        font-size: 14px;
        line-height: 14px;
        margin-top: 0;
    }
    .separation-line{
        display: none;
    }
    .table-box{
        display: inline-block;
        width: 100%;
        overflow-x: scroll;
    }
    .extended-menu-btn{
        /*        width: 32%;
                min-width: unset;*/
    }
    .results-table{
        max-width: unset;
        min-width: 100%;
    }
    .f-col{
        width: 100%;    
    }
    .addres-box{
        font-size: 12px;
        margin-top: 16px;
    }
    .ask-for-contact{
        margin-top: 20px;
        width: 100%;
        margin-left: 0;
    }
    .header-profile-btn .edit{
        /*margin-right: 21px;*/
    }
    .header-col-right{
        width: 143px;
        display: block;
        padding-right: 15px;
    }
    .header-profile-btn,
    .header-contact-btn{
        padding: 0 !important;
        width: 100%;
        display: block;
        height: auto;
    }
    .header-contact-btn{
        margin-top: 10px;
    }
    .header-contact-btn img{
        top: 5px; 
    }
}
@media (max-width: 576px) {

    .header-profile-btn{
        padding: 19px;
    }
    .header-profile-btn .edit{
        margin-top: 6px;
        margin-right: 1px;
        font-size: 11px;
        line-height: 23px;
    }
    .header-contact-btn{
        margin-top: 4px;
    }
    .header-contact-btn .logout{
        font-size: 11px;
    }
    .chart-table,
    .chart-table tbody,
    .chart-table tbody tr,
    .chart-table tbody tr td
    {
        display: inline-block;
        width: 100%;
        box-sizing: border-box;
    }
    .chart-table tbody tr td:nth-child(2){
        display: none;
    }
    .chart-table canvas{
        margin: 0 auto;
        display: block;
    }
    .extended-menu-btn{
        min-width: 100%;
        margin-bottom: 10px;
        padding: 6px 0;
    }
    .extended-menu {
        margin-top: 26px;
    }
    .extended-menu .ico{
        background-size: contain;
        background-position: center;
        width: 44px;
        height: 38px;
    }
    .extended-menu > a > span{
        display: inline-block;
        width: 113px;
    }
    .results-table{
        margin: 20px 0;
    }

    .profile-data{
        width: 100%;
    }
    .profile-data .pad{
        padding: 0;
    }
    .button-row{
        padding-top: 40px;
    }
    .button-row .save-btn{
        width: 100%; 
    }
    .user-profile{
        padding-top: 20px;
        padding-bottom: 50px;   
    }
    .col.page-title{
        padding-bottom: 26px;
    }
    .header-col-right{
        width: 135px;
        padding-right: 10px;
    }
    .chart-table ol{
        padding: 0;
        font-size: 12px;
    }
}
@media (max-width: 410px) {
    .header-col-right{
        width: 118px;
    }
    .header-contact-btn .logout{
        font-size: 10px;
    }
    .header-profile-btn{
        padding: 22px 5px;
    }
    .header-profile-btn .edit{
        font-size: 10px;
        padding: 0 8px;
        line-height: 24px;
    }
    .chart-table ol .percent{
        min-width: 42px;
    }

}


