.content{
    margin:0;
    padding:0;
}
#poster{
	width: inherit;
	height: 450px;
	position: relative; 
	display: flex;
	justify-content: flex-start;
	margin: -30px 0 0;
}
/* #poster::after{
	position: absolute;
	top: 0;
	left: 0;
	bottom:0;
	right:0 ;
	content:"";
	 background-image:url(../image/dolvic-building.jpg); 
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: cover;
	opacity: 0.2;
	z-index: -1;
} */
/* #poster .left{
	display: flex;
	flex-direction: column;
	height: inherit;
	justify-content: center;
	align-items: flex-start;
    padding: 0 10px 0 40px;
	width: 451px;
}
#poster .left small{
	font-size: 20px;
	line-height: 3rem;
	color: rgb(59, 59, 59);
}
#poster .under{
	content:"";
	margin: 15px 0 5px;
	width: 100px;
	height: 5px;
	background-color: plum;
}
#poster .left a{
	box-sizing: border-box;
	font-size: 15px;
	font-weight: 600;
	margin: 10px 30px 0;
	padding: 7px 15px;
	border-radius: 10px;
	background-color: white;
	color: rgb(59, 59, 59);
	border: 3px solid #52184f;
	align-self: flex-end; 
	transition: all .5s ease;
}
#poster .left a:hover{
	color: white;
	background-color: #52184f;
	border: 3px solid #ccdcff;
	border: 0;
} */


/* ==============  Welcome  =================== */
.welcome{
    padding:50px 70px 20px;

}
.welcome h2.primary{
    font-size: 30px;
    font-weight: 900;
    text-align: center;
}

/* ==============  Check Our School  =================== */
/* div.school{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 10px;
}
span.sch{
    font-size: 25px;
    font-weight: bold;
} 
span.navigation{
    margin-left: auto;
}
span.navigation a{
    cursor: pointer;
    padding: 8px 12px;
    background-color:rgb(95, 22, 91) ;
    color: white;
    font-weight: bold;
    font-size: 14px;
    transition: 0.6s ease;
    user-select: none;
} */

/* ====================  Contact  ======================== */
.contact{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    padding: 40px 20px;
}
.contact > div{
    width: 40%;
}
.contact .image{
    width: 55%;
    background-color: aqua;
}
.contact .image img{
    width: 100%;
    height: 100%;
}
/* ====================  ABOUT  ======================== */
.about{
    width: 100%;
    padding: 10px 10px 60px;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
}
.about .card{
    width: 30%;
    padding: 0 0 40px;
    background-color: rgb(255, 255, 254);
    box-shadow: 0 0 5px grey;
    border-radius: 15px 15px 0 0;
    transition: all 0.5s ease;
}
.about .card:hover{
    box-shadow: 0 0 15px grey;
}
.about .card img{
    width: 100%;
    height: 200px;
    margin-bottom: 50px;
    border-radius: 15px 15px 0 0;
    display: block;
}
.about .card .content{
    position: relative;
    margin: 10px 20px;
    padding: 10px 0 20px;
    color:rgb(41, 41, 41);
    border-top: 6px solid rgb(153, 21, 153);
    border-bottom: 3px solid rgb(153, 21, 153);
}
.about .card i.fa{
    position: absolute;
    top:-30px;
    left: 0;
    font-size: 40px;
    color: rgb(153, 21, 153);
    padding:0 20px 0 0 ;
    background-color: white;
}
.about .card .content p{
    font-size: 22px;
    font-weight: 900;
    margin: 20px 0;
    line-height: 1em;
}

/* ================  Our School  ===================== */
.school{
    padding: 50px 12px 0;
}
.school .slideContainer .wrapper .imageOverlay img{
    width: 300px;
    height: 200px;
} 
span.sch{
    font-size: 23px;
    font-weight: bold;
} 
.slideContainer{
    position: relative;
    /* top margin is for purposes of demo */
    top: -4rem;
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    width: 100%;
    height: 280px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); 
}
.wrapper{  
    display:flex;
    /* justify-content: space-between; */
    position: absolute;
    left: 0;
    width: 175%;
    margin:0;
    padding:0;
}
.Slides{
    display: block;
    width: 300px;
    margin-right: 12px;
    background-color: rgb(255, 255, 255);
}
.slide .imageOverlay{
    position: relative;
    width: 300px;
    height: 200px;
    margin-bottom:20px;
}
.slide .imageOverlay .overlay{
    position: absolute;
    top: 0;
    left: 0;
    content:"";
    width: inherit;
    height: 0;
    background-color: rgba(221, 153, 221, 0.8);
    opacity: 0.8;
    z-index: 1000;
    transition: height .8s ease;
    cursor: pointer;
}
.slide .imageOverlay:hover .overlay{
    height: 200px;
}
.Slides .imageOverlay img{
    position: absolute;
    top: 0;
    left: 0;
}
.Slides p{
    line-height: .7em;
}
.Slides small{
    padding: 3px;
}
.Slides a{
    color:rgb(39, 39, 39);
}
.Slides p.primary{
    font-size: 21px;
    font-weight:400;
}

/* =============================  CREDIT  ============================= */
.credit{
	background-image:url(../image/dolvic-building.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.credit .overlay{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width:100%;
    padding: 0 15px;
    z-index: 999;
    background-color: rgba(77, 61, 83, 0.9);
}
.credit .overlay > div{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width:50%;
}
.credit .overlay .panel{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
    height: 200px;
    color: white;
}
.credit .overlay .panel span:nth-child(1){
    font-size: 55px;
    font-weight: 200;
    margin-right: 20px;
    border-bottom: 2px solid plum;
}
.credit .overlay .panel span:nth-child(2){
    font-size: 18px;
    font-weight: 100;
}

/* ======================  Archive  ===================== */
.archive{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}
.archive > div{
    width: 45%;
    height: 550px;
    padding: 20px;
}
.archive .video{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 47%;
}
.archive .video .overlay{
    position: relative;
    width: 100%;
    height: 85% ;
}
.archive .video img {
    position: absolute;
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%;
}
.archive p.heading {
    font-size: 25px;
}
.archive .video .overlay p {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%;
    z-index: 100;
    font-size: 30px;
    background-color: rgba(145, 22, 114, 0.7);
}
.archive .video button:hover {
  opacity: 0.5;
  color: white;
}
.archive .event{
    overflow-y: hidden;
}
.archive .event marquee{
    height: 76%;
}
.archive .event .update{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    background-color: rgb(255, 255, 236);
    padding: 12px;
    margin-bottom: 20px;
}
.archive .event .update div:nth-child(1){
   width: 100px;
   height: 85x;
   margin-bottom: 0;
}
.archive .event .update div:nth-child(1) .upper{
    width: 90px;
   background-color: plum;
   margin-bottom: 0;
   padding:5px 0;
   font-size: 15px;
}
.archive .event .update div:nth-child(2){
    width: 90%;
    height: 85px;
    padding: 10px 0 10px 20px;
    font-size: 15px;
}


/* ====================  What Our Parents Say  ======================== */
/* .testimonial .segment{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
	background:#f4f4f4;
    overflow: hidden ;
	position: relative;
} */


/* 
.testimonial .segment > ul{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 300%;
}
.testimonial .segment > ul .quote{
	position: relative;
	width: 50%;
	display: inline-block;

    position: relative;
    padding: 50px 15px 10px 38px;
    border-radius: 10px;
    box-shadow: 0 0 9px rgb(172, 32, 67);
    background-color: beige;
    color:rgb(39, 39, 39);
    width: 40%;
} 
*/

.testimonial{
    padding: 30px 15px;
}
.testimonial p.heading{
    margin-bottom: 10px;
    font-weight:400;
}
.testimonial img{
    position: absolute;
    top: -70px;
    right: 30px;
    border-radius: 50%;
    border: 8px solid rgb(255, 255, 255);
}
.testimonial .fa-quote-left{
    position: absolute;
    top: 20px;
    left: 15px;
}
.testimonial .fa-quote-right{
    position: absolute;
    bottom: 15px;
    right: 15px;
}
.testimonial .quote p{
    font-size: 15px;
}
#text-slider{
	margin: auto;
	overflow: hidden;
	position: relative;
	max-width: 90%;
	height: 300px;
}

#text-slider ul{
	list-style: none;
	position: absolute;
	left: 0px;
	top: 30px;
	width: 9000px;
	transition: left .3s linear;
	-moz-transition: left .3s linear;
	-o-transition: left .3s linear;
	-webkit-transition: left .3s linear;
	margin-left: -25px;
	font-family: century gothic;
	color: #666;
}
#text-slider li{
	float: left;
	width: 500px;
	display: inline-block;
	height: 170px;
    margin: 0 30px;
    border-radius: 10px;
}
#text-slider .content{
	position: relative;
    padding: 30px 15px 10px 30px;
    box-shadow: 0 0 9px rgb(109, 90, 95);
}

@-webkit-keyframes slide-animation {
	0% {opacity:0;}
	2% {opacity:1;}
	20% {left:0px; opacity:1;}
	22.5% {opacity:0.6;}
	25% {left:-600px; opacity:1;}
	45% {left:-600px; opacity:1;}
	47.5% {opacity:0.6;}
	50% {left:-1200px; opacity:1;}
	70% {left:-1200px; opacity:1;}
	72.5% {opacity:0.6;}
	75% {left:-1800px; opacity:1;}
	95% {opacity:1;}
	98% {left:-1800px; opacity:0;} 
	100% {left:0px; opacity:0;}
}

#text-slider ul
{
	-webkit-animation: slide-animation 25s infinite;
}

/* use to paused the content on mouse over */

#text-slider ul:hover
{
	-moz-animation-play-state: paused;
	-webkit-animation-play-state: paused;
}


/* ====================  Gallery  ======================== */

.gallery{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 700px;
    width: 100%;
	background-image:url(../image/dolvic-building.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: cover;
    background-attachment: fixed;
}
.gallery .goto{
    /* height: 400px; */
    width: 600px;
    border-left: 30px solid purple;
    background-color: rgb(254, 255, 255);
    margin-left: 2%;
    padding: 40px 80px 40px 40px;
}
.gallery .goto h1{
    margin-top: 15px;
    line-height: 0.7em;
    font-size: 50px;
    font-weight: 900;
}
.gallery .goto span{
    font-size: 16px;
    font-weight: 900;
    color: rgb(166, 78, 248);
}
.gallery .goto p{
    padding: 20px 0;
    width: 100%;
    font-size: 14px;
}
.gallery .goto i.fa:nth-child(1){
    color:rgb(255, 253, 255);
    background-color:rgb(95, 22, 91);
    border-radius: 50%;
    padding: 13px 14px;
    font-size: 20px;
}
.gallery .goto a{
    font-size: 14px;
    font-weight: 700;
}


/* ====================  SYLLABUS  ======================== */
.syllabus{
    width: 100%;
    margin: 40px 0 0;
    padding: 10px;
    overflow: hidden;
}
.syllabus .wrapper{
    width: 1000px;
}
.syllabus .wrapper img{
    width: 200px;
    height:120px;
    margin: 0 20px;
}





@media only screen and (max-width: 840px) {

    #poster{
        height: 300px;
        margin: 0;
    }
    /* #poster .left{
        width: 351px;
    }
    #poster .left small{
        font-size: 16px;
    } 
    #poster .under{
        height:3px;
    }
    #poster .left a{
        font-size: 13px;
        padding: 3px 10px;
        background-color: #52184f;
        color: rgb(238, 237, 237);
    }
    #poster h1{
        font-size:30px;
    }*/
    .credit .overlay{
        display: flex;
        flex-direction: column;
    }
    .credit .overlay > div{
        width:100%;
    }
    .archive > div{
        width: 48%;
        padding: 20px 10px;
    }

    /* .about .card img{
        width: 100%;
        height: 200px;
        border-radius: 15px 15px 0 0;
        display: block;
    } */
    .about{
        padding: 10px 0 40px;
    }
    .about .card img{
        height: 130px;
        margin-bottom: 30px;
    }
    .about .card .content{
        margin: 0 20px;
        padding: 10px 0 20px;
        border-top: 3px solid rgb(153, 21, 153);
    }
    .about .card i.fa{
        top: -20px;
        font-size: 30px;
    }
    .about .card .content p{
        font-size: 14px;
        margin: 15px 0 5px;
    }
    .about .card .content span{
        font-size: 13px;
    }
    .contact{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        padding: 40px 5px;
    }
    .contact > div{
        width: 90%;
    }
    .contact .image{
        width: 90%;
        background-color: aqua;
    }
    .contact .image img{
        width: 100%;
        height: 100%;
    }

    #text-slider li{
        width: 600px;
        margin: 0 50px;
    }
    @-webkit-keyframes slide-animation {
        0% {opacity:0;}
        2% {opacity:1;}
        20% {left:0px; opacity:1;}
        22.5% {opacity:0.6;}
        25% {left:-700px; opacity:1;}
        45% {left:-700px; opacity:1;}
        47.5% {opacity:0.6;}
        50% {left:-1400px; opacity:1;}
        70% {left:-1400px; opacity:1;}
        72.5% {opacity:0.6;}
        75% {left:-2100px; opacity:1;}
        95% {opacity:1;}
        98% {left:-2100px; opacity:0;} 
        100% {left:0px; opacity:0;}
    }
    /* .testimonial .segment{
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-around;
        align-items: center;
    }
    .testimonial .segment > div{
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        margin-bottom: 30px;
    }
    .testimonial p.heading{
        margin-bottom: 40px;
    }
    .testimonial .quote{
        position: relative;
        padding: 50px 15px 10px 38px;
        border-radius: 10px;
        box-shadow: 0 0 9px rgb(230, 145, 241);
        background-color: beige;
        color:rgb(39, 39, 39);
        width: 45%;
        transform: scale(1,1);
        transition: all .6s ease;
    } */
    }
    
@media only screen and (max-width: 500px) {
    .lg-block{
        display: none;
    }
    #poster .left{
        width: 0;
        padding: 0;
    }
    #poster{
        height: 200px;
    }
    #poster::after{
        opacity: 0;
    }
    .welcome{
        padding:10px 10px;
    }
    .welcome h2.primary{
        font-size: 23px;
        font-weight: 900;
        text-align: center;
    }
    .about{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    .about .card{
        width: 90%;
        margin-bottom: 30px;
    }
    .about .card img{
        height: 150px;
    }
    .about .card .content{
        margin: 0 20px;
        padding: 2px 0 20px;
    }
    .about .card i.fa{
        top:-20px;
        font-size: 25px;
    }
    .about .card .content p{
        font-size: 17px;
        font-weight: 800;
        margin: 20px 0 5px;
    }
    .about .card .content span{
        font-size: 14px;
    }
    .credit .overlay > div{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        width:100%;
    }
    .credit .overlay .panel{
        justify-content: flex-start;
        width: 100%;
        height: 100px;
        padding-left: 7px;
    }
    .credit .overlay .panel span:nth-child(1){
        font-size: 30px;
        font-weight: 700;
        margin-right: 25px;
        color: plum;
    }
    .credit .overlay .panel span:nth-child(2){
        font-size: 16px;
    }
    .contact .content h1{
        font-size: 18px;
    }

    .school{
        padding: 40px 5px 0;
    }
    span.sch{
        font-size: 14px;
        font-weight: 900;
        position: relative;
        top: 0;
        left: 5px;
    }
    .Slides{
        margin-right: 6px;
        width: 270px;
    }
    .school .slideContainer .wrapper .imageOverlay img{
        width: 270px;
        height: 200px;
    } 
    .slide .imageOverlay{
        position: relative;
        width: 270px;
        height: 200px;
        margin-bottom:20px;
    }
    .Slides .imageOverlay img{
        position: absolute;
        top: 0;
        left: 0;
    }
    .slide .imageOverlay{
        position: relative;
        width: 300px;
        height: 200px;
        margin-bottom:20px;
    }
    .Slides small{
        font-size: 12px;
    }
    .Slides p{
        line-height: .5em;
    }
    .Slides p.primary{
        font-size: 15px;
        font-weight:800;
    }

    .archive{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }
    .archive > div{
        width: 100%;
        height: 350px;
        padding: 0 5px; 
    }
    .archive > div > p{
        font-size: 18px;
        margin: auto;
        font-weight: 480;
    }
    .archive .video{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: flex-start;
        width: 100%;
    }
    .archive .video .overlay p {
        font-size: 22px;
        font-weight: 600;
        background-color: rgba(141, 22, 145, 0.7);
    }
    .archive .video button:hover {
    transform: scale(.9, .9);
    }
    .archive .event p{
    text-align: center;
    }
    .archive .event .update{
        padding: 10px;
        margin-bottom: 20px;
    }
    .archive .event .update div:nth-child(1){
        width: 100px;
        height: 85px;
        margin-bottom: 0;
    }
    .archive .event .update div:nth-child(1) .upper{
        background-color: plum;
        margin-bottom: 0;
        padding: 5px 0;
    }
    .archive .event .update div:nth-child(2){
        width: 90%;
        height: 85px;
        padding: 10px 0 10px 20px;
        font-size: 13px;
    }


    .gallery{
        height: 600px;
    }
    .gallery .goto{
        /* height: 400px; */
        width: 93%;
        border-left: 10px groove rgb(211, 121, 211);
        background-color: rgba(255, 255, 255, 0.7);
        margin-left: 10px;
        padding: 20px 3px 20px 7px;
    }
    .gallery .goto small{
        font-size: 10px;
        font-weight: 700;
    }
    .gallery .goto h1{
        font-size: 20px;
    }
    .gallery .goto h3{
        font-size: 17px;
    }
    .gallery .goto span{
        font-size: 15px;
        font-weight: 700;
    }
    .gallery .goto p{
        font-size: 15px;
    }
    .gallery .goto i.fa:nth-child(1){
        padding: 7px 8px;
        font-size: 15px;
    }
    .gallery .goto a{
        font-size: 13px;
    }

    
.testimonial{
    padding: 40px 5px 20px;
}
.testimonial p.heading{
    margin-bottom: 0;
    font-weight:700;
    font-size: 16px;
}
#text-slider{
	max-width: 100%;
	height: 400px;
}
#text-slider ul{
	/* list-style: none;
	position: absolute;
	left: 0px; */
	top: 20px;
	/* width: 9000px;
	transition: left .3s linear;
	-moz-transition: left .3s linear;
	-o-transition: left .3s linear;
	-webkit-transition: left .3s linear;
	margin-left: -25px;
	font-family: century gothic;
	color: #666; */
}
#text-slider li{
	width: 250px;
	height: 170px;
    margin: 0 6px;
}
#text-slider .content{
	/* position: relative;
    padding: 30px 15px 10px 30px; */
    background-color: 0 0 9px rgb(201, 160, 184);
    box-shadow: 0 0 5px rgb(109, 90, 95);
    }
.testimonial img{
    /* position: absolute;
    top: -70px; */
    right: 10px;
    /* border-radius: 50%;*/
    border: 5px solid rgb(255, 255, 255); 
}
.testimonial .fa-quote-left{
    position: absolute;
    top: 10px;
    left: 10px;
}
.testimonial .fa-quote-right{
    position: absolute;
    bottom: 7px;
    right: 10px;
}
.testimonial .quote p{
    font-size: 15px;
}

@-webkit-keyframes slide-animation {
	0% {opacity:0;}
	2% {opacity:1;}
	20% {left:0px; opacity:1;}
	22.5% {opacity:0.6;}
	25% {left:-256px; opacity:1;}
	45% {left:-256px; opacity:1;}
	47.5% {opacity:0.6;}
	50% {left:-512; opacity:1;}
	70% {left:-512; opacity:1;}
	72.5% {opacity:0.6;}
	75% {left:-768; opacity:1;}
	95% {opacity:1;}
	98% {left:-768; opacity:0;} 
	100% {left:0px; opacity:0;}
}
.syllabus{
    width: 100%;
    margin: 40px 0 0;
    padding: 10px;
    overflow: hidden;
}
.syllabus .wrapper{
    width: 1000px;
}
.syllabus .wrapper img{
    width: 200px;
    height:120px;
    margin: 0 20px;
}
}