/* ---------------------- 
Stylesheet Guide
-------------------------

ICONS
GENERAL
FORM FIELDS
TAGS INPUT
FORM LAYOUT
NOTICES
TABS
TABLE
BBPRESS
MEDIA QUERIES

*/

/* ================= ICONS ================== */

@font-face {
    font-family: 'tmuserb';
    src: url('font/tmuserb.eot?45369003');
    src: url('font/tmuserb.eot?45369003#iefix') format('embedded-opentype'),
         url('font/tmuserb.woff2?45369003') format('woff2'),
         url('font/tmuserb.woff?45369003') format('woff'),
         url('font/tmuserb.ttf?45369003') format('truetype'),
         url('font/tmuserb.svg?45369003#tmuserb') format('svg');
    font-weight: normal;
    font-style: normal;
  }

[class^="tmuserb-icon-"]:before, [class*=" tmuserb-icon-"]:before {
    font-family: "tmuserb";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tmuserb-icon-delete:before { content: '\e800'; }
.tmuserb-icon-edit:before { content: '\f14b'; }
.tmuserb-icon-long-arrow:before { content: '\f178'; margin-left:5px; }

/* ================= GENERAL ================== */

.wp-switch-editor,
button[id^=mceu],
.media-modal-close{
    box-shadow: none;
    outline: none;
}

.wp-switch-editor:hover,
button[id^=mceu]:hover,
.media-modal-close:hover{
    background: transparent;
    color:inherit;
}

#tmuserb-content,
div[id^=cmb2-metabox-tmuseb-front-end-post-form] {
    font-size:15px;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .g-recaptcha {
    display: flex;
    justify-content: flex-start;
    margin-bottom:20px;
}

#tmuserb_login_form .g-recaptcha {
    display: flex;
    justify-content: flex-start;
    margin-bottom:15px;
}

.cmb2-id-submitted-draft {
    border-bottom:1px solid rgba(0,0,0,0.1);
    padding-bottom:30px;
}

/* ================= FORM FIELDS ================== */

div[id^=cmb2-metabox-tmuseb-front-end-post-form] input[type="email"],
div[id^=cmb2-metabox-tmuseb-front-end-post-form] input[type="number"],
div[id^=cmb2-metabox-tmuseb-front-end-post-form] input[type="text"],
div[id^=cmb2-metabox-tmuseb-front-end-post-form] input[type="url"],
div[id^=cmb2-metabox-tmuseb-front-end-post-form] select,
div[id^=cmb2-metabox-tmuseb-front-end-post-form] textarea,
.dataTables_wrapper .dataTables_filter input,
#tmuserb_login_form input[type="text"],
#tmuserb_login_form input[type="password"] {
    width: 100%;
    transition: all 0.2s ease-in-out;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 10px !important;
    background-color: #fff;
    color:#000;
    font-size: 15px;
    outline:none !important;
    line-height: 1.5;
    height:auto;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] input[type="email"]:focus,
div[id^=cmb2-metabox-tmuseb-front-end-post-form] input[type="number"]:focus,
div[id^=cmb2-metabox-tmuseb-front-end-post-form] input[type="text"]:focus,
div[id^=cmb2-metabox-tmuseb-front-end-post-form] input[type="url"]:focus,
div[id^=cmb2-metabox-tmuseb-front-end-post-form] select:focus,
div[id^=cmb2-metabox-tmuseb-front-end-post-form] textarea:focus,
.dataTables_wrapper .dataTables_filter input:focus,
#tmuserb_login_form input[type="text"]:focus,
#tmuserb_login_form input[type="password"]:focus {
    border: 1px solid #000;
    color:#000;
    background-color: #fff;
}

.tmuserb-login-form-container {
    padding:40px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    background:#fafafa;
}

.tmuserb-tab-content .cmb-form input[type="submit"],
#tmuserb_login_form input[type="submit"] {
    font-weight: bold;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background: #000;
    border: none !important;
    padding: 0.8rem 1.2rem;
    font-size: 15px;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    outline: none !important;
    line-height: 1.2;
}

.tmuserb-tab-content .cmb-form input[type="submit"]:hover,
.tmuserb-tab-content .cmb-form input[type="submit"]:focus,
#tmuserb_login_form input[type="submit"]:hover,
#tmuserb_login_form input[type="submit"]:focus {
    background: #077CB2;
    color: #fff;
    border: none;
}

.tmuserb-tab-content .cmb-form:after,
.login-submit:after {
    content: "";
    display: table;
    clear: both;
}

.cmb2-id-submitted-post-thumbnail .attachment-medium {
    display: block;
    max-width: 200px;
    height:auto;
    width:100%;
    margin-top:20px;
}

#tmuserb-content .tmuserb-edit-form-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 40px;
    color:#000;
    font-size:24px;
    margin-top:0 !important;
}

#tmuserb-content .tmuserb-logout {
    display: flex;
    justify-content: flex-end;
}

#tmuserb-content .tmuserb-tab-2 .tmuserb-logout {
    margin-top:30px;
}

#tmuserb-content .tmuserb-edit-form-title:after,
#tmuserb-content .tmuserb-edit-form-title:before {
    display:none;
}

#tmuserb-content .tmuserb-edit-form-title .tmuserb-add-post {
    text-align: right;
    font-weight: bold;
    font-size: 16px;
    margin-left: auto;
    color:#000;
}

#tmuserb-content .tmuserb-edit-form-title .tmuserb-add-post:hover {
    color:#077CB2;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] a {
    transition: all 0.2s ease-in-out;
}

#tmuserb_login_form label {
    line-height: 1.5;
    margin-bottom:5px;
    display: block;
    font-weight: bold;
    color:#000;
}

#tmuserb_login_form p {
    margin:0 0 20px 0;
}

#tmuserb_login_form p:last-child {
    margin: 0;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .wp-picker-container .wp-color-result.button {
    background: transparent;
    box-shadow: none !important;
    border:1px solid #c3c4c7 !important;
    border-radius:2px;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .wp-picker-container input[type="text"].wp-color-picker {
    padding:0 5px !important;
    margin-right:5px;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .button.wp-picker-clear {
    font-size:80% !important;
}

/* ================= TAGS INPUT ================== */

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .tagsinput,
div[id^=cmb2-metabox-tmuseb-front-end-post-form] .tagsinput * {
    box-sizing: border-box
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .tagsinput {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 5px 5px 0 5px;
    transition: all 0.2s ease-in-out;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    background-color: #fff;
    color:#000;
    font-size: 14px;
    outline:none !important;
  line-height: 1;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .tagsinput.focus {
    border-color: #000
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .tagsinput .tag {
    background: #000;
    display: flex;
    max-width: 100%;
    word-wrap: break-word;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    margin: 0 5px 5px 0;
    align-items:center;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .tagsinput .tag .tag-remove {
    background: 0 0;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    color: #F44336;
    padding: 0;
    border: 0;
    position: relative;
    line-height: 1;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .tagsinput .tag .tag-remove:after{
    font-family: "tmuserb";
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\e800';
    margin-left:5px;
    font-size:14px;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .tagsinput div {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .tagsinput div input {
    background: 0 0;
    display: block;
    width: 100%;
    font-size: 14px;
    padding: 8px;
    border: 0;
    margin: 0 5px 5px 0;
    outline: none !important;
    box-shadow: none !important;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .tagsinput div input.error {
    color: #F44336
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .tagsinput div input::-ms-clear {
    display: none
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .cmb-spinner {
    display: none;
}

/* ================= FORM LAYOUT ================== */

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .cmb-row {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    font-size: 15px;
    width: 100%;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .cmb-row .cmb-th {
    padding-right: 15px;
    min-width: 150px;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .cmb-row .cmb-th label {
    font-weight: bold;
    line-height: 1.5;
    margin: 0;
    display: block;
    color:#000;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .cmb-row .cmb-td {
    flex: 1;
}

div[id^="cmb2-metabox-tmuseb-front-end-post-form"] .cmb2-checkbox-list,
div[id^="cmb2-metabox-tmuseb-front-end-post-form"] .cmb2-radio-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

div[id^="cmb2-metabox-tmuseb-front-end-post-form"] .cmb2-checkbox-list li,
div[id^="cmb2-metabox-tmuseb-front-end-post-form"] .cmb2-radio-list li{
    padding: 5px 15px 5px 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

div[id^="cmb2-metabox-tmuseb-front-end-post-form"] .cmb2-checkbox-list li label,
div[id^="cmb2-metabox-tmuseb-front-end-post-form"] .cmb2-radio-list li label{
    padding:0 0 0 4px;
    margin: 0;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .cmb2-metabox-description {
    font-style: italic;
    font-size: 14px;
    padding-top:5px;
    margin:0;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .cmb2-metabox-title {
    padding:0;
    margin:0;
    border-top:1px solid rgba(0,0,0,0.15);
    padding-top:30px;
}

div[id^=cmb2-metabox-tmuseb-front-end-post-form] .wp-picker-input-wrap input[type="button"] {
    border:none;
    padding:0 5px !important;
    margin:0 !important;
    background: transparent;
    outline:none;
    box-shadow: none;
    line-height:1;
    font-size:15px;
}

.embed-status iframe,
.embed-status object,
.embed-status embed,
.embed-status video {
    max-width: 100%;
}

.embed-status:not(.Instagram):not(.Twitter) {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top:5px;
}

.embed-status:not(.Instagram):not(.Twitter) iframe,
.embed-status:not(.Instagram):not(.Twitter) object,
.embed-status:not(.Instagram):not(.Twitter) embed,
.embed-status:not(.Instagram):not(.Twitter) video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
}

.embed-status .cmb2-remove-wrapper {
    position: absolute;
    top: 50%;
    right: 0;
    left: auto;
    background: #fafafa;
    padding: 0 10px;
    line-height: 1;
    z-index: 9;
    font-weight: bold;
    font-size:15px;
    line-height: 36px;
    margin-top:-18px;
}

.embed-status .cmb2-remove-wrapper a {
    color:#000;
}

.embed-status .cmb2-remove-wrapper a:hover {
    color:#F44336;
}

.cmb2-remove-file-button:after {
    font-family: "tmuserb";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    width: 1.5em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; 
    content: '\e800';
}

.ui-state-error-text {
    font-weight: bold;
    font-size:14px;
}

div[id^="cmb2-metabox-tmuseb-front-end-post-form"] .cmb-row .cmb-th label.required-field {
    color: #F44336;
}

/* ================= NOTICES ================== */

.tmuserb-notice {
    position: relative;
}

.tmuserb-notice p {
    color: #fff !important;
    padding: 15px;
    font-weight: bold;
    border-left: 4px solid rgba(0,0,0,0.15);
    margin-bottom: 30px;
    font-size: 15px;
    border-radius: 4px;
}

.tmuserb-notice p a {
    color: #fff;
    text-decoration: underline;
}

.tmuserb-notice.info p {
    background-color: #2196F3;
}

.tmuserb-notice.error p {
    background-color: #F44336;
}

.tmuserb-notice.warning p {
    background-color: #FF9800;
}

.tmuserb-notice.success p {
    background-color: #009688;
}

.remove-notice {
    position: absolute;
    top:5px;
    right:5px;
    line-height: 1;
    transition: opacity 0.2s ease-in-out;
    z-index: 1;
}

.remove-notice .tmuserb-icon-delete {
    color:#fff;
}

.remove-notice:hover {
    opacity:0.8;
}

/* ================= TABS ================== */

#tmuserb-tabs {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

#tmuserb-tabs li {
    margin-right: 10px;
    margin-bottom:-1px;
}

#tmuserb-tabs li a {
    padding: 15px;
    line-height: 1.4;
    border: 1px solid transparent;
    border-bottom:none !important;
    display: block;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin-bottom: -1px;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    outline:none;
    text-decoration: none;
}

#tmuserb-tabs li a.tmuserb-tab {
    color:#000;
}

#tmuserb-tabs li a.tmuserb-tab.active,
#tmuserb-tabs li a.tmuserb-tab:hover {
    border-color: rgba(0,0,0,0.1);
    background: #fafafa;
    color:#000;
}

.tmuserb-tab-content {
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.1);
    border-top: none;
    background: #fafafa;
    width:100%;
    display: none;
    color:#666;
}

.tmuserb-tab-content.active {
    display: inline-block;
}

/* ================= TABLE ================== */

.tmuserb-table {
    text-align: left;
    font-size: 14px;
}

.dataTables_scrollHead table.dataTable thead .sorting::after, .dataTables_scrollHead table.dataTable thead .sorting_asc::after, .dataTables_scrollHead table.dataTable thead .sorting_asc_disabled::after, .dataTables_scrollHead table.dataTable thead .sorting_desc::after, .dataTables_scrollHead table.dataTable thead .sorting_desc_disabled::after {
    right:12px;
}

table.dataTable.cell-border tbody th,
table.dataTable.cell-border tbody td,
table.dataTable thead th,
table.dataTable thead td,
.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-color:rgba(0,0,0,0.1) !important;
    background: #fff !important;
}

table.dataTable thead th {
    min-width:150px;
    color:#000;
    text-align: left;
}

table.dataTable thead th.tmuserb-table-title {
    min-width:250px
}

table.dataTable thead th,
table.dataTable.cell-border tbody td{
    padding:12px
}

#tmuserb-table_info {
    font-size:14px;
    color:#666;
}
  
table.dataTable tbody td {
    color:#666;
    line-height: 1.5;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #000;
    background: #fff;
    border:1px solid rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
    padding: .3em .8em;
    font-size:14px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover, .dataTables_wrapper .dataTables_paginate .paginate_button:active, .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #000;
    color: #fff;
    border-color:#000;
}

.dataTables_wrapper .dataTables_scroll {
    padding: 20px 0;
}

table.dataTable tbody td.post_pending {
    color:#F44336;
}

table.dataTable tbody td.post_draft {
    color:#FF9800;
}

table.dataTable tbody td.post_publish {
    color:#009688;
}

table.dataTable tbody td.post_private {
    color:#2196F3;
}

.tmuserb-table a {
    color:#000;
}

.tmuserb-table a:hover {
    color:#077CB2;
}

.dataTables_scrollHead table.dataTable thead .sorting::after {
    opacity:0.25;
}

.dataTables_scrollHead table.dataTable thead .sorting_asc::after,
.dataTables_scrollHead table.dataTable thead .sorting_desc::after,
.dataTables_scrollHead table.dataTable thead .sorting_asc_disabled::after,
.dataTables_scrollHead table.dataTable thead .sorting_desc_disabled::after {
    opacity:1;
}

table.dataTable tbody td .tmuserb-icon-edit {
    color: #009688;
}

table.dataTable tbody td .tmuserb-icon-delete {
    color: #F44336;
}

table.dataTable tbody td i.tmuserb-icon {
    font-size:18px;
    line-height: 1;
}

table.dataTable thead th.tmuserb-table-link {
    min-width: 0;
    max-width:20px;
}

table.dataTable tbody td.tmuserb-icon-link {
    padding: 0 !important;
    text-align: center;
}

table.dataTable tbody td.tmuserb-icon-link a {
    display: flex;
    flex-direction: column;
    align-items:stretch;
    justify-content: center;
    transition: opacity 0.2s ease-in-out;
    padding:10px
}

table.dataTable tbody td.tmuserb-icon-link a:hover {
    opacity:0.8;
}

table.dataTable tbody td.dataTables_empty {
    font-weight: bold;
    color:#F44336;
}

.dataTables_wrapper .dataTables_filter,.dt-buttons {
    float:none !important;
}

.dataTables_wrapper .dataTables_filter label {
    width: 100%;
    max-width: 100%;
}

.tmuserb-table-container button.tmuserb-table-btn {
    border:none;
    padding:0;
    margin:0;
    background: transparent;
    outline:none;
    box-shadow: none;
    position: relative;
    cursor:pointer;
    transition: all 0.2s ease-in-out;
}
  
.tmuserb-table-container button.tmuserb-table-btn:after {
    content:" | ";
    color:rgba(0,0,0,0.15);
}

.tmuserb-table-container button.tmuserb-table-btn:last-child:after {
    display: none;
}

.tmuserb-table-container button.tmuserb-table-btn {
    color:#000;
    font-weight: bold;
    font-size:15px;
}

.tmuserb-table-container button.tmuserb-table-btn.active,
.tmuserb-table-container button.tmuserb-table-btn:hover {
    color:#077CB2;
} 

.tmuserb-searchbar {
    display: flex;
    flex-wrap:wrap;
    align-items:flex-end;
}

.tmuserb-searchbar .dataTables_filter {
    margin-left:auto;
}

table.dataTable thead th.tmuserb-table-thumb {
    max-width:60px !important;
    min-width:60px !important;
    padding: 0 !important;
}

table.dataTable tbody td.tmuserb-thumb {
    padding:5px !important;
}

table.dataTable tbody td.tmuserb-thumb a {
    display: block;
}

table.dataTable tbody td.tmuserb-thumb img {
    width:100%;
    height:auto;
    vertical-align: bottom;
}

/* ================= BBPRESS ================== */

.tmuserb-v-layout div[id^=cmb2-metabox-tmuseb-front-end-post-form] .cmb-row {
    flex-direction: column;
}

.tmuserb-v-layout div[id^=cmb2-metabox-tmuseb-front-end-post-form] .cmb-row .cmb-th {
    padding: 0 0 5px 0;
    min-width: 0 !important;
}

.tmuserb-v-layout div[id^=cmb2-metabox-tmuseb-front-end-post-form] .cmb-row .cmb-td {
    flex: auto;
    width: 100%;
}

/* ================= MEDIA QUERIES ================== */

@media only screen and (max-width: 767px) {
    div[id^=cmb2-metabox-tmuseb-front-end-post-form] .cmb-row {
        flex-direction: column;
    }

    div[id^=cmb2-metabox-tmuseb-front-end-post-form] .cmb-row .cmb-th {
        padding: 0 0 5px 0;
        min-width: 0 !important;
    }

    div[id^=cmb2-metabox-tmuseb-front-end-post-form] .cmb-row .cmb-td {
        flex: auto;
        width: 100%;
    }

    .tmuserb-tab-content {
        padding: 20px;
    }

    .dataTables_wrapper .dataTables_filter label {
        width:100%;
    }

    .tmuserb-searchbar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tmuserb-searchbar .dataTables_filter {
        margin:15px 0 0 0;
        width: 100%;
    }
}
