
html {
    height: 100%
}

body {
    background-image: url(/uploads/bg-result.png);
    background-color: #f5f8fa;
    color: #232d27;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    min-height: 100%;
    padding: 0;
    margin: 0;
    position: relative
}

body:after {
    content: '';
    display: block;
    height: 100px
}

* {
    box-sizing: border-box;
}

*:before, *:after {
    box-sizing: border-box;
}
a {
    color: #495a2f;
    text-decoration: none;
}
.responsive-table a {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: #2a88bd;
}

#wrapper {
    margin: 5% 3%;
}

@media (min-width: 48em) {
    /* 768px */
    #wrapper {
        margin: 2%
    }
}

@media (min-width: 75em) {
    #wrapper {
        margin: 2em auto;
        max-width: 75em
    }
}

header {
    text-align: center;
}

.logo {
    display: inline-block;
    width: 17em;
}

footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    background-color: #efefef;
    text-align: center;
    height: 100px;
}

table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

table tr {
    background: #f8f8f8;
    border: 1px solid #dddddd;

}

table th, table td {
    padding: .625em;
    text-align: center;
    font-size: 1.1em;
}

.pagination{
    text-align:center;
    font-family: 'Cairo', sans-serif;
    margin:0;
    padding:30px 0;
    list-style: none;
}

.pagination li {
    display:inline-block;
    padding: 0 1rem;
    opacity:.6;
}

.pagination .active {
    font-weight:700;
    opacity:1;
}
@media screen and (max-width: 48em){
    table {
        border:0
    }
    table caption {
        font-size: 1em;
    }
    table thead {
        border:0;
        clip:rect(0 0 0 0 );
        height:1px;
        margin:-1px;
        overflow:hidden;
        padding: 0;
        position:absolute;
        width:1px;
    }
    table tr {
        border-bottom:3px solid #ddd;
        display:block;
        margin-bottom:.625em;
    }
    .responsive-table td {
        border-bottom:1px solid #dddddd;
        display:block;
        font-size:1em;
        text-align:left;
    }
    .responsive-table td:before {
        content:attr(data-label);
        float:right;
        font-weight:700
    }
    .responsive-table td:last-child{
        border-bottom:0
    }
}

.box-search {
    margin: 20px;
    border: 0;
    padding: 15px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
    background: #ffffff;
    text-align: center;
}

.box-title {
    text-align: center;
    font-size: 1.4em;
    margin: .2em;
}

.box-details {
    margin: 20px;
    border: 0;
    padding: 15px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
    background: #ffffff;
    text-align: center;
}
.details_table{
    margin: 0 auto;
    width: 70%;
}

input, a[id$='button'], select {
    display: inline-block;
    margin: 4px 0;
    border: 1px solid #efefef;
    padding: 6px;
    line-height: normal;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .07);
    background-color: #f5f8fa;
    font-size: .93em;
    border-radius: .2em;

}

.btn {
    display: inline-block;
    margin: 4px 0;
    border: 1px solid #efefef;
    padding: 6px;
    line-height: normal;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .07);
    background-color: #f5f8fa;
    font-size: .93em;
    border-radius: .2em;
}
.btn-success {
    font-family:'Cairo', sans-serif ;
    font-size: 1.2em;
    width:150px;
    margin: 15px 0 auto;
    cursor: pointer;
    background-color:#6aac52;
    color:#fff;
    padding:0;

}
input:hover, a[id$='button']:hover, select:hover {
    border-color: #495a2f;
}

input:focus, a[id$='button']:focus, select:focus {
    border-color: #495a2f;
}

input.error, a[id$='button'].error select.error{
    border:1px solid #c22121;
    color:#c22121;
}
a[id$='button'] {
    font-family:'Cairo', sans-serif ;
    font-size: 1.2em;
    width:150px;
    margin: 15px 0 auto;
    cursor: pointer;
    background-color:#6aac52;
    color:#fff;
    padding:0;
}
.no-results{
    text-align: center;
    font-size:1.5em;
}
@media screen and (max-width: 48em){
    input, a[id$='button'], select {
        font-family:'Cairo' ,sans-serif;
        width:100%;
        margin: 5px 0;
        font-size:1em;
    }
}

@media print {
    .logo{
        display:none;
    }
    .box-search{
        display: none;
    }
    a[id$='button']{
        display: none;
    }
}

