html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: "The8-Regular";
      margin: 0;
}
a {
    text-decoration: none;
    color: black
}


.main-news {
    background-color: #ccc;
    display: flex;
    width: 100%;
    max-height: 440px;
    overflow: hidden;
    position: relative;
}

    .main-news img {
        width: 100%;
        max-height: 460px;
    }


    .main-news p {
        font-size: 25px;
        color: #fff;
        right: 0;
        bottom: 0;
        position: absolute;
        padding: 24px 20px;
        width: 100%;
        right: 0%;
        left: 0%;
        box-sizing: border-box;
        margin: 0;
        font-weight: 300;
        background-image: linear-gradient(transparent,black);
        text-align: right;
    }

.latest-item {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding-bottom: 5px;
    border-bottom: 1px solid #d7d7d7;
}

.latest-item-img {
    width: 35%;
}

    .latest-item-img img {
        width: 100%;
        object-fit: contain;
        border-radius: 5px;
    }
@media (min-width: 1020px) {
    .latest-item-img img {
        max-height:105px;
    }
      
}

.latest-item-content {
    width: 65%;
}

    .latest-item-content p {
        margin: 0px;
        margin-right: 5px;
    }

.flex-top {
    display: flex;
    flex: 100%;
    flex-wrap: wrap;
    gap: 10px;
}
.flex-right {
    flex: 58%;
        
}
.flex-left {
    flex: 40%;
}
@media (max-width: 992px) {
    .flex-right {
        flex: 100%;
    }

    .flex-left {
        flex: 100%;
    }
}

.title-container {
    display: flex;
    align-items: center;
    width: 100%;
}

    .title-container hr {
        margin: 0;
        flex-grow: 1;
        border-top: 2px solid rgb(90, 171, 129);
        margin: 10px;
    }

    .title-container span {
        margin: 0;
        margin: 10px;
        color: rgb(90, 171, 129);
        font-size: 20px;
        font-weight: 700;
    }


.flex-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}
.flex-4 {
    width: 100%;
}

.box-rounded {
    width: 95.1%;
    overflow: hidden;
    border: 1px solid #fff;
    border-radius: 10px;
    min-height: 110px;
    margin-right: 5%;
    margin-left: 5%;
    margin-top: 5px;
    margin-bottom: 5px;
}

.img-box-100 {
    width: 100%;
}

    .img-box-100 img {
        width: 100%;
        -webkit-transition: all .7s ease;
        transition: all .7s ease;
        height: 100%;
        object-fit: cover;
    }



@media screen and (min-width: 768px) {
    .flex-4 {
        /* flex: 0 31.5%; */
        max-width: 50%;
        align-content: space-between;
    }
}

@media screen and (min-width: 992px) {
    .flex-4 {
        align-content: space-between;
        max-width: 25%;
    }
}



.wtar {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.wtar-box {
    width: 100%;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    background-color: #1d694c;
    margin: 0.65%;
}

.wtar-content {
    width: calc(100% - 124px);
    margin: 10px;
    margin-right: 0;
    color: white;
    /* background: linear-gradient(to bottom,rgba(0,0,0,0) 19%,rgba(0,0,0,0) 20%,rgba(0,0,0,0.5) 60%,rgba(0,0,0,0.6) 70%) */
}
    .wtar-content h6, .wtar-content p, .wtar-content a, .wtar-content a:visited, .wtar-content a:hover {
        color: white;
        text-decoration: none;
    }
.wtar-content h6 {
    font-size: 16px;
    font-weight: 600;
    padding: 0px;
    margin: 0px;
}
    .wtar-content p {
        font-size: 16px;
        padding: 0px;
        margin: 0px;
    }
    .wtar-content span {
        font-size: 12px;
        padding: 0px;
        margin: 0px;
    }

.wtar-img {
    margin: 10px;
    width: 104px;
}

    .wtar-img img {
        width: 104px;
        height: 104px;
        object-fit: cover;
        border-radius: 50%;
    }

@media only screen and (min-width: 1200px) {
    .wtar-box {
        width: 32%;
        display: flex;
        border-radius: 10px;
        overflow: hidden;
        background-color: #1d694c;
        margin: 0.65%;
    }
}


.govar {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.govar-box {
    width: calc(50% - 20px);
    border: 2px solid #d7d7d7;
    border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px;
}

.govar-content {
    width: 100%;
}

    .govar-content p {
        font-size: 16px;
        text-align: center;
    }

.govar-img {
    width: 100%;
}

    .govar-img img {
        width: 100%;
        -webkit-transition: all .7s ease;
        transition: all .7s ease;
        height: 100%;
        object-fit: contain;
    }
@media only screen and (min-width: 768px) {
    .govar-box {
        width: calc(32% - 20px);
        border: 2px solid #d7d7d7;
        border-radius: 10px;
        border-radius: 10px;
        overflow: hidden;
        margin: 10px;
    }
}
@media only screen and (min-width: 997px) {
    .govar-box {
        width: calc(16.5% - 20px);
        border: 2px solid #d7d7d7;
        border-radius: 10px;
        border-radius: 10px;
        overflow: hidden;
        margin: 10px;
    }
}



.flex-3 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.barnama {
    background-color: #ccc;
    width: 100%;
    max-height: 440px;
    margin: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

    .barnama img {
        width: 100%;
        max-height: 230px;
        object-fit: cover;
    }

    .barnama p {
        font-size: 16px;
        color: #fff;
        right: 0;
        bottom: 0;
        position: absolute;
        padding: 24px 20px;
        width: 100%;
        right: 0%;
        left: 0%;
        box-sizing: border-box;
        margin: 0;
        font-weight: 600;
        background-image: linear-gradient(transparent, black);
        text-align: right;
    }

@media only screen and (min-width: 768px) {
    .barnama {
        background-color: #ccc;
        width: calc(47% - 20px);
        max-height: 440px;
        margin: 10px;
        position: relative;
        overflow: hidden;
        border-radius: 5px;
    }
}

@media only screen and (min-width: 997px) {
    .barnama {
        background-color: #ccc;
        width: calc(33% - 20px);
        max-height: 440px;
        margin: 10px;
        position: relative;
        overflow: hidden;
        border-radius: 5px;
    }
}

.yasa-container {
    display: flex;
    flex: 100%;
    flex-wrap: wrap;
    gap: 10px;
}

.yasa-box {
    flex: calc(50% - 10px);
}


@media (max-width: 992px) {
    .yasa-box {
        flex: 100%;
    }

}


.b-example-divider {
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}
.text-muted {
    color: #fff !important;
}
.bg-yasayi {
    background-color: #1d694c;
}
.bg-yasayi :hover{
    background-color: #1d694c;
}