.modal {
    position: fixed;
    top: 40px;
    width: 76%;
    display: block;
    z-index: 1050;
    margin: auto;
    background: white;
    min-height: 30%;
    max-height: 75%;
    left: 7%;
    right: 7%;
    overflow: auto;
}

.overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgb(0, 0, 0);
    background: transparent;
    background: rgba(0, 0, 0, 0.4);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000, endColorstr=#66000000);
    zoom: 1;
    z-index: 1001;
}

.greyout {
    background: rgb(0, 0, 0);
    background: transparent;
    background: rgba(0, 0, 0, 0.4);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000, endColorstr=#66000000);
    z-index: 100001;
}

.flush--top {
    margin-top: 0;
    overflow: scroll;
}

.paginator {
    width: 912px;
    margin: 10px auto 10px auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.pageInfo {
    border: #b3b3b3 solid 1px;
    width: 90px;
    padding: 3px;
    text-align: center;
    margin: auto;
}

.nextPage {
    text-align: right;
    width: 25%;
    float: left;
    color: #808080;
    background: url("https://cdn.codechef.com/sites/all/themes/abessive/images/pagination-right.png") no-repeat;

}

.previousPage {
    text-align: left;
    width: 25%;
    float: left;
    color: #808080;
    background: url("https://cdn.codechef.com/sites/all/themes/abessive/images/pagination-left.png") no-repeat;
}

.red {
    color: red;
}

.table {
    width: 100%;
    margin: 0 auto 10px auto;
    overflow: auto;
}

body {
    width: 100%;
    font-size: 13px;
    color: #666;
    font-family: Arial, Helvetica, sans-serif;
}

.full-width {
    width: 100% !important;
}

.table-component {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.table {
    /*border-left: #cececf solid 1px;*/
    border-bottom: #cececf solid 1px;
    height: auto;
    margin: 0 auto 30px;
}

.dataTable {
    width: 100%;
    margin: auto;
    border-collapse: collapse;
}

.dataTable>thead>tr>th {
    background: #5c666f;
    text-align: left;
    font-size: 13px;
    color: #fff;
    font-weight: normal;
    padding: 3px 10px 0;
    height: 35px;
    width: auto;
    white-space: nowrap;
    vertical-align: middle;
}

.dataTable>tbody>tr>td {
    border-top: #ececec solid 1px;
    text-align: center;
    font-size: 13px;
    color: #666;
    padding: 3px 8px 0;
    height: 35px;
    width: auto;
}

.dataTable>tbody>tr:hover {
    background: #dedede;
}

.dataTable>thead>tr>th>a {
    color: #FFF;
    text-decoration: none;
}

.dataTables_wrapper .chosen-container .chosen-single {
    border-radius: 0;
    background: #fff;
    border-color: #cecece;
    height: 30px;
    box-shadow: none;
    line-height: 24px;
}

.dataTables_wrapper .chosen-container .chosen-single:hover {
    text-decoration: none;
}

.dataTables_wrapper .chosen-container .chosen-drop .chosen-results li {
    font-size: 13px;
    margin-left: 0;
    padding-bottom: 4px;
    list-style: none;
}

table.dataTable.no-footer {
    border-bottom: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate .ellipsis {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.5em 1em;
    margin-left: 0;
    text-align: center;
    cursor: pointer;
    border-radius: 0;
    border: 1px solid #ccc !important;
    border-right: none!important;
}

.dataTables_wrapper .dataTables_paginate .ellipsis{
    padding: 0.5em;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next{
    border-right: 1px solid #ccc !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{
    background: none;
    color: #ccc!important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover{
    background: #e4effa;
    color: #3b5998!important;
    text-decoration: none!important;
}

.topBox {
    margin: 0 auto 10px;
    padding: 9px;
    border: #cececf solid 1px;
    background: #fff;
}

.topBox-item {
    width: auto;
    margin: 0 7px 0 0;
    display: inline-block;
    vertical-align: middle;
}

.searchBox-input {
    border: none;
    font-weight: normal;
    font-size: 13px !important;
    color: #666 !important;
    background: none;
    height: 25px;
    padding: 5px 5px 0 10px;
    outline: none;
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
}

.selectBox {
    border: #cececf solid 1px;
    background: #fafafa;
}

.select {
    border: none;
    font-weight: normal;
    font-size: 13px;
    color: #666;
    font-family: Arial, Helvetica, sans-serif;
    height: 35px;
    padding: 0 10px;
    background: none;
    width: 100%;
    outline: none;
}

.select:focus {
    box-shadow: 0 0 5px rgba(0, 143, 255, 1);
    -webkit-box-shadow: 0 0 5px rgba(0, 143, 255, 1);
    -moz-box-shadow: 0 0 5px rgba(0, 143, 255, 1)
}

.addButton-icon {
    float: right;
    width: 20px;
    height: 26px;
    margin: 7px 7px 0;
    background: url(../../../images/add-generic-icon.png) no-repeat;
}

.tag-container {
    margin: 0 auto 8px;
    overflow: auto;
    -webkit-animation: fadeOut 500ms;
    -moz-animation: fadeOut 500ms;
    animation: fadeOut 500ms;
}

.tag-box {
    float: left;
    height: 26px;
    margin: 0 10px 6px 0;
    padding: 0;
    font-size: 12px;
    color: #999;
}

.tag-text {
    height: 24px;
    float: left;
    padding: 2px 5px 0;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag-remove-icon {
    width: 24px;
    height: 24px;
    float: left;
    padding: 1px 0 0;
    background: url(../../../images/delete-small.png) no-repeat;
}


.both {
    background: url('https://cdn.codechef.com/em/images/sort_both.png') no-repeat;
}

.active-asc {
    background: url('https://cdn.codechef.com/em/images/sort_asc.png');
}

.active-desc {
    background: url('https://cdn.codechef.com/em/images/sort_desc.png');
}

.table-component {
    overflow: auto;
}

.dataTable>tbody>tr>td {
    height: auto;
    word-break: break-all;
    padding: 7px 0 7px 10px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    text-align: left;
}

.dataTable>tbody>tr:hover {
    background: #efefef;
}

.dataTable>thead>tr {
    background: #fafafa;
    border: solid #333 1px;
    cursor: pointer;
    text-decoration: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.dataTable>thead>tr>a {
    text-decoration: none;
}

.dataTable>tbody>tr {
    background: #fafafa;
    border-left: solid #cececf 1px;
    border-right: solid #cececf 1px;
    border-bottom: solid #cececf 1px;
}

.sortIcon {
    padding: 7px 7px 7px 7px;
    font-weight: normal;
    color: #BEBBBB;
    text-align: left;
    display: inline-block;
    background-size: 13px 13px;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: top;
    vertical-align: middle;
}

.table-component .table {
    margin: 0;
    border-bottom: #1c1c1c solid 3px;
}

.inputBox {
    background: #fafafa;
}

.searchBox-input {
    border: none;
    font-weight: normal;
    font-size: 13px !important;
    color: #666 !important;
    background: none;
    height: 25px;
    padding: 5px 5px 0 10px;
    outline: none;
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
}

.inputBox>div>input {
    border: none;
    font-weight: normal;
    font-size: 13px !important;
    color: #666 !important;
    background: none;
    height: 100%;
    padding: 0px 5px 0 10px;
    outline: none;
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    border: #cececf solid 1px;
}

.inputBox>div>input:focus {
    box-shadow: 0 0 5px rgba(0, 143, 255, 1);
    -webkit-box-shadow: 0 0 5px rgba(0, 143, 255, 1);
    -moz-box-shadow: 0 0 5px rgba(0, 143, 255, 1);
    border: 1px solid rgba(63, 171, 255, 0.77);
}

.search>div>input {
    background: url('https://cdn.codechef.com/em/images/search-generic-icon.png') no-repeat;
    width: 160px;
    background-position: right 5px center;
    height: 35px;
    padding-right: 30px;
}

.search>div>input:focus {
    -webkit-box-shadow: 0 0 5px rgba(0, 143, 255, 1);
    -moz-box-shadow: 0 0 5px rgba(0, 143, 255, 1);
    border: 1px solid rgba(63, 171, 255, 0.77);
}

.ns-button {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 1px 15px;
    font-size: 12px;
    font-weight: bold;
    height: 37px;
    width: 100px;
    color: #eee;
    background-color: #333;
    outline: none;
}

.ns-button:hover {
    background: #666;
}

.ns-button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 143, 255, 1);
    -webkit-box-shadow: 0 0 5px rgba(0, 143, 255, 1);
    -moz-box-shadow: 0 0 5px rgba(0, 143, 255, 1);
    border: 1px solid rgba(63, 171, 255, 0.77);
}

.paginationbox {
    width: 410px;
    height: 25px;
    margin: 20px auto;
    text-align: center;
}

.paginationbox ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.paginationbox ul li a {
    min-width: 25px;
    height: 23px;
    line-height: 23px;
    float: left;
    padding: 2px;
    text-decoration: none !important;
}

.paginationbox li {
    float: left;
    padding: 0px;
    list-style: none !important;
    border: solid #cececf 1px;
    margin-left: 5px !important;
    line-height: 1.5 !important;
}

.paginationbox ul:first-child {
    margin: 0;
}

.paginationbox li a {
    background: #fafafa;
    color: #999;
    display: block;
    font-weight: normal;
    margin: 0px;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    padding: 2px 0 0;
}

.paginationbox li a:hover {
    background: #eee;
    text-decoration: none;
}


.paginationbox li.jump a {
    background: #333;
    color: #eee;
}

.dataTable .active {
    color: #555555;
    text-decoration: none;
    background-color: #e5e5e5;
    -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
    -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
}

li a.active {
    color: #000000;
}

.paginationbox li a.disabled:hover {
    opacity: 0.5;
    filter: alpha(opacity=50);
    background: #fafafa;
}

.paginationbox li a.disabled {
    opacity: 0.5;
    filter: alpha(opacity=50);
}


/*scrollnav*/

/*.table-component>.nav{*/
/*position: absolute;*/
/*top:260px;*/
/*}*/

.nav-img {
    height: 60px;
}

.table-heading {
    font: 300 28px 'Open Sans', sans-serif;
    color: #666;
    text-transform: capitalize;
    padding: 20px 0 0;
    overflow: hidden;
    float: left;
}

.table-heading-box {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    margin: 20px 70px;
    padding-bottom: 10px;
    position: relative;
}

.table-heading-box::before,
.table-heading-box::after {
    content: '';
    position: absolute;
    height: 1px;
    background: #e8e8e8;
    width: 80px;
    bottom: -1px;
}

.table-heading-box::before {
    left: -70px;
}

.table-heading-box::after {
    right: -70px;
}

.primary-col-wrapper .table-heading-box {
    margin: 0 3px 20px 3px;
    height: 40px;
}

.primary-col-wrapper .table-heading {
    padding-top: 0;
}