/* stylelint-disable selector-list-comma-newline-after */

/*@import url('https://fonts.googleapis.com/css?family=Raleway:400,700i&display=swap');*/
@import url("../../../vendor_bundled/vendor/twbs/bootstrap/dist/css/bootstrap.css");

.blog-header {
    line-height: 1;
    border-bottom: 1px solid #e5e5e5;
}

.blog-header-logo {
    font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
    font-size: 2.25rem;
}

.blog-header-logo:hover {
    text-decoration: none;
}

/*h1, h2, h3, h4, h5, h6 {
	font-family: 'Raleway', sans-serif;
	font-weight: bold;
	font-style: italic;
}*/

h1 a {
    font-size: 30px;
}

h2 a {
    font-size: 24px;
}

.display-4 {
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    .display-4 {
        font-size: 3rem;
    }
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.nav-scroller .nav-link {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: .875rem;
}

.card-img-right {
    height: 100%;
    border-radius: 0 3px 3px 0;
}

.flex-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.h-250 {
    height: 250px;
}

@media (min-width: 768px) {
    .h-md-250 {
        height: 250px;
    }
}

/*
 * Blog name and description
 */
.blog-title {
    margin-bottom: 0;
    font-size: 2rem;
    font-weight: 400;
}

.blog-description {
    font-size: 1.1rem;
    color: #999;
}

@media (min-width: 40em) {
    .blog-title {
        font-size: 3.5rem;
    }
}

/* Pagination */
.blog-pagination {
    margin-bottom: 4rem;
}

.blog-pagination > .btn {
    border-radius: 2rem;
}

/*
 * Blog posts
 */
.blog-post {
    margin-bottom: 4rem;
}

.blog-post-title {
    margin-bottom: .25rem;
    font-size: 2.5rem;
}

.blog-post-meta {
    margin-bottom: 1.25rem;
    color: #999;
}

/*
 * Footer
 */
.blog-footer {
    padding: 2.5rem 0;
    color: white;
    text-align: center;
    background-color: #f9f9f9;
    border-top: .05rem solid #e5e5e5;
}

.blog-footer p:last-child {
    margin-bottom: 0;
}

/* GENERAL */
a {
    color: #008633;
}

a:hover {
    text-decoration: underline;
    color: #005522;
}

a.dark-color-link {
    color: #000000;
    font-weight: bold;
}

.alert {
    border-radius: 0;
    border: none;
}

.btn {
    font-family: 'Arial Black', sans-serif;
}

.btn-primary {
    color: #fff;
    background-color: #008633 !important;
    border-color: #008633 !important;
}

.btn-info {
    color: #fff;
    background-color: #005522;
    border-color: #005522;
}

/* GENERAL END */

#custom-search-input {
    border: solid 1px #000000;
    border-radius: 10px;
}

#custom-search-input input {
    border: 0;
    box-shadow: none;
}

#custom-search-input a {
    font-size: 28px;
}

#custom-search-input svg {
    color: #666666;
}

#custom-search-input svg:hover {
    color: #111111;
}

/* TOP */

.top_modules {
    margin: 0 1rem;
}

.top_modules .box-search {
    margin-top: 21px;
    margin-left: unset !important;
}

.top_modules .box-search .input-group {
    /*width: 30rem;*/
}

.top_modules .box-search .input-group > input.form-control {
    font-size: 18px;
    max-height: 30px;
    border-color: #008633;
    /*border-radius: 12px;*/
}

.top_modules .box-search .input-group button {
    font-size: 12px;
    max-height: 30px;
    /*background-color: #008633;*/
    /*border-radius: 12px;*/
}

.top_modules .box-search .input-group > input.form-control {
    color: #008633;
}

.top_modules .box-search .input-group > input::-webkit-input-placeholder, /* Safari */
.top_modules .box-search .input-group > input:-moz-placeholder, /* Firefox */
.top_modules .box-search .input-group > input:-ms-input-placeholder, /* Internet Explorer 10-11 */
.top_modules .box-search .input-group > input::-ms-input-placeholder, /* Edge */
.top_modules .box-search .input-group > input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgba(0, 134, 51, 0.38);
}

.top_modules .box-search .input-group > button .icon {
    font-size: 16px;
    color: #008633;
}

.top_modules .box-search .input-group > button {
    padding-top: 1px;
}


/* icons */

.top_modules .box-menupage {
    margin-top: 27px;
}

.top_modules .box-menupage .icon {
    font-size: 2em;
}

/* TOP END */

/* NAVBAR */

.topbar {
    background-color: #fff;
    justify-content: center !important;
}

.topbar .box-menu {
    border-color: transparent;
}

.topbar .card-body {
    padding: 0;
}

.topbar .navbar-dark {
    height: 50px;
}

.navbar-dark {
    background-color: #008633 !important;
    color: #fff;
}

.navbar-dark a,
.navbar-dark .dropdown-menu .row a {
    color: #fff;
}

.navbar-dark .dropdown-menu a {
    color: #000;
}

.topbar .navbar-dark .dropdown-menu a:not(.btn) {
    color: #008633;
}

.topbar .navbar-nav {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    font-size: 16px;
    margin-right: unset !important;
}

.topbar .navbar .navbar-collapse {
    justify-content: center;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: #fff;
}

.col1 {
    padding: 0 10rem;
}

@media (max-width: 1200px) {
    .topbar .navbar-nav {
        /*transform: translatex(8%);*/
        font-size: 15px;
    }

    .top_modules .box-menupage .icon {
        font-size: 2em;
    }

    .top_modules .box-search .input-group {
        /*width: 25rem;*/
    }

    .col1 {
        padding: 0 10rem;
    }
}

@media (max-width: 992px) {
    .topbar .navbar-nav {
        /*transform: translatex(2%);*/
        font-size: 14px;
    }

    .top_modules .box-menupage .icon {
        font-size: 1.2em;
    }

    .top_modules .box-search .input-group {
        /*width: 17rem;*/
    }

    .col1 {
        padding: 0 5rem;
    }
}

@media (max-width: 768px) {
    .topbar .navbar-nav {
        /*transform: translatex(2%);*/
        font-size: 13px;
        margin-top: 0;
        width: 95vw;
    }

    .topbar .navbar-nav .dropdown-toggle::after {
        display: none;
    }

    .top_modules .box-menupage .icon {
        font-size: 1em;
    }

    .top_modules .box-search .input-group {
        width: 10rem;
    }

    .col1 {
        padding: 0 3rem;
    }

}

@media (max-width: 576px) {
    #top_modules {
        /* quick and dirty way of making the elements show on a phone */
        display: block !important;
        text-align: center;
        margin-bottom: 1rem;
    }

    #mod-logotop1 div {
        float: none !important;
    }

    #mod-logotop1 div img {
        margin: .5rem 0 0 0;
    }

    .top_modules .box-search .input-group {
        width: 100%;
    }

    .top_modules .box-menupage .icon {
        font-size: 2em;
    }

    .topbar {
        justify-content: flex-start !important;
        z-index: 2;
    }

    .topbar div:first-child {
        width: 100%;
    }

    .topbar button.navbar-toggler {
        float: right;
        margin: .25rem;
    }

    .topbar .navbar-collapse,
    .topbar .navbar-nav {
        font-size: 16px;
        margin: 0;
        padding: 0;
        width: 100vw;
    }

    .col1 {
        display: flex;
        flex-direction: column;
    }

    .topbar .navbar-nav .dropdown-menu {
        position: static !important;
        margin-left: 10px;
        transition: all .5s ease-in-out;
    }

    .topbar .navbar-nav li a {
        padding-left: 2rem;
    }

    .wikitopline, .wikiactions_wrapper {
        display: none;
    }
}

/* reset margins for tiki-like pages */

#page_659 .col1 {
    padding: 0 15px;
}

.navbar-dark .navbar-toggle .icon-bar {
    background-color: #fff;
}

.topbar .navbar-dark .navbar-nav > li > a {
    background-color: #008633;
    color: #fff;
    height: 50px;
}

.topbar .navbar-nav > li > a > br {
    display: none;
}

.topbar .dropdown-menu {
    min-width: 50%;
    padding: 1rem 2rem 3rem;
}

/* NAVBAR END */

/* FOOTER */

#footer,
#footer .table {
    background-color: #404040;
    color: #fff;
}

#footer a {
    color: #fff;
}

.blog-footer {
    background-color: #383838;
    margin-top: 50px;
}

.social-icon-block {
    display: block;
    float: left;
    width: 30px;
}

.railfuture-links a, .railfuture-button {
    width: 150px;
    border-radius: 75px;
    background-color: #008633;
    color: #FFFFFF !important;
}

.railfuture-links a:hover, .railfuture-button:hover {
    width: 150px;
    border-radius: 75px;
    background-color: #FFFFFF;
    color: #008633 !important;
}

.footer-text {
    font-size: 8px;
}

/* FOOTER END*/

/* ADMIN PAGE STYLE */
a.admbox {
    background-color: #008633 !important;
    color: #fff !important;
    border: none;
    line-height: 1;
    font-size: 14px;
}

.adminanchors .navbar-nav {
    background-color: #00863314;
    padding: 10px !important;
}

.row-middle .admin-navbar {
    padding: 0;
}

.tabs .nav-tabs li {
    /*background-color: #00863314;*/
    padding: 10px;
    border: 1px solid transparent;
}

.tabs .nav-tabs li:hover,
.tabs .nav-tabs li.active {
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.tab-content {
    padding-top: 20px;
}

/* ADMIN PAGE STYLE END */

/* ARTICLE */
.articleheading .pull-left {
    margin-right: 20px;
}

.articleheading .titleb {
    color: gray;
    font-size: 13px;
}

.articletrailer a {
    color: gray !important;
}

.articletrailer a:hover {
    text-decoration: none !important;
    color: #008633 !important;
}

/* thumbnails on articles list and in plugin */
.tiki-view_articles .articleheading img.article-image,
.wikiplugin_articles .articleheading img.article-image {
    max-height: unset !important;
    max-width: 200px !important;
    margin-right: 0;
}

@media (max-width: 576px) {
    .articleheading img.article-image {
        max-height: unset !important;
        max-width: 80vw !important;
        margin-right: 0;
    }

    .articleheading {
        flex-direction: column;
    }

}

/* single article */

.tiki-read_article .article .articleheading {
    flex-direction: column;
}

.tiki-read_article .article .articleheading > div {
    float: none !important;
    display: block;
    width: 100%;
}

.tiki-read_article .article .articleheading > div:first-child {
    text-align: center;
}

.tiki-read_article .article .articleheading .media-body {}

/* ARTICLE END */

.well {
    padding: 10px;
    border: 1px #008633 solid;
    border-radius: 5px;
}

.w-100 {
    width: 100%;
}

.justify-content {
    display: flex;
    justify-content: center;
}

.justify-content-item li {
    margin-left: 10px;
    margin-right: 10px;
}

.navbar-toggle span {
    background-color: green;
}

#mod-Actionsleft3 input,
#railfuture_railwatch img,
#railfuture_rail_users_express img {
    width: 100%;
}

.text-white {
    color: white !important;
}

.admin-navbar .dropdown-menu {
    position: absolute;
}

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

.btn-link[data-toggle=dropdown]:hover + .dropdown-menu {
    display: block;
}

.main-menu > div {
    width: 100%;
}

.main-menu .box-menu {
    border: none;
    margin: 0;
    box-shadow: none;
}

.main-menu .box-menu .card-body {
    justify-content: center;
    display: inline-flex !important;
    padding: 10px;
}

.menuSection ul {
    width: 100% !important;
    padding-left: 0;
    list-style: none;
}

.sf-arrows .sf-with-ul {
    padding-right: 10px;
    padding-left: 10px;
}

.menuSection ul > li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
}

/* for chosen selects (should be in tiki_base, no? */
.chosen-select, .chosen-select-deselect {
    width: 100%;
}

.chosen-container {
    display: inline-block;
    position: relative;
    width: 100% !important;
    font-size: 1rem;
    text-align: left;
    vertical-align: middle;
    user-select: none;
}

.chosen-container .chosen-drop {
    background: #fff;
    border: 1px solid #d0eae2;
    border-bottom-right-radius: 0.4rem;
    border-bottom-left-radius: 0.4rem;
    margin-top: -1px;
    position: absolute;
    top: 100%;
    left: -9000px;
    z-index: 1060;
}

.chosen-container.chosen-with-drop .chosen-drop {
    left: 0;
    right: 0;
}

.chosen-container .chosen-results {
    margin: 0;
    position: relative;
    max-height: 15rem;
    padding: 0.5rem 0 0 0;
    color: #888;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.chosen-container .chosen-results li {
    display: none;
    line-height: 1.5;
    list-style: none;
    margin: 0;
    padding: 0.25rem 0.25rem 0.25rem 1.5rem;
}

.chosen-container .chosen-results li em {
    font-style: normal;
    color: #888;
}

.chosen-container .chosen-results li.group-result {
    display: list-item;
    cursor: default;
    padding-left: 0.75rem;
    color: #aaa;
    font-weight: normal;
    text-transform: uppercase;
}

.chosen-container .chosen-results li.group-option {
    padding-left: 1.5rem;
}

.chosen-container .chosen-results li.active-result {
    cursor: pointer;
    display: list-item;
}

.chosen-container .chosen-results li.result-selected {
    color: #5a5a5a;
}

.chosen-container .chosen-results li.result-selected:before {
    display: inline-block;
    position: relative;
    top: 0.3rem;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: -1.25rem;
    content: "";
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235a5a5a' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 1.25rem 1.25rem;
    background-position: center center;
    background-repeat: no-repeat;
}

.chosen-container .chosen-results li.highlighted {
    background-color: #78C2AD;
    background-image: none;
    color: white;
}

.chosen-container .chosen-results li.highlighted:before {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.chosen-container .chosen-results li.highlighted em {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
}

.chosen-container .chosen-results li.disabled-result {
    display: list-item;
    color: #ced4da;
}

.chosen-container .chosen-results .no-results {
    display: list-item;
    padding: 0.25rem 0 1rem 1.065rem;
    color: #FF7851;
}

.chosen-container .chosen-results-scroll {
    background: white;
    margin: 0 0.25rem;
    position: absolute;
    text-align: center;
    width: 20rem;
    z-index: 1;
}

.chosen-container .chosen-results-scroll span {
    display: inline-block;
    height: 1.5;
    text-indent: -5000px;
    width: 0.5rem;
}

.chosen-container-single .chosen-single {
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-top-left-radius: 0.4rem;
    border-top-right-radius: 0.4rem;
    border-bottom-right-radius: 0.4rem;
    border-bottom-left-radius: 0.4rem;
    color: #888;
    display: block;
    height: calc(1.5em + 0.75rem);
    overflow: hidden;
    line-height: calc(1.5em + 0.75rem);
    padding: 0 0 0 0.75rem;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.chosen-container-single .chosen-single abbr {
    display: inline-block;
    position: absolute;
    top: 0.325rem;
    right: 2rem;
    width: 2rem;
    height: 1.5rem;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF7851' d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
    background-size: 1.5rem 1.5rem;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #fff;
    box-shadow: 4px 0 16px 16px #fff;
}

.chosen-container-single .chosen-single abbr:hover {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ea3400' d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
}

.chosen-container-single .chosen-single span {
    display: block;
    margin-right: 1.5rem;
    text-overflow: ellipsis;
}

.chosen-container-single .chosen-single.chosen-disabled .chosen-single abbr:hover {
    background-position: right 2px;
}

.chosen-container-single .chosen-single div {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 2rem;
    height: 100%;
    padding-left: 0.5rem;
    background-color: #fff;
}

.chosen-container-single .chosen-single div:after {
    display: inline-block;
    position: relative;
    top: 0.125rem;
    left: -1rem;
    width: 2rem;
    height: 2rem;
    content: "";
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23aaa' d='M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z'/%3E%3C/svg%3E");
    background-size: 2rem 2rem;
    background-position: center center;
    background-repeat: no-repeat;
}

.chosen-container-single .chosen-single:not(.chosen-single-with-deselect) div:after {
    background-color: #fff;
    box-shadow: 4px 0 16px 16px #fff;
}

.chosen-container-single .chosen-default {
    color: #aaa;
}

.chosen-container-single a:not([href]):not([tabindex]) {
    color: #888 !important;
}

.chosen-container-single a:not([href]):not([tabindex]).chosen-single:not(.chosen-default) {
    color: #888 !important;
}

.chosen-container-single .chosen-search-input {
    border: none;
}

.chosen-container-single .chosen-search {
    margin: 0;
    padding: 0.5rem 0.5rem 0 0.5rem;
    position: relative;
    white-space: nowrap;
    z-index: 1000;
}

.chosen-container-single .chosen-search:after {
    display: inline-block;
    position: relative;
    top: 0.365rem;
    left: -1.75rem;
    width: 1.25rem;
    height: 1.25rem;
    content: "";
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23aaa' d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
    background-size: 1.25rem 1.25rem;
    background-position: center center;
    background-repeat: no-repeat;
}

.chosen-container-single .chosen-search input[type="text"] {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    outline: none;
    border-top-left-radius: 0.4rem;
    border-top-right-radius: 0.4rem;
    border-bottom-right-radius: 0.4rem;
    border-bottom-left-radius: 0.4rem;
    padding: 0.25rem 1rem 0.25rem 0.5rem;
    width: 100%;
}

.chosen-container-single .chosen-drop {
    margin-top: -1px;
    border-bottom-right-radius: 0.4rem;
    border-bottom-left-radius: 0.4rem;
    background-clip: padding-box;
}

.chosen-container-single-nosearch .chosen-search {
    display: none;
}

.chosen-container-multi .chosen-choices {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-top-left-radius: 0.4rem;
    border-top-right-radius: 0.4rem;
    border-bottom-right-radius: 0.4rem;
    border-bottom-left-radius: 0.4rem;
    cursor: text;
    height: auto !important;
    margin: 0;
    padding: 0.175rem;
    overflow: hidden;
    position: relative;
}

.chosen-container-multi .chosen-choices li {
    float: left;
    list-style: none;
}

.chosen-container-multi .chosen-choices .search-field {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.chosen-container-multi .chosen-choices .search-field input[type="text"] {
    width: 100% !important;
    margin: 0;
    padding: 0.175rem 0.175rem 0.175rem 0.5rem;
    border: 0 !important;
    background: transparent !important;
    color: #888;
    outline: 0;
}

.chosen-container-multi .chosen-choices .search-field .default {
    color: #ced4da;
}

.chosen-container-multi .chosen-choices .search-choice {
    background-clip: padding-box;
    position: relative;
    max-width: 320px;
    margin: 0.175rem 0.25rem;
    padding: 0.25rem 1.5rem 0.25rem 0.25rem;
    border: 1px solid #ced4da;
    background-color: #f8f9fa;
    border-top-left-radius: 0.4rem;
    border-top-right-radius: 0.4rem;
    border-bottom-right-radius: 0.4rem;
    border-bottom-left-radius: 0.4rem;
    cursor: default;
    font-size: 0.875rem;
    line-height: 1;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chosen-container-multi .chosen-choices .search-choice .search-choice-close {
    display: inline-block;
    position: absolute;
    top: 0.2rem;
    right: 0.125rem;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF7851' d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
    background-size: 1rem 1rem;
    background-position: center center;
    background-repeat: no-repeat;
}

.chosen-container-multi .chosen-choices .search-choice .search-choice-close:hover {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ea3400' d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
}

.chosen-container-multi .chosen-choices .search-choice-focus {
    background: #eceeef;
}

.chosen-container-multi .chosen-choices .search-choice-focus .search-choice-close {
    background-position: right -11px;
}

.chosen-container-multi .chosen-drop .result-selected {
    display: none;
}

.chosen-container-active .chosen-single {
    border: 1px solid #d0eae2;
    box-shadow: 0 0 0 0.2rem rgba(208, 234, 226, 0.5);
    transition: border linear 0ms, box-shadow linear 0ms;
}

@media (prefers-reduced-motion: reduce) {
    .chosen-container-active .chosen-single {
        transition: none;
    }
}

.chosen-container-active.is-valid .chosen-single {
    box-shadow: 0 0 0 0.2rem rgba(86, 204, 157, 0.4);
}

.chosen-container-active.is-invalid .chosen-single {
    box-shadow: 0 0 0 0.2rem rgba(255, 120, 81, 0.4);
}

.chosen-container-active.chosen-with-drop .chosen-single {
    background-color: #fff;
    border: 1px solid #d0eae2;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: none;
    transition: border linear 0ms, box-shadow linear 0ms;
}

@media (prefers-reduced-motion: reduce) {
    .chosen-container-active.chosen-with-drop .chosen-single {
        transition: none;
    }
}

.chosen-container-active.chosen-with-drop .chosen-single div:after {
    display: inline-block;
    position: relative;
    top: 0.125rem;
    left: -1rem;
    width: 2rem;
    height: 2rem;
    content: "";
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23aaa' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");
    background-size: 2rem 2rem;
    background-position: center center;
    background-repeat: no-repeat;
}

.chosen-container-active .chosen-choices {
    border: 1px solid #d0eae2;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    transition: border linear 0ms, box-shadow linear 0ms;
}

@media (prefers-reduced-motion: reduce) {
    .chosen-container-active .chosen-choices {
        transition: none;
    }
}

.chosen-container-active .chosen-choices .search-field input[type="text"] {
    color: #888 !important;
}

.chosen-container-active.chosen-with-drop .chosen-choices {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.chosen-container-active.chosen-with-drop .chosen-search-input {
    display: inline-block;
}

.chosen-disabled {
    cursor: default;
    opacity: 0.5 !important;
}

.chosen-disabled .chosen-single {
    cursor: default;
}

.chosen-disabled .chosen-choices .search-choice .search-choice-close {
    cursor: default;
}

.chosen-container-optgroup-clickable li.group-result {
    text-transform: none !important;
}

.chosen-container-optgroup-clickable li.group-result:hover {
    background-color: #78C2AD;
    color: white;
    cursor: pointer;
}

.chosen-container-optgroup-clickable li.group-result:hover em {
    color: white;
}

.chosen-container.is-valid .chosen-single, .chosen-container.is-valid .chosen-choices, .chosen-container.is-valid .chosen-drop, .chosen-container:valid .chosen-single, .chosen-container:valid .chosen-choices, .chosen-container:valid .chosen-drop {
    border-color: #56CC9D;
}

.chosen-container.is-invalid .chosen-single, .chosen-container.is-invalid .chosen-choices, .chosen-container.is-invalid .chosen-drop, .chosen-container:invalid .chosen-single, .chosen-container:invalid .chosen-choices, .chosen-container:invalid .chosen-drop {
    border-color: #FF7851;
}

input[type="text"].chosen-focus-input {
    position: absolute;
    top: -9000px;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    outline: 0;
}

.input-group:nth-of-type(1) .chosen-container .chosen-choices {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group:not(:nth-of-type(1)) .chosen-container .chosen-choices {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group:not(:nth-of-type(1)) .input-group-prepend .input-group-text {
    border-top-right-radius: 0.4rem;
    border-bottom-right-radius: 0.4rem;
}

.input-group .chosen-container {
    position: relative;
    flex: 1 1 auto;
    width: 1% !important;
}

.input-group .chosen-choices .search-field {
    min-height: calc(1.5em + 0.75rem);
}

/* ADD MEGAMENU CSS from YAMM */
/*!
 * Yamm! - Yet another megamenu for Bootstrap
 * http://geedmo.github.com/yamm
 *
 * @geedmo - Licensed under the MIT license
 */
.yamm .collapse,
.yamm .dropup,
.yamm .dropdown {
    position: static;
}

.yamm .container {
    position: relative;
}

.yamm .dropdown-menu {
    left: auto;
}

.yamm .yamm-content {
    padding: 1rem;
}

.yamm .dropdown.yamm-fw .dropdown-menu,
.yamm .dropup.yamm-fw .dropdown-menu {
    left: 0;
    right: 0;
}

/* jb additions */
.yamm .dropdown.yamm-left .dropdown-menu {
    left: -20% !important;
    right: auto;
}

.yamm .dropdown.yamm-not {
    position: relative;
}

/*
  aspect-ratio not supported by Safari yet :(

.twitter-timeline {
    height: auto !important;
    aspect-ratio: 2 / 3;
}
*/

/*
 * take 3 from https://www.benmarshall.me/responsive-iframes/
 */

#twitter_feed {
    overflow: hidden;
    /* 2/3 aspect ratio */
    padding-top: 150%;
    position: relative;
}

#twitter_feed iframe {
    border: 0;
    left: 0;
    top: 0;
    position: absolute !important;
    height: 100% !important;
    width: 100% !important;
}

