/* file: wp-content/plugins/archived_issues/css/archived-issues.css */
.issue_row {
    display: block;
}
.issue_row .col-1 {
    margin: 0;
    float: right;
    padding: 5px;
    width: calc( 8.333333333% - 10px );
}

.issue_row .col-2 {
    margin: 0;
    float: right;
    padding: 5px;
    width: calc( 16.666666666% - 10px );
}

.issue_row .col-3 {
    margin: 0;
    float: right;
    padding: 5px;
    width: calc( 25% - 10px );
}

.issue_row .col-4 {
    margin: 0;
    float: right;
    padding: 5px;
    width: calc( 33.333333333% - 10px );
}

.issue_row .col-5 {
    margin: 0;
    float: right;
    padding: 5px;
    width: calc( 41.666666666% - 10px );
}

.issue_row .col-6 {
    margin: 0;
    float: right;
    padding: 5px;
    width: calc( 50% - 10px );
}

.issue_row .col-7 {
    margin: 0;
    float: right;
    padding: 5px;
    width: calc( 58.333333333% - 10px );
}

.issue_row .col-8 {
    margin: 0;
    float: right;
    padding: 5px;
    width: calc( 66.666666666% - 10px );
}

.issue_row .col-9 {
    margin: 0;
    float: right;
    width: calc( 75% - 10px );
    padding: 5px;
}

.issue_row .col-10 {
    margin: 0;
    float: right;
    padding: 5px;
    width: calc( 83.333333333% - 10px );
}

.issue_row .col-11 {
    margin: 0;
    float: right;
    padding: 5px;
    width: calc( 91.666666666% - 10px );
}

.issue_row .col-12 {
    margin: 0;
    float: right;
    padding: 5px;
    width: calc( 100% - 10px );
}

.issue_row {
    display: block;
    width: 100%;
    min-width: 100%;
}
.issue_row .cloud-download {
    position: relative;
    top: 5px;
    margin-bottom: 0 !important;
}
.issue_row::after {
    display: block;
    width: 100%;
    height: 3px;
    content: "";
    overflow: auto;
}

.last_issue {
    margin-inline-start: 15px;
    margin-inline-end: 15px;
    margin-bottom: 15px;
}

.last_issue .cover-image-container {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    height: 250px;
    overflow: hidden;
}
.last_issue img.cover-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0 !important;
}

.bg-red {
    background-color: #fd332f;
    color: #fff;
    font-size: 12pt;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: auto;
    margin-top: 0px;
    font-weight: bold;
}

.bg-red a {
    color: white;
    text-decoration: none;
}

.a-calendar-container {
    display: flex;
    flex-direction: row-reverse;
}

.a-calendar {
    flex: 1;
    margin-left: 15px;
}

.a-calendar span {
    text-align: center;
}

.a-calendar span::after {
    content: "لتغيير الشهر و السنة اضغط على اسم الشهر";
    color: darkgray;
    display: block;
    font-size: 13pt;
}
.a-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    color:#000;
}
.a-calendar-nav a {
    color: #000;
    font-size: 18pt;
    text-decoration: none;
}
.a-calendar-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.a-calendar-table th,
.a-calendar-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.a-calendar-table th {
    background-color: #f2f2f2;
}

.a-calendar-day {
    display: block;
    text-decoration: none;
    color: inherit;
}

#a-issue-details {
    text-align: center;
    /* margin-top: 6rem; */
    margin-left: 1rem;
}

#a-issue-details img {
    /* margin-bottom: 10px; */
    position: relative;
    top:25px;
}

#a-issue-info {
    background-color: red;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    margin-top: -8px;
}

#a-issue-date {
    margin-right: 10px;
}

#a-issue-no {
    font-size: 11pt;
    font-weight: bold;
    position: relative;
    top: 7px;
}


/* sm size */
.display-sm {
    width: 300px;
    max-width: 300px !important;
    height: 183px;
    max-height: 183px;
    display: block;
    background-image: url("../images/img-sm.jpg");
}
.display-sm .a_date {
    position: relative;
    width: 78px;
    text-align: center;
    font-size: 13px;
    top: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}

.display-sm .a_days {
    /* border: 1px solid #000; */
    position: relative;
    top: 77px;
    text-align: center;
    font-size: 20px;
    left: 10px;
    color: #fd332f;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    text-shadow: 0 1px black;
}

/* md size  */
.display-md {
    width: 500px;
    max-width: 500px !important;
    height: 305px;
    max-height: 305px;
    display: block;
    background-image: url("../images/img-md.jpg");
}
.display-md .a_date {
    position: relative;
    width: 128px;
    /* border: 1px solid #000; */
    text-align: center;
    font-size: 19px;
    top: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.display-md .a_days {
    /* border: 1px solid #000; */
    position: relative;
    top: 138px;
    text-align: center;
    font-size: 30px;
    left: 30px;
    color: #fd332f;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    text-shadow: 0 1px black;
}


/* lg size */

.display-lg {
    width: 985px;
    max-width: 985px !important;
    height: 600px;
    max-height: 600px;
    display: block;
    background-image: url("../images/img-lg.jpg");
}
.display-lg .a_date {
    position: relative;
    width: 250px;
    /* border: 1px solid #000; */
    text-align: center;
    font-size: 30px;
    top: 35px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.display-lg .a_days {
    /* border: 1px solid #000; */
    position: relative;
    top: 290px;
    text-align: center;
    font-size: 50px;
    left: 30px;
    color: #fd332f;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    text-shadow: 0 1px black;
}

.display_of_martyrs {
    background-image: url(../images/bg2.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    aspect-ratio: 1.71;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FD312F;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3.2rem;
    font-weight: bold;
    text-shadow: 1px 1px black;
    width: 100%;
    min-width: 100%;
}


.a-calendar-months {
    width: fit-content;
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    flex-direction: row-reverse;
    
}
.a-calendar-months input {
    border: 1px solid #fd332f;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    width: 160px;
    text-align: center;
    font-size: 14pt;
    height: 40px;
    flex: 1;
}

.a-calendar-months button {
    border: 1px solid hsl(1, 98%, 59%);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    text-align: center;
    font-size: 14pt;
    height: 40px;
    width: fit-content;
}

.a-calendar-months::after {
    display: block;
    width: 100%;
    height: 3px;
    content: "";
    overflow: auto;
} 


#a-issue-info #a-issue-date {
    line-height: 46px;
    font-size: 12pt;
    font-weight: bold;
}

#a-issue-info #a-download-link {
    line-height: 46px;
}

/** @media small screen under 400px */
@media screen and (max-width: 767px) {
    .a-calendar-container {
        flex-direction: column !important;
    }
    .display-lg, .display-md {
        display: none;
    }
    .issue_row .col-6 , .issue_row .col-3{
        width: calc( 100% - 10px );
    }
    .a-calendar-table th, .a-calendar-table td {
        padding: 3px;
        font-size: 13px;
    }

    .display_of_martyrs  {
        font-size: 2rem;
    }
}
/** @media meduim screens */
@media screen and (min-width: 768px) {
    .display-lg,.display-sm {
        display: none;
    }

    /* .issue_row .col-6 , .issue_row .col-3{
        width: calc( 100% - 10px );
    } */
}
/** @media large screens */
@media screen and (min-width: 769px) {
    .display-sm, .display-md {
        display: none;
    }
    .display-lg {
        display: block;
    }

    /* .issue_row .col-6, .issue_row .col-3 {
        width: calc( 100% - 10px );
    } */
}

