/* Dropzone */
.dzUploadBtn {
  display: inline-block;
  vertical-align: bottom;
  background: url('../images/upload-image.png') no-repeat 0 0;
  width: 99px;
  height: auto;
  min-height: 85px;
  cursor: pointer;
  margin-bottom: 14px;
}
.dzUploadBtn .dz-message {
  display: none;
}
.dzImgList {
  display: inline-block;
  vertical-align: bottom;
  width: 100%;
}
.dz-preview {
  display: inline-block;
  vertical-align: bottom;
  position: relative;
  width: 99px;
  height: auto;
  min-height: 85px;
  margin-bottom: 14px;
}
.dz-preview + .dz-preview {
  margin-left: 15px;
}
.dz-preview .dz-filename,
.dz-preview .dz-size,
.dz-preview .dz-delete {
  position: absolute;
  display: inline-block;
  left: 6px;
  top: 6px;
  z-index: 10;
  line-height: 15px;
  max-height: 38px;
  max-width: 196px;
  padding: 4px;
  border-radius: 3px;
  background: rgba(255,255,255,0.6);
  overflow: hidden;
}
.dz-preview .dz-filename {
  display: none;
}
.dz-preview .dz-size {
  display: none;
  top: 50px;
}
.dz-preview .dz-delete {
  background: #678516;
  top: -15px;
  left: auto;
  right: -15px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  text-indent: -99px;
}
.dz-preview .dz-delete:before,
.dz-preview .dz-delete:after {
  content: "";
  text-indent: 0;
  display: block;
  border: solid 1px #ffffff;
  position: absolute;
  width: 0;
  height: 16px;
  left: 15px;
  top: 7px;
  transform: rotate(-45deg);
}
.dz-preview .dz-delete:after {
  transform: rotate(45deg);
}
.dz-preview .dz-delete:hover {
  box-shadow: 0 0 7px #95c020;
}
.dz-preview .dz-thumbnail {
  position: absolute;
  left: 0;
  right: 0;
}
.dz-preview.loading:before {
  content: "";
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: #FFFFFF;
  z-index: 5;
  opacity: 0.5;
}
.dz-preview.loading .dz-delete {
  display: none;
}
.dz-preview .dz-progress {
  display: none;
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 3px;
  height: 3px;
  background: #444444;
  z-index: 11;
}
.dz-preview.loading .dz-progress {
  display: block;
}
.dz-preview .dz-progress .bar {
  background: #33FF33;
  width: 0;
  height: 3px;
  float: left;
}
.dz-preview textarea {
  float: right;
  border: solid 1px #bbb;
  width: calc(100% - 201px);
  height: 86px;
}
.dz-preview + .dzUploadBtn {
  margin-left: 25px;
}
/* */

.header.auth {
    margin-bottom: 50px;
}
.header.auth .branding {
    display: block;
    width: 70px;
    margin: 0 auto;
    padding-top: 0;
}
.branding img {
    width: 100%;
}

/*Materialize modifications */
[type="checkbox"] + span {
    vertical-align: middle;
}
[type="checkbox"] + span:not(.lever) {
    height: 22px;
}
[type="checkbox"].filled-in:not(:checked) + span:not(.lever):after {
    height: 16px;
    width: 16px;
    border: 1px solid #a79c9c;
}
[type="checkbox"].filled-in:checked+span:not(.lever):after {
    height: 16px;
    width: 16px;
    border: 2px solid #ee6e73;
    background-color: #ee6e73;
}
[type="checkbox"].filled-in:checked+span:not(.lever):before {
    height: 10px;
    width: 6px;
}
html {
    font-size: 100%;
}
a {
    color: #03ad7d;
}
a.pointer {
    cursor: pointer;
}
/********/
.user-view {
    text-align: left;
    width: 250px;
    line-height: 1.5rem;
}
.user-view .background {
    padding: 24px 12px 25px;
    background: #03ad7d;
}
.user-view h3 {
    font-size: 1.4rem;
    margin: 0 0 4px;
}
.user-view h4 {
    font-size: 0.8rem;
    margin: 0 0 25px;
}
.user-view a.link {
    font-size: 1rem;
    line-height: 2rem;
    display: block;
}
.user-view a i {
    line-height: 2rem;
    vertical-align: middle;
    height: auto;
    margin-top: -2px;
}
.scrollable {
    position: absolute;
    top: 181px;
    bottom: 0;
    left: 0;
    width: 250px;
    overflow: auto;
}
.collapsible {
    border: none;
    margin: 0;
}
.collapsible-header {
    background-color: transparent;
    border: none;
    line-height: 3rem;
    padding: 0 15px;
    transition-duration: 0.25s;
}
.collapsible-header:hover {
    background-color: rgba(0,0,0,0.1);
}
.collapsible-header:focus {
    outline: none;
}
.collapsible-body {
    border: none;
    padding: 0;
}

/***********/
.page-container {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
}
.navOpen {
    overflow: hidden;
}
.wrapper {
    transition-duration: 0.2s;
    transition-timing-function: linear;
    background-color: white;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 100px 0;
    overflow-y: scroll;
    -ms-overflow-y: scroll;
}
.wrapper.open {
     transform: translateX(250px) translateY(0px);
     -webkit-transform: translateX(250px) translateY(0px);
     box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
}
.wrapper section {
    max-width: 680px;
    margin: 0 auto;
    padding: 58px 96px 50px;

}
/***********/
.openNav {
    transition-duration: 0.2s;
    transition-timing-function: linear;
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    position: fixed;
    top: 18px;
    left: 44px;
    z-index: 1001;
}
.openNav:hover {
    cursor: pointer;
}
.openNav .icon {
    transition-duration: 0.2s;
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #03ad7d;
    top: 18px;
    left: 6px;
}
.openNav .icon:before,
.openNav .icon:after {
    transition-duration: 0.5s;
    background-color: #03ad7d;
    position: absolute;
    content: "";
    width: 24px;
    height: 2px;
    left: 0px;
}
.openNav .icon:before {
    top: -7px;
}
.openNav .icon:after {
    top: 6px;
}
.openNav.open {
    transform: translateX(250px) translateY(0px);
    -webkit-transform: translateX(250px) translateY(0px);
}
.openNav.open .icon {
    background-color: transparent;
}
.openNav.open .icon:before,
.openNav.open .icon:after {
    top: 0;
}
.openNav.open .icon:before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.openNav.open .icon:after {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
nav {
    background-color: #02b986;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
}
nav > ul {
    width: 250px;
}
nav ul li {
    transition-duration: 0.25s;
    display: block;
    padding: 0;
    width: 100%;
    color: white;
    letter-spacing: 0.02em;
    text-align: left;
}
nav ul li a {
    line-height: 3rem;
}
nav ul li:hover a {
    cursor: pointer;
    color: white;
}
.collapsible-body ul li a {
    padding-left: 30px;
}
.header {
    position: fixed;
    box-sizing: border-box;
    top: 0;
    padding: 20px 90px;
    right: 0;
    left: 0;
    background: #ffffff;
    height: 118px;
    z-index: 1000;
    border-bottom: solid 1px #b0b0b0;
    box-shadow: 0 2px 2px #e7e7e7;
}
.header:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #d0d0d0;
}
.header .content {
    float: left;
}
h1 {
    display: inline-block;
    vertical-align: middle;
    font-size: 2rem;
    font-weight: 300;
    line-height: 2.3rem;
    margin: 0;
    color: #7d7d7d;
}
.branding {
    display: block;
    width: 49px;
    margin-top: -6px;
    float: right;
    transition-duration: 0.2s;
    transition-timing-function: linear;
}
.branding img {
    width: 100%;
}
.branding.open {
    transform: translateX(-250px) translateY(0px);
    -webkit-transform: translateX(-250px) translateY(0px);
}
.section-header {
    position: fixed;
    top: 85px;
    right: 96px;
    left: 96px;
    box-sizing: border-box;
    padding: 0 0.75rem 0 0.75rem;
    margin: 0;
    background: #ffffff;
    height: 30px;
    z-index: 1001;
}
.breadcrumbs {
    display: block;
    padding: 0;
    margin: -5px 0 0 0;
}
.breadcrumbs li {
    display: inline-block;
    font-size: 0.8rem!important;
    color: #666666;
}
.breadcrumbs li a {
    color: #666666;
}
.breadcrumbs li a:hover {
    text-decoration: underline;
}
.breadcrumbs li + li:before {
    content: ">";
    margin-left: 1px;
    margin-right: 5px;
}
.section-header .header-panel {
    display: inline-block;
    vertical-align: bottom;
    padding-bottom: 5px;
}
.header-panel > * {
    display: inline-block;
    vertical-align: bottom;
    height: 25px!important;
    line-height: 25px!important;
}
.left .header-panel + .header-panel {
    margin-left: 10px;
}
.right .header-panel {
    margin-left: 10px;
}
.header-panel button {
    height: 25px!important;
    line-height: 25px!important;
    border: none;
    background: #03ad7d;
    color: #FFFFFF;
}
.header-panel.more-actions {
    margin-left: 40px;
}
.header-panel.more-actions button {
    cursor: pointer;
}
.header-panel .search-form > * {
    display: inline-block;
    vertical-align: bottom;
}
.header-panel .search-form > input {
    width: calc(100% - 55px);
    line-height: 24px;
    height: 24px!important;
    margin-bottom: 0;
    border-bottom: none;
    background: #03ad7d2e;
    padding: 0 5px;
}
.header-panel .search-form button,
.header-panel .clean-form button {
    font-size: 0.8rem!important;
    padding: 0 5px;
}
.header-panel .search-form button i,
.header-panel .clean-form button i {
    font-size: 18px!important;
    line-height: 25px!important;
}
.header-panel .btn-flat {
    font-size: 0.8rem;
    line-height: 1.7rem;
    font-weight: 300;
    padding: 0 10px;
    height: auto;
    text-transform: none;
}
.header-panel .btn-flat i {
    margin-right: 5px;
    font-size: 1.2rem;
}
.header-panel .select-wrapper {
    margin-left: 14px;
    max-width: 140px;
}
.header-panel .select-wrapper input.select-dropdown {
    background: #03ad7d2e;
    font-size: 1rem;
    height: 25px;
    border-bottom: none;
    padding-left: 8px;
    margin-bottom: 0!important;
}
.header-panel .select-wrapper + div {
    margin-left: 16px;
}
.header-panel .dates > input[type="text"] {
    width: 100px!important;
    height: 25px!important;
    background: #03ad7d2e!important;
    border-bottom: none!important;
    margin-bottom: 0;
    margin-right: 10px;
    padding: 0 4px;
}
.pagos-index .header {
    height: 165px;
}
.pagos-index .wrapper {
    padding-top: 165px;
}
.pagos-index .section-header .header-panel.bottom {
    display: block;
    padding-left: 42px;
    padding-top: 10px;
}
.pagos-index .impago td {
    background: #fff1ef;
}
.section-header .header-panel.ejercicios .select-wrapper {
    max-width: 170px;
}
.socios-index .header {
    /*height: 168px;*/
}
table th {
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    color: #03ad7d;
}
table td a {
    color: #000;
}
table tr:hover td a {
    color: #03ad7d;
}
table td {
    color: #808080;
}
table th.delete,
table td.delete {
    width: 30px;
}
table th.delete + th,
table td.delete + td {
    width: auto;
}
table th.actions,
table td.actions {
    width: 100px;
    text-align: center;
}
table td.actions a {
    display: none;
    vertical-align: middle;
    height: 24px;
}
table tr:hover td.actions a {
    display: inline-block;
    color: #bbb4b4;
}
table tr:hover td.actions a:hover {
    color: #03ad7d;
}
.sortable li {
    padding: 0 6px;
    background: #ebebeb;
    min-height: 2rem;
    line-height: 2rem;
    margin-bottom: 5px;
    cursor: move;
}
.sortable li > * {
    display: inline-block;
    vertical-align: middle;
}
.sortable li > i {
    margin-right: 40px;
}
.sortable-placeholder {
    background: none;
    border: dotted 1px #666666;
}
.treeItemShowChildren,
.treeItemShowParent {
    transform: rotate(270deg);
}
.treeItemShowParent {
    margin-top: -8px;
}

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; cursor: pointer; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }

@media only screen and (min-width: 680px) {
    .wrapper section {
        max-width: none;
    }
}