/* .container {
    all: initial;
    margin: auto;
}
  
.container * {
    all: unset
} */
/*   head */

@font-face {
    font-family: 'Raleway';
    /*a name to be used later*/
    src: url('../fonts/raleway/Raleway-Regular.ttf');
    /*URL to font*/
}


.changeFont{
    font-family: 'Raleway';
}

.heading{
    margin: auto;
    width: 100%;
    height: 41vw;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: 
    "a b"
    "a b"
    "a d"
    "c d"
    "c d";
    margin-bottom: 8vw;
    font: normal normal 28px/33px Raleway_bold;
}

.headingItem{
    display: flex;
    justify-content: center;
    align-items: center;
    font:normal normal 28px/33px Raleway_bold;
    color: #FFFFFF;
    text-shadow: 0px 3px 10px #000000A6;
    cursor: pointer;
}

#collegePro{
    grid-area: a;
    position: relative;
    background: #645C5C;
}

#collegePro::before{
    content:'';
    position:absolute;
    left:0; top:0;
    width:100%;
    height:100%;
    background:url('../images/new/schoolPub/CollegeProspectus_bg.png');
    background-size: cover;
    opacity:1;

    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

#collegePro:hover::before{
    opacity:0;
}

#newsLet{
    position: relative;
    grid-area: b;
}

#newsLet > .itemRight{
    position:absolute;
    right: 0px;
    background-image: url('../images/new/schoolPub/newsletter_bg.png');
    width:50%; 
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

#newsLet > .itemLeft{
    position:absolute;
    left:0px;
    width: 50%; 
    height: 100%;
    background-color: #B72126;
    transition-property: width;
    transition: 0.3s;
    z-index: 2;
}

#newsLet:hover .itemLeft{
    width: 100%
}


#torch{
    position: relative;
    grid-area: c;
}

#torch > .itemRight{
    position: absolute;
    right: 0%;
    background-image: url('../images/new/schoolPub/torch_bg1.png');
    width:50%;
    height:100%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

#torch > .itemLeft{
    position: absolute;
    left: 0%;
    width:50%; 
    height: 100%;
    transition: 0.3s;
    z-index: 2;
}

#torch:hover .itemLeft{
    width:100%;
}

.itemLeft{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #005331;
}

#anniBook{
    grid-area: d;
    position: relative;
    background: #B49643;
}

#anniBook::before{
    content:'';
    position:absolute;
    left:0; top:0;
    width:100%;
    height:100%;
    background:url('../images/new/schoolPub/anniversary_bg.png');
    background-size: cover;
    opacity:1;

    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

#anniBook:hover::before{
    opacity:0;
}

#collegePro > div, #anniBook > div{
    position: absolute;
    display:flex;
    justify-content: center;
    width: 91.38%;
    height: 78.55%;
    align-items: center;
    border: 2px solid #FFFFFF;
}

.itemBorder2{
    position: absolute;
    display:flex;
    justify-content: center;
    width: 91.38%;
    height: 78.55%;
    align-items: center;
    border: 2px solid #B49643;
    z-index: 10;
}

.smallItem{
    display: none;
}

/* college prospectus & anniversary booklet area*/
.collegeProArea, .anniBookContent{
    margin: 0;
    position:relative;
    display: flex;
    background-color: #F8F6EB;
    width: 100%;
    height: 31vw;
    margin-bottom: 5vw;
}

.anniBookContent{
    background-color: #FCF6F2;
}

.ProAreaLeft, .anniBookAreaLeft{
    position:relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height:100%;
    width:50%;
}

.ProContext , .anniBookContext{
    position: relative;
    display: flex;
    justify-content: center;
    height:51.26%;
    width:75.8%;
    border:1px solid #005331;
    font:normal normal bold 28px/33px Raleway_bold;
    color:#005331;
}

.ProText, .anniBookText{
    position: relative;
    text-align: center;
    margin: auto;
    font:normal normal bold 28px/33px Raleway_bold;
}

.SaveBTN{
    background-color: #B49643;
    font-size: 16px;
    font-weight: normal;
    color: #FFFFFF;
    padding: 3% 6%;
    border: 0;
    display: block;
    margin: auto;
    margin-top: 15px;
}
.SaveBTN:hover{
    background-color: #B72126;
    transition: 0.3s;
}

.ProContext > .ProText > button, .anniBookContext > .anniBookText > button{
    display: block;
    position:relative;
    /*bottom:25%;*/
    padding: 2% 4%;
    background-color: #B49643;
    font: normal normal 16px/20px Raleway_medium;
    color: #FFFFFF;
}
.ProContext > .ProText > button:hover{
    background-color: #b72126;
}

.ProAreaRight, .anniBookAreaRight{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #EBE7D0;
    z-index: 1;
    height:100%;
    width:50%;
}

.anniBookAreaRight{
    background-color: #F1EBE7;
}

.ProAreaRight img, .anniBookAreaRight img{
    max-width: 79.65%;
    max-height: 72.03%;
    box-shadow: 0px 3px 20px #00000029;
    border: 5px solid #FFFFFF;
}

.collegeProBg, .anniBookBg{
    position: absolute;
    width: 140vw;
    height: 31.07vw;
    background-color: #F8F6EB;
    margin-left: -400px !important;
}

.anniBookBg{
    background-color: #FCF6F2;
}

/* newsletter & torch area */

.newsLetArea,.torchArea{
    position: relative;
    width:100%;
}

.newsLetAreaBg, .torchAreaBg{
    position: absolute;
    /* width:100vw; */
    width: 140vw;
    bottom: -5%;
    background-color: #F3F9EC;
    margin-left: -400px !important;
}

.newsLetAreaBg{
    bottom: 3vw;
    top:12vw;
}

.torchAreaBg{
    background-color: #F2F8F9;
    top:15vw;
    bottom: -5vw;
}

.newsAreaHead, .torchAreaHead{
    font: normal bold 28px/33px Raleway_bold;
    color: #005331;
}

.newsArea, .torchMainArea{
    display: grid;
    grid-template-areas: "a b c";
    width:90%;
    margin: auto;
    margin-top: 3vw;
    column-gap: 30px;
}

.torchMainArea{
    row-gap: 50px;
}

#n1, #t1{grid-area: a;}
#n2, #t2{grid-area: b;}
#n3, #t3{grid-area: c;}

.newsAreaSection, .torchAreaSection{
    height: 40.04vw;
    position:relative;
    display: flex;
    justify-content: center;
}

.newsAreaSecBg, .torchAreaSecBg{
    position:absolute;
    width: 100%;
    height: 0;
    padding-bottom: 80%;
    background-color: #E2E9D9;
    z-index: 10;
}

.torchAreaSecBg{
    padding-bottom: 100%;
    background-color: #DBE7E9;
}

.newsAreaSecContent, .torchAreaSecContent{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 11;
}

.newsAreaSecContent > img, .torchAreaSecContent > img{
    position: absolute;
    width: 86.67%;
    height: 100%;
    max-height: 36%;
    top: 3vw;
    border: 5px solid #FFFFFF;
    box-shadow: 0px 3px 20px #00000029;
}

.torchAreaSecContent > img{
    top: 4vw;
    width: 75%;
    height: 100%;
    max-height: 54%;
    border: 5px solid #FFFFFF;
    box-shadow: 0px 3px 20px 7px #00000029;
}

.newsAreaSecTitle, .torchAreaSecTitle{
    font: normal normal 500 16px/27px Raleway_medium;
    position: absolute;
    top: 28vw;
    bottom:initial;

    display: -webkit-box;
    max-width: 80%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    font-size: 1.2vw;
    line-height: 2vw;
}

.newsAreaSecTitle{
    top: 21vw;
    bottom:initial;
}

.newsAreaSecContent > .newsAreaSecTitle > .SaveBTN, .torchAreaSecContent > .torchAreaSecTitle > .SaveBTN{
    position: relative;
    font: normal normal 16px/20px Raleway_medium;
}

.newsAreaSecContent > .SaveBTN{
    bottom: 9.5vw;
}

.moreBTN{
    position: absolute;
    bottom: -10%;
    z-index: 10;
    text-align: center;
    width: 14vw;
    padding: 0.7vw 0%;
    border: 3px solid #B49643;
    font: normal normal 16px/19px Raleway_medium;
    color: #B49643;    
    background-color: transparent;
}
.moreBTN:hover{
    background-color: #B49643;
    color: white;
    transition: 0.3s;
}



.newsAreaContainer, .torchAreaContainer{
    display: flex;
    justify-content: center;
}

.torchAreaContainer > .moreBTN{
    bottom: -13vw;
}

/* anniversary booklet area */
.anniBookArea, .endline{
    position: relative;
    display:block;
    margin-top: 10vw;
    
}

.newsSeemore, .torchSeemore1, .torchSeemore2{
    display:none;
}

@media screen and (max-width: 1440px){
    .heading{
        font-size: 26px;
    }

    .headingItem{
        font-size: 22px;
    }
    
    .ProText, .anniBookText{
        font-size: 24px;
    }

    .collegeProBg, .anniBookBg{
        margin-left: -300px !important
    }

    .newsAreaSecTitle, .torchAreaSecTitle, .torchAreaSecTitle p{
        font-size:16px;
    }
}

@media screen and (max-width: 1150px){
    .ProText, .anniBookText{
        font-size: 1.7vw;
    }

    .ProText, .anniBookText{
    }

    .ProContext > button, .anniBookContext > button{
        bottom: 20%;
    }
    
}

@media screen and (max-width:980px) {
    .ProText, .anniBookText{
        font-size: 2.2vw;
    }   
    
    .heading{
        height: 46vw;
    }

    .headingItem{
        font-size: 2.8vw;
    }

    .collegeProArea, .anniBookContent{
        height: 36vw;
    }

    .collegeProBg, .anniBookBg{
        height: 36.07vw;
    }

    .newsAreaSecContent > img, .torchAreaSecContent > img{
        max-height: 44.5%;
    }

    .newsAreaSecTitle{
        top: 24vw;
    }

    .newsAreaSecContent > .SaveBTN{
        bottom: 7.5vw;
    }

    .torchAreaSecContent > img{
        max-height: 62%;
    }

    .torchAreaSecTitle{
        top: 33vw;
    }

    .newsLetAreaBg, .torchAreaBg, .collegeProBg, .anniBookBg{
        margin-left: -15vw !important;
    }

    .newsAreaSecContent > .newsAreaSecTitle > .SaveBTN, .torchAreaSecContent > .torchAreaSecTitle > .SaveBTN{
        padding: 0.5vw 1.5vw;
        font: normal normal 14px/20px Raleway_medium;
    }
    
    .ProContext > .ProText > button, .anniBookContext > .anniBookText > button{
        padding: 1vw 1.5vw;
        font: normal normal 14px/20px Raleway_medium;
    }

    .moreBTN{
        min-width: 150px;
    }

    .torchAreaBg{
        bottom: -10vw;
    }

    .torchAreaContainer > .moreBTN{
        bottom: -18vw;
    }

    .torchAreaSecContent > .SaveBTN{
        bottom: -2vw;
    }
}

@media screen and (max-width:700px){
    span{
        padding: 0 10%;
        text-align: center;
        line-height: 20px;
    }

}

@media screen and (max-width:550px) {
    .smallItem{
        display: block;
    }

    .largeItem{
        display: none;
    }
}
/* 
@media (max-width:1024px){
    .headingItem{
        font-size:3vw;
    }

    .collegeProArea, .anniBookContent{
        height: 70vw;
    }
} */
/* 
@media (max-width:980px){
    .newsAreaSecContent > img{
        max-height: 45%;
    }

    .torchAreaSecContent > img{
        max-height: 60%;
    }
}

@media (max-width:936px){
    .anniBookText, .ProText{
        top:25%;
    }

    .torchAreaSecContent > img{
        top: 2vw;
    }
} */

/* @media (max-width:780px){
    .anniBookText, .ProText{
        top:20%;
        width:80%;
        font-size:20px;
        line-height: 22px;
    }

    .anniBookText{
        font-size: 22px;
    }
}

@media (max-width:769px){
    .newsAreaSecContent > img{
        max-height: 50%;
    }
    
    .torchAreaSecContent > img{
        max-height: 67%;
    }
}

@media (max-width:626px){
    .anniBookText, .ProText{
        font-size:20px;
    } 

    .headingItem{
        font: normal normal bold 16px/18px Raleway;
    }

    #collegePro > div, #anniBook > div{
        width:50%;
        padding-left: 20%;
        padding-right: 20%;
        text-align: center;
    }

    #collegePro > div > *{
        display:inline-block;
    }

    
}
*/
@media (max-width: 700px){

    .headingItem{
        font-size: 20px;
    }

    .ProContext > .ProText > button, .anniBookContext > .anniBookText > button{
        padding: 1.5vw 5vw;
        /*bottom: 8vw;*/
        font: normal normal 14px/20px Raleway_medium;
    }

    .ProContext, .anniBookContext{
        height:80%;
    }

    .collegeProArea, .anniBookContent{
        height: 50vw;
        margin-bottom: 70px;
    }

    .collegeProBg, .anniBookBg{
        height: 41vw;
    }

    .newsAreaHead, .torchAreaHead{
        display: flex;
        justify-content: center;
    }

    .newsAreaSecContent > .newsAreaSecTitle > .SaveBTN, .torchAreaSecContent > .torchAreaSecTitle > .SaveBTN{
        padding: 1.5vw 5vw;
        font: normal normal 14px/20px Raleway_medium;
    }

    .newsAreaSecContent > .SaveBTN{
        bottom: 4vw;
    }

    .torchAreaSecContent > .SaveBTN{
        bottom: -3vw;
    }

    #n3, #t3{
        grid-area: initial;
        display:none;
    }

    #n1, #n2, #t1, #t2{
        grid-area: initial;
    }

    .newsArea, .torchMainArea{
        grid-template-columns: 49% 49%;
        grid-template-areas: initial;
        width:100%;
        margin-top: 6vw;
        column-gap: 2%;
        row-gap: 100px;
    }

    .newsArea{
        row-gap:30px;
    }

    .newsAreaSection, .torchAreaSection{
        height:60vw;
    }

    .torchAreaSecContent{
        height: 65vw;
    }

    .newsAreaSecContent > img{
        height:100%;
        max-height: 51%;
        top:6vw;
    }

    .torchAreaSecContent > img{
        width: 65%;
        height: 100%;
        max-height: 64%;
        top: 7vw;
    }

    .newsAreaSecTitle, .torchAreaSecTitle{
        font: normal normal 14px/16px Raleway_medium;
        top: 41vw;
    }

    .torchAreaSecTitle{
        top:55vw;
    }

    .newsLetAreaBg, .torchAreaBg{
        top: 30vw;
        bottom: -30vw;
        width: 180vw;
    }

    .newsLetAreaBg{
        bottom: -25vw;
        top: 30vw;
    }

    .anniBookArea{
        margin-top: 40vw;
    }
    
    .moreBTN{
        bottom: -25%;
        min-width: 100px;
        font: normal normal 14px/19px Raleway_medium;
    }

    .torchAreaContainer > .moreBTN{
        bottom: -22vw; 
        font-size: 14px;
    }
    
    .anniBookText, .ProText{
        font-size:16px;
        line-height: 20px;
    }

    .anniBookText{

    }
    
}

@media screen and (max-width:550px) {
    .anniBookText{
    }
}

@media (max-width: 426px){
    .headingItem{
        font-size: 16px;
    }
    
    .ProContext > button, .anniBookContext > button{
        bottom: 4vw;
        /* padding: 0.05vw 4vw; */
    }

    /* .moreBTN{
        bottom: -33%;
    } */

    .torchAreaContainer > .moreBTN{
        bottom: -35vw;
        min-width: 100px;
    }

    .torchAreaSecContent > .SaveBTN{
        bottom:-13vw;
    }

    /* .newsAreaSecContent > .SaveBTN{
        bottom: -12vw;
    } */

    .newsAreaSecTitle, .torchAreaSecTitle, .torchAreaSecTitle p{
        font-size: 14px;
    }

    .torchAreaSecTitle{
        top: 56vw;
    }

    .torchAreaBg{
        /* height: 85vw; */
        bottom: -45vw;
    }


}
/* 
@media screen and (max-width:390px) {
    .headingItem{
        font-size: 18px;
    }    

    .torchAreaSecTitle{
        top: 53vw;
    }
} */
/* test */
