html, body {
    background: #999;
    height: 100%;
    font-family: "Roboto", sans-serif;
}

body, .f1, .f1-c > * {
    font-size: 14px;
}

.mww {
    /*max-width: 1100px;*/
}

.mww, .nww {
    /*min-width: 700px;*/
}

.main {
    height: 100%;
    width: 1500px;
    -webkit-box-shadow: 0px 12px 52px -9px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 0px 12px 52px -9px rgba(0, 0, 0, 0.6);
    box-shadow: 0px 12px 52px -9px rgba(0, 0, 0, 0.6);
}

.main > aside {
    position: relative;
    width: 240px;
    height: 100%;
    background: #fff;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, .6), 5px 0 7px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    border-right: solid 1px #d5d5d5;
}

.main > aside > .area {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.main > aside > .area::-webkit-scrollbar {
    width: 8px;
}

.main > aside > .area::-webkit-scrollbar-track {
    background-color: transparent;
}

.main > aside > .area::-webkit-scrollbar-thumb {
    background-color: #ddd;
}

.main > .structure {
    position: relative;
}

.main > .structure > .area {
    background: #f5f5f5;
}

.main > .structure > .area > header {
    padding: 0 40px;
}

.main .content {
    background: #f9f9f9;
    overflow-y: auto;
}

.main .content .module > .area {
    padding: 10px 20px;
}

.module > header {
    /*border-bottom: solid 3px #ef4039;*/
    padding: 15px 30px 0;
    margin-bottom: 10px;
}

.module > header > h2 {
    margin: 0;
    font-style: italic;
    font-size: 1.8em;
    color: #003154;
}

.module > header .notification {
    background: rgba(0, 0, 100, .1);
    top: 0;
    right: 0;
    height: 100%;
    padding: 0 20px;
    font-weight: bold;
    overflow: hidden;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
    color: #2784a0;
}

.module > header .notification.removed {
    height: 0;
    font-size: 0;
}

.module > header .notification a {
    font-size: 0.9em;
    color: #2784a0;
}

.module > header .notification span {
    font-style: italic;
    letter-spacing: 1px;
    margin: 0 10px;
    font-size: 1.2em;
}

.module > header .notification.type-1 {
    background: rgba(100, 100, 100, .2);
    color: red;
    font-size: 1.1em;
}

.module > header .notification.type-1 a {
    color: red;
}

.main .content > .wrap {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
}

.main .content > .wrap > * {
    top: 0;
    min-height: 100%;
    /*background: rgba(255, 255, 255, .7);*/
}

.nav1 li {
    /*margin: 5px 0;*/
}

.nav1 li a > i {
    margin-right: 10px;
}

.nav1 li a i {
    color: #082c60;
    margin-right: 5px;
    text-align: center;
    width: 15px;
}

.nav1 li a {
    display: block;
    color: #222;
    background: #f3f3f3;
    padding: 10px 12px;
}

.nav1 li a:hover {
    border-left-color: #028804;
    background: #ef4039;
    color: #fff;
}

.nav1 li a:hover i {
    color: #fff;
    text-shadow: none;
}

.nav1 li.subNav {
    padding: 5px 0;
}

.nav1 li.subNav > a, .nav1 li.subNav > a:hover {
    font-weight: bold;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #000;
    cursor: default;
    -webkit-pointer-events: none;
    pointer-events: none;
}

.nav1 li.subNav .drop-arrow {
    margin-top: 2px;
    margin-right: 4px;
}

.nav1 .subNav.nav-def-1 li a {
    background-color: #0499f3;
    border-left-color: #03659f;
    color: #fff;
}

.nav1 .subNav.nav-def-1 li a i {
    color: #fff;
}

.nav1 .subNav.nav-def-1 li a:hover {
    opacity: .8;
}

.nav1 li.subNav.nav-def-1 > a > div > i,
.nav1 li.subNav.nav-def-1 > a > div > span {
    color: #0499f3;
}

.nav1 .nav-def-2 a,
.nav1 .nav-def-7 a {
    border-left: 0;
    padding: 14px;
    margin: 12px 10px 0;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 0;
}

.nav1 .nav-def-2 a > div,
.nav1 .nav-def-7 a > div {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4039;
}

.nav1 .nav-def-2 a > div > i,
.nav1 .nav-def-7 a > div > i {
    color: #ef4039;
    vertical-align: sub;
}

#listingFilterForm button {
    background-color: #ef4039;
    border: none;
    color: white;
    height: 27px;
    padding: 0 20px;
    cursor: pointer;
}

#listingFilterForm button:focus {
    background-color: #225f79;
    outline: none;
}

.nav1 .nav-def-2 a:hover,
.nav1 .nav-def-7 a:hover {
    background: #e5e5e5;
    color: #ef4039;
}

.nav1 .nav-def-7 a > div {
    color: #ef4039;
}

.nav1 .nav-def-7 a > div > i {
    color: #ef4039;
}

.nav1 .nav-def-7 a:hover {
    color: #d22;
}

.nav1 .subNav.nav-def-3 li a {
    background-color: #ef4039;
    border-left-color: #029905;
    color: #fff;
}

.nav1 .subNav.nav-def-3 li a i {
    color: #fff;
}

.nav1 .subNav.nav-def-3 li a:hover {
    opacity: .8;
}

.nav1 li.subNav.nav-def-3 > a > div > i,
.nav1 li.subNav.nav-def-3 > a > div > span {
    color: #ef4039;
}

.nav1 .subNav.nav-def-4 li a {
    background-color: #f98d01;
    border-left-color: #d17601;
    color: #fff;
}

.nav1 .subNav.nav-def-4 li a i {
    color: #fff;
}

.nav1 .subNav.nav-def-4 li a:hover {
    opacity: .8;
}

.nav1 li.subNav.nav-def-4 > a > div > i,
.nav1 li.subNav.nav-def-4 > a > div > span {
    color: #ef4039;
}

.nav1 .subNav.nav-def-5 li a {
    border-bottom: 2px solid #e2e2e2;
    background-color: transparent;
    color: #072c5f;
    font-weight: 500;
    transition: all .3s ease;
}

.nav1 .subNav.nav-def-5 li i {
    transition: color .3s ease;
}
.nav1 .subNav.nav-def-6 li i {
    transition: color .3s ease;
}

.nav1 .subNav.nav-def-5 li:hover a {
    border-bottom: 2px solid #ef4039;
    color: #ef4039;
}

.nav1 .subNav.nav-def-5 li:hover i {
    color: #ef4039;
}

.nav1 .subNav.nav-def-6 li:hover i {
    color: #ef4039;
}

.nav1 li.subNav.nav-def-5 > a > div > i,
.nav1 li.subNav.nav-def-5 > a > div > span {
    color: #003154;
}

.nav1 .subNav.nav-def-6 li a {
    transition: all .3s ease;
    border-bottom: 2px solid #e2e2e2;
    background-color: transparent;
    color: #072c5e;
    font-weight: 500;
}

.nav1 .subNav.nav-def-6 li a i {
    color: #072c5e;
}

.nav1 .subNav.nav-def-6 li:hover a {
    border-bottom: 2px solid #ef4039;
    color: #ef4039;
}

.nav1 li.subNav.nav-def-6 > a > div > i,
.nav1 li.subNav.nav-def-6 > a > div > span {
    color: #003154;
}

.grid-list .list tr.corNaoLida {
    background-color: rgba(38, 181, 140, 0.5);
}

.homeAnchor {
    position: absolute;
}

.nav-desc {
    position: relative;
    height: 80px;
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    color: #fff;
    background: #003154;
    margin: 1px;
    box-shadow: 0 0 8px rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.nav-desc:hover .location-drawer {
    max-height: 500px;
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    -moz-timing-function: ease-in;
    -ms-timing-function: ease-in;
    -o-timing-function: ease-in;
}

.location-drawer {
    overflow: hidden;
    max-height: 0;
    font-size: 14px;
    font-weight: normal;
    color: #000;
    text-shadow: none;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ef4039;
    box-shadow: 0 10px 19px -2px rgba(0, 0, 0, .3);
    transition: max-height .3s ease-out;
    -webkit-transition: max-height .3s ease-out;
    -moz-transition: max-height .3s ease-out;
    -ms-transition: max-height .3s ease-out;
    -o-transition: max-height .3s ease-out;
    -webkit-transition-delay: .2s;
    -moz-transition-delay: .2s;
    -ms-transition-delay: .2s;
    -o-transition-delay: .2s;
    transition-delay: .2s;
}

.location-drawer a {
    padding: 8px;
    display: block;
    color: #fff;
    margin: 2px 0;
}

.location-drawer a:hover {
    background-color: rgba(0, 0, 0, .1);
}

.main > .structure > .area {
    position: absolute;
    width: 100%;
    height: 100%;
}

.main > .structure .area > header {
    height: 120px;
    border-bottom: solid 1px #d5d5d5;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .2);
}

.main > .structure .area > header > * {
    height: 100%;
}

.main > .structure .area > header .logo img {
    max-height: 80px;
}

.main > .structure .area > footer {
    height: 100px;
    border-top: solid 1px #d5d5d5;
    background-color: #f5f5f5;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}

.main > .structure .area > footer .copy {
    padding: 20px;
}

.main > .structure .area > footer h2, .module > header h2 {
    margin-top: 0;
}

.main > .structure .area > footer {
    color: #777;
    min-height: 115px;
}

.main > .structure .area > footer i {
    color: #015b02;
}

.actionBar, .headerExtraContent {
    /*    height: 60px;
        padding-top: 14px;*/
}

.headerExtraContent {
    font-size: 20px;
    color: #eee;
}

.headerExtraContent > div {
    height: 100%;
    margin: 2px 10px 2px 0;
    padding: 0 20px;
    width: auto;
}

.actionBar ul, .actionBar li, .actionBar nav {
    height: 100%;
}

.actionBar li + li {
    margin-left: 10px;
}

.actionBar a {
    display: block;
    background: #ef4039;
    height: 35px;
    padding: 0 15px;
    color: #fff;
    transition: background .3s ease;
    box-shadow: 9px 10px 10px -10px rgba(0, 0, 0, .2);
    font-weight: bold;
}

.actionBar li.additional a {
    position: relative;
    background: rgba(0, 90, 0, .4);
}

.actionBar li.additional2 a {
    background: rgba(100, 100, 0, .4);
}

.actionBar li.additional.warning a {
    background: rgba(255, 50, 50, 1);
}

.actionBar a:hover {
    background: #dc7b00;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .05), 5px 5px 10px -5px rgba(0, 0, 0, .1);
}

.actionBar a:active {
    background: #00376f;
}

.actionBar a i {
    margin-right: 5px;
}

.form-area {
    font-size: 0.9em;
    margin: 6px 8px;

}

.form-area .form-item.validationFail > label > *:first-child {
    color: #f22;
}

.form-area .form-item.validationFail input[type="text"],
.form-area .form-item.validationFail input[type="tel"],
.form-area .form-item.validationFail input[type="date"],
.form-area .form-item.validationFail input[type="search"],
.form-area .form-item.validationFail select,
.form-area .form-item.validationFail textarea,
.no-class {
    border-color: #f00;
}

.form-item.validationFail {
    position: relative;
}

.form-item.validationFail:before {
    display: block;
    position: absolute;
    content: attr(data-js-message);
    background: #555;
    top: 100%;
    margin-top: -1px;
    right: 1px;
    font-size: 11px !important;
    padding: 2px 4px;
    color: white;
    border-radius: 0 0 5px 5px;
    border: solid 1px #333;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .4);
    pointer-events: none;
    z-index: 1;
}

.form-item:not(.module-view)[data-js-need]:not([data-js-need=""]) label > *:first-child:before,
.form-item:not(.module-view)[data-js-need]:not([data-js-need=""]) .label > *:first-child:before {
    display: inline;
    content: "* ";
}

.form-item[data-js-type] {
    position: relative;
}

.form-item:not(.module-view)[data-js-type]:not([data-js-type="number"]):after {
    content: "";
    display: block;
    position: absolute;
    left: 3px;
    right: 3px;
    margin-top: -7px;
    border-bottom: dotted 1px #fff;
}

.form-area .form-item.module-view input[type="text"],
.form-area .form-item.module-view input[type="number"],
.form-area .form-item.module-view input[type="tel"],
.form-area .form-item.module-view input[type="date"],
.form-area .form-item.module-view input[type="time"],
.form-area .form-item.module-view input[type="search"],
.form-area .form-item.module-view select,
.form-area .form-item.module-view textarea,
.no-class {
    border: transparent;
    background-color: rgba(0, 0, 0, .0);
    /*border-bottom-color: #efefef;*/
    cursor: text;
    border-radius: 0;
    padding-left: 0;
    border-bottom: solid 1px #eee;
}

.form-area .form-item select {
    -webkit-appearance: none;
    padding: 8px 28px 8px 8px;
    border-radius: 2px;
    background: rgba(39, 132, 160, 0.04) url("../../layout/image/select-arrow.png") no-repeat right center;
    background-size: 16px;
}

.form-area .form-item.module-view input[type=number]::-webkit-inner-spin-button,
.form-area .form-item.module-view input[type=number]::-webkit-outer-spin-button,
.form-area .form-item:not(.module-view) input:read-only::-webkit-inner-spin-button,
.form-area .form-item:not(.module-view) input:read-only::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-area .form-item.module-view select,
.form-area .form-item select:disabled,
.form-area .form-item select.readonly {
    background-image: none;
}

.form-area .form-item select.readonly {
    background-color: rgba(255, 255, 0, 0.1);
}

.form-area .form-item.module-view textarea {
    resize: none;
    border-bottom-color: transparent;
}

.form-area .form-item:not(.module-view) input:read-only, .form-area .form-item:not(.module-view) select.readonly {
    /*background: #ffd;*/
    pointer-events: none;
    cursor: default;
}

.form-area .form-item:not(.module-view) select.readonly {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-area fieldset {
    border: solid 1px #ccc;
    border-radius: 4px;
    margin: 20px 0;
    padding: 5px 10px 15px;
}

.form-area fieldset > legend {
    font-weight: bold;
    font-size: 1.3em;
    color: #555;
    letter-spacing: 1px;
    font-family: "Roboto Condensed", serif;
    border: solid 1px #ccc;
    border-bottom-width: 0;
    padding: 1px 7px;
}

.form-area fieldset, .form-area fieldset > legend {
    background: #f6f6f6;
}

.dividerTitle {
    height: 10px;
    color: blue;
}

@media screen and (max-width: 1600px) {
    .main > .structure .area > header {
        height: 110px;
        background-color: #f3f3f3;
    }

    .main > .structure .area > header .logo img {
        height: 63px;
    }

    .actionBar {
        /*height: 32px;*/
    }

    .actionBar a {
        padding: 0 35px 0 28px;
    }

    .main > .structure .area > footer {
        min-height: 0;
        height: 61px !important;
    }

    .main > .structure .area > footer .copy {
        padding: 14px 10px 10px;
        border-bottom: none;
    }

    .main > .structure .area > footer .copy h2 {
        font-size: 1.2em;
    }

    .module > header {
        padding: 32px 30px 0;
    }

    .module > header > h2 {
        font-size: 1.6em;
    }

}

.pictureGrid {
    padding: 20px 20px 10px;
}

.pictureGrid ul {
    width: 100%;
}

.pictureGrid li {
    width: 15%;
}

.pictureGrid li a {
    position: relative;
    display: block;
    border: solid 4px #aaf;
    margin: 0 10px;
    overflow: hidden;
    font-size: 0;
}

.pictureGrid li.removed {
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -ms-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
    overflow: hidden;
    height: 0;
    width: 0;
}

.pictureGrid li a:before {
    display: block;
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    margin-top: 0;
    background: rgba(255, 255, 255, .5);
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.pictureGrid li a:hover:before {
    margin-top: 100%;
}

.pictureGrid li a .remove {
    left: 50%;
    top: -50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin-left: -15px;
    margin-top: -15px;
    text-align: center;
    background: #000;
    color: white;
    border-radius: 50%;
    opacity: 0;
    font-size: 16px;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.pictureGrid li a:hover .remove {
    opacity: 1;
    top: 50%;
}

.pictureGrid li img {
    width: 100%;
}

.pagination {
    padding-top: 6px;
}

.pagination li a {
    display: block;
    min-width: 20px;
    margin: 2px;
    padding: 5px 5px 4px;
    background: #ccc;
    color: #555;
    text-align: center;
    border-bottom: solid 1px #999;
}

.pagination li:not(.active) a:hover {
    background: #cce;
    color: #55a;
}

.pagination .active a {
    background: #555;
    cursor: default;
    color: #eee;
    border-bottom: solid 1px #333;
}

.pagination li:not(.active) a:active {
    background: #ccc;
}

.pagination a {
    line-height: 70%;
}

.big-form input {
    padding: 12px;
    font-size: 15px;
}

.big-form .form-item > label > *:first-child,
.big-form .label > *:first-child {
    font-size: 15px;
}

.button1 {
    padding: 13px 78px;
    background: #ef4039;
    margin: 10px 0;
    color: white;
    font-weight: bold;
    outline: none;
    -webkit-transition: all 100ms ease;
    -moz-transition: all 100ms ease;
    -o-transition: all 100ms ease;
    transition: all 100ms ease;
}

.button1:hover {
    opacity: .7;
}

.button1:focus {
    border-color: #2f434c;
    box-shadow: 0 0 5px #ef4039;
}

.button2 {
    border: solid 1px #000;
    background-color: #222;
    color: #fff;
    font-size: 14px;
    padding: 4px 8px;
    cursor: pointer;
    outline: none;
}

.button2:hover {
    border-color: #111;
    background-color: #2a2a2a;
}

.button2:active {
    border-color: #000;
    background-color: #151515;
    color: #ccc;
}

[data-submodule] {
    position: relative;
}

[data-submodule]:hover .subModuleButton {
    opacity: 1;
}

.disabled[data-submodule]:not(.dependenceOk) a,
[data-submodule].module-bound a {
    display: none;
}

.subModuleButton {
    top: 20px;
    right: 15px;
    display: block;
    width: 11px;
    height: 11px;
    line-height: 11px;
    background: #f5f5f5;
    z-index: 1;
    text-align: center;
    border-radius: 50%;
    color: #555;
    border: solid 1px #707070;
    opacity: .4;
    -webkit-transition: opacity 120ms ease;
    -moz-transition: opacity 120ms ease;
    -ms-transition: opacity 120ms ease;
    -o-transition: opacity 120ms ease;
    transition: opacity 120ms ease;
    font-size: 13px;
}

.subModuleButton + label strong {
    padding-right: 22px !important;
}

.subModuleBox {
    top: 0;
    left: 0;
    height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, .7);
    z-index: 1;
    -webkit-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    transition: all 400ms ease;
    -webkit-transition-property: height, opacity;
    -moz-transition-property: height, opacity;
    -ms-transition-property: height, opacity;
    -o-transition-property: height, opacity;
    transition-property: height, opacity;
}

.subModuleBox.ready {
    height: 100%;
}

.subModuleBox .frameArea {
    width: 100%;
    height: 100%;
    text-align: center;
}

.subModuleBox iframe {
    width: 85%;
    height: 90%;
    margin: 100% 0 0;
    padding: 0;
    background: #fff;
    border: solid 4px #ccc;
    box-shadow: 0 0 4px rgba(0, 0, 0, .5);
    opacity: 0;
    -webkit-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    transition: all 400ms ease;
    -webkit-transition-property: opacity, margin-top;
    -moz-transition-property: opacity, margin-top;
    -ms-transition-property: opacity, margin-top;
    -o-transition-property: opacity, margin-top;
    transition-property: opacity, margin-top;
    max-width: 1080px;
}

.subModuleBox.ready iframe {
    -webkit-transition-delay: 300ms;
    -moz-transition-delay: 300ms;
    -ms-transition-delay: 300ms;
    -o-transition-delay: 300ms;
    transition-delay: 300ms;
    margin-top: 0;
    opacity: 1;
}

.subModuleBox.ready iframe.resized {
    -webkit-transition-delay: 0ms;
    -moz-transition-delay: 0ms;
    -ms-transition-delay: 0ms;
    -o-transition-delay: 0ms;
    transition-delay: 0ms;
}

.subModuleBox.hidden iframe {
    -webkit-transition-delay: 0ms;
    -moz-transition-delay: 0ms;
    -ms-transition-delay: 0ms;
    -o-transition-delay: 0ms;
    transition-delay: 0ms;
    margin-top: 100%;
}

.subModuleBox.hidden {
    height: 0;
}

.selectionList {
    padding-top: 5px;
}

.selectionList li {
    width: 33.3%;
}

.selectionList.x4 li {
    width: 25%;
}

.selectionList li label {
    display: block;
    margin: 5px;
}

.selectionList input[type="checkbox"], .selectionList input[type="radio"] {
    position: absolute;
    margin-top: 6px;
    margin-left: 6px;
}

.selectionList input:checked + span {
    background: rgba(200, 200, 250, .6);
}

.selectionList:not(.detailed) span {
    display: block;
}

.selectionList span {
    padding: 4px 8px 4px 22px;
    background: rgba(0, 0, 0, .1);
    border-radius: 2px;
    font-size: .9em;
}

.selectionList.detailed li {
    width: 50%;
}

.selectionList.detailed span {
}

.selectionList.detailed input[type="text"] {
    width: 100%;
    text-align: right;
}

.selectionList.detailed strong {
    font-weight: normal;
    padding-top: 5px;
}

.selectionList.detailed input[type="checkbox"] {
    margin-top: 11px;
}

.selectionList.detailed .note {
    width: 35%;
    padding-right: 14px;
}

.formEspecial {
    height: auto;
    width: 100% !important;
    padding: 0 !important;
}

.formEspecial label {
    padding: 0 !important;
}

.formEspecial input {
    padding: 5px 6px !important;
}

.sub-form {
    background: #eee;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, .1);
    border: solid 4px #999;
    border-radius: 2px;
}

.notificationBoxes li {
    width: 25%;
}

.notificationBoxes li a {
    display: block;
    margin: 10px;
    background: #ddd;
    padding: 15px;
    border: solid 1px #ccc;
    color: #676767;
    opacity: .8;
}

.notificationBoxes li a:hover {
    border-color: #555;
    opacity: 1;
}

.notificationBoxes li a .plate {
    background: -webkit-linear-gradient(#ccc, #eee);
    background: -moz-linear-gradient(#ccc, #eee);
    background: -ms-linear-gradient(#ccc, #eee);
    background: -o-linear-gradient(#ccc, #eee);
    background: linear-gradient(#ccc, #eee);
    border: solid 1px #aaa;
    border-radius: 3px;
    padding: 10px;
    font-size: 25px;
    color: #333;
    box-shadow: 10px 10px 5px -6px rgba(0, 0, 0, .1);
}

.notificationBoxes li a .info {
    margin: 10px 0 0;
}

.form-list-filter {
    margin: 6px 8px 15px 8px;
}

.gallery li {
    width: 33.33%;
}

.gallery li > a {
    display: block;
    margin: 10px;
    background: #333;
    border: solid 3px #111;
    border-radius: 3px;
    overflow: hidden;
    color: #668;
    text-shadow: 1px 1px 4px #000;
}

.gallery img {
    width: 100%;
}

.gallery i {
    font-size: 90px;
}

.complete .grid-list > header {
    position: static;
}

.complete .grid-list > .list {
    position: static;
    top: auto;
    bottom: auto;
    overflow-y: visible;
}

.complete .grid-list > footer {
    position: static;
    bottom: auto;
    height: auto;
}

.form-item {
    padding: 12px;
}

.complete .grid-list > header > .area {
    padding-right: 0;
}

.reportingHeader {
    padding: 10px 0;
}

.reportingHeader h1 {
    font-size: 18px !important;
}

.scratches {
    border: solid 2px #777;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 4px 4px 7px rgba(0, 0, 0, .2);
}

.grid-list > header {
    background: #003154 !important;
}

.form-area .form-item > label > *:first-child, .form-area .form-item > .label > *:first-child {
    color: #003154;
}

.messageList li:first-child {
    display: none;
}

.messageList li {
    border: solid 1px #bbb;
    border-radius: 20px;
    padding: 9px 16px;
    line-height: 100%;
    background: #eee;
    margin: 10px 5px;
}

.messageList:not(.doctor-view) li.doctor {
    text-align: right;
    background: #ffe;
}

.doctor-view.messageList li:not(.doctor) {
    text-align: right;
    background: #ffe;
}

.messageList li.doctor.new {
    -webkit-animation: new-message 500ms ease infinite;
    -moz-animation: new-message 500ms ease infinite;
    -ms-animation: new-message 500ms ease infinite;
    -o-animation: new-message 500ms ease infinite;
    animation: new-message 500ms ease infinite;
}

.messageList li .message {
    padding: 5px 5px 0;
}

.messageList li .date {
    font-size: 0.9em;
    color: #667;
}

.toast {
    display: inline-block;
    background: #323232;
    color: #f1f1f1;
    min-height: 48px;
    min-width: 288px;
    padding: 16px 24px 12px;
    box-sizing: border-box;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    border-radius: 2px;
    top: 100vh;
    left: 4vw;
    font-size: 15px;
    z-index: 100;
    position: fixed;
    font-family: Helvetica, serif;
    -webkit-transition: top 200ms ease-in;
    -moz-transition: top 200ms ease-in;
    -ms-transition: top 200ms ease-in;
    -o-transition: top 200ms ease-in;
    transition: top 200ms ease-in;
    cursor: default;
}

.toast a {
    color: #ff0;
}

.toast.shown {
    -webkit-transition: top 400ms cubic-bezier(.32, .94, .54, .98);
    -moz-transition: top 400ms cubic-bezier(.32, .94, .54, .98);
    -ms-transition: top 400ms cubic-bezier(.32, .94, .54, .98);
    -o-transition: top 400ms cubic-bezier(.32, .94, .54, .98);
    transition: top 400ms cubic-bezier(.32, .94, .54, .98);
    top: 80vh;
    z-index: 1;
}

.gallery li {
    width: 25%;
    -webkit-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    transition: all 400ms ease;
}

.gallery li > div {
    overflow: hidden;
    position: relative;
    margin: 10px;
    background-position: center center;
    background-size: cover;
}

.gallery li .remove {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 15px;
    background: rgba(0, 0, 0, .5);
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    cursor: pointer;
}

.gallery li:hover .remove {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.gallery li:hover .remove:hover {
    background: rgba(0, 0, 0, .7);
    padding: 20px 25px;
}

.gallery li .remove i {
    color: #fff;
    font-size: 20px !important;
}

.gallery li.removed {
    width: 0;
    opacity: 0;
}

@-webkit-keyframes new-message {
    0% {
        -webkit-transform: translateY(0px);
    }
    20% {
        -webkit-transform: translateY(-20px);
    }
    40% {
        -webkit-transform: translateY(10px);
    }
    60% {
        -webkit-transform: translateY(-20px);
        background: red;
    }
    80% {
        -webkit-transform: translateY(10px);
    }
    100% {
        -webkit-transform: translateY(0px);
        background: #eee;
    }
}

@-moz-keyframes new-message {
    0% {
        -moz-transform: translateY(0px);
    }
    20% {
        -moz-transform: translateY(-20px);
    }
    40% {
        -moz-transform: translateY(10px);
    }
    60% {
        -moz-transform: translateY(-20px);
        background: red;
    }
    80% {
        -moz-transform: translateY(10px);
    }
    100% {
        -moz-transform: translateY(0px);
        background: #eee;
    }
}

@-ms-keyframes new-message {
    0% {
        -ms-transform: translateY(0px);
    }
    20% {
        -ms-transform: translateY(-20px);
    }
    40% {
        -ms-transform: translateY(10px);
    }
    60% {
        -ms-transform: translateY(-20px);
        background: red;
    }
    80% {
        -ms-transform: translateY(10px);
    }
    100% {
        -webkit-transform: translateY(0px);
        background: #eee;
    }
}

@-o-keyframes new-message {
    0% {
        -o-transform: translateY(0px);
    }
    20% {
        -o-transform: translateY(-20px);
    }
    40% {
        -o-transform: translateY(10px);
    }
    60% {
        -o-transform: translateY(-20px);
        background: red;
    }
    80% {
        -o-transform: translateY(10px);
    }
    100% {
        -o-transform: translateY(0px);
        background: #eee;
    }
}

@keyframes new-message {
    0% {
        transform: translateY(0px);
    }
    20% {
        transform: translateY(-20px);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(-20px);
        background: red;
    }
    80% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0px);
        background: #eee;
    }
}

.inline-checkboxes input {
    position: absolute;
    visibility: hidden;
}

.inline-checkboxes label {
    display: block;
    height: 100%;
    flex: 1;
    font-size: .9em;
    margin: 0 2px;
    -webkit-user-select: none;
}

.inline-checkboxes .label > div {
    margin-top: 1px;
}

.inline-checkboxes .label > div > label {
    height: 30px;
}

.inline-checkboxes input + *, .inline-checkboxes .label > div {
    display: -ms-flexbox !important;
    display: -webkit-flex !important;
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
}

.inline-checkboxes input + *:before {
    position: absolute;
    top: 0;
    left: 2px;
    display: block;
    width: 16px;
    height: 100%;
    content: "";
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAC6SURBVHjanJMtCkJBFIU/ePi3AsFucAdmg7gCMbsMm4LFIpg02ARX4ANNZoNRg8X0sgatY5lwGN7IzAzcMIfzHWbu5WaknTFwBRop8AIwQJ4Cby18SYF3Fn4D9Vh4Y2EDdGPhqcAzn6np0UcC33zwAfgAA0fvCGyAti/gJKaJ6IXo839/rAIvMa+AtdyLkEb1nedq9UK7vS+BjzHjqgFfJ6AVO/OhwMvEReNpAyoh5qxEewB34BwS8BsAh+Q7md6q/P8AAAAASUVORK5CYII=") no-repeat center center;
    background-size: 0;
    opacity: 0;
    -webkit-transform: rotateZ(-270deg);
    -moz-transform: rotateZ(-270deg);
    -ms-transform: rotateZ(-270deg);
    -o-transform: rotateZ(-270deg);
    transform: rotateZ(-270deg);
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
}

.inline-checkboxes input + * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    height: 100%;
    overflow: hidden;
    opacity: .8;
    background: rgba(0, 0, 0, .08);
    border-bottom: solid 1px rgba(0, 0, 0, 0);
    padding: 2px 6px;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
    color: #000;
    cursor: pointer;
}

.inline-checkboxes.module-view input + * {
    cursor: default;
}

.inline-checkboxes input:disabled + * {
    opacity: .7;
    background: rgba(0, 0, 0, .08);
}

.inline-checkboxes input:checked + * {
    background: rgba(0, 0, 0, .15);
    border-bottom-color: rgba(0, 0, 0, .4);
    opacity: 1;
    padding-left: 18px;
}

.inline-checkboxes input[type=radio]:checked + * {
    cursor: default;
}

.inline-checkboxes input:disabled:checked + * {
    border-bottom-color: rgba(0, 0, 0, .2);
    background: rgba(0, 0, 0, .1);
}

.inline-checkboxes input:checked + *:before {
    -webkit-transform: rotateZ(0deg);
    -moz-transform: rotateZ(0deg);
    -ms-transform: rotateZ(0deg);
    -o-transform: rotateZ(0deg);
    transform: rotateZ(0deg);
    background-size: 60%;
    opacity: 1;
    color: #000;
}

.simple-list li:first-child {
    padding-top: 10px;
}

.simple-list li:last-child {
    padding-bottom: 15px;
}

.simple-list li > div {
    position: relative;
}

.simple-list li a {
    display: block;
    background: #fff;
    padding: 6px 10px;
    border-bottom: solid 1px #ddd;
    color: #777;
}

.simple-list li a[data-contract-status="2"] span {
    text-decoration: line-through;
    color: #c55;
}

.simple-list li.finished a {
    background: #eee;
}

.simple-list li.finished a span {
    text-decoration: line-through;
    color: #c55;
}

.simple-list li:last-child:not(:first-child) a {
    border-bottom-width: 0;
}

.simple-list li.active a,
.simple-list li a:hover {
    color: #555;
    background: #ffd;
}

.simple-list li .action {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    display: -ms-flexbox !important;
    display: -webkit-flex !important;
    display: flex !important;
    align-items: center;
}

.simple-list button {
    background: #fdd;
    border: solid 1px #c99;
    padding: 1px 5px;
    color: #900;
    border-radius: 3px;
    margin-right: 5px;
    width: 25px;
}

.simple-list button.add {
    background: #ddf;
    border: solid 1px #99c;
    color: #009;
}

.simple-list button:hover {
    opacity: .7;
}

.searchResultList {
    background: #fff;
    margin-top: 0;
    border: solid 1px #ddd;
    border-top-width: 0;
    border-bottom-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.searchResultList ul {
    padding: 0;
}

.searchResultList li {
    font-size: 0.9em;
    border-bottom: solid 0 #ddd;
    color: #555;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    font-weight: bold;
    cursor: pointer;
}

.searchResultList li:not(.removed).popped {
    border-bottom-width: 1px;
    padding: 5px 6px;
    max-height: 50px;
}

.searchResultList li i {
    display: inline-block;
    margin: 0 4px;
    font-size: .9em;
    color: #ccc;
}

.searchResultList li:hover {
    background: #ffe;
}

.searchResultList li .cpf {
    color: #888;
    font-weight: normal;
}

.form-item-clear-button {
    display: none !important;
}

.form-item.show-clear-button .form-item-clear-button {
    display: block !important;
}

/* New notifications definitions */

.notificationWidget {
    position: relative;
    width: 220px;
    background: rgba(0, 0, 0, .15);
    padding: 0 10px;
    margin: 0 0 0;
    cursor: pointer;
    -webkit-perspective: 1400px;
    -moz-perspective: 1400px;
    -ms-perspective: 1400px;
    -o-perspective: 1400px;
    perspective: 1400px;
    z-index: 1;
}

.notificationWidget.new {
    -webkit-animation: flick 1s ease;
    -moz-animation: flick 1s ease;
    -ms-animation: flick 1s ease;
    -o-animation: flick 1s ease;
    animation: flick 1s ease;
}

.notificationWidget:hover {
    background: #028404;
}

.notificationWidget > .list {
    position: absolute;
    width: 0;
    left: 0;
    bottom: 100%;
    max-height: 800px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #02a104;
    box-shadow: 0 -5px 10px 0 rgba(0, 0, 0, .3);
    opacity: 0;
    cursor: default;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: left bottom;
    -moz-transform-origin: left bottom;
    -ms-transform-origin: left bottom;
    -o-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotateX(45deg);
    -moz-transform: rotateX(45deg);
    -ms-transform: rotateX(45deg);
    -o-transform: rotateX(45deg);
    transform: rotateX(45deg);
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
    -webkit-transition-property: opacity, -webkit-transform;
    -moz-transition-property: opacity, -moz-transform;
    -ms-transition-property: opacity, -ms-transform;
    -o-transition-property: opacity, -o-transform;
    transition-property: opacity, transform;
}

.notificationWidget:hover > .list {
    width: 100%;
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
    opacity: 1;
}

.notificationWidget > .list > ul {
    display: none;
}

.notificationWidget:hover > .list > ul {
    display: block;
}

.notificationWidget .quantity {
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 2px 2px 1px -1px rgba(0, 0, 0, .3), inset 2px 2px 2px -1px rgba(255, 255, 255, .08);
    color: #017d03;
    font-size: 16px;
    font-weight: bold;
}

.notificationWidget.new .quantity {
    background: #c22;
    -webkit-animation: pop 400ms ease-out;
    -moz-animation: pop 400ms ease-out;
    -ms-animation: pop 400ms ease-out;
    -o-animation: pop 400ms ease-out;
    animation: pop 400ms ease-out;
}

.notificationWidget hr {
    border: none;
    border-top: solid 1px #ccc;
    margin: 2px 0;
}

.notificationWidget > .flex {
    color: #111;
}

.notificationWidget:hover > .flex {
    color: #fff;
}

@-webkit-keyframes pop {
    0% {
        -webkit-transform: translateY(0);
    }
    50% {
        -webkit-transform: translateY(-10px) scale(1.6);
    }
    100% {
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes pop {
    0% {
        -moz-transform: translateY(0);
    }
    50% {
        -moz-transform: translateY(-10px) scale(1.6);
    }
    100% {
        -moz-transform: translateY(0);
    }
}

@-ms-keyframes pop {
    0% {
        -ms-transform: translateY(0);
    }
    50% {
        -ms-transform: translateY(-10px) scale(1.6);
    }
    100% {
        -ms-transform: translateY(0);
    }
}

@-o-keyframes pop {
    0% {
        -o-transform: translateY(0);
    }
    50% {
        -o-transform: translateY(-10px) scale(1.6);
    }
    100% {
        -o-transform: translateY(0);
    }
}

@keyframes pop {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px) scale(1.6);
    }
    100% {
        transform: translateY(0);
    }
}

@-webkit-keyframes flick {
    0% {
        -webkit-transform: translateX(0px);
    }
    50% {
        -webkit-transform: translateX(-20px) translateY(-20px) rotate(-10deg);
    }
    75% {
        -webkit-transform: translateX(10px);
    }
    100% {
        -webkit-transform: translateX(0px);
    }
}

@-moz-keyframes flick {
    0% {
        -moz-transform: translateX(0px);
    }
    50% {
        -moz-transform: translateX(-20px) translateY(-20px) rotate(-10deg);
    }
    75% {
        -moz-transform: translateX(10px);
    }
    100% {
        -moz-transform: translateX(0px);
    }
}

@-ms-keyframes flick {
    0% {
        -ms-transform: translateX(0px);
    }
    50% {
        -ms-transform: translateX(-20px) translateY(-20px) rotate(-10deg);
    }
    75% {
        -ms-transform: translateX(10px);
    }
    100% {
        -ms-transform: translateX(0px);
    }
}

@-o-keyframes flick {
    0% {
        -o-transform: translateX(0px);
    }
    50% {
        -o-transform: translateX(-20px) translateY(-20px) rotate(-10deg);
    }
    75% {
        -o-transform: translateX(10px);
    }
    100% {
        -o-transform: translateX(0px);
    }
}

@keyframes flick {
    0% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(-20px) translateY(-20px) rotate(-10deg);
    }
    75% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0px);
    }
}

.notificationWidget > .list li {
    margin: 10px;
}

.notificationWidget > .list li > article {
    border: solid 1px #fff;
    padding: 1px;
    background: #fff;
    box-shadow: 4px 4px 2px -3px rgba(0, 0, 0, .0);
    font-family: Arial, serif;
    color: #fff;
}

.notificationWidget > .list li > article:hover {
    border-color: #fff;
}

.notificationWidget > .list li > article > header {
    border: solid 1px #666;
    padding: 3%;
    background: #888;
    -webkit-transition: background 150ms ease;
    -moz-transition: background 150ms ease;
    -ms-transition: background 150ms ease;
    -o-transition: background 150ms ease;
    transition: background 150ms ease;
}

.notificationWidget > .list li > article > header a {
    display: inline-block;
    width: 20px;
    height: 16px;
    padding-top: 4px;
    background: #eee;
    border-radius: 50%;
    text-align: center;
    line-height: 100%;
    box-shadow: inset 1px 1px 0 #fff, 1px 1px 0 rgba(0, 0, 0, .15);
    font-size: .9em;
}

.notificationWidget > .list li > article > header a:hover i {
    color: #666 !important;
}

.notificationWidget > .list li > article > header a i {
    color: #777 !important;
}

.notificationWidget > .list li > article > header + * {
    color: #444;
    font-size: .85em;
    padding: 3%;
}

.notificationWidget > .list li > article > header + * > div + div {
    margin-top: 2%;
}

.notificationWidget > .list li > article > header + * a {
    color: #770;
}

.notificationWidget > .list li > article > header + * a:hover {
    text-decoration: underline;
}

.notificationWidget > .list li > article:hover > header {
    border: solid 1px #017f04;
    background: #ef4039;
}

.notificationWidget > .list li.new > article > header {
    border: solid 1px #911;
    background: #d33;
}

.notificationWidget > .list li > article > footer {
    border-top: solid 1px #ddd;
    padding: 1%;
    background: #eee;
    color: #555;
    font-size: 0.7em;
}

.pictureFrame {
    margin-right: 10px;
}

.pictureFrame input {
    position: absolute;
    visibility: hidden;
}

.pictureFrame label {
    cursor: pointer;
}

.pictureFrame .module-view label {
    cursor: default;
}

.form-item:after {
    display: none !important;
}

.pictureFrame .frame > span {
    display: block;
    border: solid 2px #fff;
    background: #f4f4f4 no-repeat center center;
    background-size: cover;
    box-shadow: 0 3px 4px rgba(0, 0, 0, .2);
}

.pictureFrame .form-item:not(.module-view) .frame > span:hover {
    background-color: #eee;
    opacity: .8;
}

.pictureFrame .frame img {
    width: 61px;
}

.cke-var-fields fieldset {
    margin: 0 !important;
}

.cke-var-fields > div > div {
    margin: 10px;
    min-width: 100px;
}

.cke-var-fields button {
    margin: 4px;
}

.wide-clean .grid-list td div {
    padding: 0;
}

.wide-clean .grid-list > .list,
.wide-clean .grid-list header {
    top: auto !important;
    bottom: auto !important;
    position: static !important;
}

.wide-clean .grid-list header td {
    font-weight: bold;
    text-align: center;
}

.wide-clean > section > div > header > div > table > tbody > tr > td > div {
    font-size: 12px !important;
}

.wide-clean.simpler > section > div > header > div > table > tbody > tr > td > div {
    font-size: 12px !important;
}

.wide-clean .grid-list, .grid-list td {
    font-size: 12px !important;
}

.wide-clean .grid-list > .list {
    overflow: auto;
}

.wide-clean .grid-list > header > .area {
    padding-right: 0;
}

.wide-clean .grid-list,
.wide-clean .grid-list-base {
    height: auto !important;
}

.wide-clean.simpler .grid-list header td {
    text-align: left;
}

.wide-clean.simpler .grid-list header td > div {
    padding-left: 5px;
}

.wide-clean .grid-list > footer {
    position: static;
    width: auto;
    bottom: auto;
    height: auto;
    font-size: 14px;
    text-align: right;
}

.wide-clean .grid-list > footer > div {
    padding: 10px 8px 6px;
}

.form-area.refined {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.form-area.refined .button1 {
    padding: 5px;
    margin: 18px 0 0 10px;
    cursor: pointer;
}

.form-area.refined .title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 20px;
    padding-bottom: 4px;
    border-bottom: solid 2px #ccc;
}

#media {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .4);
    z-index: 1000;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: -webkit-transform .6s ease;
    -moz-transition: -moz-transform .6s ease;
    -ms-transition: -ms-transform .6s ease;
    -o-transition: -o-transform .6s ease;
    transition: transform .6s ease;
}

#media > div {
    position: relative;
    width: 320px;
    height: 480px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

#media > div #video {
    margin-left: -160px;
}

#media > div #snapshot {
    position: absolute;
    top: 0;
}

#media.active {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

#media button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    margin: 0;
    z-index: 2;
}

#media button.save {
    margin-left: 10px;
    right: auto;
    left: 10px;
}

.cover-image.removed {
    display: none;
}

.stats-item a {
    display: flex;
    padding: 10px;
    color: #676767;
    background-color: #fff;
    border-bottom: solid 2px #eeeeee;
}

.stats-item a:hover {
    background-color: #f9f9f9;
}

.stat-field {
    margin: 0 !important;
    box-shadow: 0 6px 8px -3px rgba(0, 0, 0, .15);
}

.stat-field > .label {
    color: #fff;
    font-size: 1.5em;
    padding: 7px 5px 10px;
}

.stat-field > .base {
    height: 58vh;
    overflow-y: auto;
}

.stat-field.first {
    background-color: #d22 !important;
    border-color: #d22 !important;
}

.stat-field.second {
    background-color: #f3ee11 !important;
    border-color: #f3ee11 !important;
}

.stat-field.third > .label,
.stat-field.second > .label {
    text-shadow: 0 0 2px rgba(0, 0, 0, .4);
}

.stat-field.third {
    background-color: #0499f3 !important;
    border-color: #0499f3 !important;
}

.grid-list .list td > div div.roll-action:not(.active) {
    visibility: hidden;
    pointer-events: none;
    cursor: default;
}

.grid-list .list td > div div.roll-action button {
    margin: 0;
    border-radius: 2px;
}

.grid-list .list td:hover > div div.roll-action {
    visibility: visible;
    pointer-events: all;
}

.grid-list .list td > div div.roll-action button.yes {
    background-color: #0499f3;
    border-color: #0499f3;
}

.grid-list .list td > div div.roll-action button.no {
    background-color: #d01d33;
    border-color: #d01d33;
}

.grid-list .list td > div div.roll-action button:hover {
    opacity: .8;
}

.grid-list .list td > div div.roll-action.status-1 button.no,
.grid-list .list td > div div.roll-action.status-0 button.yes {
    display: none;
}

.grid-list .list td > div div.roll-action.status-1 button,
.grid-list .list td > div div.roll-action.status-0 button {
    cursor: default;
    pointer-events: none;
}

.grid-list .list td > div div.roll-action button.yes:not(:last-child) {
    margin-right: 6%;
}

.grid-list .list td > div div.roll-action.active button.no {
    background-color: #fff;
    border-color: #d01d33;
    color: #d01d33;
}

.grid-list .list td > div div.roll-action.active button.yes {
    background-color: #fff;
    border-color: #0499f3;
    color: #0499f3;
}

.field-link {
    position: absolute;
    top: 18px;
    height: 25px;
    left: 0;
}

.icon-range {
    padding: 2%;
}

.icon-range > * {
    width: 64px;
    border: solid 1px #ddd;
    margin: 1%;
    background-color: #fff;
    border-radius: 50%;
    padding: 2%;
    cursor: pointer;
}

.icon-range input {
    position: absolute;
    visibility: hidden;
}

.icon-range > * img {
    width: 100%;
    background: no-repeat center center;
    background-size: contain;
    opacity: .4;
    transition: all 150ms ease;
    transition-property: opacity, filter;
    filter: saturate(0);
}

.icon-range > *:hover img {
    opacity: .7;
}

.icon-range input:checked + img {
    opacity: 1;
    filter: saturate(1);
}