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

@import url(https://fonts.googleapis.com/css?family=Nunito);
.radio_custom {
    width: 100%;
    height: 50%;
    margin: 0;
    border: 1px solid #d2d6de;
    position: relative;
    background: #fff;
}

.radio_custom input[type="radio"] {
    opacity: 0;
}

.radio_custom .checked-mask {
    top: 0;
    width: 100%;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #000;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 5px;
    bottom: 0;
}

.radio_custom input:checked ~ .checked-mask {
    background: #337ab7;
    color: #fff;
}

.radio-month {
    position: relative;
    width: 50px;
    height: 34px;
    border: 1px solid #337ab7;
    cursor: pointer;
}

.radio-month .checked-mask {
    top: 0;
    width: 50px;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #337ab7;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    bottom: 0;
}

.radio-month input[type="radio"] {
    opacity: 0;
}

.radio-month input:checked ~ .checked-mask {
    background: #337ab7;
    color: #fff;
}

.container {
    display: block;
    position: relative;
    padding: 15px;
    margin-bottom: 16px;
    text-align: center;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container-category {
    /* height: 50px; */
    border-radius: 10px;
    display: block;
    position: relative;
    /* padding: 15px; */
    margin-top: 8px;
    margin-bottom: 8px;
    text-align: center;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* @media screen and (min-width: 1400px) {
    .container-category {
        height: 100px;
    }
} */

.container-evulate {
    border: 1px solid #000;
    border-radius: 10px;
    height: 200px;
}

.container-time-off {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px 30px;
}

.container-avatar {
    margin-left: 15px;
}

.container-repeat {
    float: right;
    border: 1px solid #000;
    height: 30px;
    width: 30px;
    border-radius: 50%;
}

/* Hide the browser's default radio button */

.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.container-category input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
}

.checkmark-category {
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
}

.checkmark-evulate {
    position: absolute;
    bottom: 0;
    left: 50%;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 1px solid #ccc;
    background: #fff;
}

.checkmark-evulate::after {
    display: none;
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #000;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.checkmark-time-off {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.checkmark-avatar {
    position: absolute;
    top: 50%;
    left: 0;
    border-radius: 50%;
    background: #fff;
    width: 25px;
    height: 25px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 1px solid #ccc;
}

.checkmark-avatar::after {
    display: none;
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #000;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.checkmark-repeat {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    padding: 8px;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */

.container-evulate:hover input ~ .checkmark-evulate {
    background-color: #ccc;
}

.container-category:hover input ~ .checkmark-category {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.container-category:hover input:disabled ~ .checkmark-category {
    background-color: none;
    cursor: not-allowed;
}

.container-time-off:hover input ~ .checkmark-time-off {
    background-color: #ccc;
}

.container-time-off input:disabled ~ .checkmark-time-off {
    background-color: #ccc;
}

.container-time-off:hover input:disabled ~ .checkmark-time-off {
    cursor: not-allowed;
}

.container-avatar:hover input ~ .checkmark-avatar {
    background-color: #ccc;
}

.container-repeat:hover input ~ .checkmark-repeat {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */

.container-category input:checked ~ .checkmark-category {
    background-color: #ccc;
    border-radius: 10px;
}

.container-evulate input:checked ~ .checkmark-evulate {
    background-color: #fff;
}

.container-evulate input:checked ~ .checkmark-evulate::after {
    display: block;
}

.container-time-off input:checked ~ .checkmark-time-off {
    background-color: #3c8dbc;
    color: #ffffff;
}

.container-avatar input:checked ~ .checkmark-avatar {
    background-color: #fff;
}

.container-avatar input:checked ~ .checkmark-avatar::after {
    display: block;
}

.container-repeat input:checked ~ .checkmark-repeat {
    background-color: #ccc;
}

.radio-head {
    opacity: 0;
}

.radio-head-wrapper {
    width: 16px;
    height: 16px;
    border: 1px solid #000;
    border-radius: 50%;
    position: absolute;
    right: 99%;
}

.radio-head-mark {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.radio-head-wrapper input:checked ~ .radio-head-mark {
    background: #000;
}

.hidden {
    display: none;
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.justify-content-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.justify-content-between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.items-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* The switch - the box around the slider */

.switch {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 35px;
}

.switch-report {
    width: 350px;
    height: 35px;
    position: relative;
    display: inline-block;
}

/* Hide default HTML checkbox */

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Hide default HTML checkbox */

.switch-report input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */

.slider,
.slider-report {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before,
.slider-report::before {
    position: absolute;
    content: "";
    height: 35px;
    width: 50px;
    left: 0;
    bottom: 0;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border: 1px solid gray;
}

input:checked + .slider {
    background-color: gray;
}

input:checked + .slider > span {
    display: none;
}

input:checked + .slider-report {
    background-color: #00c0ef;
}

input:checked + .slider-report > span {
    display: none;
}

input:focus + .slider {
    -webkit-box-shadow: 0 0 1px gray;
    box-shadow: 0 0 1px gray;
}

input:focus + .slider-report {
    -webkit-box-shadow: 0 0 1px gray;
    box-shadow: 0 0 1px gray;
}

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

input:checked + .slider-report:before {
    -webkit-transform: translateX(300px);
    transform: translateX(300px);
}

/* Rounded sliders */

.round {
    border-radius: 5px;
}

.round > span {
    position: absolute;
    right: 8px;
    top: 50%;
    font-size: 20px;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.round > .text {
    position: absolute;
    left: 30%;
    top: 50%;
    font-size: 14px;
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}

.round:before {
    border-radius: 3px;
}

/* The device with borders */

.smartphone {
    position: relative;
    width: 360px;
    height: 640px;
    margin: auto;
    border: 16px black solid;
    border-top-width: 60px;
    border-bottom-width: 60px;
    border-radius: 36px;
}

/* The horizontal line on the top of the device */

.smartphone:before {
    content: "";
    display: block;
    width: 60px;
    height: 5px;
    position: absolute;
    top: -30px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #333;
    border-radius: 10px;
}

/* The circle on the bottom of the device */

.smartphone:after {
    content: "";
    display: block;
    width: 35px;
    height: 35px;
    position: absolute;
    left: 50%;
    bottom: -65px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #333;
    border-radius: 50%;
}

/* The screen (or content) of the device */

.smartphone .content {
    width: 100%;
    height: 100%;
    background: white;
    overflow: hidden;
}

.navbar-laravel {
    background-color: #fff;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.header-box {
    position: relative;
}

.header-box .icon-marker {
    font-size: 24px;
    position: absolute;
    top: 0;
    right: 0;
}

.header-box .icon-marker i.red {
    color: red;
    opacity: 0.7;
}

.header-box .icon-marker i.grey {
    color: #999;
}

.overflow-auto {
    overflow: auto;
}

.avatar-box {
    position: relative;
}

.avatar-box .list-pet {
    position: absolute;
    right: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: 22%;
    overflow-y: hidden;
}

.avatar-box .list-pet img {
    width: 40px;
    height: 40px;
    margin-left: 5px;
    padding: 3px;
}

.avatar-box .list-pet .profile-user-img {
    border: 1px solid #d2d6de;
}

@media (min-width: 1366px) {
    .avatar-box .list-pet {
        max-width: 36%;
    }
}

@media (max-width: 992px) {
    .avatar-box .list-pet {
        max-width: 35%;
    }
}

.list-spot {
    max-height: 315px;
    overflow-x: hidden;
}

.list-spot .list-group-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.list-spot .list-group-item:first-child {
    border-top: none;
}

.list-spot .list-group-item .date-time {
    min-width: 135px;
}

.box-user-info .form-container .form-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.box-user-info .form-container .form-duo {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.box-user-info .form-container .form-duo .form-date {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 48%;
}

.box-user-info .form-container .form-duo .form-date:first-child {
    margin-right: 7px;
}

.border-horizontal {
    border-left: solid 1px #ddd;
    border-right: solid 1px #ddd;
    font-weight: bold;
    color: #777;
}

.list-history {
    overflow-x: hidden;
}

.list-history li {
    overflow: auto;
    border-left: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
    padding-left: 10px !important;
}

.list-history li a {
    margin-right: 5px;
}

.display-time-update {
    width: 100%;
    text-align: right;
    margin-bottom: 15px;
}

.w-100 {
    width: 100%;
}

.form-select {
    width: 150px;
    overflow: auto;
    float: right;
}

li.spot-item {
    padding: 15px !important;
}

li.spot-item .header-box .spot-name {
    margin-right: 20px;
}

li.spot-item p {
    margin-top: 15px;
    margin-bottom: 0;
}

.table-border-horizon {
    border-left: solid 1px #f4f4f4;
    border-right: solid 1px #f4f4f4;
}

.table-border-horizon th,
.table-border-horizon td {
    vertical-align: middle !important;
}

.table-border-horizon td.avatar a {
    display: block;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
}

/* iCheck plugin Flat skin, blue
----------------------------------- */

.icheckbox_flat-blue {
    background-position: 0 0;
}

.icheckbox_flat-blue.checked {
    background-position: -22px 0;
}

.icheckbox_flat-blue.disabled {
    background-position: -44px 0;
    cursor: default;
}

.icheckbox_flat-blue.checked.disabled {
    background-position: -66px 0;
}

.iradio_flat-blue {
    background-position: -88px 0;
}

.iradio_flat-blue.checked {
    background-position: -110px 0;
}

.iradio_flat-blue.disabled {
    background-position: -132px 0;
    cursor: default;
}

.iradio_flat-blue.checked.disabled {
    background-position: -154px 0;
}

.icheckbox_flat-blue,
.iradio_flat-blue {
    display: inline-block;
    /**display: inline;*/
    vertical-align: middle;
    margin: 0;
    padding: 0;
    width: 20px;
    height: 20px;
    border: none;
    cursor: pointer;
}

/* Retina support */

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
    only screen and (-moz-min-device-pixel-ratio: 1.5),
    only screen and (-o-min-device-pixel-ratio: 3 / 2),
    only screen and (min-device-pixel-ratio: 1.5) {
    .icheckbox_flat-blue,
    .iradio_flat-blue {
        background-size: 176px 22px;
    }
}

/** End iCheck **/

.btn-function-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.btn-function-group .btn-send {
    margin-right: 10px;
}

.btn-function-group .form-group-sm {
    min-width: 100px;
    margin: 0 10px;
}

.btn-function-group .form-group-sm select {
    height: 34px;
}

.box-header-action .box-tools {
    top: 10px;
}

.box-header-action .box-tools select {
    min-width: 100px;
}

.box-header-action .box-tools .has-feedback {
    margin-left: 10px;
}

.group-star {
    font-size: 20px;
    text-align: center;
    color: #f39c12;
    opacity: 0.7;
}

.row-rating .group-star {
    display: inline-block;
    vertical-align: middle;
    width: 19%;
    margin-right: 10px;
}

.row-rating .progress {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
    width: 50%;
    height: 8px;
}

.list-review {
    margin-top: 20px;
}

.list-review li {
    overflow: auto;
    padding: 15px;
    border: solid 1px #f4f4f4;
    border-radius: 5px;
    margin-bottom: 10px;
}

.list-review li .pull-left {
    display: inline-block;
    vertical-align: middle;
}

.list-review li .pull-left .name-contact .box-title {
    margin: 5px 10px 0 0;
    float: left;
}

.list-review li .pull-left .name-contact .group-star {
    float: left;
}

.list-review li .btn {
    margin-top: 20px;
}

#modal-reply .modal-body {
    overflow: auto;
}

#modal-reply .pull-left {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 20px;
}

#modal-reply .pull-left .name-contact .box-title {
    margin: 5px 10px 0 0;
    float: left;
}

#modal-reply .pull-left .name-contact .group-star {
    float: left;
}

#modal-select-achievement .modal-body .form-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#modal-select-achievement .modal-body .form-group label {
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3c8dbc;
    color: white;
    text-align: center;
    margin-right: 10px;
    margin-bottom: 0;
}

#modal-select-achievement .modal-body .form-group select {
    margin-right: 10px;
    max-width: 200px;
}

.text-required {
    color: red;
}

label.error {
    color: red;
}

/* Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */

input[type="number"] {
    -moz-appearance: textfield;
}

.dataTables_length {
    float: left;
}

.dataTables_scrollHeadInner {
    width: 100% !important;
}

.dataTables_scrollHeadInner table {
    width: 100% !important;
}

.spot_name {
    font-size: 35px;
    margin-right: 20px;
}

.star {
    color: orange;
    font-size: 35px;
}

.border-pink {
    border: 3px solid pink;
}

.results {
    font-size: 0;
}

.results-content {
    font-size: 13px;
    display: inline-block;
    margin-left: 10px;
    vertical-align: top;
    background: url("https://i.stack.imgur.com/rwkqF.png") 0 0 repeat-x;
    width: 185px;
    height: 35px;
}

.results .results-content span.stars span {
    background: url("https://i.stack.imgur.com/rwkqF.png") 0 -36px repeat-x;
    display: inline-block;
    height: 35px;
}

.header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.subheader {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.opacity-0 {
    opacity: 0;
}

.label-dot {
    margin-top: 2px;
    margin-right: 7px;
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 50%;
}

.select2 {
    width: 100% !important;
}

.profile-user-img {
    margin: 0 auto;
    width: 50px;
    height: 50px;
    -o-object-fit: cover;
    object-fit: cover;
    padding: 3px;
    border: 3px solid #d2d6de;
}

.main-sidebar {
    width: 260px;
}

.content-wrapper {
    margin-left: 260px;
}

.main-header .logo {
    width: 260px;
}

.main-header .navbar {
    margin-left: 260px;
}

.gray {
    color: rgba(0, 0, 0, 0.3);
}

.rank-gold {
    border-color: gold !important;
}

.rank-silver {
    border-color: silver !important;
}

.rank-bronze {
    border-color: #cd7f32 !important;
}

.rank-black {
    border-color: #000000 !important;
}

.table.dataTable thead th {
    text-align: center;
}

@media screen and (min-width: 1000px) {
    .profile-user-img {
        width: 65px;
        height: 65px;
    }
}

@media screen and (min-width: 1300px) {
    .profile-user-img {
        width: 80px;
        height: 80px;
    }
}
