.topWrapper{
    display: flex;
    justify-content: flex-start;
    align-content: center;  
    background-color: #a8d9eb; 
    background: -webkit-linear-gradient(#a8d9eb, #e8fdfd); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient( #a8d9eb, #e8fdfd); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient( #a8d9eb, #e8fdfd); /* Standard syntax */
    box-shadow: 0 0 3px grey;
    width: inherit;
    padding: 15px 25px;
    color: #252424;
}
.topWrapper .Form{  
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto; 
    margin:0;
}
.topWrapper .left{
    display: flex;
    justify-content: space-around;
}
.topWrapper .left p span{
    font-size: 30px;
}
.topWrapper a{ 
    background: #346272;
    color: whitesmoke;
    border-radius: 7px;
    box-shadow: 0 0 3px #EDEDED;
    margin-left: auto;
    padding: 5px 15px;
    text-decoration: none;
    transition: all 0.37s ease;
}
.topWrapper a:hover{
    background: #1C3954;
    box-shadow: 0 0 4px #DFE2E5;
}
a{
    text-decoration: none;
    transition: 0.25s all ease;
}
/* a:hover{
    color: #81235A;
} */
.flex-Right{margin: 0 15px 0 auto;}
.flex-Left{margin-right: auto}
.pull-Right{text-align: end}
.pull-Center{text-align: center}
.pull-Left{text-align: start}

.success{color: #0D8C18;}
.error{color: #AC0000;}
.white{color: #F4F4F4;}
.primary{color: rgb(32, 83, 131);}

.staffbg{background-color: #0d4238; color: white}
.staff{color: #0d4238}

.primarybg{background:rgb(18, 127, 141); color:white}
.primary{color:rgb(18, 127, 141)}

.studentbg{background:#6b4733; color:white}
.student{color:#865c32;}

.adminbg{background:#2e2f5b; color:white}
.admin{color:#505581;}

.classbg{background:#1b642e; color:white}
.class{color:#4e975a;}

.subjectbg{background:#49022c; color:white}
.subject{color:#7a084b;}

.messagebg{background:#056f8a; color:white}
.message{color:#12a1c5;}


.sm-thumbnail{ width: 40px; height: 40px; border:1px solid rgb(225, 227, 232); border-radius: 50%;
    margin-bottom: 0;
}
.lg-thumbnail{ width: 60px; height: 60px; border:2px solid rgb(225, 227, 232); border-radius: 50%;
    margin-bottom: 2px;
}
.textxlg{ font-size: 30px;}
.textlg{ font-size: 25px;}
.textmd{ font-size: 20px;}
.textsm{ font-size: 16px;}
.textxsm{ font-size: 14px;}

.spread{
    letter-spacing: .15rem;
}
.pageTitle{
    display: flex;
    justify-content: center;
    align-items: center;
}
.pageTitle i{
    padding: 15px 20px;
    margin: 0 20px 0 0;
    font-size: 30px;
    color: #346272;
    box-shadow: 0 0 2px rgba(73, 72, 72, 0.377);
    border-radius: 10px;
}
.pageTitle span{
    font-size: 25px;
    font-weight: 500;
    color:#346272
}
.panel-top.home{
    flex-direction: column;
    align-content:  flex-start;
    padding: 15px;
}
.textLink{
    text-decoration: none;
}
.card-wrapper{
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 50px;
}
.card{
    background: rgb(255, 255, 255);
    width: 30%;
    box-shadow: 0 0 5px rgba(92, 91, 91, 0.58);
    height:120px;
    transform: all .5s ease;
    border-radius: 5px;
    position: relative;
}
.card:hover{
    box-shadow: 0 0 15px rgba(31, 30, 30, 0.58);
}
.badgeAttach{
    position: absolute;
    top: -10px;
    left: 15px;
    padding: 12px 15px;
    /* font-size: 25px; */
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.95);
 }
 .badge{
    /* margin-top: 0; */
    padding: 5px;
    /* margin-right: 20px; */
    border-radius: 50%;
    /* color: rgba(255, 255, 255); */
 }
 .card-title{
     position: absolute;
     top: 0;
     right: 0;
     padding: 10px 10px 10px 0;
     text-align: right;
 }
 .card-title p{
    font-size: 15px;
    margin-bottom: 0;
    line-height: 1.2em;
    font-weight: 500;
    color: rgb(114, 114, 114);
}
.card-title strong{
    font-size: 45px;
}
.card-info{
    position: absolute;
    bottom: 15px;
    left: 0;
    padding: 10px 0 0 5px;
    text-align: left;
}
.card-info p{
    color: rgba(17, 5, 17, 0.57);
    font-size: 12px;
    line-height: 1.2em;
    margin-bottom: 2px;
}
.card-view{ 
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* text-align: center; */
    height: 16px;
    border-radius: 0 0 5px 5px;
    opacity: 1;
    cursor: pointer;
    transition: all .5s ease
}
.card-view:hover{ 
    opacity: 0.8;
}
a#card-view{ 
    color: whitesmoke;
    font-weight: bolder;
    text-decoration: none;
    font-size: 12px; 
}
@media only screen and (max-width:800px) and (min-width:820px){
    
    .textxlg{ font-size: 30px;}
    .textlg{ font-size: 25px;}
    .textmd{ font-size: 20px;}
    .textsm{ font-size: 13px;}

    .topWrapper{
        flex-direction: column;
        align-content:  flex-start;
        padding: 15px;
    }
}

@media only screen and (max-width: 519px){

    .topWrapper{
        flex-direction: row;
        align-content:  flex-start;
        padding: 15px;
        margin-bottom: 10px;
    }
    .topWrapper .Form{
        justify-content: center;
        align-items: center;
        margin-left: auto; 
    }
    .topWrapper .left{
        display: flex;
        justify-content: space-around;
    }
    .topWrapper .left p span{
        font-size: 30px;
    }
    .topWrapper a{
        padding: 3px 15px;
        transition: all 0.5s ease;
        font-size: 13px;
    }
    .topWrapper a:hover{
        background: #1C3954;
        box-shadow: 0 0 4px #8CA8C3;
    }
    .topWrapper a{
        background: #14496d;
        color: whitesmoke;
        border-radius: 7px;
        box-shadow: 0 0 3px #EDEDED;
        /* margin-left: auto; */
        padding: 5px 10px;
        text-decoration: none;
        transition: all 0.37s ease;
    }
    .topWrapper a:hover{
        background: #1C3954;
        box-shadow: 0 0 4px #DFE2E5;
    }
    
    .pageTitle i{
        padding: 8px;
        margin: 0 15px;
        font-size: 25px;
    }
    .pageTitle span{
        font-size: 17px;
        font-weight:600;
    }
    .lg-thumbnail{ 
        width: 55px; 
        height: 55px; 
        margin-bottom: 5px;
    }
    .textxlg{ font-size: 25px;}
    .textlg{ font-size: 20px;}
    .textmd{ font-size: 15px;}
    .textsm{ font-size: 12px;}
     
    .card-wrapper{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        box-sizing: border-box;
        width: 100%;
        margin: 10px 0;
    } 
    .badgeAttach{
        top: 5px;
        padding: 12px 15px;
     }
     .badge{
        margin-top: -15px;
        padding: 4px 8px;
        border-radius: 60px;
     }
     .card{
         background: rgb(255, 255, 255);
         width: 100%;
         box-shadow: 0 0 5px rgba(92, 91, 91, 0.58);
         height: 120px;
         margin-bottom: 30px;
         transform: all .5s ease;
         border-radius: 5px;
         position: relative;
     }
     .card-title{
         position: absolute;
         top: 1px;
     }
     .card-title p{
        font-size: 13px;
        margin-bottom: 0;
     }
    .card-info{
        padding: 10px 0 0 5px;
    }
}