﻿/****************Media Queries******************************/
/* 4k */
.subNavMobile {
    display: none;
}
@media only screen and (max-width: 2560px) {

  /*  #desktopView {
        display: block;
    }*/
    .ToggleContainer .peerStreet {
        font-size: 5em;
    }
}

@media only screen and (min-width: 1024px) {

    #infoBtn {
        display: none;
    }

    .loanInfo {
        /*display: inline-flex;*/
        font-size: 1.15em;
    }

    .subnavChooser .btn {
    }

    .subnavChooser .SubNavNext {
        height: 4.9em;
    }

    .subnavChooser .SubNavPrevious {
        height: 4.9em;
    }

    .subnavChooser .SubNavSearch {
        height: 100%;
    }
    .subnavChooser button {
        font-size: 1.125em;
        padding: 8px 0 7px 0;
        width: 5em;
    }

    .subnavChooser a i {
        font-size: 2.5em;
    }

    #buttonMenu button {
        margin-bottom: 4em;
        padding: 1em;
        width: 12%;
        /*    margin-right: 5%;*/
    /*    margin-left: 5%;*/
    }


   /* #subNav {
        margin-top: 1em;
    }*/

    #buttonMenu {
        position: relative;
    }
}


/*@media only screen and (min-width: 1450px) {
    .loanInfo {
        display: inline-flex;
    }
}*/

@media only screen and (max-width: 1439px) {
    .closed {
        top: 75px;
    }

    .ToggleContainer .peerStreet {
        font-size: 4em;
    }
}

@media only screen and (max-width: 1438px) {

    .subnavChooser a {
        height: 4.8em;
        width: 5em;
    }

        .subnavChooser a i {
            font-size: 2.5em;
        }

}

@media only screen and (max-width: 1355px) {
    .closed {
        top: 75px;
    }
}



@media only screen and (max-width: 1023px) {
    /*.RenderBody {
        right: initial;
            top: calc(var(--Sub-Nav) + var(--Nav-Height));*/
        /*top: var(--Nav-Height);*/
        /*width: 100vw;
        left: 0;
    }

    #bodyLayout {
        right: initial;
        top: var(--Nav-Height);
        width: 100%;
        left: 0;
        padding: .5em;
    }*/

    .NavMoreOptions {
        overflow-y: auto;
    }

    .closed {
        top: 70px;
    }

    .subnavChooser a {
        width: 3rem;
        height: 2.5rem;
    }

        .subnavChooser a span {
            font-size: 10px;
        }

    .btnContainerLoan {
        display: none;
    }

    .btnContainer {
        /*display: none;*/
    }

    .btnContainerLoanMobile {
        display: block;
    }

    #ddSubNav {
        display: inline-block;
    }

    .subnavChooser > .SubNavNext {
        margin-right: 20px !important;
    }

    .subnavChooser > a {
        width: 4em;
    }

/*    #desktopView {
        display: none;
    }*/

    .fixed-top {
        right: 0;
    }

    .cross {
        left: 0;
    }

    .ToggleContainer {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: minmax(100px, max-content) repeat(5, minmax(100px, max-content));
        justify-items: center;
    }

    .subNavMobile {
        display: block;
    }

    .ToggleContainer .peerStreet {
        font-size: 3.5em;
    }

    .loanInfo {
        display: none;
        padding:2em;
        width: 100%;
    }

    .keyGuideOverlay {
        left: 0;
        width: 100%
    }
}

@media only screen and (max-width: 768px) {
    .loanHeader {
        font-size: 20px;
        font-weight: 600;
    }

    .expandAll {
        display: none;
    }

 
}

@media only screen and (max-width: 767px) {
    .sanduBorder {
        border-top: 1px solid var(--primary-color);
    }

    .btn-group-mce {
        display: none;
    }

    #tinyMCE-swiper {
        display: block;
    }

    .docCol {
        max-height: 270px;
    }

    .cardContent {
        display: none;
    }

    .cardHeader {
        border-right: none;
    }

    .viewNote {
        display: block;
    }
}

/* Large Mobile */
@media only screen and (max-width: `25px) {

    .card {
        min-width: initial;
        width: 100%;
    }

    #dropdownMenuButton, #appDD {
        width: 100%;
    }

    .table-mobile th, .table-mobile td {
        display: block;
    }

    #nav-swiper {
        height: 5vh;
    }

    .loanInfo {
        font-size: 1em;
        margin-top: 1em;
        width: 100%;
    }

    .ToggleContainer {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: minmax(100px, max-content) repeat(5, minmax(100px, max-content)); 
    }


    .bar {
        position: relative;
        display: block;
        width: 27px;
        height: 3px;
        margin: 7px auto;
        background-color: black;
        border-radius: 10px;
        -webkit-transition: .3s;
        transition: .3s;
    }

    #nav-swiper {
        left: 2em;
        top: 0.6em;
    }

}

/* Medium Mobile */
@media only screen and (max-width: 400px) {

    .subnavChooser > a {
        width: 4em;
    }

    .bar {
        position: relative;
        display: block;
        width: 27px;
        height: 3px;
        margin: 7px auto;
        background-color: black;
        border-radius: 10px;
        -webkit-transition: .3s;
        transition: .3s;
    }

    .ToggleContainer .peerStreet {
        font-size: 3em;
    }
}

@media only screen and (max-width: 365px) {
    .loanCnt {
        display: none;
    }
}

/* Mobile small */
@media only screen and (max-width: 320px) {

    /*Deal Info Styles*/

    .navbar {
        min-height: 3rem;
    }

    .loanInfo {
        padding: 0;
    }

    /*Deal Info end*/

    /*layout and sub/index nav styles*/

    #subNav {
        top: 0;
    }

    .loanCnt {
        display: none;
    }

    #partialContainer {
        position: absolute;
        top: 20vh;
    }

    .menu-button {
        cursor: pointer;
        -webkit-transition: .3s;
        transition: .3s;
        background-color: transparent;
        z-index: 20000;
        left: 91vw;
    }

    #buttonMenu {
        top: -1em;
    }

        #buttonMenu > .btn > i {
            font-size: 3em;
            display: block;
        }


    .ToggleContainer .btn {
        margin-bottom: 1px;
        margin-left: 2px;
        margin: 0;
        padding: .5em;
        font-size: 12px;
        vertical-align: middle;
        text-align: center;
        height: 7em;
    }

    .btnRow {
        margin-bottom: 15px;
    }

        .btnRow .btn {
            margin-right: 1px
        }

    #buttonMenu button span {
        display: block;
    }

    .btnRow {
        margin-left: .7em;
    }

    .closed {
        width: 100px;
        height: 100%;
        background: gray;
        position: fixed;
        top: 50px;
        left: 0px;
        z-index: 5000;
        cursor: pointer;
        border-color: white;
        top: 46px;
        background: none repeat scroll 0 0 #616262;
        color: white;
        text-shadow: none;
        border-left: 0px;
        border: none;
    }

    #nav ul {
        padding-left: 0;
    }

    .btnContainer {
        display: none;
    }

    .NavMoreOptions {
        position: absolute;
        left: 100px;
        height: 100%;
        background: #2c99cc;
        padding: 20px 20px;
        top: 0;
        width: calc(100vw - 100px);
    }

    .cross .bar:nth-of-type(1) {
        -webkit-transform: translateY(6px) rotate(-45deg);
        -ms-transform: translateY(6px) rotate(-45deg);
        transform: translateY(6px) rotate(-45deg);
    }

    .cross {
        left: 76px;
    }

    #mobileView {
        height: auto;
    }

    #nav-swiper {
        top: -0.65em;
        left: 2.5em
    }

    /*endregion layout/subnav*/
}

/*Modals*/
/*.modal-content .modal-header .close {
    color: red;
    opacity: 100%;
    font-size: xx-large;
    padding: 0.9rem 1.5rem 1rem 1rem;
}*/

/*    .modal-content .modal-header .close:hover {
        transform: scale(1.05);
        padding: 0 .5rem;
        opacity: 100%;
        margin: -.05rem 0;
    }*/
.modal{
    overflow-y:hidden;
}

.modal-content .modal-body div > p {
    margin: 0;
}

.modal-content .modal-body .author {
    margin-bottom: 0;
    font-weight: 600;
    color: darkblue;
}

.modal-body .postDate {
    font-style: italic;
    font-size: .8rem;
    color: #49A7D3;
    margin-left: 10px;
}

.modal-body .noteBubble {
    border-radius: 20px;
    padding: 12px 16px;
    max-width: 70%;
    word-wrap: break-word;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    font-family: Arial, sans-serif;
    border: 3px solid var(--primary);
    margin: 10px 10px;
}
    .modal-body .noteBubble::after {
        content: '';
        position: absolute;
        clip-path: polygon(50% 0%, 100% 100%, 0% 100%, 50% 70%);
        background: var(--primary);
        height: 30px;
        width: 30px;
        bottom:-13px;
        left:-6px;
        transform: rotate(107deg);
    }

.modal-body .noteBubbleSender {
    border-radius: 20px;
    padding: 12px 16px;
    max-width: 70%;
    word-wrap: break-word;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    font-family: Arial, sans-serif;
    border: 3px solid var(--secondary);
    margin: 10px 10px;
    float:right;
}

    .modal-body .noteBubbleSender::after {
        content: '';
        position: absolute;
        clip-path: polygon(50% 0%, 100% 100%, 0% 100%, 50% 70%);
        background: var(--secondary);
        height: 30px;
        width: 30px;
       bottom:-2px;
       right:-15px;

    }

.modal-body .note-content {
    width: 100%;
    position: relative;
    height:7rem;
}


.modal-body .form-check-input {
    position: initial;
    margin-left: 0;
}

.modal-body .col-4 {
    padding-left: 2rem;
}

.modal-body .addSig {
    padding-left: 0;
}

/*.custom-select {
    color: var(--color-fg);
    margin-bottom: 0.5px;
}*/

.modal-body .makeNote {
    font-weight: 500;
}

.modal-body label > span {
    color: black;
    font-weight: 500;
}
/*End Modals*/
