body {
    background: #2E363F;
}

#header {
    background-color: #1f262d;
    margin-top: 10px;
}

#search input[type=text], #search button {
    background-color: #28b779;
}

    #search input[type=text]:focus {
        color: #777777;
    }

#sidebar > ul {
    border-bottom: 1px solid #37414b
}

    #sidebar > ul > li {
        border-top: 1px solid #37414b;
        border-bottom: 1px solid #1f262d;
    }

        #sidebar > ul > li.active {
            background-color: #27a9e3;
            border-bottom: 1px solid #27a9e3;
            border-top: 1px solid #27a9e3;
        }

            #sidebar > ul > li.active a {
                color: #fff;
                text-decoration: none;
            }

        #sidebar > ul > li > a > .label {
            background-color: #F66;
        }

        #sidebar > ul > li > a:hover {
            background-color: #27a9e3;
            color: #fff;
        }

    #sidebar > ul li ul {
        background-color: #1e242b;
    }

        #sidebar > ul li ul li a {
            color: #939da8
        }

            #sidebar > ul li ul li a:hover, #sidebar > ul li ul li.active a {
                color: #fff;
                background-color: #28b779;
            }


#search input[type=text] {
    background-color: #47515b;
    color: #fff;
}

    #search input[type=text]:focus {
        color: #2e363f;
        color: #fff;
        box-shadow: none;
    }

.dropdown-menu li a:hover, .dropdown-menu .active a, .dropdown-menu .active a:hover {
    color: #eeeeee;
    background: #666;
}

.top_message {
    float: right;
    padding: 20px 12px;
    position: relative;
    top: -13px;
    border-left: 1px solid #3D3A37;
    font-size: 14px;
    line-height: 20px;
    *line-height: 20px;
    color: #333;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

    .top_message:hover {
        background: #000
    }

.rightzero {
    right: 0px;
    display: none;
}

#Inquiry-Button {
    margin-top: 25px;
    border: none;
    background-color: #efefef;
    padding: 10px 0;
}

#divAccountSearch {
    margin: 35px 0 0 20px;
}

#divApprove > .AddButton-S1 {
    margin-left: 20px;
}

td > .RejectButton-S1 {
    margin-left: 15px;
}

.txSerial {
    margin: 10px 15px 0 15px;
}

.CompanySearch {
    float: left;
    margin: 0 20px 0 0;
    padding: 0;
}

.CompanySearch1 {
    float: left;
    margin: 0 20px 0 0;
    padding: 0;
}

.CompanyName {
    width: 200px;
    margin: 0;
}

.MessageDiv {
    width: 50%;
    margin: 20px auto;
    font-size: 16px;
    color: #2A4B7C;
    line-height: 1.8em;
}

@media (max-width: 768px) {
    .MessageDiv {
        width: 90%;
        margin: 20px auto;
        font-size: 16px;
        color: #2A4B7C;
        line-height: 1.8em;
    }

    .CompanySearch {
        float: none;
        margin: 0 20px 20px 0;
        padding: 0;
    }

    .CompanySearch1 {
        float: none;
        margin: 0;
        padding: 0;
    }

    .CompanyName {
        width: 90px;
        margin: 0;
    }

    #SiteTitle {
        display: none;
    }
}

@media (max-width: 980px) {
    .MessageDiv {
        width: 90%;
        margin: 20px auto;
        font-size: 16px;
        color: #2A4B7C;
        line-height: 1.8em;
    }

    .CompanySearch {
        float: none;
        margin: 0 20px 20px 0;
        padding: 0;
    }

    .CompanySearch1 {
        float: none;
        margin: 0;
        padding: 0;
    }

    .CompanyName {
        width: 90px;
        margin: 0;
    }

    #Inquiry-Button {
        margin-top: -10px;
    }
}




@media (max-width: 480px) {
    .MessageDiv {
        width: 90%;
        margin: 20px auto;
        font-size: 16px;
        color: #2A4B7C;
        line-height: 1.8em;
    }

    .CompanySearch {
        float: none;
        margin: 0 20px 20px 0;
        padding: 0;
    }

    .CompanySearch1 {
        float: none;
        margin: 0;
        padding: 0;
    }

    .CompanyName {
        width: 90px;
        margin: 0;
    }

    .txSerial {
        margin: 10px 0 15px 0;
    }


    td > .RejectButton-S1 {
        margin: 15px 0 0 0 !important;
    }

    #divAccountSearch {
        margin: 10px 0 0 0 !important;
    }

    #divPager {
        float: none !important;
    }

    #ShowCount {
        float: none !important;
        padding: 0 !important;
        text-align: left !important;
        margin-top: 0px !important;
    }

    #language {
        position: absolute;
        width: 250px;
        height: 50px;
        /*background: url("../img/globe_bk_80.png") no-repeat scroll 0 0 transparent;*/
        /*background-size: cover;*/
        z-index: 25;
        top: 50px;
        right: 15px;
        /*border:1px solid #000;*/
    }

    #divLocaleImg {
        display:none;
    }

    #divLocaleTxt {
        display: none;
    }

    #SiteInfo {
        position: absolute;
        margin-left: 20px;
        height: 50px;
        background: none !important;
        padding: 0;
        z-index: 25;
        top: 40px;
        left: 0px !important;
        /*border: 1px solid #fff;*/
    }

    #divUser {
        display: none;
    }

    #divLogout {
        display: none;
    }

    #SiteTitle {
        margin: 0px !important;
        /*margin-right: 50px !important;*/
        font-size: x-large !important;
        background: #fff !important;
        color: #6c757d !important;
        text-align: center;
    }



    .quick-actions_homepage .quick-actions li {
        min-width: 100%;
    }

    #header {       
        clear: both;
    }

    #user-nav {
        /*position: relative !important;
        margin: 0px auto;
        top: 0px;
        border: none;
        text-align: center;
        float: none;*/
        display: none;
    }

        #user-nav > ul > li:last-child {
            list-style-type: none;
            border: none
        }

        #user-nav > ul > li {
            list-style-type: none;
            border: none
        }

            #user-nav > ul > li > a > span.text {
                display: block;
            }

    #sidebar {
        top: -0px;
        clear: both;
    }

        #sidebar > #hlphone {
            background-color: #009B77;
            background-image: url('../img/menu1.png');
            background-repeat: no-repeat;
            background-position: 5px 50%;
            text-align:left;
            padding-left:45px;
            /* background: url('../img/menu.png') no-repeat scroll left center transparent !important;*/
        }

    #content {
        margin-top: -0px;
    }
}

@media (min-width: 768px) and (max-width: 970px) {
    .quick-actions_homepage .quick-actions li {
        min-width: 20.5%;
    }

    #language {
        position: absolute;
        width: 250px;
        height: 50px;
        /*background: url("../img/globe_bk_80.png") no-repeat scroll 0 0 transparent;*/
        /*background-size: cover;*/
        z-index: 25;
        top: 40px;
        right: 20px;
        /*border:1px solid #000;*/
    }

    #divLocaleTxt {
        display: none;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .MessageDiv {
        width: 90%;
        margin: 20px auto;
        font-size: 16px;
        color: #2A4B7C;
        line-height: 1.8em;
    }

    .CompanySearch {
        float: none;
        margin: 0 20px 20px 0;
        padding: 0;
    }

    .CompanySearch1 {
        float: none;
        margin: 0;
        padding: 0;
    }

    .CompanyName {
        width: 90px;
        margin: 0;
    }

    .txSerial {
        margin: 10px 0 15px 0;
    }


    td > .RejectButton-S1 {
        margin: 15px 0 0 0 !important;
    }

    #divAccountSearch {
        margin: 10px 0 0 0 !important;
    }

    #divPager {
        float: none !important;
    }

    #ShowCount {
        float: none !important;
        padding: 0 !important;
        text-align: left !important;
        margin-top: 0px !important;
    }

    #language {
        position: absolute;
        width: 250px;
        height: 50px;
        /*background: url("../img/globe_bk_80.png") no-repeat scroll 0 0 transparent;*/
        /*background-size: cover;*/
        z-index: 25;
        top: 50px;
        right: 20px;
        /*border:1px solid #000;*/
    }

    #divLocaleTxt {
        display: none;
    }

    #SiteInfo {
        position: absolute;
        margin-left: 20px;
        height: 50px;
        background: none !important;
        padding: 0;
        z-index: 25;
        top: 40px;
        left: 0px !important;
        /*border: 1px solid #fff;*/
    }

    #divUser {
        display: none;
    }

    #divLogout {
        display: none;
    }

    #SiteTitle {
        margin: 0px !important;
        /*margin-right: 50px !important;*/
        font-size: x-large !important;
        background: #fff !important;
        color: #6c757d !important;
        text-align: center;
    }

    .quick-actions_homepage .quick-actions li {
        min-width: 100%;
    }

    #header {
        clear: both;
    }

    #user-nav {
        /*position: relative !important;
        margin: 0px auto;
        top: 0px;
        border: none;
        text-align: center;
        float: none;*/
        display: none;
    }

        #user-nav > ul > li:last-child {
            list-style-type: none;
            border: none
        }

        #user-nav > ul > li {
            list-style-type: none;
            border: none
        }

            #user-nav > ul > li > a > span.text {
                display: block;
            }

    #sidebar {
        top: -0px;
        clear: both;
    }

        #sidebar > #hlphone {
            background-color: #009B77;
            background-image: url('../img/menu1.png');
            background-repeat: no-repeat;
            background-position: 5px 50%;
            text-align: left;
            padding-left: 45px;
            /* background: url('../img/menu.png') no-repeat scroll left center transparent !important;*/
        }

    #content {
        margin-top: -0px;
    }



    #sidebar > ul ul:before {
    }

    #sidebar > ul ul:after {
        border-right: 6px solid #222222;
    }

    .quick-actions_homepage .quick-actions li {
        min-width: 47%;
    }

    #user-nav > ul > li > a > span.text {
        display: inline-block
    }

    #language {
        position: absolute;
        width: 250px;
        height: 50px;
        /*background: url("../img/globe_bk_80.png") no-repeat scroll 0 0 transparent;*/
        /*background-size: cover;*/
        z-index: 25;
        top: 40px;
        right: 20px;
        /*border:1px solid #000;*/
    }

    #divLocaleTxt {
        display: none;
    }
}

div.tagsinput {
    border: 1px solid #CCC;
    background: #FFF;
    padding: 5px;
    width: 300px;
    height: 100px;
    overflow-y: auto;
}

    div.tagsinput span.tag {
        border: 1px solid #a5d24a;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        display: block;
        float: left;
        padding: 5px;
        text-decoration: none;
        background: #cde69c;
        color: #638421;
        margin-right: 5px;
        margin-bottom: 5px;
        font-family: helvetica;
        font-size: 13px;
    }

        div.tagsinput span.tag a {
            font-weight: bold;
            color: #82ad2b;
            text-decoration: none;
            font-size: 11px;
        }

    div.tagsinput input {
        width: 80px;
        margin: 0px;
        font-family: helvetica;
        font-size: 13px;
        border: 1px solid transparent;
        padding: 5px;
        background: transparent;
        color: #000;
        outline: 0px;
        margin-right: 5px;
        margin-bottom: 5px;
    }

    div.tagsinput div {
        display: block;
        float: left;
    }

.tags_clear {
    clear: both;
    width: 100%;
    height: 0px;
}

.not_valid {
    background: #FBD8DB !important;
    color: #90111A !important;
}
