/*
 * Global styles
 */
.btn-jdpa {
    font-size: 10px;
    padding: 1px 4px;
    margin-top: 5px;
}
#api-search-list a {
    color:#333;
}
.c_line_break {
    word-wrap: break-word;
    word-break: break-all;
}

/* 
 *
 * Style for custom fields on pages in admin
 *
*/

#jdpower_metabox .col-field{
    margin-bottom:20px;
}
#jdpower_metabox #api_versions{
    height:200px;
}
#jdpower_metabox .col-field label{
    margin:0px 20px 10px 0px;
    font-weight: 600;
}
#tyk-dashboard table {
    font-size: 12px;
}

/* 
 *
 * Style log browser page
 *
*/
#filter-logs-form button{
    margin-top:22px;
}
.accordion-logs span{
    font-weight: 600;
}
.accordion-logs .r-type {
    padding: 9px;
    margin-right: 10px;
    border-top-left-radius:15px;
    border-bottom-left-radius: 15px;
}
.accordion-logs .a-span {
    width: 39%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.accordion-logs .as-span {
    width: 16%;
}
.accordion-logs .ah-span {
    width: 16%;
}
.accordion-logs .ac-span {
    width: 29%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.accordion-logs button {
    border-radius: 15px !important;
    padding: 0px 20px 0px 0px;
    margin-bottom: 5px;
    color: #ffffff !important;
    font-size: 12px;
}
.accordion-logs .log-type-green {
    background-color: #008000;
}
.accordion-logs .log-type-green .r-type{
    background-color: #006400;
}
.accordion-logs .log-type-yellow {
    background-color: #CCCC00;
}
.accordion-logs .log-type-yellow .r-type{
    background-color: #b0b03f;
}
.accordion-logs .log-type-red {
    background-color: #FF0000;
}
.accordion-logs .log-type-red .r-type{
    background-color: #CC0000;
}
.accordion-logs .accordion-body th, .accordion-logs .accordion-body td, .accordion-logs .accordion-body textarea {
    padding: 5px 0px 5px 10px;
    font-size: 12px;
}
.accordion-logs .accordion-body td {
    width: 74%;
}
.eye_text {
    margin-left: -18px;
}
.copy_text, .eye_text {
    padding: 1px 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}
.copy_text:hover, .eye_text:hover {
    background: #ccc;
}
.copy_message {
    display: none;
    position: fixed;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
}
.cus-position {
    position: absolute;
}
.cus-textarea {
    width: 220px;
    height: auto;
    border: none;
    padding: 0;
    resize: none;
    background-color: transparent;
    outline: none;
    line-height: 1.5;
    overflow-y: hidden;
    white-space: pre-wrap;
    word-break: break-all;
    margin-left: 25px;
    margin-right: 20px;
}

/* 
 *
 * Style for test client page
 *
*/

.test_client_nav{
    width: 200px;
    background-color: #f4f4f4;
    float: left;
    padding: 20px;
    height: 100vh;
    overflow-y: auto;
    margin-right: 20px;
}
.test_client_nav a{
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ccc;
}
.test_client_main{
    margin-left: 235px;
    padding: 10px;
    min-height: 100vh;
}
.test_client_nav .dropdown-ul{
    display: none;
}
.test_client_nav .open-drop-down::after{
    content: '\25BC';
    position: absolute;
    right: 10px;
}
.swagger-ui section{
    padding: 0px !important;
}
.swagger-ui .auth-wrapper {
	display:none !important;
}

/*
 * API access page style
 */
.api_access_page {
    font-size: 10px;
}
.active_item {
    color: #012970 !important;
    font-weight: 600;
}
.active_item::after {
    content: '\25B7';
    position: absolute;
    color: #000;
    font-size: 16px;
    margin-left: 15px;
}
.api_access_page tbody td {
    padding:5px 4px;
}
.api_access_page tbody tr td:last-child {
    white-space: nowrap;
}
#api-search-list td, #api-search-list th {
    line-height: 37px;
    padding: 2px 20px;
}
.bg-deny td {
    background: #e08686;
}


/* 
 * Custom space classes
 *
 */
.jdp_mb {
    margin-bottom:20px !important;
}

.eval_page {
    font-size: 15px;
}
.c_select {
    background-position: right 0.1rem center !important;
    padding-left: 4px;
    padding-right: 2px;
}