﻿h1 {
    text-align: center;
    font-size: clamp(1.125rem, 4vw, 1.5625rem);
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 12px;
    padding-right: 12px;
    line-height: 1.3;
}

#ContentPlaceHolder1_div_main .panel-title {
    direction: rtl;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#ContentPlaceHolder1_div_main .panel-body {
    direction: rtl;
    text-align: justify;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

#title-contact {
    margin: 40px 40px 20px 0
}

#contact-form {
    margin: 20px 0 40px
}

#div_contact-info {
    margin: 0 0 40px
}

.input-field label {
    right: 0 !important
}

select {
    display: block !important;
    font-size: 12px
}

#ContentPlaceHolder1_div_main .col-md-6 {
    float: right
}

.panel-title > .small, .panel-title > .small > a, .panel-title > a, .panel-title > small, .panel-title > small > a {
    color: #999 !important
}

.panel-title a:hover {
    color: #016d22 !important
}

.panel-title .collapsed a {
    color: #016d22 !important
}

.btn {
    background-color: #016d22 !important
}

#flat-one:last-child {
    padding-bottom: 80px !important;
    min-height: 500px
}

.calender {
    direction: rtl
}

#ContentPlaceHolder1_div_main {
    min-height: 500px;
    max-width: 100%;
    box-sizing: border-box;
}

#ContentPlaceHolder1_div_main .news-detail-date {
    direction: rtl;
    text-align: right;
    margin-bottom: 12px;
}

#ContentPlaceHolder1_div_main .news-detail-media {
    text-align: center;
    padding-bottom: 25px;
}

#ContentPlaceHolder1_div_main .news-detail-img {
    max-width: 100%;
    height: auto;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

#ContentPlaceHolder1_div_main .news-detail-body {
    overflow-x: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

#ContentPlaceHolder1_div_main .news-detail-body img,
#ContentPlaceHolder1_div_main .news-detail-body table {
    max-width: 100%;
    height: auto;
}

article.pub-news-detail-page .container {
    max-width: 100%;
    box-sizing: border-box;
}

.col-md-9 {
    padding-left: 0 !important;
}

@media (max-width: 767px) {
    h1 {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    #ContentPlaceHolder1_div_main .panel-heading .panel-title {
        font-size: 1rem;
    }

    #title-contact {
        margin: 24px 16px 16px 0;
    }

    #flat-one:last-child {
        min-height: 0;
        padding-bottom: 40px !important;
    }

    #ContentPlaceHolder1_div_main {
        min-height: 280px;
    }
}
