.dashboard {
    margin: 0 auto;
    max-width: 900px;
    position: relative;
}

.dashboard .inner {
    margin: 50px;
    position: relative;
    width: calc(100% - 100px);
}

.dashboard .inner .header {
    display: flex;
}

.dashboard .inner .header h1 {
    margin: 0;
    width: 100%;
}

.dashboard .subnav {
    display: flex;
    margin: 20px 0;
}

.dashboard .search {
    background-color: #FFF;
    border: 1px solid #D4D9E3;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    display: flex;
    padding: 0 18px;
    width: calc(100% - 40px); 
}

.dashboard .search .icon {
    background-image: url('/static/images/search-dark.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 16px;
    margin: auto 8px auto 0;
    opacity: 0.8;
    width: 16px;
}

.dashboard .search input {
    border: 0;
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 44px;
    width: 100%;
}

.dashboard .subnav .button {
    background-color: #0070C1;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    color: #FFF;
    cursor: pointer;
    min-width: -moz-max-content;
    min-width: -webkit-max-content;
    min-width: max-content;
    padding: 0 35px;
}

.dashboard .subnav .button:hover {
    background-color: #005C9E;
}

.dashboard .subnav .button p {
    color: #FFF;
    line-height: 46px;
    margin: auto 0;
}

.checkbox {
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
    display: block;
    font-size: 14px;
    margin: auto 0 auto 20px;
    min-width: -moz-max-content;
    min-width: -webkit-max-content;
    min-width: max-content;
    padding: 0 0 0 28px;
    position: relative;
    user-select: none;
}
  
.checkbox input {
    cursor: pointer;
    height: 0;
    opacity: 0;
    position: absolute;
    width: 0;
}

.checkmark {
    background-color: #DDD;
    height: 20px;
    left: 0;
    position: absolute;
    top: 0;
    width: 20px;
}
  
.checkbox:hover input ~ .checkmark {
    background-color: #CCC;
}
  
.checkbox input:checked ~ .checkmark {
    background-color: #FF5F40;
}
  
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
  
.checkbox input:checked ~ .checkmark:after {
    display: block;
}
  
.checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.dashboard a.add-new {
    position: relative;
    margin: auto 0;
    width: 100%;
}

.dashboard a.add-new .add-btn {
    display: flex;
    float: right;
    min-width: max-content;
    min-width: -moz-max-content;
    min-width: -webkit-max-content;
}

.dashboard a.add-new button {
    background: grey;
    border-radius: 30px;
    border: none;
    color: #FFF;
    font-size: 9px;
    font-weight: bold;
    height: 13px;
    margin: 0 0 0 5px;
    max-width: 13px;
    min-width: 13px;
    padding: 0;
    text-align: center;
    width: 13px;
    z-index: 999999999;
}

.dashboard a.add-new:hover .text {
    border-bottom: 1px solid #FF5F40;
    line-height: 1rem;
}

.dashboard .add-new .text {
    background: none;
    color: #FF5F40;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    display: flex;
    margin: auto 0;
    min-width: -moz-max-content;
    min-width: -webkit-max-content;
    min-width: max-content;
    padding: 0;
}

.dashboard .add-new .icon {
    background-color: #FF5F40;
    border-radius: 20px;
    color: #FFF;
    height: 25px;
    margin: -2px 8px 0 0;
    max-width: 25px;
    min-width: 25px;
    position: relative;
    text-align: center;
}

.dashboard .add-new .icon p {
    color: #FFF;
    font-size: 25px;
    font-weight: 600;
    left: 50%;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 900px) {

    .dashboard .inner {
        margin: 18px 0;
        width: 100%;
    }

    .dashboard .inner .header {
        margin: 0 18px;
    }

    .dashboard .subnav {
        display: flex;
        margin: 9px 18px 18px 18px;
    }

    .dashboard .subnav .button {
        border-bottom-right-radius: 3px;
        border-top-right-radius: 3px;
        height: 38px;
        padding: 0 18px;
    }

    .dashboard .subnav .button p {
        color: #FFF;
        font-size: 14px;
        line-height: 36px;
        margin: auto 0;
    }

    .dashboard .add-new button {
        display: none;
    }

    .dashboard .search {
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
        height: 36px;
        padding: 0 12px;
        width: calc(100% - 24px);
    }

    .dashboard .search input {
        font-size: 14px;
        line-height: 36px;
    }

    .dashboard .add-new .text {
        font-size: 14px;
        margin: 0 0 0 5px;
    }

    .dashboard .add-new .icon p {
        font-size: 18px;
    }

    .dashboard .no-packages {
        margin: 0 18px;
    }

    .dashboard .add-new .icon {
        border-radius: 22px;
        height: 22px;
        margin: 0 0 0 6px;
        max-width: 22px;
        min-width: 22px;
    }

}

@media screen and (max-width: 500px) {
    .dashboard .add-new p span {
        display: none;
    }
}