/* News */

.maincontain {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 95%;
    margin: auto;
    height: 100%;
    flex-grow: 1;
    padding: 2% 3%;
    position: relative;
    z-index: 5;
    top: -231px;
}
.maincontainlr {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 95%;
    margin: auto;
    height: 100%;
    flex-grow: 1;
    padding: 2% 3%;
    position: relative;
    z-index: 5;
}
.maincontainteam {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 95%;
    margin: auto;
    height: 100%;
    flex-grow: 1;
    padding: 2% 3%;
    position: relative;
    z-index: 5;
}
.maincontainteam1 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: auto;
    height: 100%;
    flex-grow: 1;
    padding: 0% 3%;
    position: relative;
    z-index: 5;
}
.subcontain {
    display: flex;
    flex-direction: column;
    margin: 1%;
    width: 30%;
    /* flex-grow: 1; */
}
.subcontain123 {
    display: flex;
    flex-direction: column;
    margin: 1%;
    width: 100%;
    flex-grow: 1;
}

.maincontain1 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 95%;
    height: 100%;
    flex-grow: 1;
    padding: 2% 0%;
}

.subcontain0 {
    display: flex;
    flex-direction: column;
    margin: 1%;
    width: 50%;
}

.subcontain1 {
    width: 70%;
}

.subcontain2 {
    margin: 1%;
    width: 30%;
}

/* a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
    color: inherit;
    color: #000;
} */

.card-deck {
    -webkit-column-gap: 4.25rem;
    -moz-column-gap: 4.25rem;
    column-gap: 4.25rem;
    padding: 4% 10%;
}

.card.newscard {
  height: 100%;
    border-radius: 5%;
    text-align: center;
    overflow: hidden;
    background-color: rgb(255, 255, 255, 0.4);
    transition: all ease-in-out 0.3s;
    -webkit-box-shadow: 0px 0px 48px -25px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 0px 48px -25px rgba(0, 0, 0, 1);
    box-shadow: 0px 0px 48px -25px rgba(0, 0, 0, 1);
}
.card.newscard1 {
  height: 100%;
    border-radius: 5%;
    text-align: center;
    overflow: hidden;
    background-color: rgb(255, 255, 255, 0.4);
    transition: all ease-in-out 0.3s;
    -webkit-box-shadow: 0px 0px 48px -25px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 0px 48px -25px rgba(0, 0, 0, 1);
    box-shadow: 0px 0px 48px -25px rgba(0, 0, 0, 1);
}
.card.newscard2 {
  height: 100%;
    border-radius: 5%;
    text-align: center;
    overflow: hidden;
    background-color: rgb(255, 255, 255, 0.4);
    transition: all ease-in-out 0.3s;
    -webkit-box-shadow: 0px 0px 48px -25px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 0px 48px -25px rgba(0, 0, 0, 1);
    box-shadow: 0px 0px 48px -25px rgba(0, 0, 0, 1);
}

.card.newscard3 {
  height: 100%;
  overflow-x: auto;
    border-radius: 20px;
    text-align: center;
    /* overflow: hidden; */
    background-color: rgb(255, 255, 255, 0.4);
    transition: all ease-in-out 0.3s;
    -webkit-box-shadow: 0px 0px 48px -25px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 0px 48px -25px rgba(0, 0, 0, 1);
    box-shadow: 0px 0px 48px -25px rgba(0, 0, 0, 1);
}

.card.newscard:hover {
    cursor: pointer;
    border-radius: 5%;
    background-color: rgb(255, 255, 255, 1);
    -webkit-box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
    transform: scale(1.05);
    transition: all ease-in-out 0.3s;
}
.card.newscard1:hover {
    cursor: pointer;
    border-radius: 5%;
    background-color: rgb(255, 255, 255, 1);
    -webkit-box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
    transform: scale(1.05);
    transition: all ease-in-out 0.3s;
}
.card.newscard2:hover {
    cursor: pointer;
    border-radius: 5%;
    background-color: rgb(255, 255, 255, 1);
    -webkit-box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
    transform: scale(1.05);
    transition: all ease-in-out 0.3s;
}
.card.newscard3:hover {
    cursor: pointer;
    border-radius: 20px;
    background-color: rgb(255, 255, 255, 1);
    -webkit-box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 26px -4px rgba(0, 0, 0, 0.75);
    transform: scale(1.05);
    transition: all ease-in-out 0.3s;
}


.card.newscard img {
    transition: 2s;
    height: 250px !important;
    object-fit: cover !important;
}
.card.newscard iframe {
    transition: 2s;
    height: 250px !important;
    object-fit: cover !important;
}
.card.newscard1 img {
    transition: 2s;
    height: 250px !important;
    /* object-fit: cover !important; */
}
.card.newscard2 img {
    transition: 2s;
    /* height: 250px !important; */
    /* object-fit: cover !important; */
}
.card.newscard3 img {
    transition: 2s;
    /* height: 250px !important; */
    /* object-fit: cover !important; */
}
span p.lastupdated {
    transform: translateY(100px);
    transition: 0.2s ease-in-out;
}

.card.newscard:hover span p.lastupdated {
    transform: translateY(0);
}
.card.newscard1:hover span p.lastupdated {
    transform: translateY(0);
}
.card.newscard2:hover span p.lastupdated {
    transform: translateY(0);
}
.card.newscard3:hover span p.lastupdated {
    transform: translateY(0);
}
@media (hover: none) {
    span p.lastupdated {
        transform: translateY(0);
    }
    .card.newscard {
        background-color: rgb(255, 255, 255, 0.7);
    }
    .card.newscard1 {
        background-color: rgb(255, 255, 255, 0.7);
    }
    .card.newscard2 {
        background-color: rgb(255, 255, 255, 0.7);
    }
    .card.newscard3 {
        background-color: rgb(255, 255, 255, 0.7);
    }
}

@media (max-width: 645px) {
    .subcontain {
        width: 40%;
    }
}

@media (max-width: 490px) {
    .subcontain {
        width: 45%;
    }
}

@media (max-width: 430px) {
    .maincontain {
        width: 100%;
    }
    .subcontain {
        width: 48%;
    }
}

@media (max-width: 382px) {
    .subcontain {
        width: 75%;
    }
}

@media (max-width: 992px) {
    span p.lastupdated {
        display: none;
    }
}
