html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #e6e6e6;
        border-bottom: 1px solid #d6d5d5;
    }

.sidebar .top-row {
    background-color: rgba(0,0,0,0.4);
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.sidebar-menu > li.active {
    border-left-style: solid;
    border-left-width: 5px;
}

ul.treeview-menu li.active a i.fa {
    color: #3c8dbc;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .nav-item a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .nav-item a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

.nav-tabs-custom.nav-tabs-custom-edit > .nav-tabs > li {
    border-top-color: #3c8dbc;
}

    .nav-tabs-custom.nav-tabs-custom-edit > .nav-tabs > li.active {
        border-top-color: #00a65a !important;
    }

    .nav-tabs-custom.nav-tabs-custom-edit > .nav-tabs > li > a > span {
        vertical-align: super;
    }

    .nav-tabs-custom.nav-tabs-custom-edit > .nav-tabs > li > a {
        color: #3c8dbc;
    }

    .nav-tabs-custom.nav-tabs-custom-edit > .nav-tabs > li.active > a {
        color: #00a65a !important;
    }


.form-group {
    margin-bottom: 25px;
}


@media only screen and (max-width: 768px) {
    .hideInMobileView {
        Display: none !important;
    }
}

.main-header .navbar-custom-menu, .main-header .navbar-right {
    min-width: 20px;
}

.navbar-custom-menu > .navbar-nav {
    min-width: 20px;
}

#userDropdownMenu {
    max-width: 219px !important;
}

#userNameInDropdown {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.userHover:hover .fa-user-circle-o,
.userHover .fa-user-circle {
    display: none;
}

.userHover:hover .fa-user-circle {
    display: inline;
}

.fa-spin-hover:hover {
    animation: fa-spin 2s infinite linear;
}

.info-box-editor {
    margin-top: 15px;
    margin-left: 15px;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

/*colors*/
.bg-defaultblue {
    background-color: #3c8dbc !important;
}

.bg-skyblue {
    background-color: skyblue !important;
}

.text-defaultblue {
    color: #3c8dbc !important;
}

.text-skyblue {
    color: skyblue !important;
}


@media (max-width: 767.98px) {
    .main .top-row {
        display: none;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.margin-bottom-1em {
    margin-bottom: 1em;
}

/* btn extensions*/
.btn-red-outline {
    color: #dd4b39;
    background-color: white;
    font-weight: bold;
    border: solid 2px;
}

    .btn-red-outline:hover {
        color: white;
        background-color: #dd4b39;
    }

.btn-info-outline {
    color: #269abc;
    background-color: white;
    font-weight: bold;
    border: solid 2px;
}

    .btn-info-outline:hover {
        color: white;
        background-color: #269abc;
    }

/* Calout extension without bs style*/
.callout-default {
    border-left-style: solid;
    border-left-width: 5px;
    border-left-color: #3c8dbc;
}

/* Bootstrap callout*/

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 3px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-default {
    border-left-color: #777;
}

    .bs-callout-default h4 {
        color: #777;
    }

.bs-callout-primary {
    border-left-color: #428bca;
}

    .bs-callout-primary h4 {
        color: #428bca;
    }

.bs-callout-success {
    border-left-color: #5cb85c;
}

    .bs-callout-success h4 {
        color: #5cb85c;
    }

.bs-callout-danger {
    border-left-color: #d9534f;
}

    .bs-callout-danger h4 {
        color: #d9534f;
    }

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

    .bs-callout-warning h4 {
        color: #f0ad4e;
    }

.bs-callout-info {
    border-left-color: #5bc0de;
}

    .bs-callout-info h4 {
        color: #5bc0de;
    }

/* Attachments */

.mailbox-attachment-name > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mailbox-attachment-icon.has-img > img {
    max-height: 80px !important;
}

/* Organizations images*/
.organization-image-in-dataTables {
    max-width: 26px;
    max-height: 25px;
    margin-right: 5px;
    margin-top: -2px;
}

/* LearningPath images*/
.learningpath-image-in-dataTables {
    max-width: 26px;
    max-height: 25px;
    margin-right: 5px;
    margin-top: -2px;
}
/* Course images*/
.course-image-in-dataTables {
    max-width: 26px;
    max-height: 25px;
    margin-right: 5px;
    margin-top: -2px;
}
/*User images*/
h3.timeline-header > img.user-image {
    max-width: 26px;
    max-height: 25px;
    border-radius: 50%;
    margin-top: -5px;
}

.user-image-in-dataTables {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 5px;
    margin-top: -2px;
}

.assigned-to-menubar-img-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-top: -5px;
}

.user-panel > .image.profile-img > img {
    width: 50px;
    max-width: 50px;
    height: 50px;
}

.profile-user-img {
    height: 100px;
}

.responsible-user-img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 5px;
    margin-top: -2px;
}

.responsive-img {
    width: 100%;
    height: auto;
}

.img-thick-padding {
    padding: 5em 15em 1em;
}
/* Project images*/
.project-logo-small {
    float: left;
    width: 30px;
    margin-right: 10px;
    margin-top: -2px;
}

.projectsInDataTableList {
    margin: 0 5px;
}

.img-project-message-title {
    height: 25px;
    float: left;
}
/*Time line envelope*/
.envelope {
    border: 10px solid rgba(0, 0, 255, .8);
    border-image: repeating-linear-gradient(-45deg, antiquewhite 0px, antiquewhite 15px, #3498db 15px, #3498db 30px, antiquewhite 30px, antiquewhite 45px, #e74c3c 45px, #e74c3c 60px ) 6/6px;
}

    .envelope > .subject,
    .envelope > .mailbox-read-info,
    .envelope > .timeline-body {
        /*background-image: url(../img/ricepaper.png);*/
        filter: sepia(25%);
        font-size: 14pt;
        font-weight: bold;
        font-family: 'American Typewriter', 'Cutive', serif;
        line-height: 1.2;
        letter-spacing: 1.2px;
    }

.sender {
    font-size: 12pt;
}

.sent-Received {
    font-size: 10pt;
}
/*.address:after {
    content: '';
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: url(../img/noise.png);
    opacity: 0.6;
}*/
.subject {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    filter: sepia(30%);
}

.envelope > .timeline-header {
    padding-bottom: 23px !important;
}

.envelope > .timeline-body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: normal;
    filter: sepia(35%);
}

#eventsContainer {
    height: 1024px;
    overflow: auto;
    width: calc(100% - 15px);
}

#inquiryEditorEventTitle {
    margin-bottom: 5px !important;
}

.dt-checkboxes-select-all input {
    visibility: hidden;
}

/* Messages*/
.hasNotRead {
    font-weight: bold;
    color: black !important;
}

.hasRead {
    color: black !important;
}
/* Datatables helpers */
table.table.table-bordered.table-hover.dataTable.no-footer.dtr-inline {
    width: 100% !important;
}

.dt-center {
    text-align: center;
}

.datatable-progress-bar {
    height: 25px;
}

td i.fa-battery-1 {
    color: green;
}

td i.fa-battery-2 {
    color: orange;
}

td i.fa-battery-3 {
    color: red;
}
/* Table */
tbody.ui-sortable {
    cursor: grab;
}

.highlight-edit {
    font-weight: bold;
    color: #00a65a;
}

td.grab-4-table {
    width: 2em;
    align-content: center;
}

/* Level */
.levelCircle {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    border: 1px solid #666;
    color: #666;
    text-align: center;
    font: bold 30px Arial, sans-serif;
}

.levelCircle-finder {
    display: inline-block;
    float: right;
    cursor: default;
}

.levelCircle-1 {
    color: green;
    border-color: green;
}

.levelCircle-2 {
    color: orange;
    border-color: orange;
}

.levelCircle-3 {
    color: red;
    border-color: red;
}

.levelCircle-l {
    margin-top: 6px;
    width: 85px;
    height: 85px;
    border: 2px solid;
    font: bold 70px Arial, sans-serif;
}

.levelCircle-m {
    margin-top: 2px;
    width: 36px;
    height: 36px;
    border: 2px solid;
    font: bold 30px Arial, sans-serif;
}

.levelCircle-s {
    margin-top: 6px;
    width: 18px;
    height: 18px;
    border: 1px solid;
    font: bold 14px Arial, sans-serif;
}
/* Message details */
.timeago-wrapper-on-message-details {
    border-bottom: 1px solid #f4f4f4;
    padding: 10px;
}

.timeago-on-message-details {
    color: #999;
    float: right;
    font-size: 12px;
    padding-right: 10px;
    margin-top: -10px;
}

/* Online-offline */
.text-online {
    color: #3c763d !important;
}

.text-offline {
    color: #a94442 !important;
}

.mark-online {
    border: 2px solid #00a65a;
}

.mark-offline {
    border: 2px solid #dd4b39;
}

/* TODO egy csúnya megoldás arra, h. hogyan vegyük le a image upload-ot */
/* TODO egy csúnya megoldás arra, h. hogyan vegyük le a image upload-ot */
ul.wysihtml5-toolbar li a[title="Insert image"] {
    display: none;
}

ul.wysihtml5-toolbar li.dropdown {
    display: none;
}

/* Progress bar*/
.progress-bar {
    animation: 2s ease-out 0s 1 slideInFromLeft;
}

.margin-top-md {
    margin-top: 1em;
}
/*Course editor*/
.info-box h5.pull-right {
    padding-right: 2%;
}
/* Attachment to module*/
.attachment-to-module {
    border-radius: 5px;
    padding: 5px 10px;
    background: #d2d6de;
    border: 1px solid #d2d6de;
    color: #444;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
}

    .attachment-to-module:before {
        content: ' ';
        position: absolute;
        width: 0;
        height: 0;
        left: -40px;
        right: auto;
        top: 30px;
        bottom: auto;
        border: 20px solid;
        border-color: #d2d6de #d2d6de transparent transparent;
    }

/* Exam */
.btn-exam {
    margin: 1em 0;
}

#navbarProfileA {
    height: 50px;
}

#navbarProfileImg {
    margin-right: 0px;
}

.navbarListHomeBtn {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

#ExamProgressBar {
    margin-top: 20px;
    background-color: #DDDDDD;
    border: 1px solid grey;
}

.massive-font {
    font-size: 25px;
    line-height: 37px;
    border-radius: 5px;
}

.progress-massive {
    height: 40px;
}

.oneTag:hover {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

.Wobble:hover {
    animation: wobble 0.5s;
    animation-iteration-count: 2;
}

.collapsed-box:hover {
    animation: wobble 0.5s;
    animation-iteration-count: 1;
}

@keyframes wobble {
    0% {
        transform: translateY(0%);
    }

    15% {
        transform: translateY(-25%) ;
    }

    30% {
        transform: translateY(20%);
    }

    45% {
        transform: translateY(-15%);
    }

    60% {
        transform: translateY(10%);
    }

    75% {
        transform: translateY(-5%);
    }

    100% {
        transform: translateY(0%);
    }
}

/*.fa-plus {
    animation: twistAndTurn 1s linear;
    animation-fill-mode: both;
}*/

.twist {
    animation: twistAndTurn 1s linear;
    animation-fill-mode: both;
}

@keyframes twistAndTurn {
    0% {
        transform: scale(.1) rotate(35deg);
    }

    65% {
        color: #3c8dbc;
        transform: scale(2.5) rotate(360deg);
    }

    100% {
        transform: scale(1);
    }
}

/* stapm for level*/
.rubber {
    box-shadow: 0 0 0 3px blue, 0 0 0 2px blue inset;
    border: 2px solid transparent;
    border-radius: 4px;
    display: inline-block;
    padding: 12px 25px;
    margin-top: 10px;
    line-height: 20px;
    color: green;
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
    opacity: 0.4;
    transform: rotate(0deg);
    float: right;
}

.rubber-anim {
    animation: stamp 2s normal forwards;
}

.rubber-1 {
    box-shadow: 0 0 0 3px green, 0 0 0 2px #4CAF50 inset;
    color: green;
}

.rubber-2 {
    box-shadow: 0 0 0 3px #ff9800, 0 0 0 2px #FFEB3B inset;
    color: orange;
}

.rubber-3 {
    box-shadow: 0 0 0 3px #ff0101, 0 0 0 2px #ff5722c9 inset;
    color: red;
}

@-webkit-keyframes stamp {
    0% {
        opacity: 0;
    }

    10% {
        opacity: .5;
        transform-origin: 50% 50%;
        transform: rotate(-4deg) scale(5);
        transition: all .3s cubic-bezier(0.6, 0.04, 0.98, 0.335);
    }

    50% {
        opacity: .8;
    }

    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* New tags */
ul.newtags {
    position: absolute;
    top: 50%;
    left: 3em;
    transform: translate(0, -50%);
    display: flex;
    margin: 0;
    padding: 0;
}

    ul.newtags li {
        list-style: none;
        margin: 0 -10px;
    }

        ul.newtags li a span {
            padding: 0;
            margin: 0;
            position: absolute;
            top: 10px;
            color: #262626;
            letter-spacing: 4px;
            transition: .5s;
        }

        ul.newtags li a {
            cursor: default;
            text-decoration: none;
            display: block;
            width: 150px;
            height: 40px;
            background: #fff;
            text-align: left;
            padding-left: 20px;
            transform: rotate(-30deg) skew(25deg) translate(0,0);
            transition: .5s;
            box-shadow: -20px 20px 10px rgba(0,0,0,.5);
        }

            ul.newtags li a:before {
                content: '';
                position: absolute;
                top: 10px;
                left: -20px;
                height: 100%;
                width: 20px;
                background: #d2cfcf;
                transform: rotate(0deg) skewY(-45deg);
            }

            ul.newtags li a:after {
                content: '';
                position: absolute;
                bottom: -20px;
                left: -10px;
                height: 20px;
                width: 100%;
                background: #eae4e4;
                transform: rotate(0deg) skewX(-45deg);
            }

            ul.newtags li a:hover {
                transform: rotate(-30deg) skew(25deg) translate(20px,-15px);
                box-shadow: -50px 50px 50px rgba(0,0,0,.5);
            }


ul li:hover span {
    color: #262626 !important;
}

ul li:hover a {
    background: #fff !important;
}

ul.newtagsFinder {
    top: 50%;
    left: 2em;
    margin: 5%;
    padding: 0;
}

    ul.newtagsFinder li {
        list-style: none;
        margin: 10px 5px;
    }

        ul.newtagsFinder li a span {
            padding: 0;
            margin: 0;
            position: absolute;
            top: 6px;
            color: #262626;
            letter-spacing: 4px;
            transition: .5s;
        }

        ul.newtagsFinder li a {
            cursor: default;
            text-decoration: none;
            font-size: 10px;
            display: block;
            width: 100px;
            height: 25px;
            background: #fff;
            text-align: left;
            padding-left: 9px;
            transform: rotate(-15deg) skew(7deg) translate(0,0);
            transition: .5s;
            box-shadow: -7px 6px 2px rgba(0,0,0,.5);
        }

            ul.newtagsFinder li a:hover {
                transform: rotate(-15deg) skew(7deg) translate(5px,-5px);
                box-shadow: -20px 20px 20px rgba(0,0,0,.5);
            }

/*3D flashing*/
.item-3d {
    padding: 10px;
    -webkit-animation: icon3d 200ms 10;
    animation: icon3d 200ms 10;
    color: #fff;
}

    .item-3d:hover {
        -webkit-animation: icon3d 200ms infinite;
        animation: item3d 200ms infinite;
    }

@keyframes item3d {
    0% {
        text-shadow: 5px 4px rgba(244,67,54,1), -5px -6px rgba(33,150,243,1);
    }

    25% {
        text-shadow: -5px -6px rgba(244,67,54,1), 5px 4px rgba(33,150,243,1);
    }

    50% {
        text-shadow: 5px -4px rgba(244,67,54,1), -8px 4px rgba(33,150,243,1);
    }

    75% {
        text-shadow: -8px -4px rgba(244,67,54,1), -5px -4px rgba(33,150,243,1);
    }

    100% {
        text-shadow: -5px 0 rgba(244,67,54,1), 5px -4px rgba(33,150,243,1);
    }
}
