﻿@media (max-width: 767px) {
    .page {
        padding: 0;
    }

    .activity-name {
        font-size: 14px !important;
        margin-top: 0 !important;
    }


    .estimate-cost .box {
        min-height: 121px;
        height:unset;
        width: 40%;
    }

    .mode-label {
        top: 38px;
        left: 16px;
        width:auto;
        padding-right: 5px;
    }

        .estimate-cost .box:not(.total) .number-container p {
            text-align: left;
        }

        .estimate-cost .box.total {
            width: 100%;
            min-height: unset;
            max-width: unset;
            text-align: center;
        }

        .estimate-cost .box.total .number-container {
            float:unset;
        }

            .estimate-cost .box.total .number-container p {
                float: unset !important;
            }

        .estimate-cost .box.smaller p {
            width: 100%;
        }

    .estimate-cost .input-container input.form-control{
        max-width:unset;
        width:100%;
    }

    .estimate-cost .box.smaller .input-container{
        width:100%;
    }

    .estimate-cost span {
        width: 4%;
        text-align: center;
    }

    .estimate-cost .number-container p {
        font-size: 29px;
    }

    .estimate-cost .box p {
        display: block;
        float: unset !important;
        width: 100%;
    }

    .estimate-cost .box .input-container {
        width: 100%;
    }

    .estimate-cost .box .number-container {
        width: 100%;
    }

    .estimate-cost .estimated-round p:last-child{
        transform:none;
    }

    .estimate-cost .estimated-round p {
         float: right; 
    }


    #signature-pad {
        min-height: 315px !important;
    }

    #add-signature .modal-body {
        min-height: 315px !important;
    }

    .signature-pad--body{
        border:none !important;
    }

    .signature-pad{
        padding:0 !important;
    }

    #add-signature {
        margin-top: 70px;
    }

    #add-signature .modal-body{
        padding:0 !important;
    }

    .signature-pad-container .close-signature {
        font-size: 60px !important;
        margin-right: 11px !important;
    }

    /*#add-signature .modal-dialog{
        margin:0 !important;
    }*/
    .signature-pad-container .close-signature {
        margin-right: 10px;
    }

    .signature-pad-container .save-signature{
        margin-right:20px;
    }

    .navbar-default .navbar-collapse {
        background: rgb(0, 146, 167);
        border: none;
        max-height: none;
    }

    .navbar-header {
        height: 75px;
    }

    .navbar-toggle {
        margin: 20px;
        color: white;
        border: none;
        background-color: unset !important;
    }

    .navbar-default .navbar-toggle .icon-bar {
        background-color: white;
    }

    .navbar .container-fluid .navbar-collapse .menu {
        margin: 0;
    }

    .navbar-nav.navbar-right {
        display: none;
    }

    .nav.navbar-nav li:hover > .dropdown-menu {
        position: relative;
        float: none;
        background: none;
        border: none;
        box-shadow: none;
    }

        .nav.navbar-nav li:hover > .dropdown-menu > li > a {
            color: white;
            padding: 3px 20px;
            width: 100%;
        }

            .nav.navbar-nav li:hover > .dropdown-menu > li > a:hover {
                color: black;
            }

    div.calendar-filters {
        margin-top: 20px;
    }

    .calendar-toolbar {
        width: 100%;
        padding-bottom: 10px;
    }

        .calendar-toolbar .date {
            font-size: 18px;
        }

    div.calendar-toolbar .arrow {
        width: 34px;
        height: 34px;
    }

    div.calendar-filters .tools-right {
        float: left;
    }

        div.calendar-filters .tools-right > *:not(#toolbar):not(#estimate-select), .valsecchi-input-container {
            margin-left: 0px !important;
            margin-bottom: 5px;
            padding: 8px 10px;
            height: 38px;
        }

    .calendar-filters .tools-right > .search {
        padding: 8px 8px 8px 32px !important;
    }

    div.calendar-filters .btn {
        margin-bottom: 4px;
        font-size: 14px;
        padding: 8px 10px;
    }

    .search > input[type=text] {
        width: 126px;
    }

    .fixed-table-container {
        border: none;
        border-top: 1px solid #dddddd;
    }

    div.fixed-table-body {
        width: 100%;
        overflow: auto;
        padding-bottom: 40px;
    }

    .fixed-table-body > table {
        border-left: 1px solid #dddddd;
        border-right: 1px solid #dddddd;
    }

        .fixed-table-body > table .bs-checkbox {
            position: relative;
        }

        .fixed-table-body > table .color-container {
            width: 45px !important;
        }

    .fixed-table-body .actionButton .open {
        position: relative;
    }

    div.calendar-container .calendar-table .calendar-cell.user {
        padding: 12px 6px;
    }

    div.calendar-container .calendar-table.body .calendar-cell.user .name {
        font-size: 9px;
        float: left;
        white-space:nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        width: 100%;
    }

    .dropdown-commission{
        width:100%;
    }

    .fixed-table-pagination .pagination a {
        padding: 6px 11px !important;
    }

    .fixed-table-pagination .pagination, .fixed-table-pagination .pagination-detail {
        width: 100%;
    }

    .fixed-table-pagination .pull-right{
        width:100%;
    }

    .fixed-table-toolbar .columns [name='toggle']{
        display:none;
    }


    .fixed-table-toolbar .columns .export {
        display: none !important;
    }

    .w-100-xs{
        width:100%;
    }

    .valsecchi-input-container {
        display: block !important;
        /*float: none !important;*/
        margin-bottom: 12px;
        margin-top: 12px;
    }

    #toolbar .valsecchi-input-container select {
        max-width: 42%;
    }

    .calendar-filters.task-list{

    }

    .calendar-filters .tools-left {
        float: unset !important;
    }
}

@media (min-width: 768px) {
    .navbar .container-fluid .navbar-collapse {
        height: 75px !important;
    }
}




@media (min-width: 768px) and (max-width: 890px) {
    .navbar .navbar-brand img {
        height: 46px;
        margin-top: 14px;
    }

    .navbar ul.nav > li > a {
        padding: 9px 3px ;
        font-size: 9px;
    }

    .navbar ul.nav > li > a > .caret {
        border-right: 2px solid transparent;
        border-left: 2px solid transparent;
    }

    .navbar-brand {
        padding: 15px 5px;
    }

    .navbar-nav.navbar-right .logo {
        width: 30px;
        height: 30px;
        font-size: 15px;
        top: 4px;
        right: -7px;
        padding: 10px 0;
    }

    .navbar-nav.navbar-right .hello {
        padding: 0px 0 0 5px !important;
    }
}

@media screen and (min-width:768px) and (max-width:890px) {
    .navbar ul.nav > li > a {
        padding: 9px 3px;
        font-size: 8px;
    }
    .navbar ul.nav {
        padding: 7px 0px;
    }
    .navbar .container-fluid .navbar-collapse {
        height: 60px !important;
    }

    .navbar .navbar-brand img {
        margin-top: 7px;
    }

    .navbar {
        height: 60px;
    }

    body {
        padding-top: 62px;
    }

    .notification:after {
        content: attr(data-notifications);
        position: absolute;
        top: 9px;
        right: -4px;
        width: 14px;
        height: 14px;
        font-size: 8px;
        font-weight: 900;
        color: white;
        background: #FF5700;
        text-align: left;
        border-radius: 6px;
        padding: 1px;
    }
}

@media screen and (min-width:891px) and (max-width:1199px){
    .navbar {
        height: 60px;
    }

        .navbar .container-fluid {
            height: 59px;
        }

        .navbar .navbar-brand img {
            height: 52px;
        }

        .navbar .container-fluid .navbar-collapse {
            height: 59px !important;
        }


        body {
            padding-top: 60px;
        }

        .navbar ul.nav {
            padding: 6px 2px;
        }

    .navbar-nav.menu li a {
        padding: 10px 4px;
        font-size: 10px !important;
    }

    .navbar-nav.navbar-right .hello {
        padding: 0 0 0 20px;
        height: 50px;
    }

    .navbar-nav.navbar-right .logo {
        width: 30px;
        height: 30px;
        color: #0092A7;
        background: white;
        font-size: 15px;
        font-weight: 900;
        text-align: center;
        vertical-align: middle;
        display: table-cell;
        top: 4px;
        position: relative;
        float: right;
        padding: 10px 0;
    }

    .notification:after {
        content: attr(data-notifications);
        position: absolute;
        top: 5px;
        right: -2px;
        width: 13px;
        height: 13px;
        font-size: 8px;
        font-weight: 900;
        color: white;
        background: #FF5700;
        text-align: left;
        border-radius: 6px;
        padding: 1px;
    }

    .navbar-brand {
        padding: 15px 4px;
    }

}

@media screen and (min-width:1200px) and (max-width:1299px) {
    .navbar-nav > li > a {
        position: relative;
        display: block;
        padding: 10px 5px;
    }

    .navbar ul.nav > li > a {
        font-size: 14px;
        text-transform: uppercase;
        color: white;
        font-weight: 600;
    }

    .navbar-brand {
        float: left;
        height: 50px;
        padding: 15px 5px;
        font-size: 18px;
        line-height: 20px;
    }

    .notification:after {
        content: attr(data-notifications);
        position: absolute;
        top: -2px;
        right: -4px;
        width: 17px;
        height: 17px;
        font-size: 12px;
        font-weight: 900;
        color: white;
        background: #FF5700;
        text-align: center;
        border-radius: 5px;
    }
}

@media screen and (max-width:1023px){
    .calendar-filters .calendar-toolbar.task-list{
        float:unset;
    }
}

@media (max-width: 1500px) {
    .navbar-nav.navbar-right .hello {
        padding: 0 0 0 20px;
        height: 50px;
    }

        .navbar-nav.navbar-right .hello .dropdown-menu {
            margin-right: 0px;
            margin-top: 0px;
        }

        .navbar-nav.navbar-right .hello .dropdown-toggle {
            display: none;
        }
}

@media screen and (min-width:1300px){
    .navbar ul.nav > li > a {
        font-size: 15px;
    }
}



@media (max-width:1025px) {

    div.calendar-container .calendar-table.body .calendar-cell.user .name {
        font-size: 11px !important;
        width: 100% !important;
    }

    .calendar-container .calendar-table.body .calendar-cell .calendar-cell-child, .calendar-container .calendar-table.body .calendar-cell .calendar-cell-child-not-drag{
        height:25px !important;
    }

}