@import url('https://fonts.googleapis.com/css?family=Open+Sans:100,300,400,600,700');


* {
    font-family: "Open Sans"; 
    color: #444;
    font-weight: normal;
}

body {
  color:#343434;
}



a,
a:hover,
a:focus {

    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 700;
}

button {
    white-space: normal !important;
}

button.disabled {
    cursor: pointer !important;
}

.full { width: 100%; padding: 5px 15px; }
.right { text-align: right; }
.btn.small {
    font-size: 12px;
    padding: 4px 8px;
}

.red {color: #DF1F40;}
.red:hover {color: #BB1F40;}

.green {color: green;}
.green:hover {color: #00aa00;}

.grey {color: #555;}


.rtl {direction: rtl !important; text-align: right !important;}
.ltr {direction: ltr !important;}

.navbar {
    padding: 15px 10px;
    height: 110px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 0px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

#sidebarCollapse {
    background-color: transparent;
    border:none;
    color: #666;
    cursor: pointer;
    font-size: 26px;
    width: 36px;
}
#sidebarCollapse img {
    width: 100%
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.status.block  {
    display: inline-block !important;
    border-radius: 3px;
    color: #fff !important;
    min-width: 15px;
    width: fit-content !important;    text-align: center;
    padding: 1px 2px !important;
    font-weight: 500 !important;
}

.status.block.orange  {
    background-color: #eeaa00;
}
.status.block.red  {
    background-color: #dd0033;
}
.status.block.green  {
    background-color: #009922;
}
.status.block.blue  {
    background-color: #007bff;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #e02040 ;
    color: #fff;
    transition: all 0.3s;
    height:calc(100vh - 110px);}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    padding-top: 10px; 
    height: 110px;
    background: #f7f7f7 ;
}

#navbar .navbar-header #logo img {
    height: 85px;
}

#navbar .navbar-header #logo {
    min-width: 250px;
    max-width: 250px;
    padding-left: 50px
}


#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 7px 8px;
    font-weight: 400;
    font-size: 16px;
    display: block;
}

#sidebar ul li a:hover {
    color: #e02040 ;
    background: #fff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #e02040 ;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #e02040 ;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #e02040 ;
}

a.article,
a.article:hover {
    background: #e02040  !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    height:calc(100vh - 140px);
    overflow-y: auto;
    transition: all 0.3s;

}


#content:hover {
  overflow-y: scroll;
}

#cotent::-webkit-scrollbar-track {
  background-color: #efefef;
}

#content::-webkit-scrollbar {
  width: 4px;
  background-color: #efefef;
}

#cotent::-webkit-scrollbar-thumb {
  background-color: #333;
}


footer { 
   height: 30px;
   background-color: red;
   width: 100%
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}

/* ---------------------------------------------------
   combobox
----------------------------------------------------- */
.ui-combobox {
    position: relative;
    display: inline-block;
}
.ui-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
    /* support: IE7 */
    *height: 1.7em;
    *top: 0.1em;
}
.ui-combobox-input {
    margin: 0;
    padding: 0.3em;
}

.card {
    margin-top: 30px;
    padding:20px;
    padding-bottom: 40px;
    border:none;
    background-color: #F5F5F5
}

.card label {
    font-weight: bold;
    color: #555;
    text-transform: uppercase;
}

#login, #login .row {
    height: 100vh;    
}


@media screen and (max-width: 600px) {
    #login .form {
        padding: 65px 30px;
    }
}

@media screen and (min-width: 600px) {
    #login .form {
        padding: 65px 100px;
    }
}

@media screen and (max-width: 750px) {
    .card {
        padding-left: 3px;
        padding-right: 2px;
    }


    #navbar .navbar-header #logo {
        min-width: 230px !important;
        max-width: 150px !important;
        padding-left: 10px !important;
    }
    table th {
        padding: 10px 7px !important;
    }


}

@media screen and (min-width: 995px) {
    #login .form {
        padding: 100px 30px;
    }
}

@media screen and (min-width: 1100px) {
    #login .form {
        padding: 75px 120px;
    }
}


#login .logo {
   text-align: center;
}
#login #logo {
    height: auto;
    width: 145px; 
}

#login h1 {
    font-size: 26px;
    text-align: center;
    display: block;
    margin-top: 35px;
    color: #555;
}

#login p {
    font-size: 12px;
    color: #777;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
}

#login .background {
    background-image: url(../images/sonacos_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover !important;
    background-position: top right;
}

#login .forgot {
    color: #e02040;
    display: block;
    font-size: 11px;
    margin-top: 15px; 
}

#login button {
    background-color:  #e02040; 
    color: white;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: normal;
}


#dashboard .card {
    min-height: 400px;
}
#dashboard table tr.red  {
    background-color: #F4E4E4;
}

#dashboard table tr:hover {
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.04);
}

#dashboard table th, #dashboard table td  {
    font-size: 11px;
}

#dashboard table th  {
    font-weight: 700;
    background:#ececec; 
}


#dashboard table tr td.date{
    font-weight: 600;
}

#dashboard table tr td.semences,#dashboard table tr td.engrais, #dashboard table tr td.declaration  {
    text-align: center;
}

#dashboard table tr td.semences {
   color: #289945;
   font-weight: 700;
}

#dashboard table tr td.engrais {
    color: #A67C52;
    font-weight: 700;
}
#dashboard table tr td.declaration  {
    color: #DF1F40;
    font-weight: 700;
}

#dashboard table tr td span.red  {
    background-color: #dd0033;
    display: block;
    border-radius: 3px;
    color: #fff;
    text-align: center;
    width: 80px;
    padding: 2px 4px;
}

#dashboard table tr td span.blue  {
    background-color: #007bff;
    display: block;
    border-radius: 3px;
    color: #fff;
    text-align: center;
    width: 80px;
    padding: 2px 4px;
}


#dashboard table tr td span.green  {
    color: #009922;
    font-weight: 600;
}

#dashboard table tr td span.orange  {
    background-color: #eeaa00;
    display: block;
    border-radius: 3px;
    color: #fff;
    width: 70px;
    text-align: center;
    padding: 2px 4px;
}

#dashboard table tr td button {
    background-color: transparent;
    border-radius: 3px;
    width: 100%;
    text-align: center;
    padding: 2px 4px;
    cursor: pointer;
}

#dashboard table tr td button:hover {
    background-color: #fff;
    
}
#dashboard table tr td button.orange  {
    border: 1px solid #eeaa00;
    color: #eeaa00;
}

#dashboard table tr td button.green  {
    border: 1px solid #009922;
    color: #009922;
}

#dashboard table tr td button.red , li.red button  {
    border: 1px solid #dd0033;
    color: #dd0033;
    
}

li.red button  {
    cursor: pointer; 
    border-radius: 3px;
    font-size: 12px;   
}
li.red button:hover  {
    background-color: #dd0033;
    color: #fff;
}

.btn.big {
    width: 100%;
    color:#fff;
}

.arrow{
    float: right;
}
.arrow .fa{
    color: #fff;
}

.remove.fa { 
    color: #cc0000;
    font-size: 15px;
 }

 .float_status {
    display: block;
    margin-top: 20px;
    width: 200px;
    padding:10px; 
    font-weight: 700;
    font-size: 13px
 }

 .float_status.red {
    border:2px solid #dd0033;
    color: #dd0033;
 }

  .float_status.green {
    border:2px solid #009922;
    color: #009922;
 }

  .float_status.orange {
    border:2px solid #eeaa00;
    color: #eeaa00;
 }

  .float_status.blue {
    border:2px solid #007bff;
    color: #007bff;
 }


#connected {
    font-size: 14px;
}

#logout {
    padding: 0;
    height: 29px;
    margin-top: 5px;
 }

 #logout a {
    font-size: 11px;
    color: #fff;
 }

.notif_total {
    font-size: 13px;
    display: inline-block;
    color: #FFD700;
    font-weight: bold;
}

#details {
    font-weight: bold;
}


#filters .bootstrap-select {
    width: inherit;
}

#filters  .bootstrap-select .dropdown-menu li a {
    font-size: 13px;
}

#filters .btn {
    padding: 5px 10px;
    font-size: 13px;
    width: 100%
    min-height:30px;
    height: 30px;
}

#filters .btn.dropdown-toggle {
    background-color: #fff;
    border: 1px solid #888;
    padding: 5px 10px;
    font-size: 13px;
}

#filters .btn.dropdown-toggle {
    overflow: hidden;
}

#filters input {
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 13px;
    padding: 4px;
    width: 100%;
    margin: 0;

}


#filters .label, #order .label {
    font-size: 12px;
    color: #555;
    display: block;
    margin-bottom: 4px;
    margin-top: 8px;
}

#filters select{
    padding: 5px 10px;
    font-size: 13px;
    width: 100%
    min-height:30px;
    height: 30px;
    background-color: #fff;
    border: 1px solid #888;
    padding: 5px 10px;
    width: 100%

}

#order .btn {
    padding: 5px 10px;
    font-size: 13px;
}
.pagina {
    cursor: pointer;
    cursor: pointer;
    font-size: 12px;
    border: 1px solid #dedede;
}
.white { color: #fff }
.pagina.white {
    background-color: #DF1F40;
    color: #fff;
}