/*OVERRIDE*/
input, select, textarea {
    width:inherit;
}
select {
    width:auto;
    border:1px solid #ced4da;
    border-radius:4px;
    padding:0 15px;
}
.container-header {

}


/*COLORS*/
.color-red {
    color:red!important;
}
.bg-theme {
    background:#106fb1!important;
}

/*BREADCRUMB*/

.jb-breadcrumb {
    padding-top: 30px;
    padding-bottom: 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.jb-breadcrumb ul li a {
    display: inline-block;
    color: #ffffff;
}
.jb-breadcrumb ul li {
    list-style: none;
    display: inline-block;
    font-family: "Lato", sans-serif;
    font-size: 14px;
}
.jb-breadcrumb ul {
     padding-left: 0;
     margin-bottom: 5px;
 }

.jb-breadcrumb h2 {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 5px;
    padding-right: 30px;
}

.jb-breadcrumb ul li::after {
     content: "/";
     padding: 0 5px;
 }
.jb-breadcrumb ul li:last-child::after {
    display: none;
}

/*HEADER AND CONTENT*/
.header.sticky-header {
    z-index:10;
    border-bottom: 1px solid #e5e5e5;
}


.content-wrapper {
    margin-top:16px;
    margin-bottom:16px;
}
.content-wrapper-32 {
    margin:32px;
}
.content-wrapper-48 {
    margin:48px;
}
.content-wrapper-64 {
    margin:64px;
}


/* BUTTONS AND LAYOUT STYLES */
.btn-jb {
    color: white;
    background: #4682b4;
    border: 1px solid #38658a;
}



/* USER-INFO */
.user-info {
    border-bottom: 1px solid #e5e5e5;
}

.user-info .fa {
    padding-right:8px;
}
.user-info a {
    color: #405d71;
    text-decoration: none;
    font-weight: bold;
}

.user-info .container ul {
    list-style-type: none;
    margin:0;
    padding:0;
}
.user-info .container li {
    display:inline;
    padding-right:8px;
}


/* FORM */
.form-module label {
    margin-bottom:0;
    margin-top:.5em;
    font-weight:bold;
    display:block;
}

.form-module .submit-btn-area{
    margin-top:16px;
    margin-bottom:16px;
}

/*LOGIN LOGIC */
.login-logo {
    width:130px;
}

/*HOME */
.home-portfolio-mask {
    position:absolute;
    text-align:center;
    background:white;
    opacity:.3;
    bottom:0;
    width:100%;
    padding:8px;
    z-index:3;
    height:48px;
}
.home-portfolio-label {
    top: 0;
    text-align: right;
    padding-right: 12px;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 1;
    color: white;
    text-shadow: 0 1px 3px black;
}



/* Sheets filters*/
.sheets-filters {
    font-size: 0;
    text-align: right;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin-top:1px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.sheets-filters button, .sheets-filters a {
    display: inline-block;
    background: #ffffff;
    border: none;
    outline: none;
    font-size: 12px;
    color: #333333;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    padding: 16px 25px;
    margin-left: 3px;
    letter-spacing: 0.5px;
    position: relative;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -o-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    line-height: 1.2;
}

.sheets-filters button:first-child, .sheets-filters a:first-child {
    margin-left: 0;
}

.sheets-filters button::after, .sheets-filters a::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 2px;
    height: 10px;
    width: 10px;
    border-width: 5px;
    border-style: solid;
    border-color: #ffffff #ffffff transparent transparent;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -o-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.sheets-filters button:hover, .sheets-filters button.is-checked, .sheets-filters a:hover, .sheets-filters a.is-checked {
    filter: brightness(90%);
}

.sheets-filters button.is-checked::after, .sheets-filters a.is-checked::after {
    visibility: visible;
    opacity: 1;
}
.sheets-filter-button {
    vertical-align:top;
    flex-grow: 1;

}


.jb-table {
    border-spacing: 1px;
    border-collapse: separate;
}
.jb-table th {
    background: #106fb1;
    color: white;
    padding: 4px;
    text-align: center;
}
.jb-table td {
    padding:4px;
    border: 1px solid #aaaaaa;
    padding: 4px;
}
.jb-table .vtop {
    vertical-align:top;
}

.dia-color {
    background:#0199e2!important;
    color:white!important;
}
.exe-color {
    background: #F67800 !important;
    color:white!important;
}
.res-color {
    background: #FB392D !important;
    color:white!important;

}


.gram-color {
    background: #00ab53  !important;
    color:white!important;
}
.video-color {
    background: #A752BA  !important;
    color:white!important;
}

.jb-gram {
    color:#bb0000!important;
    cursor:pointer;
}


.sheets-filters-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 45px;
    position: relative;
    /*border: 1px solid #dddddd;*/
}

.sheets-filters-wrapper .sheets-filters {
    border-right: none;
    margin-bottom: 0;
    margin-left: 0;
}


.sheets-filters-wrapper .sheets-filters button {
    margin: 0;
    border-right: 1px solid #dddddd;
}

.sheets-filters-wrapper .sheets-filters button:first-child {
    margin: 0;
}

.sheets-filters-wrapper .sheets-filters button:last-child {
    border-right: none;
}

.sheets-filters-button {

}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .sheets-filters, .sheets-filters-tab {
        margin-bottom: 0;
        text-align: left;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 567px) {
    .sheets-filters, .sheets-filters-tab {
        margin-bottom: 0;
        text-align: left;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        margin-left: -10px;
    }
    .sheets-filters button, .sheets-filters a, .sheets-filters-tab button, .sheets-filters-tab a {
        margin-left: 10px;
        margin-bottom: 10px;
        padding: 12px 25px;
    }
    .sheets-filters button:first-child, .sheets-filters a:first-child, .sheets-filters-tab button:first-child, .sheets-filters-tab a:first-child {
        margin-left: 10px;
    }
    .single-portfolio .single-portfolio-content {
        padding: 20px;
    }
    .single-portfolio .single-portfolio-content h5 {
        font-size: 16px;
    }
    .projects-tab-content {
        max-width: 485px;
        margin: 0 auto;
    }
    .sheets-filters-wrapper .sheets-filters button {
        border-bottom: 1px solid #dddddd;
        width: 100%;
        border-right: none;
    }
    .sheets-filters-wrapper .sheets-filters button:last-child {
        border-bottom: none;
    }

    .container-sheets {
        padding-right:0;
        padding-left:0;
    }
    .sheets-content-wrapper {
        padding-left:15px;
        padding-right:15px;
    }

    .container-header {
        padding-right:0;
        padding-left:0;
    }
    ul.header-icons {
        margin-right: 15px;
    }
    .mobile-icon-close {
        padding-left:15px;
    }
    .meanmenu-reveal {
        margin-left:15px;
    }
}

/* Sheets */
.sheets-content-item {
    padding-bottom:48px;
}



/* jb button */
.jb-btn {
    display: inline-block;
    border-radius: 4px;
    background: #71a9d0;
    color: #ffffff;
    border: 1px solid #71a9d0;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 36px;
    flex: 0 0 36px;
    vertical-align:bottom;
}
.jb-btn.shadow {
    box-shadow: 0px 0px 22px -8px rgba(0,0,0,0.75);
}
.jb-btn.small {
    height: 36px;
    width: 36px;
}
.jb-btn.on {
    color:yellow;
    background: #64bfff;
    border-color: #9cc2ff;
}
.jb-btn.medium {
    width:50px;
    height:50px;
}
.jb-btn.w50h40 {
    width:50px;
    height:40px;
}
.jb-btn span {
    vertical-align: middle;
}
.jb-btn:hover {
    background: #99d1f8;
}

/* ribbon */
#ribbon {
    position:fixed;
    bottom:0px;
    width:100%;
    padding:8px 28px;
    box-sizing: border-box;
    background:#FFF;
    border-top:1px solid #eee;
    opacity:.9;
    z-index:100;
}
#ribbon a {
    text-align:center;
    box-sizing:border-box;
    padding:0 6px;
}

/*jb subtags list */
.subtag-list {
    margin:32px 0;
    font-size: larger;
}
.subtag-list li {

}

.subtag-list a {
    background: #76baea;
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #5a7e96;
    color: white;
    display:block;
}

/* jb system tags */
.sheets-content-item p {
    margin-top:16px;
    margin-bottom:32px;
}

jb-set {
    font-size: x-large;
    color: #3e6b8a;
    display: block;
    /* text-shadow: 0px 2px 3px rgba(220, 220, 220, 0.92); */
    margin-bottom: 32px;
    background: #fbfbfb;
    padding: 12px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
}

jb-p {
    display:block;
}

jb-dialog {
    display:block;
}

jb-dialog .dialog-image-block {
    display:inline-block;
}

jb-dialog .dialog-info-block {
    display:inline-block;
    vertical-align:top;
}

jb-dialog .trans {
    color: #b13333;
}

jb-p .trans {
    color: #b13333;
    margin-bottom:12px;
    font-size:14px;
}

.dialog-table td {

    border:0;
}

.dialog-table .dialog-number{
    vertical-align: middle;
    font-size: 40px;
    color: #dddddd;
    font-weight: bold;
    width: 60px;
    text-align: right;
}

.dialog-table .dialog-logo {
    width:110px;
    text-align:center;
    cursor:pointer;
}
.dialog-table .place-icon {
    font-size:50px;
    color:#aaa;
    text-align:center;
}

.note-switch {
    border: 1px solid #cccccc;
    background: #e0e0e0;
    color: white;
    padding: 2px;
    cursor: pointer;
    display: inline-block;
    border-radius: 4px;
}
jb-note.opened {
    background: #ffff98;
    border: 1px solid #d4d4d4;
    display: block;
    padding: 4px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/*bunparser*/

.bun-block,.bunbun {
    display:inline-block;
    width: inherit;
}
.bun-romaji {
    font-size:smaller;
    text-align:center;
    font-style:italic;
}
.bun-main .set-kana {
    font-size:10px;
}

/* Jalea original */
.jalea-link {
    color:red!important;
    font-weight:bold;
}

/* Youtube related */
.yt-mark {
    font-weight:bold;
    background:azure;
    border-bottom:3px solid #8ab5da;
}



/* VIDEO */
.dt-wrapper .time {
    display:inline-block;
    width:50px;
    text-align:right;
    padding-right:8px;
    vertical-align:top;

}
.dt-wrapper .script-content {
    display:inline-block;
}

/* YOUTUBE API */
.yt-wrapper .video-wrapper {
    position:relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align:center;
    cursor:pointer;
    background:#eee;
    width:100%;
    content:' ';
}

.yt-wrapper .yt-script {
    border:1px solid #aaa;
    margin-top:8px;
    padding:8px;
    border-radius:4px;
    overflow-y:scroll;
    max-height: 550px;
}


.control-wrapper {
    width:100%;
    position:relative;
    height:50px;
    box-sizing:border-box;

}
.control-block {
    display:table-cell;
    box-sizing: border-box;
    position:absolute;
    width:160px;
    z-index:10;

}
.set-range {
    width:100%;
    padding-left:160px;
    top:8px;
    z-index:1;
}

.fn-portfolios-2 {
    margin-top:0;
}

/* MOBILE MENU */
.mobile-menu {

}
.mean-nav {
    box-shadow: 0px 10px 14px -4px rgba(0,0,0,0.75);
    background:none;
}
.mean-container .mean-nav ul li a {
    background: #106fb1;
}

.mean-container .mean-nav > ul {
    height:auto;
}


/*Extra*/
.fix-fa-link {
    margin-top: 12px;
}
.container-spacer {
    margin-top:32px;
}
.extra-exercise-title {
    margin-bottom: 48px;
}

.extra-exercise-title h3 {
    color: #aaaaaa;
    font-size: 40px;
    font-weight: normal;
}
.extra-exercise-title h4 {
    color: #777777;
    font-weight:normal;
}

.extra-exercise-title h5 {
    font-style: italic;
    font-size: smaller;
}


/* search */
.search-is-empty {
    color:red;
    font-weight:bold;
}

.search-block {
    border: 1px dotted #cecece;
    display: block;
    margin-bottom: 16px;
    padding: 8px;
    border-radius: 4px;
    color:inherit;
}
.search-block:hover {
    color:inherit;
}
.search-block:visited {
    color:inherit;
}
.search-info {
    background: #00d053;
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 24px;
    color: white;
    border: 1px solid #00b300;
}

.search-type {
    background: #536782;
    padding: 0px 8px;
    color: white;
    border-radius: 2px;
}

.search-content {
    background: #fffadb;
    font-size: smaller;
    padding: 0 4px;
    color: #636363;
}

.search-title {
    font-size: larger;
    font-weight: bold;
    color: #6b6b6b;
    margin-bottom: 12px;
}

.search-no-preview {
    color: #696969;
    background: #f7f7f7;
    padding: 0 4px;
}

.search-empty {
    margin-bottom: 64px;
    background: #d4d4d4;
    padding: 16px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    font-size: larger;
    color: #5d5d5d;
}
.fixed-breadcrumb {
    position:fixed;
    top:85px;
    left:0;
    width:100%;
    background:white;
    z-index:6;
    border-bottom:2px solid #efefef;
    display:none;
    padding:0 4px;
    color:#405d71;
}
.fixed-breadcrumb a {
    cursor:pointer;
    font-weight:bold;
}
.f-title li:last-child:after {
    content: '';
}

.f-title li:after {
    content: ' /';
}
.f-title ul {
    padding:0;
    margin:0;
}
.f-title li {
    display: inline;
}

#contact-us {
    padding:32px 8px 16px 8px;
}
#contact-us h5 {
    margin-top: 12px;
    text-align: center;
}

#contact-us .row {
    margin-bottom: 16px;
}
#contact-us [type=file] {
    border:0;
}

#contact-us .contact-btn-area button {
    margin: 0 auto;
    display: block;
}

#contact-us label {
    font-weight:bold;
}

.randomVideo {
    max-width: 250px;
    display: block;
}
.randomVideo .label {
    background: white;
    text-align: center;
}
.webui-popover {
    min-width:300px!important;
}

.media-title {
    font-size:x-large;
    font-weigth:bold !important;
    margin-bottom:12px;
}

.dyn-trans.active:not(.opened) {
    color: transparent;
    cursor:pointer;
    position:relative;
    min-width:200px;
}
.dyn-trans.active:not(.opened)::before {
    color: #e22424;
    content:'vedi traduzione';
    padding:4px;
    text-decoration:underline;
    position:absolute;
    top:0;
    left:0;
}
.footer .contrib {
    color: #a7a7a7;
    margin-top: 16px;
    border-top: 1px solid #444444;
    padding-top: 8px;
}
.footer p {
    margin:0;
}

.collabo-block {
    font-size:smaller;
}

.apiver-message {
    font-size:10px;
    font-weight:normal;
}
