/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Jul 6, 2020, 11:42:24 PM
    Author     : Z10387
*/


section{
    background:  #F5F5F5;
}

#inside{
    padding-right: 8%
}
.container{

    align-items: stretch;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px
}

.box{
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 8px
}
.news img{
    width:55%;

    object-fit: cover;
}

.top_news{
    text-align: center;
    position: relative;
    flex-basis: 50%;
    padding: 15px;
    margin: auto;
    /*background-color: #edf1f8;*/
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 25px;



}
.top_news:hover{
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.5s;

    /* When the animation is finished, start again */
    animation-iteration-count: 5; /*infinite;*/
}
@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.news{
    text-align: center;
    flex-basis:  30%;
    min-height: 100%;
    margin: auto;
    padding: 15px;
    position: relative;
    /*background-color: #edf1f8;*/
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 25px;
    transition: transform .5s;
}

.old_news, .submission{
    background: #fff;
    text-align: justify;
    justify-content: center;
    padding: 10px;
    flex-basis: 48%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}


.date{

    text-align: justify;
    border-bottom: 2px solid #b30000
}
.date h2{
    font-size: 17px;
}



.rows .row{
    border-bottom: 1px solid #3085a3;
    font-size: 18px
}

.rows .row:last-child{
    border-bottom: none;
}

.part2{
    display: flex;
    flex-wrap: wrap;
    justify-content:  space-between;
    margin-top: 5%;
    text-align: justify;

    padding: 10px;
}
.part2 h1{
    font-size:15%;
    font-weight: normal;
    color:#3085a3;
    text-align: center;

}
.top_news a, .submission a{
    text-decoration: none;
    color: #3085a3;
    font-size: 15px
}

