main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}
.grid-wrapper-title {
    display: flex;
    padding: 0 5px 5px 74px;
    border-bottom: 1px solid #C1E4ED;
    width: 100%;
}

.grid-title {
    font-family: "Rubik", sans-serif;
    font-style: normal;
    border-right: 1px solid #C1E4ED; /*#C1E4ED*/
    font-weight: normal;
    padding-left: 5px;
    flex: 12.5%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.grid-title:first-child {
    border-left: 1px solid #C1E4ED; /*#C1E4ED*/
}
.grid-title::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.grid-title-content {
    -webkit-user-select: text; /* для Safari */
    user-select: text;
    font-size: 12px;
    line-height: 14px;
    color: #878787;
    margin: 3px 0;
    text-align: center;
}

.grid-item {
    padding: 10px 5px 10px 10px;
    width: 100%;
}

.grid-item-chekbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.grid-item-chekbox+label {
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.grid-item-chekbox:checked+label::before {
    border-color: #C1E4ED;
    background-color: #fff;
    background-image: url('../img/checkbox.svg');
    background-size: 15px 11px;
}
/* стили при наведении курсора на checkbox */
.grid-item-chekbox:not(:disabled):not(:checked)+label:hover::before {
    border-color: #C1E4ED;
}
/* стили для активного состояния чекбокса (при нажатии на него) */
.grid-item-chekbox:not(:disabled):active+label::before {
    background-color: #E5E5E5;
    border-color: #C1E4ED;
}
/* стили для чекбокса, находящегося в фокусе */
.grid-item-chekbox:focus+label::before {
    box-shadow: 0 0 0 1px rgba(0, 123, 255, 0.25);
}
/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.grid-item-chekbox:focus:not(:checked)+label::before {
    border-color: #80bdff;
}
/* стили для чекбокса, находящегося в состоянии disabled */
.grid-item-chekbox:disabled+label::before {
    background-color: #e9ecef;
}

.grid-item-box-wrapper {
    margin: 0;
    flex-grow: 1;
    width: 100%;
}

.grid-item-box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.grid-box-item{
    display: flex;
}
.box-item-block::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.grid-item-chekbox+label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #C1E4ED;
    box-sizing: border-box;
    border-radius: 4px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.box-item-block-subtitle {
    -webkit-user-select: text;
    user-select: text;
    font-size: 14px;
    line-height: 17px;
    color: #000;
    margin: 3px 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
}

.box-item-block-subtitle::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.box-item-title::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.grid-title.big{
    flex: 19%;
}
.grid-title.big1{
    flex: 19%;
}
.grid-title.long{
    flex: 26.8%;
}
.grid-title.middle {
flex: 13%;
}
.grid-title.small {
    flex: 12.1%;
}
.grid-title.small2 {
    flex: 11.6%;
}
.grid-item-box-2{
    display: flex;
    margin: 10px;
    padding: 15px;
}
.btn-expand-order {
    width: 30px;
    height: 30px;
    font-size: 20px;
    color:  #878787;
    cursor: pointer;
}
.btn-expand-order.active {
    color: #1e88e5;
    margin-bottom: 630px;

}
.btn-expand-order:hover {
    color: #1e88e5;

}
.my-trade-search .field,  {
    display: inline-block;
    width: 13%;
    margin: 0 0.5%;
   /* font-size: 16px;*/
}
.statistics-pullback-search .field {
    display: inline-block;
    width: 20%;
    margin: 0 0.5%;
}
.my-trade-search .form-group,.statistics-pullback-search .field  {
    font-size: 16px;
}
.footer-block {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.sort-grid {
    cursor: pointer;
    border-bottom: 1px solid transparent;
}
.sort-grid:hover {
    border-bottom: 1px solid #C1E4ED;
}
.footer-block .form-group {
    margin: 5px 20px!important;
}
.grid-wrapper {
    display: grid;
    overflow-x: auto;
}
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}
.pagination > li {
    display: inline;
}
.pagination>li>a {
    background: #fafafa;
    color: #666;
}
.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eeeeee;
    border-color: #ddd;
}
.pagination > li:last-child > a, .pagination > li:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}
.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    color: #777777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}
.pagination > li:first-child > a, .pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.grid-title.little {
    flex: 8%;
}
.form-group.field-gridsearch-countrows {
    display: inline-flex;
    align-items: flex-end;
}
.form-group.field-gridsearch-countrows label {
    width: 200px;
}
.grid-title.middle1{
    flex: 15%;
}
.box-item-block-subtitle.loss {
    background-color: #ff6464;
    color: #fff;
}
.income {
    background-color: #00ff42;
}
.my-trades-header{
    display: flex;
    align-items: center;
}
.my-trades-header-span{
    font-size: larger;
    margin-left: 20px;
}


.td-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.last-twelve-month{

}
.grids-count{
    font-size: 14px;
}
.month-element{

}
.checkbox-set{
    max-width: 5%;
}
.checkbox-set .form-group{
    height: 5%;
}
.checkbox-set-two .form-group{
    height: 5%;
}
.my-trade-time{
    white-space: break-spaces;
}

