﻿.ui-icon {
    display: block;
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
}

.logo img {
    width: 100%;
    max-height: 100%;
    height: auto;
}

.table-rows-dropdown-menu {
    padding: 5px !important;
    margin: 0 0 0 30px !important;
    top: 0 !important;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2) !important;
}

    .table-rows-dropdown-menu li {
        float: left;
        padding: 0 !important;
        margin: 0 5px 0 0 !important;
    }

.right-margin {
    margin-right: 20px;
}

body, html {
    height: 100%;
    background-image: url(../Images/crossword.png);
}

nav.sidebar, .main {
    -webkit-transition: margin 200ms ease-out;
    -moz-transition: margin 200ms ease-out;
    -o-transition: margin 200ms ease-out;
    transition: margin 200ms ease-out;
}

.header-tables-box .header-tables {
    margin: 0;
    padding: 0;
}

.header-tables tr {
    margin: 0;
    padding: 0;
}

    .header-tables tr td {
        margin: 0;
        padding: 0;
    }

.main {
    padding: 10px 10px 0 10px;
}

@media (min-width: 765px) {

    .main {
        position: absolute;
        width: calc(100% - 40px);
        margin-left: 40px;
        float: right;
    }

    nav.sidebar:hover + .main {
        margin-left: 200px;
    }

    nav.sidebar.navbar.sidebar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
        margin-left: 0px;
    }

    nav.sidebar .navbar-brand, nav.sidebar .navbar-header {
        text-align: center;
        width: 100%;
        margin-left: 0px;
    }

    nav.sidebar li > ul {
        background-color: #fff;
        border-bottom: 1px solid #000;
    }

    /*nav.sidebar li ul li {
        background-color: #e7e7e7b0;
    }*/

    nav.sidebar li ul {
        height: 100%;
        width: 100%;
    }

        nav.sidebar li ul li a {
            height: 100%;
            width: 100%;
            padding: 10px 0 10px 35px;
        }

            nav.sidebar li ul li a:hover {
                text-decoration: underline;
                background-color: #f7f7f7 !important;
            }

            nav.sidebar li ul li a:active {
                text-decoration: underline;
            }

    nav.sidebar a {
        padding-right: 13px;
    }

    nav.sidebar .navbar-nav > li:first-child {
        border-top: 1px #e5e5e5 solid;
    }

    nav.sidebar .navbar-nav > li {
        border-bottom: 1px #e5e5e5 solid;
    }

    nav.sidebar .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: #e7e7e7;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    nav.sidebar .navbar-collapse, nav.sidebar .container-fluid {
        padding: 0 0px 0 0px;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #777;
    }

    nav.sidebar {
        width: 200px;
        height: 100%;
        margin-left: -160px;
        float: left;
        margin-bottom: 0px;
    }

        nav.sidebar li {
            width: 100%;
        }

        nav.sidebar:hover {
            margin-left: 0px;
        }

    .forAnimate {
        opacity: 0;
    }
}

@media (min-width: 0px) {

    .main {
        width: calc(100% - 200px);
        margin-left: 200px;
    }

    nav.sidebar {
        margin-left: 0px;
        float: left;
    }

        nav.sidebar .forAnimate {
            opacity: 1;
        }
}

nav.sidebar .navbar-nav .open .dropdown-menu > li > a:hover, nav.sidebar .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #000;
    background-color: transparent;
}

nav:hover .forAnimate {
    opacity: 1;
}

section {
    padding-left: 15px;
}


.lessPadding, .lessPadding td {
    padding: 5px !important;
    margin: 0px !important;
}

.table1, .table1 td {
    padding: 10px;
}

.table2, .table2 td {
    padding-right: 10px;
    padding-bottom: 1px;
}

.legend1 {
    border-style: none;
    border-width: 0;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
}

.fieldset1 {
    border: 2px groove threedface #444;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}

#iframeDetail {
    width: 100%;
    border-width: 0px;
}

.pagination-ys {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination-ys table > tbody > tr > td {
        display: inline;
    }

        .pagination-ys table > tbody > tr > td > a,
        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #337ab7;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            color: #337ab7;
            background-color: #f5f5f5;
            border-color: #dddddd;
            cursor: default;
        }

        .pagination-ys table > tbody > tr > td:first-child > a,
        .pagination-ys table > tbody > tr > td:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td:last-child > a,
        .pagination-ys table > tbody > tr > td:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td > a:hover,
        .pagination-ys table > tbody > tr > td > span:hover,
        .pagination-ys table > tbody > tr > td > a:focus,
        .pagination-ys table > tbody > tr > td > span:focus {
            color: #97310e;
            background-color: #eeeeee;
            border-color: #dddddd;
        }

.login-wrapper {
    width: 100%;
    height: 100%;
    display: table;
    padding: 20px;
}

.login-content {
    background-color: #fff;
    max-width: 400px;
    width: 100%;
    display: block;
    margin: 100px auto 0 auto;
    padding: 30px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

    .login-content .brand {
        display: block;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .login-content .error-message .label {
        display: inline-block;
        margin-top: 15px;
    }


@media screen and (max-height: 800px) {
    .login-content {
        margin: 20px auto 0 auto;
    }
}

/*recaptcha*/
@media screen and (max-height: 575px) {
    #rc-imageselect, .g-recaptcha {
        transform: scale(0.7);
        -webkit-transform: scale(0.7);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}

.box_recaptcha {
    position: relative;
}

/*custom-model*************************************************************/
/* The Modal (background) */
.custom-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 98; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.custom-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    z-index: 99; /* Sit on top */
}

/* The Close Button */
.custom-modal-close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    z-index: 99; /* Sit on top */
}

    .custom-modal-close:hover,
    .custom-modal-close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }
/*custom-model*************************************************************/
