/* // Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {  }

/* // Small devices (landscape phones, less than 768px) */
@media (max-width: 800px) {
    #toggleNav{
        position: fixed;
        z-index: 99999;
        right: 1.5em;
        top: 1.5em;
        font-size: 20px;
        color: white;
        display: inline-block;
        background: transparent;
        border: none;
    }
    .section{
        position: relative;
    }
    .heading{
        width: 100% !important;
        font-size: 3em;
    }
    .text-heading {
        width: 100% !important;
    }
    .content{
        position: absolute;
        top: 10%;
        transform: translateY(-50%);
        padding-top: 100px;
    }
    #section-1 .content{
        top: 30%;
    }
    #section-2 .heading-section-2{
        height: 75vh !important;
    }
    #logoHeader{
        position: relative;
        z-index: 99;
    }
    #navigation {
        display: none;
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        margin-top: 0px !important;
        width: 100%;
        height: 100%;
        background: rgba(89, 142, 154, .9);
    }
    #navigation p{
        display: block;
        color: white;
        margin-top: 30vh;
        padding-left: 3.5em;
    }
    #navigation .nav {
        position: relative;
        top: 25vh;
    }
    #navigation .nav li.nav-item {
        display: block !important;
        width: 100%;
        padding: .5em 3em;
        /* opacity: .5; */
    }
    #navigation .nav li.nav-item a{
        line-height: 30px;
        font-size: 2.5em;
        text-decoration: underline;
        text-underline-position: under;
        padding-left: 0;
        color: white;
    }

    #navigation .nav li.nav-item .active{
        opacity: 1;
    }

    #list-portfolio .heading-portfolio{
        height: 40px !important;
        padding: 3em 0em;
        text-align: left !important;
    }
    #list-portfolio .heading-portfolio::after{
        content: "";
        margin-top: 25px;
        display: block;
        width: 100%;
        height: 24px;
        background-image: url(../images/Shadow.png);
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-size: 100%;
    }

    #list-portfolio .heading-portfolio .logo-portfolio {
        display: inline-block;
        position: absolute;
        top: 36px;
        left: 18vw;
    }

    #list-portfolio .heading-portfolio h4{
        display: inline-block;
        position: relative;
        left: 32vw;
    }

    #list-portfolio .border{
        border: none !important;
    }
    #list-portfolio img{
        display: none;
    }
    #list-portfolio .hr-bottom {
        display: none;
    }

    .shadow-logo-header{
        display: block !important;
        text-align: center;
    }
    .shadow-logo-header::after{
        display: block;
        content: "";
        background-image: url('../images/Shadow.png');
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: 50% 55%;
        width: 100%;
        height: 25px;
        margin-top: 1em;
    }
    .text-heading-detail {
        width: 100vw !important;
        margin: auto -2em;
        padding: 0em 1em;
        background-color: rgba(216,216,216,.42);
        margin-bottom: 1em;
    }
    .text-heading-detail::after, .text-heading-detail::before{
        display: block;
        width: 100%;
        height: 25px;
        content: "";
        background-image: url('../images/Shadow.png');
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: 50% 55%;
    }
    .text-heading-detail::after {
        position: absolute;
    }
    .text-heading-detail h1{
        font-size: 1.9rem;
    }
    .text-heading-detail h4{
        font-size: 1rem;
    }
    .heading-detail{
        border-bottom: none;
    }
    .nav-back{
        position: fixed !important;
        top: 30px !important;
        left: 15px !important;
        z-index: 99;
    }
    .wrap-container-detail{
        margin-top: 0em !important;
        margin-bottom: 3rem !important;
    }

    #masory-bootstrap h3 {
        /* font-family: "Gotham-Medium"; */
        /* text-align: center; */
        font-size: 9px;
        /* color: #346c73; */
    }

    #masory-bootstrap p {
        /* font-family: "Gotham-Light"; */
        line-height: 13px;
        /* text-align: center; */
        /* color: #346c73; */
        font-size: 8px;
    }

    .hr-bottom{
        /* content: ""; */
        width: 100% !important;
        height: 3px;
        background-color: #598e9a;
    }


    .rowspan-1 {grid-column-end: span 1;}
    .rowspan-2 {grid-column-end: span 2;}
    .rowspan-3 {grid-column-end: span 3;}
    .rowspan-4 {grid-column-end: span 4;}
    .rowspan-5 {grid-column-end: span 5;}

    .colspan-1 {grid-row-end : span 1}
    .colspan-2 {grid-row-end : span 2}
    .colspan-3 {grid-row-end : span 3}
    .colspan-4 {grid-row-end : span 4}
    .colspan-5 {grid-row-end : span 5}

    .parent-grid .card img{
        height: 150px;
    }
    .grid-layout .grid-item img{
        object-fit: cover;
        object-position: 0 0;
        height: 100% !important;
    }
    
    .close{
        top: 27% !important;
    }
    .social-media-icon-disable {
        display: none;
    }
    .social-media-icon{
        position: fixed !important;
        z-index: 9999999;
        right: 3vw !important;
        top: inherit !important;
        bottom: 65px !important;
    }
    .social-media-icon a i{
        font-size: 1.5em;
    }

    #flipster ul li .wrap-media {
        width: 220px !important;
        height: 220px !important;
        display: flex;
    }
 }

/* // Medium devices (tablets, less than 992px) */
@media (min-width: 991.98px) {
    #toggleNav{
        display: none;
    }
    #navigation p{
        display: none;
    }
    #navigation {
        display: block !important;
    }

    #list-portfolio img{
        display: inline-block;
    }
    #list-portfolio .hr-bottom {
        display: block;
    }
    #flipster ul li .wrap-media {
        width: 300px;
        height: 300px;
        display: flex;
    }
 }

/* // Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {  }

@media (min-width: 800px) and (max-width: 1024px) {
    #navigation .nav li.nav-item {
        /* display: block !important;
        width: 100%; */
        padding: 1.5em 3.5em;
        /* opacity: .5; */
    }
}