/**
 * SonataAdminBundle Theme based on SB Admin v2.0
 * http://startbootstrap.com/templates/sb-admin-v2/
*/

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 20px;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20px;
    background-color: #333;
}

footer p {
    margin: 0;
}

footer a {
    color: #f6f6f6;
}

body > .header .logo {
    font-family: 'Source Sans Pro', sans-serif;
}

.logo img {
    display: inline;
    padding-bottom: 4px;
    max-height: 100%;
    max-width: 60px;
}

.logo span {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    width: 200px;
}
.logo img + span { width: 140px; }

.open > .dropdown-menu {
    animation-duration: .3s;
    -webkit-animation-duration: .3s;
    -moz-animation-duration: .3s;
}

/* Buttons */

.btn.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn.btn-primary.btn-outline:hover,
.btn.btn-success.btn-outline:hover,
.btn.btn-info.btn-outline:hover,
.btn.btn-warning.btn-outline:hover,
.btn.btn-danger.btn-outline:hover {
    color: #fff;
}



/* navigation */

.navbar-static-side ul li {
    border-bottom: 1px solid #e7e7e7;
}

.navbar-brand {
    padding-right: 20px;
}

.navbar-brand img {
    height: 28px;
    margin: 0;
    padding: 0 5px 0 0;
    vertical-align: middle;
}

.navbar-text .navbar-link {
    padding: 0 10px;
}

.right-side > .content-header {
    padding-bottom: 0;
}

.content-header .navbar {
    margin-bottom: 0;
}

.content-header .navbar-nav.navbar-right:last-child {
    margin-right: 0;
}

/* breadcrumb */

.sonata-bc .breadcrumb {
    padding: 0;
    margin: 0;
    background: inherit;
    float:left;
}

.sonata-bc .breadcrumb li a {
    display: inline-block;
}

/* MEGA MENU STYLE
********************************/
.dropdown-menu.multi-column .dropdown-menu {
    display: block !important;
    position: static !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    min-width:100px;
}

.dropdown-add .dropdown-menu > li > a {
    white-space: normal;
    overflow: hidden;
}

/* top right */

.navbar-static-top {
    margin-bottom: 0;
}

.navbar-top-links > p,
.navbar-top-links > ul {
    float: right;
}

.navbar-top-links li {
    display: inline-block;
}

.navbar-top-links li a,
.navbar-top-links li span {
    padding: 15px;
    min-height: 50px;
}

.navbar-top-links li a:hover {
    text-decoration: none;
}

.skin-black .navbar .breadcrumb > li  > a:hover {
    color: #444;
    background: #f5f5f5;
}

.skin-black .navbar .dropdown-menu > li > a:hover {
    background-color: #f5f5f5;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

/* Content navbar */

body.fixed .content-header .navbar {
    position: relative;
}

/* sidebar menu styles */

.sidebar-search {
    padding: 15px;
}

.arrow {
    float: right;
}

.fa.arrow:before {
    content: "\f104";
}

.active > a > .fa.arrow:before {
    content: "\f107";
}

.nav-second-level li,
.nav-third-level li {
    border-bottom: none !important;
}

.nav-second-level li a {
    padding-left: 37px;
}

.nav-third-level li a {
    padding-left: 52px;
}

@media(min-width:768px) {
    .navbar-static-side {
        z-index: 1;
        position: absolute;
        width: 250px;
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}


/* Admin table */

table.sonata-ba-list {
    font-size: 14px;
}

td.sonata-ba-list-label {
    color: #565656;
    font-weight: bold;
    text-align: right;
    vertical-align: middle !important;
}

/* side filter */

.box .box-header h4.box-title.filter_legend {
    position: relative;
    padding-left: 20px;
    cursor: pointer;
}

h4.filter_legend:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 4px solid black;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    position: absolute;
    top: 50%;
    left: 2px;
    margin-top: -2px;
    margin-left: 5px;
}

h4.filter_legend.active,
tr.filter.active * {
    font-weight: bold;
    color: #000;
}

form.sonata-filter-form.form-stacked {
    padding-left: 0;
}

/* Overrides */

/* x-editable */
td.sonata-ba-list-field .editable {
    cursor: pointer;
}
td.sonata-ba-list-field .btn.editable {
    border-bottom: solid 1px #BBB;
}
td.sonata-ba-list-field .editable-empty:not(.editable-open) {
    display: none;
}
.sonata-ba-list tr:hover .editable-empty {
    display: inline-block;
}
.editable-pre-wrapped {
    white-space: normal;
}
.editable-container .prev:before {
    content: "\2190 ";
}
.editable-container .next:before {
    content: "\2192 ";
}

/* select2 */
div.select2-container {
    margin-left: 0 !important;
}

div.select2-drop ul {
    margin: 0 !important;
}
.skin-black .left-side {
    background:   #0C7A39;
}
.skin-black .sidebar > .sidebar-menu > li:first-of-type {
    border-top:  1px solid  #EEE;
}
.skin-black .sidebar > .sidebar-menu > li {
    border-top:  1px solid  #EEE;
    border-bottom:  0px solid  #EEE;
}
skin-black .logo {
    background-color:   #0C7A39;
    color:   #f9f9f9;
}
.skin-black .sidebar > .sidebar-menu > li > a:hover, .skin-black .sidebar > .sidebar-menu > li.active > a {
    color:   #f6f6f6;
    background:   #014626;
}
.skin-black .logo:hover {
    background:   #014626;
}
.skin-black .sidebar > .sidebar-menu > li > .treeview-menu {
    margin:  0 1px;
    background:   #0C7A39;
}
a {
    color:   #0C7A39;
}
a:hover, a:active, a:focus {
    color:   #52A072;
}
.btn-link:hover, .btn-link:focus {
    color:   #52A072;
    text-decoration:  none;
    background-color:   transparent;
}
.btn-link {
    color:   #0C7A39;
}
.skin-black .logo{ background-color: #FFF; }
.logo img{ max-width: 100px; }
.filter_container .form-group{ float: left; margin-right: 5px; }
.filter_container .form-group input{ width: auto; }
.sonata-ba-filter .box.box-primary{ display: inline-block; }
.sonata-ba-filter .box-body{ padding-top: 0; }
.sonata-ba-filter .box .box-header{ padding-bottom: 0; }
.sonata-ba-filter button, .sonata-ba-filter a{ margin-top: 25px; }
.top_actions{ float: left; }
.sonata-ba-filter .select2-container .select2-choice { margin-top: 5px;}
div.select2-container{ width: 100%; }
.content-header{ display: none; }
.overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999999;
}
.ui-tooltip, .arrow:after {
    background: #FFF;
    border: 1px solid lightgrey;
}
.ui-tooltip {
    padding: 3px 8px;
    color: #333333;
    border-radius: 2px;
    font-size: 8px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}
.admin-img_preview{
    max-width: 200px;
}

.not_user .logo, .not_user .left-side, .not_user .navbar-static-top{
    display: none!important;
}
.not_user div.connection{
    padding: 15px 30px;
    width: auto;
    background: #FFF;
    box-shadow: none;
}
.not_user div.connection .form-actions{
    margin-top: 20px;
}
.not_user .control-group{
    margin-top: 10px;
}
.not_user{
    background-image: linear-gradient(to bottom right,#A6BD38,#014626);
}
.not_user .right-side, .not_user .content{
    background: none!important;
}
.not_user .alert-error{
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
    padding: 15px;
    border: 1px;
}
.btn.btn-primary:hover,.btn.btn-primary:active, .btn.btn-primary.hover {
    background-color: #014626;
}

.btn.btn-primary {
    background-color: #0C7A39;
    border-color: #014626;
}
.add_custom_cert .save_certs{

}
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}
.add_custom_cert ul{
    padding: 0;
}
.add_custom_cert ul, .add_custom_cert ul li{
    list-style: none;
}
.add_custom_cert ul li{
    padding-bottom: 20px;
}
.add_custom_cert ul div label{

}
.add_custom_cert ul div input {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.add_custom_cert{
    display: none;
}
.cert_file_icon_link{
    font-size: 18px;
    margin-left: 8px;
}
.img_list{
    width: 100%;
}
.img_list td:nth-child(1){
    text-align: left;
    padding-right: 20px;
}
.img_list img{
    max-height: 150px;
    width: 250px;
    float: right;
}
.request_status td span:last-child{
    font-weight: bold;
}
.dropdown-user{
    padding: 12px!important;
}
.dropdown-user a{
    color: red!important;
}

.top_stations{}
.top_stations li{
    padding-top: 15px;
    padding-bottom: 15px;
    margin-right: 10px;
}
.multi_rows .form-group {
    display: inline-block;
    float: left;
}
.multi_rows .box:after{
    content: " ";
    display: table;
    clear: both;
}
.multi_rows .form-group:nth-child(1) {
    width: 35%;
}
.multi_rows .form-group:nth-child(2) {
    width: 35%;
    margin-left: 15px;
}
.multi_rows .select2-container{
    padding: 0!important;
}
/* User agreements */
.agreements_list > .form-group{
    border: 1px solid lightgrey;
    padding: 10px;
}
.agreements_list > .form-group .field-actions{
    display: none;
}
/* End */


/* Requests list filter */
.filter-station{
    width: 15%;
}
.filters{
    width: 100%;
    float: left;
}
.filter_actions{
    text-align: right;
}
/* End */
.filer_box{
    float: left;
}
.filter_buttons, .filter_actions{
    float: left;
    width: 100%;

}
.sonata-filter-form select, .sonata-filter-form div.select2-container{
    min-width: 154px;
}
.sonata-ba-filter .box-header:hover{
    cursor: pointer;
}
.sonata-ba-filter .box-body{
    display: none;
}
.leftzero{
    padding-left: 0;
}
.multi_rows .box{
    border: 0!important;
    margin: 0!important;
}
.sonata\.admin\.cleanrecipe .multi_rows .box{
    border: 0!important;
    margin: 0!important;
    border-radius: 0!important;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1)!important;
}
.sonata\.admin\.cleanrecipe .multi_rows .box h4{
    display: none;
}
.sonata\.admin\.cleanrecipe .col-md-12:nth-child(1) .box{
    border: 0!important;
    margin: 0!important;
    border-radius: 0!important;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1)!important;
}
.sonata\.admin\.cleanrecipe .form-actions{
    margin-top: 20px!important;
}
.services_block .select{
    margin-bottom: 10px;
}
.services_block .actions{
    padding-left: 0;
    padding-top: 7px;
}
.user_action_options label{
    width: 40%;
    float: left;
}
.multi_rows .box-header{
    display: none!important;
}

#zdrop {
    height: 150px;
    text-align: center;
    border: 1px solid green;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
}
#zdrop .text{
    line-height: 135px;
}
#zdrop .glyphicon-upload{
    display: block;
    font-size: 40px;
    color: lightgreen;
    font-weight: 100;
    position: absolute;
    left: 50%;
    margin-left: -20px;
    bottom: 15px;
    height: 40px;
    top: auto;
}
.green{
    background-color: lightgreen;
    color: white;
}
.item-template{
    margin-bottom: 20px;
    border: 1px solid lightgrey;
    padding: 10px;
}
#previews {
    margin-top: 20px;
    float: left;
    width: 100%;
}
.zdrop_remove_item{
    float: right;
}
#previews .second_row{
    margin-top: 10px;
}
.second_row.actions {
    text-align: right;
}
.tank_number_found{
    color: green;
}
.storage-days {
    white-space: nowrap;
}
.calendar-event-wrapper {
    display: flex;
    position: fixed;
    height: 300px;
    z-index: 10;
    top: 50px;
    overflow: scroll;
}
.calendar-filter {
    margin-top: 210px;
}
