@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap'); 

p, td, th {
    font-family: 'Montserrat', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

.foreground-gradient {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    /* background: linear-gradient(180deg, rgba(28, 90, 111, .75), rgba(255, 255, 255, 0)); */
}

.navbar a{
    color: #ececec;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    padding: 1rem 1.2rem;
}
.navbar a:hover{
    color: #fff;
}

.nav-tabs button{
    font-size: smaller;
    line-height: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 1rem 2rem;
    color: #888;
    background-color: #ececec !important;
    margin-right: 0.15rem;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px  !important;
}
.nav-tabs button.active{
    background-color: #ffffff !important;
}
.nav-tabs{
    border-bottom: none !important;
}
#nav-tabContent p{
    font-size: 0.75rem;    
    margin-bottom: 0px;
}

#nav-tabContent td, #nav-tabContent th{
    max-width: 150px !important;
    overflow: hidden;
}
#nav-tabContent th{
    text-transform: uppercase;
    font-weight: normal;
}
#nav-tabContent th div{
    padding: 8px;
    background-color:#1D6873;
    color: #fff;
    text-align: center;
    height: 62px !important;
    border: none !important;
}

#nav-tabContent td div {
    height: 100%;
    display:block;
}

#nav-tabContent td > * {
vertical-align: middle;
}
#nav-tabContent th div p{
    font-size: 0.55rem;
}

#nav-tabContent {
    padding: 1.5rem;
    background-color: #FAF8F4;
    border-radius: 0px 8px 8px 8px;

}

#nav-tabContent table {
    height: 100%;
}

#nav-tabContent .table>:not(caption)>*>* {
    border: none;
    padding: 8px 12px !important;
}

.lbrown {
    background-color: #E2D5C2;
}

#enroll {
    background-color: #1D6873;
    border-radius: 16px;
}
#enroll:hover {
    background-color: #054548;
}

.carousel-inner { 
    height: 100vh;
    position: relative;
 }

 .carousel-item  { 
    height: 100%;
 }

 .slide-img {
    /* background-image: url('../images/home/bng_00.jpg'); */
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed !important;
    background-size: cover !important;   
    background-position: center !important;
   }

   .carousel-caption{
    color:black !important;
    padding-left: 30%;
    text-align: right;
    position: absolute;
    right: 7%;
    bottom: 14%;
   }

   .carousel-caption h2{
    font-size: 7vh;
    text-transform: uppercase;
    font-weight: 700;
   }

   .carousel-caption p{
    font-size: 1.8rem;
    line-height: 2.8rem;
    /* text-shadow: 0px 0px 1rem rgba(255,255,255,0.95); */
   }
    #aboutus * {
        color: white;
    }

    #aboutus p{
        font-size: 1rem;
        line-height: 1.4rem;
    }

   @media only screen and (max-width: 900px) {
    #nav-tabContent td, #nav-tabContent th{
        max-width: 120px !important;
    }
        .nav-tabs button{
            font-size: 0.5rem;
            line-height: 0.6rem;
            text-transform: uppercase;
            font-weight: 700;
            padding: 0.5rem 0.5rem;
            background-color: #ececec !important;
            margin-right: 0.15rem;
            /* border-radius: 0px !important; */
        }
        #nav-tabContent th {
            padding: 2px;
        }
        #nav-tabContent th div{
            font-size: 0.5rem;
            padding: 4px;
            height: 36px !important;
        }
        
        #nav-tabContent  p{
            font-size: 0.5rem;
        }

        #nav-tabContent th div p{
            font-size: 0.35rem;
        }
        
        #nav-tabContent .table>:not(caption)>*>* {
            padding: 2px 4px !important;
        }

        #nav-tabContent h6, #nav-tabContent h4{
            font-size: smaller;
        }
   }

   /* @media only screen and (max-width: 1000px) { */
   @media only screen and (orientation:portrait) {

        @media only screen and (max-width: 900px) {
            .navbar a{
                font-size: 0.8rem;
                padding: 0.25rem 0.75rem;
            }
            .carousel-caption{
                padding-left: 15%;
                right: 7%;
                bottom: 7%;
            }
            
            .carousel-caption h2{
                font-size: 3.5vh;
                font-weight: 700;
            }
            
            .carousel-caption p{
                font-size: 0.6rem;
                line-height: 1rem;
            }

        }
        .portrait{
            display:block;
        }
        .landscape{
            display: none;
        }
        #aboutus .slide-img{
            background-position-x: 25% !important;
        }
   }
      @media only screen and (orientation:landscape) {

        @media only screen and (max-width: 900px) {
                .carousel-caption{
                padding-left: 35%;
                right: 7%;
                bottom: 7%;
            }          
            .carousel-caption p{
                font-size: 0.6rem;
                line-height: 1rem;
            }
        }
        .portrait{
            display: none;
        }
        .landscape{
            display: block;
        }

    }
    

