/*--------- FONTS --------- */
@font-face {
    font-family: Comfortaa;
    src: url(../fonts/Comfortaa.ttf);
}
@font-face {
    font-family: Montserrat-Bold;
    src: url(../fonts/Montserrat-Bold.ttf);
}
@font-face {
    font-family: Montserrat-SemiBold;
    src: url(../fonts/Montserrat-SemiBold.ttf);
}
@font-face {
    font-family: Montserrat-Black;
    src: url(../fonts/Montserrat-Black.ttf);
}
@font-face {
    font-family: Montserrat-Regular;
    src: url(../fonts/Montserrat-Regular.ttf);
}
@font-face {
    font-family: Roboto-Regular;
    src: url(../fonts/Roboto-Regular.ttf);
}


h6 { color: #3c3c3c; font-family: Comfortaa, sans-serif; font-size: 18px; text-align: left; margin-bottom: 12px; }
h5 { color: #3c3c3c; font-family: Montserrat-Bold, sans-serif; font-size: 22px; text-align: center; }
h2 { color: #3c3c3c; font-family: Montserrat-Bold, sans-serif; font-size: 36px; text-align: left; margin-bottom: 0px; }
p { color: #5a5a5a; }
b { font-family: Montserrat-Bold; color: #3c3c3c; }
.overflow-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.form-group { margin-bottom: 6px; }
.form-group label { font-family: Roboto-Regular, sans-serif; color: #5A5A5A; margin-bottom: 0px; font-size: 14px; }
.form-group .input-group .input-group-prepend { height: calc(1.8125rem + 2px); }
.form-group .input-group .input-group-prepend .input-group-text { border: 1px solid #bdbdbd; font-size: 13px; }
.form-control { height: calc(1.8125rem + 2px); padding: .25rem .5rem; font-size: .875rem; line-height: 1.5; border-radius: .2rem; border: 1px solid #bdbdbd; }
.form-control:focus { box-shadow: 0 0 0 2px #80bdff !important; border-color: #80bdff !important; }
.form-group-switch { margin-bottom: 15px; padding-top: 22px; display: flex; flex-direction: row; }
.form-group-switch label { font-family: Roboto-Regular, sans-serif; color: #5A5A5A; margin-bottom: 0px; font-size: 14px; margin-top: auto; margin-bottom: auto; }
.form-group-switch label.switch { margin-right: 10px; }


/*--------- Page ---------*/
body { background: #f1f1f1; background: linear-gradient(180deg, rgb(241 241 241) 0%, rgb(209 209 209) 100%); } 
.page { width: calc(100vw - 300px); height:100vh; overflow-y: auto; overflow-x: hidden; margin-left: 300px; transition: margin-left ease-in-out .5s; }
.page.full-width { width: 100vw; margin-left: 0px; }
.page .header { background-color: #f3f3f3; padding-top: 40px; padding-left: 40px; }
.page .subtitle { color: #828282; text-align: center; font-family: Comfortaa, sans-serif; font-size: 20px; font-weight: normal; margin-bottom: 20px; }
.page .content { padding-top: 40px; padding-left: 40px; padding-right: 40px; position: relative; }
.page.withTabs .tabs-container { display: flex; flex-direction: row; }
.page.withTabs .tabs-container .tab { display: block; margin-right: 50px; cursor: pointer; white-space: nowrap; }
.page.withTabs .tabs-container .tab label { font-family: Comfortaa, sans-serif; font-size: 16px; margin-right: 8px; color: #3c3c3c; cursor: pointer; transition: color ease-in-out .2s; }
.page.withTabs .tabs-container .tab label:hover { color: #be1723; }
.page.withTabs .tabs-container .tab .counter { display: inline-block; background-color: #be1723; padding: 0px 8px; border-radius: 10px; color: white; font-family: Comfortaa, sans-serif; font-size: 14px; line-height: 28px; }
.page.withTabs .tabs-container .tab .selection { height: 5px; width: 100%; background-color: #be1723; opacity: 0; transition: opacity ease-in-out .3s; }
.page.withTabs .tabs-container .tab.selected label { color: #be1723; } 
.page.withTabs .tabs-container .tab.selected .selection { opacity: 1 !important; }
.page.withTabs .content { display: none; }
.page.withTabs .content.selected { display: block; }


/*-------- Buttons -------*/
.btn-primary { background-color: #be1723; color: white; border: none; transition: background-color ease-in-out .2s; font-family: Comfortaa, sans-serif; font-weight: bold; height: calc(1.8125rem + 7px); padding: 0px 6px; font-size: .875rem; line-height: 1.5; outline: none !important; cursor: pointer !important; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.btn-primary.btn-light { background-color: #be1723; }
.btn-primary.circular { border-radius: 50%; width: 45px; height: 45px; padding: 0px; }
.btn-primary.float { position: fixed; bottom: 30px; right: 30px; box-shadow: 0px 3px 6px 0 rgba(0, 0, 0, 0.3); z-index: 100; background-color: #be1723; }
.btn-primary:hover { background-color: #ff2133; border: none; }
.btn-primary.float:hover { background-color: #db3838; }
.btn-primary.btn-light:hover { background-color: #ff2133!important; color: white!important; }
.btn-primary:focus { color: #fff; background-color: #ff2133; border: none !important; }
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle { color: #fff; background-color: #ff2133; border: none; }
.btn-primary img { width: 60%; height: auto; max-width: 60%; max-height: 60%; }
.btn-primary.disabled, .btn-primary:disabled { color: #fff; background-color: #3c3c3c !important; border-color: none; }
.btn-primary.btn-light.disabled, .btn-primary.btn-light:disabled { background-color: #af3840!important; }
.close { color: white; }
.close:not(:disabled):not(.disabled):focus, .close:not(:disabled):not(.disabled):hover { color: white; }

/*-------- Switch ---------*/
.switch { position: relative; display: inline-block; width: 54px; height: 24px; min-width: 54px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #F64646; -webkit-transition: .4s; transition: .4s; border-radius: 34px; }
.switch .slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 2px; bottom: 2px; background-color: white; -webkit-transition: .4s; transition: .4s; border-radius: 50%; }
.switch input:checked + .slider { background-color: #74D153; }
.switch input:focus + .slider { box-shadow: 0 0 0px #2196F3; }
.switch input:checked + .slider:before { -webkit-transform: translateX(30px); -ms-transform: translateX(30px); transform: translateX(30px); }
.switch input:disabled + .slider { background-color: #c2c2c3 !important;  }

/*-------- Modal ---------*/
.modal .modal-dialog { margin-top: 90px; }
.modal .modal-dialog.dialog-sm { width: 300px; max-width: 90vw; margin-right: auto; margin-left: auto;}  
.modal .modal-content { border: none; }
.modal .modal-header { background-color: #be1723; padding: 8px; border-bottom: 1px solid #c74545; }
.modal .modal-header .modal-title { color: white; font-family: Comfortaa, sans-serif; font-size: 18px; width: 100%; text-align: center; }
.modal .modal-header button.close { outline: none !important; margin-right: -6px;}
.modal .modal-header button.close span { text-shadow: none !important; }
.modal .modal-footer { justify-content: center; }
.modal .modal-footer button { min-width: 160px; }
.modal .modal-body .description { text-align: center; font-family: Montserrat-SemiBold, sans-serif; }
.modal .modal-body .description b { font-family: Montserrat-Black; color: #be1723; }
.modal .modal-body  h6 { font-family: Montserrat-Bold; }

/*--------- List ----------*/
ul { padding-inline-start: 0px; padding-left: 0px; list-style: none; }
ul li a { text-decoration: none !important; }
.li { background-color: #fbfbfb; border: 1px solid #bdbdbd; border-radius: 5px; display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 8px 16px; transition: all ease-in-out .1s; cursor: pointer; margin-bottom: 8px; flex-wrap: wrap; }
.li:hover { background-color: white; } 
.li.stacked-data div { display: flex; flex-direction: column; }
.li label { margin-bottom: 0px; font-family: Montserrat-Semibold, sans-serif; color: #828282; font-size: 14px; cursor: pointer; }
.li label.main { color: #3c3c3c; }

/*--------- Tables ----------*/
.table-container { width: 100%; max-width: 100%; overflow-x: auto; }
.table { border-radius: 5px; background: #ffffff; }
.table th { background-color: #3c3c3c; color: white; font-family: 'Montserrat-Regular'; text-align: center;font-size: 14px; padding: 10px 20px; border-bottom: 0px; }
.table th:first-child { border-radius: 5px 0px 0px 0px; text-align: left; }
.table th:last-child { border-radius: 0px 5px 0px 0px; }
.table td { font-family: 'Montserrat-Regular'; font-size: 14px; font-weight: 600; text-align: center; }
.table td:first-child { text-align: left; }

/*--------- Search Field ----------*/
div.search { display: flex; flex-direction: row; flex-wrap: nowrap; }
div.search input { border-radius: .2rem 0px 0px .2rem; border-right: none; }
div.search button { border-radius: 0px .2rem .2rem 0px; height: calc(1.8125rem + 2px); width: 52px; }


/*--------- Filters ----------*/
section.filters { display: flex; flex-direction: row; margin-bottom: 30px; }
#search-result { display: none; }
#search-result.show { display: flex; flex-direction: row; }
#search-result label { color: #8b8b8b; font-family: 'Montserrat-SemiBold'; font-size: 14px; margin-right: 20px; }
#search-result label.remove-filters { color: #3c3c3c; margin-right: 0px; cursor: pointer; }

/*--------- Error Pages ------*/
body.error-page { background: linear-gradient(180deg, rgba(226,226,226,1) 0%, rgba(211,215,221,1) 100%); padding: 0px; overflow: hidden; }
.error-page main { height: 100vh; width: 100vw; margin: 0px; padding: 0px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.error-page .description { text-align: center; font-family: Montserrat-SemiBold, sans-serif; line-height: 18px; max-width: 80vw; }
.big-icon-container { background-color: #3c3c3c; border-radius: 50%; height: 80px; width: 80px; display: flex; align-items: center; justify-content: center;     box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2); }
.big-icon-container img { width: 60%; height: 60%; }

/*-------- Helpers -------*/
.wide { width: 100%; }
.cl-grey-1 { color: #f2f2f2; }
.cl-grey-2 { color: #e0e0e0; }
.cl-grey-3 { color: #bdbdbd; }
.cl-grey-4 { color: #a5a5a5; }
.cl-grey-5 { color: #4f4f4f; }
.cl-grey-6 { color: #3d3d3d; }
.h-center { justify-content: center; }
.full-width { width: 100%; }
.centralize { display: flex; flex-flow: column wrap; justify-content: center; align-items: center; }
.centralize-row { display: flex; flex-flow: row wrap; justify-content: center; align-items: center; }

/*----------- MOBILE Settings ----------------*/
@media (max-width: 992px) {
   .page { margin-left: 0px; width: 100vw; }
   .page .header { padding-top: 12px; padding-left: 60px; padding-bottom: 10px; position: fixed; z-index: 100; box-shadow: 0 0px 15px 0 rgba(0, 0, 0, 0.3); }
   .page h2.title { font-size: 26px; margin-bottom: -2px; }
   .page .subtitle { display: none; }
   .page .content { padding-top: 80px; padding-left: 20px; padding-right: 20px; }
   .page.withTabs .content { padding-top: 120px; }
   .tabs-container { margin-left: -40px; margin-right: -15px; margin-bottom: -10px; overflow-x: auto; }
   li label { font-size: 12px; }
   li label.main { font-size: 14px; }
   .desktop-only { display: none; }
}