body {
    font-family: "Roboto", sans-serif;
    background-color: #f8fafb; }

p {
    color: #b3b3b3;
    font-weight: 300; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Roboto", sans-serif; }

a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
a:hover {
    text-decoration: none !important; }
h2 {
    font-size: 20px; }
.hide-element{
    display: none !important;
}
.fsm-btn {
	padding: 4px 8px;
	border:1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 12px;
	white-space: nowrap;
	cursor: pointer;
	display: inline-block;
	transition: 0.2s;
	margin: 2px auto;
}
.fsm-btn:hover {
	box-shadow: 0px 5px 6px -3px #cbd5e1 !important
}
.fsm-btn-primary{
	background-color: #0679b7;
	color: #fff;
}
.fsm-btn-primary:hover{
	color: #fff !important;
}
.fsm-btn-success{
	background-color: #398439;
	color: #fff;
}
.fsm-btn-success:hover{
	color: #fff !important;
}
.fsm-btn-default{
	background-color: #fff;
	color: #000;
}
.fsm-btn-default:hover{
	color: #000 !important;
}
.fsm-btn-danger {
	background-color: #fff;
	color: #d50505;
}
.fsm-btn-danger:hover {
	color: #d50505 !important;
}
.fsm-btn-warning {
	background-color: #fff !important;
	color: #d97817;
}
.fsm-btn-warning:hover {
	background-color: #fff !important;
	color: #d97817;
}
.fsm-btn-warning i {
	color: #d97817;
}
.fsm-btn-disabled {
	background-color: #f0f0f0 !important;
	color: #cacaca !important;
	cursor: not-allowed !important;
}
.full-page{
    width: 100%;
    height: 100vh;
}
.full-page-box {
    width: 500px;
    margin-top: 200px;
    position: absolute;
    left: 50%;
    margin-left: -250px;
    background-color: #fff;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0px 15px 47px -21px #000;
}
.gradient-background {
    background: linear-gradient(90deg, rgba(248, 250, 252, 1) 0%, rgba(255, 209, 153, 1) 100%);
    animation: gradient 5s ease infinite;
    background-size: 400% 400%;

}
.full-page-box-admin {
    margin-bottom: 60px;
    margin-top: 20px;
}
.full-page-box-admin-pl {
    float: left;
    width: 50%;
    text-align: center;
}
.full-page-box-admin-en {
    float: right;
    width: 50%;
    text-align: center;
}
.full-page-box-admin-pl-text {
    display: inline-block;
}
.full-page-box-admin-pl-text a {
    text-decoration: none;
    color: #d9251d;
    font-weight: bold;
}
.full-page-box-admin-pl-icon {
    display: inline-block;
}
.full-page-box-admin-pl-icon img {
    width: 20px;
    border: 1px solid;
}
.full-page-box-admin-en-text {
    display: inline-block;
}
.full-page-box-admin-en-text a {
    text-decoration: none;
    color: #d9251d;
    font-weight: bold;
}
.full-page-box-admin-en-icon {
    display: inline-block;
}
.full-page-box-admin-en-icon img {
    width: 20px;
    border: 1px solid;
}
@-webkit-keyframes gradient{
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes gradient{
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}







/*   Login Page   */
.login-page-content {
    padding: 7rem 0; }

@media (max-width: 991.98px) {
    .login-page-content .bg {
        height: 500px; } }

.login-page-content .login-page-contents, .login-page-content .bg {
    width: 50%; }
@media (max-width: 1199.98px) {
    .login-page-content .login-page-contents, .login-page-content .bg {
        width: 100%; } }
.login-page-content .login-page-contents .form-group, .login-page-content .bg .form-group {
    overflow: hidden;
    margin-bottom: 0;
    padding: 15px 15px;
    border-bottom: none;
    position: relative;
    background: #edf2f5;
    border-bottom: 1px solid #e6edf1; }
.login-page-content .login-page-contents .form-group label, .login-page-content .bg .form-group label {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
.login-page-content .login-page-contents .form-group input, .login-page-content .bg .form-group input {
    background: transparent; }
.login-page-content .login-page-contents .form-group.first, .login-page-content .bg .form-group.first {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px; }
.login-page-content .login-page-contents .form-group.last, .login-page-content .bg .form-group.last {
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px; }
.login-page-content .login-page-contents .form-group label, .login-page-content .bg .form-group label {
    font-size: 12px;
    display: block;
    margin-bottom: 0;
    color: #b3b3b3; }
.login-page-content .login-page-contents .form-group.focus, .login-page-content .bg .form-group.focus {
    background: #fff; }
.login-page-content .login-page-contents .form-group.field--not-empty label, .login-page-content .bg .form-group.field--not-empty label {
    margin-top: -20px; }
.login-page-content .login-page-contents .form-control, .login-page-content .bg .form-control {
    border: none;
    padding: 0;
    font-size: 20px;
    border-radius: 0; }
.login-page-content .login-page-contents .form-control:active, .login-page-content .login-page-contents .form-control:focus, .login-page-content .bg .form-control:active, .login-page-content .bg .form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none; }

.login-page-content .bg {
    background-size: cover;
    background-position: center; }

.login-page-content a {
    color: #888;
    text-decoration: underline; }

.login-page-content .btn {
    height: 54px;
    padding-left: 30px;
    padding-right: 30px; }

.login-page-content .forgot-pass {
    position: relative;
    top: 2px;
    font-size: 14px; }

/* Auth styles moved to auth.css (loaded conditionally on auth pages) */

.control {
    display: block;
    position: relative;
    /*padding-left: 30px;*/
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px; }
.control .caption {
    position: relative;
    top: .2rem;
    color: #888; }

.control input {
    position: absolute;
    z-index: -1;
    opacity: 0; }

.control__indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #e6e6e6;
    border-radius: 4px; }

.control--radio .control__indicator {
    border-radius: 50%; }

.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
    background: #ccc; }

.control input:checked ~ .control__indicator {
    background: #6c63ff; }

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
    background: #847dff; }

.control input:disabled ~ .control__indicator {
    background: #e6e6e6;
    opacity: 0.9;
    pointer-events: none; }

.control__indicator:after {
    font-family: 'icomoon';
    content: '\e5ca';
    position: absolute;
    display: none;
    font-size: 16px;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }

.control input:checked ~ .control__indicator:after {
    display: block;
    color: #fff; }

.control--checkbox .control__indicator:after {
    top: 50%;
    left: 50%;
    margin-top: -1px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%); }

.control--checkbox input:disabled ~ .control__indicator:after {
    border-color: #7b7b7b; }

.control--checkbox input:disabled:checked ~ .control__indicator {
    background-color: #7e0cf5;
    opacity: .2; }
/*----------------*/

/* Register styles moved to auth.css */

/*Register error validation for simple form*/
.error-validation {
    background-color: #ffe3e3 !important;
    border-top: 3px solid #ff0000;
}

/*----------------*/
/* CSS Loading */

.loading-box {
    position: absolute;
    width: 400px;
    height: 114px;
    top: 50%;
    margin-top: -150px;
    left: 50%;
    margin-left: -200px;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    text-align: center;
    box-shadow: 0px 15px 12px -6px #ccc;
}

.ouro {
    position: relative;
    display:inline-block;
    height: 46px;
    width: 46px;
    margin: 1em;
    border-radius: 50%;
    background: none repeat scroll 0 0 #fff;
    overflow:hidden;
    box-shadow: 0 0 10px rgba(0,0,0,.1) inset, 0 0 25px rgba(0,0,255,0.075);
}

.ouro:after {
    content: "";
    position: absolute;
    top: 9px; left: 9px;
    display: block;
    height: 28px; width: 28px;
    background: none repeat scroll 0 0 #F2F2F2;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}
.ouro > span {
    position: absolute;
    height: 100%; width: 50%;
    overflow: hidden;
}
.left  { left:0   }
.right { left:50% }

.anim {
    position: absolute;
    left: 100%; top: 0;
    height: 100%; width: 100%;
    border-radius: 999px;
    background: none repeat scroll 0 0 #508EC3;
    opacity: 0.8;
    -webkit-animation: ui-spinner-rotate-left 3s infinite;
    animation: ui-spinner-rotate-left 3s infinite;
    -webkit-transform-origin: 0 50% 0;
    transform-origin: 0 50% 0;
}
.left .anim {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
.right .anim {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    left: -100%;
    -webkit-transform-origin: 100% 50% 0;
    transform-origin: 100% 50% 0;
}
/* round variation */
.round .ouro:after {display:none }

/* double variation */
.double .ouro:after {
    height: 13px; width: 13px;
    left: 7px; top: 7px;
    border: 10px solid #ddd;
    background: transparent;
    box-shadow: none;
}
.border-backend{
    border: 1px solid #ccc;
}
.icon-status-new {
    font-size: 24px;
    color: #48C774;
}
.icon-status-accept {
    font-size: 24px;
    color: #FC6E51;
}
.icon-status-done {
    font-size: 24px;
    color: #48C774;
}
.icon-status-rejected {
    font-size: 24px;
    color: #CCD1D9;
}
.visits-table .btn, .declarations-table .btn{
    margin: 4px 0px;
}
.button-icon-search {
    border: 1px solid #ccc;
    padding: 2px 5px;
    background-color: #f7f7f7;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    margin-right: 5px;
}
.button-icon-search.active {
    box-shadow: 1px 3px 5px 2px #ccc;
}
.cut-text {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 160px;
    white-space: nowrap;
}

.eprescriptions-list{
    display: none !important;
}

.loader-table{
    display:none;
}

.full-page-box-text {
    padding: 40px 0px 20px 0px;
    text-align: center;
    font-size: 1.5rem;
}
.js-register-page .select2-container--default .select2-selection--single{
    background-color: #edf2f5;
}
.terms-content p {
    color: #1e1e1e !important;
}
.terms-info {
    color: #ff0000;
}
.terms-page {
    /* font-weight: bold; */
    color: #000;
    border: 1px solid #575a89;
    background-color: #6c63ff;
    color: #fff;
    padding: 5px 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}
/* Custom Modal*/
.c-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.c-modal-dialog {
    background-color: #fefefe;
    margin: 1.75rem auto;
    padding: 20px;
    border: 1px solid #888;
}
.c-modal-title {
    height: 28px;
    margin-bottom: 20px;
}
.c-modal-footer {
    margin-top: 20px;
    text-align: right;
}
.c-close {
    color: #aaa;
    float: right;
    font-size: 25px;
    font-weight: bold;
    background: none;
    border: 0px;
    cursor: pointer;
    color: #D62828;
}
.c-file-browser {
    margin-bottom: 10px;
}
.c-file-browser span {
    border: 1px solid #FFD199;
    padding: 5px 15px;
    vertical-align: middle;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color: #f2f2f2;
    cursor: pointer;
}
.c-file-browser input {
    border: 0px;
    border-radius: 0px;
    background-color: #fff !important;
    border: 1px solid #FFD199;
    margin-top: -3px;
    font-size: 12.5px;
}
/*-----------------------*/
.login-page-contents{
    position: relative;
    height: 600px;
}
.centered-element {
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
/*-----------------------*/
.hidden{
    display: none;
}


@keyframes ui-spinner-rotate-right{
    0%{transform:rotate(0deg)}
    25%{transform:rotate(180deg)}
    50%{transform:rotate(180deg)}
    75%{transform:rotate(360deg)}
    100%{transform:rotate(360deg)}
}
@keyframes ui-spinner-rotate-left{
    0%{transform:rotate(0deg)}
    25%{transform:rotate(0deg)}
    50%{transform:rotate(180deg)}
    75%{transform:rotate(180deg)}
    100%{transform:rotate(360deg)}
}

@-webkit-keyframes ui-spinner-rotate-right{
    0%{-webkit-transform:rotate(0deg)}
    25%{-webkit-transform:rotate(180deg)}
    50%{-webkit-transform:rotate(180deg)}
    75%{-webkit-transform:rotate(360deg)}
    100%{-webkit-transform:rotate(360deg)}
}
@-webkit-keyframes ui-spinner-rotate-left{
    0%{-webkit-transform:rotate(0deg)}
    25%{-webkit-transform:rotate(0deg)}
    50%{-webkit-transform:rotate(180deg)}
    75%{-webkit-transform:rotate(180deg)}
    100%{-webkit-transform:rotate(360deg)}
}

/* END CSS Loading */

/* Select2 customization - general styling to match form-control */
.js-form-select2 + .select2-container .select2-selection--single {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.js-form-select2 + .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 20px;
    line-height: unset;
    color: #212529;
}

.js-form-select2 + .select2-container .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + 0.75rem);
    top: 1px;
    right: 1px;
}

.js-form-select2 + .select2-container--open .select2-selection--single,
.js-form-select2 + .select2-container--focus .select2-selection--single {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    outline: 0;
}

/* Select2 customization - general styling (auth-specific moved to auth.css) */

/* Select2 dropdown styling */
.select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    margin-top: 2px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0d6efd !important;
    color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #e9ecef !important;
    color: #212529 !important;
}

.select2-container--default .select2-results__option {
    padding: 6px 12px;
}

/* When Select2 is open - adjust border color to match focus state */
.select2-container--open .select2-dropdown {
    border-color: #86b7fe;
}

/* Placeholder styling for Select2 */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
}

/* Clear button styling */
.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #6c757d;
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 20px;
    cursor: pointer;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #495057;
}

/* Make Select2 work better with form-control */
.form-control.js-form-select2 {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .js-form-select2 + .select2-container .select2-selection--single {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}