body {
    background-color: #f5f5f5;
    font-family: 'Quicksand', sans-serif;
}
@media (max-width: 600px){
    body {
        background-color: #fff;
    }
    main {
        display: contents;
    }
    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
        padding: .25rem .5rem;
    }
    h1, .h1 {
        font-size: 1.6rem;
    }
    h2, .h2 {
        font-size: 1.4rem;
    }
    h3, .h3 {
        font-size: 1.2rem;
    }
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Quicksand', sans-serif;
}
a:hover {
    text-decoration: none;
}
a:focus {
    box-shadow: none !important;
}
/*////////////////////////////////////////////////////*/
/*/////////////////////// MAIN ///////////////////////*/
/*////////////////////////////////////////////////////*/

body.user-not-loggedin header, body.user-loggedin .login-displayno {
/*    display: none;*/
}
@media (max-width: 600px){
    body.user-loggedin .login-mobile-displayno {
        display: none;
    }
}
body.user-not-loggedin .app-body {
    margin: 0 !important;
    padding: 0 !important;
}
body.user-not-loggedin .main {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}
body.user-not-loggedin .main > .container-fluid:first-of-type, body.user-not-loggedin .main .container-fluid .animated > .row > [class*='col-']:first-of-type {
    margin: 0;
    padding: 0;
}

/*////////////////////////////////////////////////////*/
/*////////////////////// IMAGES //////////////////////*/
/*////////////////////////////////////////////////////*/

.circle-img {
    border-radius: 50%;
}

/*/////// HIDE HEADER AND MENUBAR WHILE TYPING ///////*/

@media (max-height: 400px){
    header.app-header.navbar, .bottom-tab-bar {
        display: none !important;
    }
}

/*////////////////////// TABS ////////////////////////*/

.bg-main {
    background-color: #01284d;
    color: #fff;
}
.bg-secondary {
    background-color: #733232;
}

/*////////////////////////////////////////////////////*/
/*/////////////// BOTTOM NAV - TAB BAR ///////////////*/
/*////////////////////////////////////////////////////*/

.bottom-tab-bar {
    background-color: #fff;
    bottom: 0;
    display: none;
    overflow: hidden;
    padding: 12px 0 5px !important;
    position: fixed;
    width: 100%;
    -webkit-box-shadow: 0 1px 3px 1px rgba(60,64,67,.2),0 2px 8px 4px rgba(60,64,67,.1);
    -moz-box-shadow: 0 1px 3px 1px rgba(60,64,67,.2),0 2px 8px 4px rgba(60,64,67,.1);
    box-shadow: 0 1px 3px 1px rgba(60,64,67,.2),0 2px 8px 4px rgba(60,64,67,.1);
    z-index: 1018;
}
.bottom-tab-bar .row {
    width: 100%;
}
@media (max-width: 768px){
    .bottom-tab-bar {
        display: flex;
    }
}
.bottom-tab-bar [class*='col'] {
    text-align: center !important;
    font-size: 16px;
    word-wrap: break-word;
}
.bottom-tab-bar a {
    color: #01284d;
    font-size: 16px !important;
    line-height: 1.25em;
    padding: 0;
    text-align: center !important;
    word-wrap: break-word;
}
.bottom-tab-bar i {
    font-size: 24px !important;
}

/*////////////////////////////////////////////////////*/
/*////////////////////// LOGIN ///////////////////////*/
/*////////////////////////////////////////////////////*/

.tx-hairu {
    background: #f5f5f5;
    background: -moz-linear-gradient(45deg, #f5f5f5 0%, #ddd 100%);
    background: -webkit-linear-gradient(45deg, #f5f5f5 0%,#ddd 100%);
    background: linear-gradient(45deg, #f5f5f5 0%,#ddd 100%);
    color: #666;
    /* position: fixed; */
    /* z-index: 2000; */
    min-height: 100vh;
    /* height: 100%; */
    width: 100vw;
    /* top: 0; */
    /* left: 0; */
    margin: 0;
    padding: 5% 0 !important;
    overflow: auto;
}
.tx-hairu .tx-hairu-content{
    overflow: auto;
    height: 100%;
}
.tx-hairu .card-group {
    margin: auto 0;
    color: #000;
}

/*////////////////////////////////////////////////////*/
/*//////////////////// BOOTSTRAP /////////////////////*/
/*////////////////////////////////////////////////////*/

.animated.fadeIn > .row:first-of-type {
    margin: 0;
    padding: 0;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.row-eq-height > [class*='col-'] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

@media (max-width: 600px) {
    .animated.fadeIn > .row > [class^="col-"] {
        padding: 0;
    }
}

/*///////////////// DROPDOWN MENU ////////////////////*/

.dropdown-menu {
    border-radius: 0;
}
.dropdown-header {
    background: #f8f8f8;
    border-top: 2px solid #c8ced3;
    border-bottom: 1px solid #c8ced3;
    color: #999999;
    padding: 4px 10px;
}

/*////////////////////// TABS ////////////////////////*/

.nav-pills .nav-link {
    padding: .5rem 1rem;
    margin: .5rem;
}
.nested-tab.tab-content {
    border: none;
}

@media only screen and (max-width: 600px) {
    .nav-pills .nav-link {
        padding: .25rem .5rem;
        margin: .25rem;
    }
    .tab-content {
        margin: 0 -4px;
    }
    .tab-content .tab-pane {
        padding-left: 0;
        padding-right: 0;
    }
}

/*////////////////////// TABS ////////////////////////*/

.list-group-item.page-list {
    font-size: 1.5rem;
}

@media only screen and (max-width: 600px) {
    .list-group-item {
        border-radius: 0;
        padding: 8px;
    }
}

/*////////////////////////////////////////////////////*/
/*///////////////// BOOTSTRAP - END //////////////////*/
/*////////////////////////////////////////////////////*/

ul.typo3-messages {
    padding: 0;
}
.alert {
    list-style: none;
}
.app-header {
    border: none;
    z-index: 1016;
}
.nav-content {
    max-height: 55px;
}
.app-header a {
    outline: 0;
}
.app-header .navbar-toggler {
    color: #466f82;
    min-width: 20px;
}

/* @media only screen and (max-width: 600px) {
    .sidebar-toggler {
        position: fixed;
        bottom: 15px;
        left: 15px;
        background: #01284d;
        border-radius: 50%;
        box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
        color: #ffffff;
        height: 60px;
        width: 60px;
    }
} */
.brand-minimized .app-header .navbar-brand .navbar-brand-full {
    display: block;
}
.brand-minimized .app-header .navbar-brand {
    width: auto;
    background-color: transparent;
}
.app-header .navbar-brand {
    width: auto;
    height: 55px;
    top: 4px;
}
.navbar-brand-full {
    max-width: 320px;
}
/* @media only screen and (max-width: 600px) {
    .navbar-brand-full {
        max-width: 240px;
    }
} */
.nav-color-bar {
    background: #01284d;
    background: -moz-linear-gradient(45deg, #01284d 0%, #c8352a 100%);
    background: -webkit-linear-gradient(45deg, #01284d 0%,#c8352a 100%);
    background: linear-gradient(45deg, #01284d 0%,#c8352a 100%);
    -webkit-box-shadow: inset 0px 0px 20px 0 rgba(0,0,0,0.5);
    -moz-box-shadow: inset 0px 0px 20px 0 rgba(0,0,0,0.5);
    box-shadow: inset 0px 0px 20px 0 rgba(0,0,0,0.5);
    height: 5px;
    width: 100%;
    position: absolute;
    bottom: 0;
}
.nav .divider {
    border-bottom: 1px dashed #cccccc;
    width: 90%;
    margin: 10px auto;
}

.app-header button .badge, .bottom-tab-bar .badge  {
    position: absolute;
    top: 40%;
    left: 60%;
    margin-top: -16px;
    margin-left: 0;
}

.app-header .nav-item .avatar.nav-link > img, .app-header .nav-item .nav-link > .img-avatar {
    height: 45px;
    width: 45px;
}

.app-header .usermenu-name {
    padding-left: 1rem;
}

.wrapper {
    max-width: 1140px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.tapp-container {
    max-width: 100%;
}
.sidebar-lg-show.sidebar-fixed .tapp-container .main {
    padding-left: 250px;
    max-width: 1340px;
}
@media only screen and (max-width: 991px) {
    .sidebar-lg-show.sidebar-fixed .tapp-container .main {
        padding-left: 0;
    }
}
.sidebar-lg-show.sidebar-fixed.sidebar-minimized .tapp-container .main {
    padding-left: 0;
    max-width: 1140px;
}

.aside-menu-show .main::before, .sidebar-show .main::before {
    position: fixed;
}

.tapp-container .main {
    margin-left: auto !important;
    margin-right: auto !important;
}


@media (min-width: 992px) {
    .sidebar-fixed .sidebar, .sidebar .sidebar-nav, .sidebar .nav {
        width: 250px;
    }
}
@media (max-width: 991.98px) {
    .sidebar-fixed .sidebar {
        top: 0;
    }
    .sidebar-fixed .sidebar, .sidebar .sidebar-nav, .sidebar .nav {
        width: 280px;
        /* height: 100%;
        top: 0; */
    }
    html:not([dir=rtl]) .sidebar {
        margin-left: -280px;
    }
}

.sidebar .nav-item a.nav-link {
    padding: 1rem 1rem;
    color: #ffffff;
}
.sidebar-minimized .sidebar a.nav-link {
    padding: 1rem 0;
}
.sidebar .nav-item a {
    font-size: 1.25em;
}
.sidebar .nav-item.nav-link-success {
    background: #4dbd74;
}
.sidebar .nav-item.nav-link-success:hover a {
    background: #41af67;
}
.sidebar .nav-item.nav-link-danger {
    background: #f86c6b;
}
.sidebar .nav-item.nav-link-danger:hover a {
    background: #f75453;
}

.sidebar-minimized .sidebar .nav-link [class*="fa-"] {
    display: block;
    float: left;
    width: 50px;
    font-size: 18px;
}
.sidebar-minimized .sidebar .divider {
    display: none;
}

@media (max-width: 600px){
    .navbar-toggler.sidebar-toggler.d-lg-none.mr-auto {
        z-index: 10;
    }
    /* .app-header {
        display: grid;
    } */
    .app-body .tapp-container {
        display: block;
    }
}

.main {
    margin-top: 30px;
    margin-bottom: 30px;
}

.white-box {
    border: 1px solid #ccc;
}

.list-box {
    padding: 0 25px;
}

.widget {
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .main {
        margin-top: 0;
        padding: 0;
    }
    .main .container-fluid {
        padding: 0;
    }
    .white-box {
        /* margin: 10px -4px; */
        padding: 20px 15px;
    }
    .col, [class^="col"] {
        padding-right: 4px;
        padding-left: 4px;
    }
    .row {
        margin: 0;
        padding: 8px 0;
    }
    .list-box {
        padding: 0 10px;
    }

}
/*///////////////////// BUTTONs ///////////////////////*/

.btn, button {
    border-radius: 0;
    padding: 1rem 1rem;
}
.btn-block {
    margin: .5rem 0;
}
.btn-primary {
    background-color: #01284d;
    border: none;
}
.btn-group-sm>.btn, .btn-sm {
    padding: .25rem .5rem;
    font-size: .765625rem;
    line-height: 1.5;
    border-radius: .2rem;
}

@media (max-width: 600px) {
    .btn-sm {
        display: block;
        margin: .5rem 0;
        width: 100%;
    }
}

/*///////////////////// BUTTONs ///////////////////////*/


.lgv-gray-bg {
    background: #466f81;
    color: #ffffff;
    margin-bottom: 50px;
    position: relative;
}
.lgv-gray-bg::after {
    border-top: 50px solid #466f81;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    bottom: 0px;
    content: "";
    position: absolute;
    left: 45%;
    margin-left: -21px;
    width: 0;
    height: 0;
    top: 100%;
}
.center-vertical {
    display: flex;
    align-items: center;
    justify-content: center;
}
.center-text {
    text-align: center;
}
.padding-md {
    padding: 30px 0;
}
.text-big {
    font-size: 1.5em;
}
table td {
    vertical-align: middle !important;
}

.title-card {
    font-family: 'Open Sans',Arial,sans-serif;
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: center;
    height: 250px;
    border: none;
}

.title-card .background-block {
    float: left;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.title-card .background-block .background {
    width: 100%;
    vertical-align: top;
    opacity: .9;
    -webkit-filter: blur(.5px);
    filter: blur(.5px);
    -webkit-transform: scale(1.8);
    transform: scale(2.8);
}

.title-card .card-content {
    width: 100%;
    padding: 15px 25px;
    color: #efefef;
    float: left;
    background: #2f353a;
    height: 50%;
    border-radius: 0 0 5px 5px;
    position: relative;
    z-index: 9;
}

.title-card .card-content::before {
    content: '';
    background: #2f353a;
    width: 120%;
    height: 100%;
    left: 0;
    bottom: 25px;
    position: absolute;
    z-index: -1;
    -webkit-transform: rotate(-2deg);
    transform: rotate(-2deg);
}

.title-card h2 {
    margin: 0 0 5px;
    font-weight: 600;
    font-size: 25px;
}

.title-card h2 small {
    display: block;
    font-size: 15px;
    margin-top: 10px;
}

/*///////////////////// FORMs ///////////////////////*/

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    opacity: .5 !important; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    opacity: .5 !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
    opacity: .5 !important;
}

label {
    font-weight: bold;
    margin: 1rem .5rem 0 .5rem;
    width: 100%;
}
label.checkbox.switch {
    margin: 0;
}

.help-block {
    font-weight: 300;
    margin-left: 15px;
}

.input-group-text {
    background: none;
    border: none;
    border-bottom: 2px solid #ccc;
}

.form-control, .selection .select2-selection {
    border: none;
    border-bottom: 2px solid #ccc;
    border-right: 2px solid #ccc;
    border-radius: 0;
    height: auto;
    padding: .375rem 1rem;
}
input.form-control, .selection .select2-selection {
    -webkit-box-shadow: none;
    box-shadow: none;
}
input.form-control, .selection .select2-selection .select2-selection__rendered {
    font-size: .875rem;
    line-height: 2rem;
}

select {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: .875rem;
    line-height: 1.5;
    color: #5c6873;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e4e7ea;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.select2 {
    width: 100% !important;
    overflow: hidden;
}
.select2-selection__rendered, .select2-results__option {
    white-space: normal !important;
    word-break: break-all;
}
.select2-selection__choice {
    padding: 2px 5px;
}
.select2-selection__choice__remove {
    margin-right: 4px;
    font-size: 1.75em;
    line-height: 1em;
}

.femanager_fieldset.femanager_terms.form-group, .femanager_fieldset.femanager_privacyPolicy.form-group, .femanager_fieldset.femanager_privateProfile.form-group {
    border: 2px #eee dotted;
    padding: .5rem 0 0;
}

/*///////////////////// REGISTRATION ///////////////////////*/



.profile-card-3 .profile {
    max-width: 100px;
    max-height: 100px;
    /* z-index: 99999; */
}
.profile-card-3 .profile {
    z-index: 1;
}
.profile-card-3 .card-content {
    z-index: 0;
}


/*///////////////////// DIRECTORY - LIST ///////////////////////*/

.directory-item {
    border-bottom: #ddd 1px solid;
    /* min-height: 120px; */
    overflow: hidden;
}
.directory-item:last-of-type {
    border-bottom: none;
}
.directory-item .row {
    margin-left: 0;
    padding: 4px 0;
}
.directory-item .directory-item-logo {
    max-width: 100% !important;
    max-height: 100% !important;
}
.directory-item p {
    margin-bottom: 0;
}

.img-avatar {
    border: #093054 solid 2px;
}

.user-list-card .img-avatar {
    max-width: 60px;
    max-height: 60px;
}

.user-list-card div[class^="col-"] {
    
    padding-left: 8px;
    padding-right: 8px;
    
}

/*///////////////////// DIRECTORY - LIST ///////////////////////*/



/*///////////////////// PAGINATION ///////////////////////*/

.f3-widget-paginator {
    display: inline-block;
    border-radius: 4px;
    margin: 20px 0px;
    padding-left: 0px;
}

.f3-widget-paginator > li {
    display: inline;
}

.f3-widget-paginator li *
{
    padding: 12px 16px;
}

.f3-widget-paginator li ,
.f3-widget-paginator > li > a ,
.f3-widget-paginator > li.current {
    position: relative;
    float: left;
    margin-left: -1px;
    text-decoration: none;
}

.f3-widget-paginator li {
    border: 1px solid #DDD;
    background-color: #FFF;
    color: #FF8700;
}

.f3-widget-paginator > li.current,
.f3-widget-paginator > li:hover,
.f3-widget-paginator > li > a:hover,
.f3-widget-paginator > li > a:focus {
    background-color: #EEE;
}

.f3-widget-paginator > li:first-child > a,
.f3-widget-paginator > li.current:first-child {
    margin-left: 0px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.f3-widget-paginator > li:last-child > a,
.f3-widget-paginator > li.current:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/*///////////////////// USER PROFILE ///////////////////////*/

.profile-card-3 {
    height: auto;
}
.profile-card-3 .background-block {
    height: 140px;
}
.profile-card-3 .profile {
    top: 75px;
}
.profile-card-3 .card-content {
    padding-top: 50px;
}
.profile-card-3 .card-content::before {
    content: '';
    background: #efefef;
    width: 120%;
    height: 100%;
    right: -50px;
    bottom: 0px;
    position: absolute;
    z-index: -1;
    -webkit-transform: rotate(-9deg);
    transform: rotate(-9deg);
}
.profile-card-3 .card-content::after {
    content: '';
    background: #efefef;
    width: 120%;
    height: 100%;
    left: -50px;
    bottom: 0px;
    position: absolute;
    z-index: -1;
    -webkit-transform: rotate(9deg);
    transform: rotate(9deg);
}

/*///////////////////// USER PROFILE ///////////////////////*/


/*///////////////////// TOGGLE ON MOBILE ///////////////////////*/

@media only screen and (max-width: 600px) {
    .hidden-phone-for-toggle {
        display: none;
        transition: 0.95s display ease-out
    }
}

/*///////////////////// FOOTER ///////////////////////*/

.sidebar-lg-show.sidebar-fixed .app-footer {
    margin-left: 0 !important;
}
.app-footer {
    -ms-flex: 0 0 25px;
    flex: 0 0 25px;
    color: #f0f3f5;
    background: #000;
    /* margin-top: 40px; */
}
@media (max-width: 600px){
    body.user-loggedin .app-footer {
        margin-top: 40px;
    }
}

/*///////////////////// HOME PAGE ///////////////////////*/

.full-bg {
    padding: 50px 0;
}

.padding-bottom-lg {
    padding-bottom: 50px;
}

.hero {
    background-image: url("../Images/hero_BG.jpg");
    /* background-repeat: no-repeat;
    background-position: right top;
    background-attachment: fixed;
    background-size: 100%; */
    padding: 80px 0;
    /* background-size: 110%; */
    background-position: center -25px;
}

.home-img-bg-1 {
    padding: 130px 0;
    background-image: url(../Images/home_bg2.jpg);
}

.home-img-bg-2 {
    font-size: 1.25em;
    background-color: #ecf9ff;
    background-image: radial-gradient(closest-side, transparent 98%, rgba(0,0,0,.0125) 99%), radial-gradient(closest-side, transparent 98%, rgba(0,0,0,.025) 99%);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
}

/*////////////////////////////////////////////////////*/
/*///////////////////// EVENTS ///////////////////////*/
/*////////////////////////////////////////////////////*/

/*///////////////////// DETAIL ///////////////////////*/

.eventNavBar, .activitiesNavBar {
    color: #ffffff;
    /* background: -moz-linear-gradient(45deg, #01284d 0%, #c8352a 100%);
    background: -webkit-linear-gradient(45deg, #01284d 0%,#c8352a 100%);
    background: linear-gradient(45deg, #01284d 0%,#c8352a 100%); */
    padding: 10px;
}
.eventNavBar {
    background: #01284d;
}
.activitiesNavBar {
    background: #ffffff;
    margin-top: 0;
    /* padding: 0 .5rem; */
}

@media only screen and (max-width: 600px) {
    /* .row .event-header-img {
        margin: -8px -4px 0 !important;
    } */
    .eventNavBar {
        margin: -8px -4px 0;
    }
    /* .event-detail-row .event-image {
        margin: -9px -1px 0;
    } */
    .tab-content .tab-content {
        padding: 15px 0 0;
    }
}

.eventNavBar .nav-pills .nav-link {
    border-radius: 0;
    color: #ffffff;
}
.activitiesNavBar .nav-pills .nav-link {
    color: #01284d;
}
.eventNavBar .nav-pills .nav-link, .eventNavBar .nav-pills > .nav-link {
    background: transparent !important;
    color: #fff;
}
.activitiesNavBar .nav-pills .nav-link, .eventNavBar .nav-pills > .nav-link {
    color: #01284d;
}
.eventNavBar .nav-pills .nav-link.active, .eventNavBar .nav-pills .show > .nav-link {
    background: transparent;
    color: #fff;
    border: none;
    border-bottom: 5px solid rgba(255,255,255,.5);
}
.activitiesNavBar .nav-pills .nav-link.active, .eventNavBar .nav-pills .show > .nav-link {
    color: #01284d;
    border-bottom: 5px solid #01284d;
}

#pills-home {
    padding-top: 0;
}

h1.event-title {
    margin: .5rem 0;
}

.activityList .directory-item {
    border-bottom: none;
}

.activityList .timeBar {
    background: #8c9399;
    color: #ffffff;
    padding: 5px 15px;
}

/*//////////////////////////////////////////////////////*/
/*///////////////////// COMMENTS ///////////////////////*/
/*//////////////////////////////////////////////////////*/

.toctoc-comments-pi1 {
    border: none !important;
}

.tx-tc-cts-dp .tx-tc-ct-box .tx-tc-text-top .tx-tc-rts-area .tx-tc-rts-li-text, .main .tx-tc-ct-box div.tx-tc-text-top div.tx-tc-atrts-ctlink, .main .tx-tc-ct-box div.tx-tc-text-top .tx-tc-sharrrearea-popup, .tx-tc-follows-one-less + div.tx-tc-sharrrearea-popup, .tx-tc-follows-two-less + div.tx-tc-sharrrearea-popup, .tx-tc-ct-box div.tx-tc-text-top .sharrre, .tx-tc-follows-one-less + .sharrre, .tx-tc-follows-two-less + .sharrre {
    background-color: #2f353a !important;
    border: none;
}

.tx-tc-ct-submit, .tx-tc-ct-submit-loggedin {
    border: none !important;
    background: #00274e !important;
    padding: 10px 15px !important;
    border-radius: 0 !important;
}

.tx-tc-textlink, .tx-tc-tcsroc, .tx-tc-openerform, a.tx-tc-rts-star-like, a.tx-tc-rts-star-unlike {
    color: #20a8d8 !important;
}

/*//////////////////////////////////////////////////////*/
/*/////////////////// HOME APP GRID ////////////////////*/
/*//////////////////////////////////////////////////////*/

.row .home-grid {
    max-width: 630px;
    margin: 0 auto;
}
.home-grid [class*="col-"] {
    margin-bottom: 4%;
}
    .home-grid [class*="col-"] img {
        box-shadow: 0 1px 11px rgba(0,0,0,0.15);
    }

@media only screen and (max-width: 600px) {
    .home-grid [class*="col-"] {
        margin-bottom: 2%;
    }
}

/*//////////////////////////////////////////////////////*/
/*//////////////////////// CHAT ////////////////////////*/
/*//////////////////////////////////////////////////////*/

@media (max-width: 991.98px) {
    .aside-menu {
        height: calc(100vh - 65px);
        margin-right: -992px !important;
        padding-bottom: 100px;
        position: fixed;
        right: 0;
        top: 65px;
        width: 100%;
        z-index: 1018;
    }
    .aside-menu-lg-show .aside-menu {
        margin-right: 0 !important;
    }
}
@media (min-width: 992px) {
    .aside-menu-lg-show #chat-iframe-container {
        right: 250px;
    }
}

.aside-menu {
    padding: 15px;
}
.aside-menu .chat-room {
    border-bottom: 1px solid rgba(0,0,0,.1);
    font-size: 1.4em;
    padding: .5rem 1rem;
    cursor: pointer;
}
    .aside-menu .chat-menu .chat-room:last-of-type {
        border-bottom: none;
        padding-bottom: 30px;
    }
    .aside-menu .chat-room.unread {
        font-weight: bold;
    }
    .aside-menu .chat-menu-wrapper {
        border-bottom: 2px dotted rgba(0,0,0,.1);
        display: flex;
        max-height: 50%;
        overflow-y: auto;
    }
    .aside-menu .chat-menu-wrapper h4 {
        background: -moz-linear-gradient(top, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        position: fixed;
        max-width: 100%;
        width: 100%;
    }
    .aside-menu .chat-menu {
        margin: 42px 0 0;
        overflow-x: hidden;
        overflow-y: auto;
        width: 100%;
    }

#chat-iframe-container {
    width:0;
    height:0;
    border:none;
    position: fixed;
    visibility: hidden;
    bottom: 0;
    right: 0;
    transition: visibility 0s ease-out 0s;
    z-index: 1017;
}
#chat-iframe-container.chat-open {
        max-width: 1670px;
        width: 100%;
        height: 85vh;
        visibility: visible;
        transition: visibility .25s ease-out .1s, margin-left .1s,margin-right .1s,width .1s,flex .1s,-ms-flex .1s,height .1s,right .1s;
        position: fixed;
        bottom: 0;
        display: block;
        overflow-x: hidden;
        overflow-y: auto;
        outline: 0;
    }
    @media (max-width: 768px){
        #chat-iframe-container.chat-open {
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            display: block;
            overflow-x: hidden;
            overflow-y: auto;
            outline: 0;
        }
    }
  
    #btn-chat-minimize {
        font-size: 2em;
        line-height: 1em;
        padding: 8px 10px;
        position: absolute;
        right: 0px;
        top: 0px;
        z-index: 1;
    }

    #chat-iframe-container iframe {
        border: 0;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }
