@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
div.dataTables_filter, div.dataTables_length {
    margin-bottom: 20px;
}

div.dataTables_info, div.dataTables_paginate {
    margin-bottom: 20px;
}

table.dataTable tbody tr.stripe1 {
    background-color: #FFFFFF;
}

table.dataTable tbody tr.stripe2 {
    background-color: #F3F4F6;
    border-bottom: solid #F3F4F6;
}

.dataTables_wrapper .dataTables_length select {
    padding-right: 28px !important;
}
#signature_pad {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.signature_pad_body {
    width: 100%;
    height: 100%;
    border: dotted #444;
}

.signature_pad_header {
    width: 100%;
    height: 100%;
    margin-bottom: 5px;
}

canvas {
    height: 100%;
    width: 100%;
    display: block;
}
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
.switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ca2222;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2ab934;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(55px);
}

/*------ ADDED CSS ---------*/
.slider:after {
    content: 'No';
    color: white;
    display: block;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    font-size: 10px;
    font-family: Verdana, sans-serif;
}

input:checked + .slider:after {
    content: 'Yes';
}

/*--------- END --------*/
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
