html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    font-size: 1rem;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}
.btn.focus, .btn:focus{
    box-shadow: none !important;
}
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: none;
    outline: 0;
    box-shadow: none;
}

.page-container{
    padding: 0;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header {
    background: #17a2b8;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}
.header p{
    margin-bottom: 0;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.1;
}
.header p .fa{
    margin-right: 8px;
    font-size: 1.2rem;
}
.header .logout{
    color: #fff;
    font-size: 1rem;
}
.header .logout .symbol{
    display: none;
    font-size: 1.5rem;
    margin-left: 10px;
}

.header-field {
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    padding: 0 15px;
}

.header-field p{
    color: #777777;
    margin-bottom: 5px !important;
}
.header-field p b{
    color: #000;
}

.add-weightBox-container{
    padding: 0 15px;
}
.weight-box {
    width: 45px;
    flex: 0 0 90px;
    height: 46px;
    border: 1px solid #17a2b8;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.3rem;
    color: #17a2b8;
    transition: background-color 200ms linear;
    overflow: hidden;
    margin: 0 6px 6px;
}
.weight-box:last-child{
    margin-bottom: 0;
}

.weight-box:hover {
    background: #17a2b8;
    color: #fff;
}


.add-box {
    width: 450px;
    border: 1px solid #ccc;
    min-height: 260px;
    box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 4px 10px;
    border-radius: 5px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.add-box-header {
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #ccc;
    padding: 0 15px;
}

.add-box-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #17a2b8;
    margin-right: 25px;
    flex: 0 0 auto;
}
.add-box-header input[type="text"]{
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 0 !important;
}
.add-box-header .form-control {
    flex:1;
}

.add-box-content {
    /* flex: 1; */
    display: flex;
    padding: 15px 5px 15px 0;
    flex-direction: row;
}

.calculator_save {
    height: 60px;
    font-size: 26px;
}

.add-items label {
    font-size: 1.5rem;
    font-weight: 600;
    width: 80px;
    text-align: center;
}

.add-items span {
    font-size: 1.3rem;
    font-weight: 600;
    color: #9a9a9a;
}



.btn-secondary {
    background-color: #17a2b8;
    border-color: #17a2b8;
    transition: background-color 150ms linear;
}
.btn-secondary:hover, .btn-secondary:active{
    background-color: #168da0 !important;
    border-color: #168da0 !important;
}
.btn-primary {
    background-color: #ff6c60;
    border-color: #ff6c60;
    transition: background-color 150ms linear;
}

.btn-primary:hover, .btn-primary:active {
    background-color: #de594e !important;
    border-color: #de594e !important;
}

.btn-icon {
    padding: 3px 6px;
    font-size: 0.8rem;
}


/* ---------------------------- */
.list-box{
    width: 240px;
    border: 1px solid #ccc;
    box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 4px 10px;
    border-radius: 5px;
}
.list-box-content{
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #ccc;
    padding: 0 10px;
}
.list-box-content h4{
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #17a2b8;
}
.list-items span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #9a9a9a;
}
.list-items label {
    font-size: 1.5rem;
    font-weight: 600;
    min-width: 45px;
    text-align: center;
}

.add-box.add-box-new .add-box-header {
    height: 80px;
    padding: 0 15px;
}
.add-box.add-box-new .box-btn {
    width: 200px;
    padding: 0 12px;
}

@media screen and (min-width: 992px) and (max-width: 1024px) {

}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .list-box{
        width: calc(49% - 8px);
    }
}
@media screen and (min-width: 481px) and (max-width: 767px) {
    .header {
        height: 60px;
    }
    .header .logout .symbol{
        display: block;
    }
    .header .logout span{
        display: none;
    }
    .header-field .header-inner{
        padding: 8px 0 !important;
    }
    .list-box{
        width: 100%;
    }
    .header-inner span {
        width: 125px;
        display: inline-block;
    }
}


@media screen and (min-width: 320px) and (max-width: 480px) {
    .header {
        height: 60px;
    }
    .header p {
        font-size: 1.2rem;
    }
    .header .logout .symbol{
        display: block;
        font-size: 1.3rem;
    }
    .header .logout span{
        display: none;
    }
    .header-inner span {
        width: 149px;
        display: inline-block;
    }
    .paddingHeader{
        padding: 5px 0px;
    }
    .header-field{
        margin-bottom: 20px;
    }
    .header-field .header-inner{
        flex-wrap: wrap;
        padding: 8px 0 !important;
    }
    .header-field .left {
        flex:0 0 100%;
    }
    .add-box{
        width: 100%;
        margin: 0 0 10px;
    }


    .list-box{
        width: 100%;
        margin: 0 0 10px;
    }
}

.disableselect{
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-circle{
    border-radius: 25px!important;
}

.header-field-btn{
    padding-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.header-field-btn .btn + .btn{
   margin-left: 15px;
}

p.yellow-background {
    background: yellow !important;
}
