/* ==================================CUSTOM CSS=======================================*/

/* ========== General ============== */

body {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px;
    font-weight: 400;
}

/* ========== Headings ============== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
}

/* ========== Buttons ============== */
.btn {
    border-radius: 3px;
}
.btn.btn-sm {
    height: 35px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 18px;
}

/* ========== Cards ============== */
.card {
    border-radius: 10px;
}
.card .card-action .btn {
    max-width: 200px;
}


/* ========== Containers ============== */
@media screen and (min-width: 1200px) {
    .container {
        width: 1400px;
    }
}

/* ========== Bootstrap messages ============== */

.alert {
    padding: 15px 25px;
    border: 0;
    border-radius: 8px !important;
    line-height: 1.4;
}
.alert.alert-success {
    color: #fff;
    background-color: #03a9f4;
}
.alert.alert-danger {
    color: #fff;
    background-color: #ed145b;
}
.alert-dismissable > .close {
    color: #fff;
    padding-right: 25px !important;
    padding-top: 5px !important;
    opacity: 0.5;
}

/* ========== Materialize Colors ============== */
.pink {
    background-color: #ed145b !important;
}
.pink-text {
    color: #ed145b !important;
}

.grey {
    background-color: #9c9c9c !important;
}
.grey-text {
    color: #9c9c9c !important'
}

.copy-text, .copy-text a:hover {
    color: #71c44c;
}

.card-wrapper .title {
    border-left: 5px solid #71c44c !important;
    color:  #71c44c !important;
}

/* ========== Coloring dashboard disabled icons ============== */
.white-icon{
    color: white !important;
}

/* ========== Coloring a elements black ============== */
.black-link{
    color: black !important;
}


/* ========== Extra spacing ============== */
.custom-margin-1{
    margin: 10px;
}

.custom-margin-2{
    margin: 20px;
}

.custom-padding-2{
    padding: 20px;
}

.custom-padding-3{
    padding: 30px;
}
.custom-pb-3{
    padding-bottom: 30px;
}


/* ========== Borders ============== */

.no-border {
    border: 0 !important;
}


/* ========== Shadows ============== */

.no-shadow {
    box-shadow: none !important;
}


/* ========== Spacings ============== */

.ptb-15 {
    padding: 15px 0;
}

.mb-0 {
    margin-bottom: 0 !important;
}


/* ========== Tabs ============== */
.icon-tab .nav-pills > li.active > a img {
    -webkit-filter: brightness(0%) invert(100%);
    -moz-filter: brightness(0%) invert(100%);
    -ms-filter: brightness(0%) invert(100%);
    filter: brightness(0%) invert(100%);
}

/* ========== Form Elements ============== */
[type="checkbox"]:not(:checked), [type="checkbox"]:checked {
    position: relative !important;
    top: 2px !important;
    left: 8px !important;  
}

label {
    font-size: 16px;
    line-height: 1;
}
select{
    display: inline !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input[type='number'] {
    -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

.form-control {
    padding: 5px 0;
    border: 0;
    border-bottom: 1px solid #9b9b9b;
    box-shadow: none !important;
}
.form-control:focus {
    border-bottom: 1px solid #03a9f4 !important;
    box-shadow: 0 1px 0 0 #03a9f4;
}
.has-success .form-control {
    border-bottom: 1px solid #43a047;
}

.form-group--shadowed input,
.form-group--shadowed textarea,
.form-group--shadowed select,
.form-group--shadowed .form-control {
    height: auto;
    background-color: #fff;
    padding: 14px 30px;
    border: 1px solid #9d9d9d;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.06) 0 0 5px 5px inset !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.form-group--shadowed input:focus:not([readonly]),
.form-group--shadowed textarea:focus,
.form-group--shadowed select:focus,
.form-group--shadowed .form-control:focus {
    box-shadow: 0 0 0 1px #03a9f4 !important;
}

.select2-container .select2-selection {
    height: 50px;
    padding-left: 5px;
    box-shadow: rgba(0, 0, 0, 0.06) 0 0 5px 5px inset;
}
.select2-container img.icon-img {
    max-width: 30px;
}
.select2-container .select2-selection__rendered {
    line-height: 50px !important;
}
.select2-container .select2-selection__arrow {
    width: 30px !important;
    height: 50px !important;
}

.icon-picker__trigger .icon-picker__preview:not(.full) {
    max-width: 100px;
    margin: auto;
}
.icon-picker > div {
    padding: 5px;
}
.icon-picker [type="radio"] + label::before,
.icon-picker [type="radio"] + label::after {
    display: none;
}
.icon-picker [type="radio"] + label {
    width: 100%;
    height: 100%;
    padding: 15px 5px 5px;
    border-radius: 5px;
    line-height: 1;
}
.icon-picker [type="radio"] + label:hover {
    box-shadow: rgba(3, 169, 244, 0.35) 0 0 0 3px;
}
.icon-picker [type="radio"]:checked + label {
    box-shadow: #03a9f4 0 0 0 3px;
}


.custom-wrapper {
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 0 auto 100px;
}

.form-step {
    font-size: 18px;
}
.form-label {
    font-size: 14px;
}

.input-group {
    width: 100%;
}
.input-group .input-group-addon {
    width: 30px;
    color: #fff;
    background-color: #03a9f4;
    padding: 10px 8px;
    border: 0;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    z-index: 3;
}
.input-group .input-group-addon.floating {
    color: #03a9f4;
    background-color: transparent;
    padding: 0;
    font-size: 20px;
    position: absolute;
    top: 14px;
    left: 8px;
}
.input-group .form-control + .input-group-addon.floating {
    right: 25px;
    left: initial;
}

.form-group--editable .input-group .input-group-addon {
    width: 10px;
    color: #000;
    background-color: transparent;
    padding: 0 5px;
    font-size: 16px;
    font-weight: 400;
}


/* ========== JQuery UI ============== */
.ui-widget-header {
    color: #fff;
    background-color: #03a9f4;
    border: 0;
    border-radius: 0;
}
.ui-widget-header a {
    background-color: transparent !important;
    border: 0 !important;
}
.ui-widget-header a span {
    -webkit-filter: brightness(0%) invert(100%);
    -moz-filter: brightness(0%) invert(100%);
    -ms-filter: brightness(0%) invert(100%);
    filter: brightness(0%) invert(100%);
}

.ui-state-highlight, 
.ui-widget-content .ui-state-highlight, 
.ui-widget-header .ui-state-highlight {
    color: #fff;
    background-color: #03a9f4;
}

.ui-datepicker {
    font-family: 'Poppins', sans-serif;
}
.ui-datepicker td {
    padding: 0;
}
.ui-datepicker td span, 
.ui-datepicker td a {
    border: 0 !important;
    text-align: center;
}
.ui-datepicker .ui-datepicker-buttonpane button {
    color: #fff;
    background-color: #03a9f4;
    padding: 5px 15px;
    border: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.5;
}



/* ========== Icon Toggles ============== */

.icon-toggle {
    margin: 0 0 0 10px;
}


/* ========== Cards ============== */

.card {
    padding: 15px 20px;
}
.card .card-content p,
.card.modal-form-container p {
    margin-bottom: 5px;
    line-height: 20px;
}
.card .card-action .btn,
.study-details--card .card-action .btn,
.study-details--card .card-action form {
    width: 100%;
    max-width: 155px;
    display: inline-block;
}


/* ========== Badge ============== */

span.badge {
    background-color: #0288d1;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 2;
    float: none;
}
span.badge.waitlist {
    background-color: #03a9f4;
}
span.badge.pending {
    background-color: #ff9800;
}
span.badge.rejected {
    background-color: #ed145b;
}


/* ========== Tables ============== */

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before, 
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child::before {
    background-color: #03a9f4;
    top: 16px;
}
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child::before, 
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child::before {
    background-color: #ed145b;
}


/* ========== Modals ============== */

.modal {
    max-height: 100% !important;
    width: 100% !important;
    background-color:rgba(0, 0, 0, 0.2);
    overflow: hidden !important;
    z-index: 999999;
}
.modal-header .close {
    width: 30px;
    height: 30px;
    color: #71c44c;
    background-color: #fff;
    margin: -30px;
    border-radius: 100%;
    border: 2px solid;
    opacity: 1;
}
.modal-header {
    background-color: #71c44c;
    border-radius: 5px 5px 0 0;
}
.modal-title {
    color: #fff;
}



/* ========== Login ============== */

.login-wrapper .form-signin .btn {
    height: 50px;
    font-size: 17px;
}
.login-wrapper .card-wrapper .footer {
    margin-top: 20px;
    font-size: 16px;
}

#rows-table{
    font-size: 12px;
}

td {
    padding: 10px;
    vertical-align: middle !important;
}
th {
    min-width: 140px;
}

/* ========== Control Panel ============== */

.console-like{
    height: 400px;
    background-color: #222;
    color: whitesmoke;
    font-family: monospace;
    font-size: 14px;
    line-height: 20px;
    overflow-y: scroll;
}

/* ========== API Logs Table ============== */

#api-logs td.Queued {
    color: #222;
}

#api-logs td.Completed {
    color: green;
}

#api-logs td.Failed {
    color: red;
}

#api-logs td.Duplicated {
    color: #aaa;
}