#ug-program-why-choose-us-section .page-three-col-layout {
        grid-template-rows: 300px;
}

#major-section .page-three-col-layout {
        grid-template-rows: 360px;
}

#major-section .page-three-col-layout .page-text-md {
        display: -webkit-box;
        -webkit-line-clamp: 7;
        -webkit-box-orient: vertical;
        overflow: hidden;
}

.view-major-and-specialization-table {
        margin: 1.5rem 0;
}

.view-major-and-specialization-table .view-header {
        background-color:#dddddd;
        text-align:center;
        font-size:25px;
        font-weight:bold;
        padding: 1rem;
        border:solid 1px black;
}

.view-major-and-specialization-table .view-content {
        display:inline-grid;
        margin:0px 0px 15px 0px;
        width:100%;
}

.view-major-and-specialization-table .view-content table {
        width:100%;
        height:100%;
}

.view-major-and-specialization-table .view-content table, .view-major-and-specialization-table .view-content tr {
        border:solid 1px black;
}

.view-major-and-specialization-table .view-content thead {
        background-color:#eeeeee;
}

.view-major-and-specialization-table .view-content div:nth-child(odd) {
        grid-column-start:1;
        grid-column-end:2;
        height:100%;
}

.view-major-and-specialization-table .view-content div:nth-child(even) {
        grid-column-start:2;
        grid-column-end:3;
        height:100%;
}

.view-major-and-specialization-table .view-content :is(thead th *, tbody td p) {
        margin: 0.5rem;
}



@media screen and (max-width: 1200px) {
        .view-major-and-specialization-table .view-content div:nth-child(even) {
                grid-column-start:1;
                grid-column-end:2;
        }
}

@media only screen and (max-width: 991px) {
        #major-section .page-three-col-layout .page-text-md,
        #ug-program-why-choose-us-section .page-three-col-layout .page-text-lg {
                font-size: 17px;
        }

        #ug-program-why-choose-us-section .page-three-col-layout .page-text-md {
                font-size: 14px
        }

        #major-section .page-three-col-layout .page-text-md {
                display: -webkit-box;
                -webkit-line-clamp: 5;
                -webkit-box-orient: vertical;
                overflow: hidden;
        }

        #major-section .page-three-col-layout {
                grid-template-rows: 300px;
        }
}

@media only screen and (max-width: 767px) {
        #ug-program-why-choose-us-section .page-three-col-layout .page-text-lg {
                font-size: 1.5rem;
          }

        :is(#major-section, #ug-program-why-choose-us-section) .page-three-col-layout .page-text-md {
                font-size: 1.25rem;
           }


        #ug-program-page .page-three-col-layout {
                grid-template-columns: 1fr;
                grid-template-rows: repeat(3, 300px);
        }

        #major-section .page-three-col-layout {
                grid-template-rows: repeat(3, 500px);
        }

        #major-section .page-three-col-layout .page-text-md {
                display: -webkit-box;
                -webkit-line-clamp: 8;
                -webkit-box-orient: vertical;
                overflow: hidden;
        }
}

@media only screen and (max-width: 300px) {
        .page-title {
                font-size: 20px !important;
        }

        .page-subtitle {
                font-size: 17px !important;
        }

        .page-text-lg {
                font-size: 15px !important;
        }

        .page-text-md {
                font-size: 13px !important;
        }
}
