
.header{
    width: 90%;
    max-width: 1920px;
    height: 215px;
    margin: 0 auto;
    padding-bottom: 8px;
    display: flex;
    background: url(../images/test-bg.png);
    background-size: cover;
    position: relative;
}

h1{
    font-size: 12px ;
}

.news-section{
    display: flex;
    flex-direction: row;
    width: 90%;
    margin: 40px auto 0 auto;
    min-height: 800px;
    max-width: 1333.4px;
}

.content{
    text-align: center;
}

.t-fix{
    text-align: start !important;
}

.content h1{
    font-size: 17px !important;
}

.content h1 a{
    color: #333;
}

.news-section .news{
    background-color: white;
    width: 70%;
    padding-bottom: 100px;
    background-position: top;
    background-size: 100%;
    background-repeat: repeat-y;
    position: relative;
    border: 6px solid white;
}

.news-section .news-bar{
    background-color: rgba(0,0,0,0.3);
    margin-left: auto;
    width: 28%;
    position: relative;
    border-radius: 0 15px 0 0;
}

.news-section .news-bar h4{
    letter-spacing: 1.5px;
    margin-top: 7px;
    font-size: 18px;
    font-weight: normal;
    margin-left: 16px;
    position: relative;
    z-index: 1;
}
.width-fix table{
    width: 100% !important;
}

.red-ribbon,
.news .detail .ribbon{
    position: absolute;
    top: -6px;
    left: -26.5px;
    height: 45px;
    background-image: url("../images/title-bg.png");
    width: calc(100% + 32.5px);
}



.carousel .carousel-item>div:first-child{
    height: 50vh!important;
    min-height: 50vh!important;
}

.news-bar>div:nth-of-type(1){
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 25.5px);
    height: 45px;
    background-image: url("../images/side-menu-bg.png");
    background-size: contain;
}

.news-bar>div:nth-of-type(1) + img{
    position: absolute;
    top: 45px;
    right: -26px;
    transform: rotate(
            180deg
    );
}

.news .detail .ribbon-border{
    position: absolute;
    top: 39px;
    left: -26px;
    transform: rotate(180deg);
}

.news-section .news .detail {
    padding: 0 60px;
}

.news-section .news .detail > h4 {
    color: black;
    margin-bottom: 20px;
    margin-left: 15px;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
}

.news-section .news .detail p {
    color: black;
    text-align: start;
    margin-bottom: 20px;
    font-weight: 200;
    font-size: 19px;
    line-height: 160%;
    margin-left: 15px;
}

.news-section .news .detail .info {
    color: black;
    margin-bottom: 20px;
    font-weight: 200;
    padding-left: 20px;
    font-size: 13px;
    margin-left: -5px;
}

.news-section .news .banner {
    text-align: center;
}

.news-section .news .banner img {
    width: 80%;
}

.news-section .news .detail h5 {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    line-height: 30px;
    margin-top: 50px;
}


/* anno section */


.anno-section {
    display: flex;
    flex-direction: row;
    width: 90%;
    margin: 40px auto 0 auto;
    min-height: 800px;
    max-width: 1333.4px;
}

.anno-section .announcement {
    background-color: white;
    width: 70%;
    margin-right: 2%;
    background-position: top;
    background-size: 100%;
    background-repeat: repeat-y;
    position: relative;
    border: 6px solid white;
}

.anno-section .announcement-bar {
    background-color: rgba(0,0,0,0.3);
    margin-left: auto;
    width: 28%;
    position: relative;
}

.anno-section .announcement-bar h4:nth-of-type(1){
    position: relative;
    z-index: 1;
    margin-top: 7px;
}

.anno-section .announcement .ribbon{
    position: absolute;
    top: -6px;
    left: -26px;
    width: calc(100% + 32.5px);
    height: 45px;
    background-image: url(../images/menu-bg.png);
}

.anno-section .announcement-bar .ribbon{
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 25.5px);
    height: 45px;
    background-image: url(../images/side-menu-bg.png);
    background-size: contain;
}

.anno-section .announcement .ribbon + img{
    position: absolute;
    top: 39px;
    left: -26px;
    transform: rotate(
            180deg
    );
}

.anno-section .announcement-bar .ribbon + img{
    position: absolute;
    top: 45px;
    right: -26px;
    transform: rotate(180deg);
}

.anno-section .announcement #one {
    height: 40px;
    right: 90px;
    top: 20px;
    position: absolute;
}

.anno-section .announcement #two {
    height: 40px;
    left: 80px;
    top: 20px;
    position: absolute;
}


.anno-section .announcement .detail h4 {
    color: black;
    text-align: center;
    margin-bottom: 1.4em;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
}

.anno-section .announcement .detail .anno-info {
    color: black;
    margin-bottom: 20px;
    font-weight: 200;
}

.anno-section .announcement .detail p {
    color: black;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 19px;
    line-height: 235%;
}

.anno-section .announcement .detail h5 {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    line-height: 30px;
    margin-top: 50px;
}


.anno-section .announcement .detail {
    margin-top: 75px;
    padding: 0 100px;
}


@media screen and (max-width:1024px) {

    .news-section .news .detail p{
        font-size: 15px;
    }

    .news-section .news-bar {
        width: 100%;
        min-height: 600px;
        margin-top: 50px;
        display: none;
    }

    .news-section .news {
        width: 100%;
    }

    .anno-section {
        display: flex;
        flex-direction: column;
        width: 90%;
        margin: 40px auto 0 auto;
        min-height: 800px;
    }

    .anno-section .announcement {
        width: 100%;
    }

    .anno-section .announcement-bar {
        background-color: brown;
        margin-left: auto;
        width: 100%;
        min-height: 800px;
        margin-top: 30px;
    }
}

@media only screen and (max-width: 768px) {
    .form-fix-grad{
        flex-direction: column;
        text-align: center;
        margin-bottom: 40px;
        margin-top: 40px;
    }
    .news-section .news .detail {
        padding: 0 1.5%;
    }

    .anno-section .announcement .detail {
        padding: 0 20px !important;
    }

    #graduate_form .form-group,
    #create_project .form-group{
        min-width: 100%;
    }
}

@media only screen and (max-width: 540px) {
    .news .detail .ribbon-border{
        left: -18px;
        width: 11px;
    }

    .red-ribbon,
    .news .detail .ribbon{
        left: -18.5px;
        width: calc(100% + 24.5px);
    }

    .anno-section .announcement-bar .ribbon{
        width: calc(100% + 12.5px);
    }

    .anno-section .announcement-bar .ribbon + img{
        width: 13px;
        right: -13px;
    }

    .anno-section .announcement .ribbon{
        left: -16px;
        width: calc(100% + 21.5px);
    }

    .anno-section .announcement .ribbon + img{
        left: -16px;
        width: 10px;
    }

    #create_project + button{
        width: 100%;
        height: auto;
        font-size: .8em;
    }
    #graduate_form .form-group,
    #create_project .form-group{
        min-width: 100%;
        font-size: .8em;
    }
}

/*
mezun kısmı css
abdullah
 */

#graduated-filter {
    color: black;
    padding-bottom: 25px;
}
#graduated-filter h4 {
    color: black;
}
#graduated-filter ul {
    display: flex;
    column-gap: 10px;
    row-gap: 10px;
    flex-wrap: wrap;
}
#graduated-filter .filters{
    position: relative;
    display: flex;
    row-gap: 15px;
    column-gap: 15px;
    flex-wrap: wrap;
}
#graduated-filter .filters .filter-years{
    border-radius: 15px;
    height: 40px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    font-weight: 500;
    border: 1px solid #8c0841;
    cursor: pointer;
    position: relative;
    margin: 0;
    width: 140px;
    transition: 300ms background-color;
}
#graduated-filter .filters .filter-years i{
    transition: 300ms transform;
    margin-left: 15px;
}
#graduated-filter .filters .filter-years.active i{
    color: white;
    transform: rotate(90deg);
}
#graduated-filter .filters >.filter-years.active{
    background-color: #8c0841;
    color: white;
}
#graduated-filter .filters >.filter-years:hover{
    background-color: #8c0841;
    color: white;
}
#graduated-filter .filters .filter-years.active + ul{
    height: auto;
    opacity: 1;
    top: 100%;
}
#graduated-filter #all-filters{
    border-radius: 15px;
    height: 40px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    font-weight: 500;
    border: 1px solid #8c0841;
    cursor: pointer;
    position: relative;
    margin: 0;
    width: 140px;
    transition: 300ms background-color;
}
#graduated-filter #all-filters.active{
    background-color: #8c0841;
    color: white;
}
#graduated-filter .filters ul{
    max-width: 100%;
    width: auto;
    opacity: 0;
    transition: 300ms all;
    overflow: hidden;
    height: 0;
    margin: 5px 20px;
    position: absolute;
    top: 30%;
    left: 0;
    z-index: 10;
    background-color: white;
}
#graduated-filter .filters ul li {
    border-radius: 15px;
    height: 40px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    font-weight: 500;
    border: 1px solid #8c0841;
    padding: 0 15px;
    cursor: pointer;
    color: black;
    transition: 300ms background-color;
}
#graduated-filter .filters ul li.active, #graduated-filter .filters ul li:hover {
    background-color: #8c0841;
    color: white;
}

#graduated thead,
#graduated tfoot{
    display: none;
}

@media only screen and (max-width: 540px) {
    #graduated-filter {
        font-size: 0.8em;
    }
    #graduated-filter li {
        height: 30px !important;
    }
}