:root{
  --white: #FFFFFF;
  --navy: #0b1e33;
  --aqua-1: #229ebd;
  --aqua-2: #63bbcf;
  --teal-1: #013c58;
  --teal-2: #001823;
  --teal-3: #235558;
  --blue-1: #00296B;
  --tan: #E8DAA0;
  --tan-2: #eadda9;
  --yellow-1: #ffb702;
  --yellow-2: #ffba42;
  --orange-1: #fb8502;
  --red: #A50E0E;
  --rose: #bc4f5e;

  --grey-1: #F1F3F4;
  --grey-2: #9AA0A6;
  --grey-3: #F2F3F4;

  --dark: #202124;

  --header: #0b1e33;

  --light-teal: #228791;
	--emerald: #065739;
	--teal-green: #226763;

  --sidebar-width: 280px;
  --sidebar-width-collapsed: 80px;

  /* WIMP3 Brand */
  --wimp-navy:       #073B8C;
  --wimp-dark-navy:  #05265F;
  --wimp-blue:       #0868D7;
  --wimp-sky-blue:   #08A9EE;
  --wimp-teal:       #08A7A5;
  --wimp-green:      #079B36;
  --wimp-lime:       #4BCB0B;

  /* Interface */
  --wimp-dark:       #29333D;
  --wimp-gray:       #6C7782;
  --wimp-light:      #F3F6F8;
  --wimp-border:     #DDE4EA;
  --wimp-white:      #FFFFFF;

  /* Semantic */
  --wimp-success:    #079B36;
  --wimp-info:       #0868D7;
  --wimp-warning:    #F5A623;
  --wimp-danger:     #D9363E;

}
body{ 
   font-family: "Source Sans 3", sans-serif;
   font-weight: 400;
   font-optical-sizing: auto;
   font-style: normal;
   line-height: 1.2;
   color: var(--dark);
   overflow-x: hidden;
   height: 100%;
   width: 100%;
}
#body_login{ 
  background-image: url('/static/images/27.jpeg'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat; 
  height: 100%;
  width: 100%; 
}

#body_login #id_username, #body_login #id_password{ display: block; margin-bottom: 10px; }
#body_login form label{ display: block; margin-bottom: 10px; }
#body_login form input{ display: block; margin-bottom: 10px; width:100%; text-align: center; padding: 5px; font-size: 18px; }

.bg-medium{ background-color: var(--grey-3); }
.bg-medium .container{ background-color: var(--white); }

h1,h2,h3,h4,h5,h6{
   font-family: "Encode Sans", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
   font-variation-settings: "wdth" 100;
}
h1{ font-weight: 300; font-size: 50px; }
.cursor-block {
  cursor: not-allowed !important;
}

.text-white{ color: #fff !important; }
#header{
  height: 90px;
}
#header a{ color: var(--wimp-dark-navy); }
#main_logo{ height: 100%; }
#login-info{
  font-size: 20px;
  font-weight: 400;
  padding-top: 20px;
}
.user-info{ font-weight: 600; color: var(--wimp-white)}
#main-menu{ color:#fff; }
#main-menu a{ color:#fff; font-weight: 400; }

.disabled a{
  pointer-events: none;
  opacity: 0.3;
  color: var(--light) !important;
}

#btn_logout { font-weight: 600; text-transform: uppercase; margin-top: 10px; }
.collapsed #btn_logout{ font-size: 13px; margin-top: 0; }

#offcanvas_logo{
  margin: 0 auto;
  display: block;
  width: 50%;
}
.offcanvas-header .btn-close{
  color: #fff !important;
}
#close{
  color: #fff !important;
  background-color: var(--wimp-teal);
  border: 0 none;
}
#offcanvas_btn{
  color: #fff !important;
  font-size: 30px;
  margin: 0 20px 0 0; 
}
#menu_sidebar{
  font-family: "Encode Sans", sans-serif;
  background: var(--wimp-teal);
  color: #fff;
}
#menu_items li, #menu_items .list-group-item a{
  color: #fff;;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 1px;
}
#menu_items .list-group-item{
  background: transparent !important;
  border-color: var(--wimp-navy);
}
#logo{ font-size: 30px; font-weight: 600; color: #fff; }

.user-initials{ 
  border-radius: 50%;
  height: 60px;
  width: 60px;
  background: var(--wimp-sky-blue);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
}
.select2, .select2-search__field, .select2-container{ font-family: "Source Sans 3", sans-serif !important; }

.select2-container--default .select2-selection--multiple {
  border:  1px solid #dee2e6 !important;
  padding: 3px 25px 8px 5px !important;
  border-radius: 0.375rem;
}

#id_months{ display: inline-block ; width: 800px; height: 72px; border: 0; overflow: hidden; margin-top: 0; }
#id_months label{ width:auto; }
#id_months input{ width: 20px; }
#id_months div{ width: 14.5%; float: left; margin: 0 0 20px 0; }

.title_filter{ text-transform: uppercase; font-size: 16px; font-weight: 600; }

.wimp3_form li {
    list-style-type: none;
    margin-bottom: 20px;
    clear: both;
}
.wimp3_form li label{
  display: inline-block;
   width: 200px;
 }
.wimp3_form input, .wimp3_form select, .wimp3_form textarea{ 
  display: inline-block;
  width: 400px;
}
.wimp3_form textarea{ 
  display: inline-block;
  width: 800px;
}
.page-name{ font-weight: 600; color:var(--wimp-navy); }

.text-published{ color: var(--wimp-green); }

.api_link{ color: var(--wimp-teal); text-decoration: none; font-weight: 600; font-size: 16px; }

/*********** BUTTONS & ICONS ************/
#btn_back_main{ color: var(--wimp-green); text-decoration: none; font-weight: 700; font-size: 18px; padding: 0; }

.btn_add_details{ color:var(--wimp-lime) }

#btn_submit, .btn_submit{ width: auto; color: #fff; background-color: var(--wimp-sky-blue); width: auto !important; font-weight: 600; text-transform: uppercase; }
#btn_submit_close, .btn_submit_close{ width: auto; color: #fff; background-color: var(--wimp-teal); width: auto !important; font-weight: 600; text-transform: uppercase; }
#btn_close, .btn_close{ width: auto; color: #fff; background-color: var(--wimp-danger); width: auto !important; font-weight: 600; text-transform: uppercase; }

.btn_new { background-color: var(--wimp-sky-blue) !important; }
.btn_new:hover { background-color:var(--wimp-teal) !important; }

.btn-primary{ background-color: var(--wimp-blue) !important; border: 1px solid var(--wimp-blue);}
.btn-success{ background-color: var(--wimp-green) !important; border: 1px solid var(--wimp-green);}
.btn-danger{ background-color: var(--wimp-danger) !important; border: 1px solid var(--wimp-danger);}

a.btn_duplicate {
  color:var(--wimp-sky-blue) !important;
  padding-top: 0;
  padding-bottom: 0;
}
.btn_edit {
  color:var(--wimp-blue) !important;
  padding-top: 0;
  padding-bottom: 0;
}
a.btn_delete {
  color:#A70107;
  padding-top: 0;
  padding-bottom: 0;
}
#btn_confirm_delete{
  background: var(--wimp-danger);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}
#btn_cancel{
  background: var(--grey-2);
}
a.btn_task, a.btn_task_main{ text-align: center; text-decoration: none; padding: 20px; }
.btn_task i, .btn_task_main i{ display: block; clear: both; font-size: 50px; margin: 0 auto; }
.btn_task i{ color: var(--wimp-sky-blue); }
.btn_task_main i{ color: var(--wimp-green); }

.task_desc{ display: block; clear: both; color: #343a40; padding-top: 10px; font-weight: 700;  }
.col_task{ border: 1px solid var(--grey-2); border-radius: 20px; }

.item_task_main{ float: left; width: 120px; height: 120px; margin: 0 5px 15px 0; }
.item_task{ float: left; width: 120px; height: 120px; margin: 0 5px 15px 0; }

.item_task_main .task_desc{ color: var(--wimp-green); }
.item_task .task_desc{ color: var(--wimp-sky-blue); }

.text-delete{ color: var(--wimp-danger); }

/*********** TOP ICONS ************/
#top_buttons img{ width: 30px; height: 30px; }
#top_buttons a{ text-decoration: none; font-weight: 600; }

/*********** DASHBOARD ICONS ************/
#dashboard .dashboard_title{ font-size: 18px; font-weight: 600; text-transform: uppercase; background: var(--wimp-teal); color: #fff; padding: 5px 10px; margin-bottom: 15px; }
.dashboard_title{ font-size: 18px; font-weight: 600; text-transform: uppercase; background: var(--wimp-teal); color: #fff; padding: 5px 10px; margin-bottom: 15px; }

.item_dashboard{ text-align: center;}
#dashboard .item_dashboard .task_desc{ font-size: 18px; }

.item_dashboard_app{  padding: 5px; margin: 0 10px; overflow:auto; position: relative; text-align: center;  }
.item_dashboard_app img{ width: 100px; display: inline-block; }
.item_dashboard_app a{ text-decoration: none; }
.item_dashboard_app .task_desc{ font-weight: 500; text-decoration: none; text-transform: uppercase; line-height: 1.1; color: var(--teal-2); font-size:18px; }

.item_dashboard{ width:125px; height: 125px; padding: 5px; margin: 0 8px; text-align: center;  }
.item_dashboard img{ width: 80px; }
.item_dashboard .task_desc{ font-weight: 500; text-decoration: none; text-transform: uppercase; line-height: 1.1; color: var(--teal-2); }
.item_dashboard a{ text-decoration: none; }

.table_item_dashboard{ height: 40px; margin: 0 8px 0 0; }
.table_item_dashboard img{ height: 40px; display: inline-block; }
.table_item_dashboard .task_desc{ font-weight: 500; text-decoration: none; text-transform: uppercase; line-height: 1.1; color: var(--teal-2); display: inline-block; }
.table_item_dashboard a{ text-decoration: none; }

/*********** ALERT LEVELS ************/
.color-select{ background-color: none !important; }
.color-select .option{ background-color: inherit;}
.risk-alert{ font-size: 16px; font-weight:800; width: 50px;}
.low{ background: #3CAEA3 !important; text-transform: uppercase; }
.med{ background: #FCBF49 !important; text-transform: uppercase; }
.high{ background: #fd7e14 !important; color: #fff; text-transform: uppercase;  }
.critical{ background: #D62828 !important; color: #fff; text-transform: uppercase; }

/*********** TABLE STYLES ************/
.tbl_wimp3 th{
  background-color: var(--wimp-navy);
  color: #fff;
  padding: 8px 5px;
  font-weight: 500;
}

.tbl_wimp3 td{ padding: 8px 5px; }

.tbl_wimp3 th a{ color:#fff !important; text-decoration: none !important; }
.tbl_wimp3 td a{ color: var(--wimp-blue); font-weight: 600; text-decoration: none !important; }

.col_id, .col_id a{ color:#b7b7b7; text-align: right; }
.col_view, .col_view a{ color:var(--teal-2); }

.btn_edit_link { font-weight: 600 !important; color: var(--wimp-teal); text-decoration: none; line-height: 1; }

.col_edit, .col_delete{ text-align: center; }

.col_pdf a{ color:var(--wimp-sky-blue); }
.col_delete a{ color: var(--wimp-danger) !important; }

.errorlist li{ list-style-type: none; margin: 0; }
.errorlist {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}
.alert-heading { color: inherit; }
.alert-link { font-weight: 700; }
.alert-danger hr { border-top-color: #f1b0b7; }
.alert-danger .alert-link { color: #491217; }

#main_agro_services .list-group-item{
  padding-left:0;
}
#main_agro_services .list-group-item a{
  font-weight:600;
  color:#343a40;
  text-decoration:none;
}

.entry_label{ display: inline-block; width: 150px; }

#id_pest_alert_lvl_id,
#id_drought_alert_lvl_id {
    display: flex;
    gap: 20px;
    align-items: center;
}

#id_pest_alert_lvl_id > div,
#id_drought_alert_lvl_id > div {
    display: inline-block;
}

.wimp-gradient {
    background: linear-gradient(
        90deg,
        #073B8C 0%,
        #0868D7 35%,
        #08A7A5 100%
    );
}
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(
        10deg,
        var(--wimp-teal) 0%,
        var(--wimp-dark-navy) 90%
    );
    transition: width 0.3s ease;
    overflow: hidden;
    z-index: 1000;
}

.sidebar.collapsed {
    width: var(--sidebar-width-collapsed);
}

.sidebar-link {
    color: #fff;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}

.sidebar-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    /*transform: translateX(5px);*/
}

.sidebar-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.logo-text {
    background: linear-gradient(45deg, #6b8cff, #8b9fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease;
}

.notification-badge {
    background: #ff6b6b;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
}

.profile-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: all 0.3s ease;
    width: calc(100% - var(--sidebar-width));
}

.collapsed~.main-content {
    margin-left: var(--sidebar-width-collapsed);
    width: calc(100% - var(--sidebar-width-collapsed));
}

.toggle-btn {
  font-size: 30px;
    /*position: absolute;
    right: -15px;             /* CHANGE from -15px */
    /*top: 20px;

    background: white;
    border-radius: 50%;*/
    color: var(--white);
    /*width: 30px;
    height: 30px;
    border: none;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 100;
    cursor: pointer;*/
}

.collapsed .toggle-btn {
    transform: rotate(180deg);
}

.collapsed .hide-on-collapse {
    opacity: 0;
    visibility: hidden;
}.collapsed .logo-text {
    opacity: 0;
}
.collapsed .profile-info {
    opacity: 0;
    display: none;
}
.collapsed .user-info{ display: none; }

.collapsed .sidebar-link {
    /*padding: 1rem !important;*/
    margin: 0 !important;
}
.collapsed .sidebar-link i { margin: 0 !important; }

.profile-info {
    transition: opacity 0.2s ease;
    color:#fff;
}
#sidebar_logo{
  width: 60%;
  margin: 0 auto;
}
#sidebar_nav a{
  color: #fff;
  padding: 12px 10px 12px 30px;
  text-decoration: none;
}

.collapsed .user-initials{ font-size: 16px; height: 40px; width: 40px; }
#admin_link{ color: #fff !important; }
#footer{ z-index: -10 !important; }

/*********** INVENTORY ENTRY ************/
#inventory_form h3{ 
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--wimp-blue);
  padding: 5px 10px;
  margin-bottom: 15px;
}
#inventory_form .row div{ margin-bottom: 15px; }

.btn_pdf{ color: var(--wimp-blue) !important; }
.btn_mp3{ color: var(--wimp-green) !important; }
.btn_details{ color: var(--wimp-green) !important; }

.btn_pdf_new, .btn_mp3_new, .btn_details{
  color:var(--dark) !important;
}

#id_winds_min,#winds_max{
  line-height: 1 !important;
}

#frm_entry_form label{ width: 120px !important; }

.nav-tabs .nav-link{
  color:var(--wimp-teal);
  font-weight: 600;
}
.nav-tabs .nav-link.active{
  color:var(--wimp-blue);
  font-weight: 600;
}

.pagination { justify-content: right !important; margin-top: 20px; }
.pagination a{ color: var(--wimp-green); font-weight: 800; text-decoration: none;}
.pagination .active .page-link{ background-color: var(--wimp-green); border-color: var(--wimp-green); }
.pagination .next, .pagination .previous{ text-transform: uppercase; }