﻿.SrdTable {
    width: 100%;
    border: 2px solid #6b6a6a;
}

@media only screen and (max-width: 768px) {
    .SrdTable .HideIfMobile {
        display: none;
    }
}


@media screen and (max-width: 299px) {
    /* Icon width */
    .SrdTable .searchicon {
        width: 2.2em;
        height: auto;
    }
}

@media screen and (min-width: 300px) and (max-width: 768px) {
    .SrdTable .searchicon {
        width: 2em;
        height: auto;
    }
}

@media screen and (min-width: 769px) {
    .SrdTable .searchicon {
        width: 1.5em;
        height: auto;
    }
}

@media screen and (max-width: 299px) {
    /* Icon width */
    .SrdTable .commandicon {
        width: 1.8em;
        height: auto;
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (min-width: 300px) and (max-width: 768px) {
    .SrdTable .commandicon {
        width: 1.6em;
        height: auto;
        margin-left: 0.5em;
        margin-right: 0.5em;
    }
}

@media screen and (min-width: 769px) {
    .SrdTable .commandicon {
        width: 1.4em;
        height: auto;
        margin-left: 0.25em;
        margin-right: 0.25em;
    }
}

@media screen and (max-width: 299px) {
    /* Icon width */
    .SrdTable .commandrow {
             max-width: 3em;
    }
}

@media screen and (min-width: 300px) and (max-width: 768px) {
    .SrdTable .commandrow {
        max-width: 3em;
    }
}
@media screen
    and (min-width: 769px) {
        .SrdTable .commandrow {
            max-width: 5.9em;
        }
}

@media screen and (max-width: 299px) {
    .SrdTable .iconscol {
        min-width: 3em;
        align-content:center
    }
}

@media screen and (min-width: 300px) and (max-width: 768px) {
    .SrdTable .iconscol {
        min-width: 3em;
    }
}

@media screen and (min-width: 769px) {
    .SrdTable .iconscol {
        min-width: 6em;
        align-content: center
    }
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 200px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.15); /* Black w/ opacity */
}

/* Modal Content */
.modal .modal-content {
  background-color: #fefefe;
  margin: auto;
  border: 2px solid #4e4e4e;
  width: 80%;
}

/* The Close Button */
.modal .closecntr {
    text-align:right;
    background-color:#78b4e6;
    padding: .1em 1em .1em 0;
    line-height:1.2em;
}

.modal .contentcntr {
    padding:2em;
}

.modal .closebutton {
  color: #2c14f9;
  font-size: 2em;
  font-weight: bold;
}

.modal .closebutton:hover,
.modal .closebutton:focus {
  color: #FF9933;
  text-decoration: none;
  cursor: pointer;
}

.SrdTable input, .SrdTable select, .SrdTable textarea {
    text-align: left;
    font-family: Verdana, Arial, sans-serif;
    border: 0;
    padding: 0;
}

.SrdTable .tableheader {
    background-color: #506eaa;
    color: white;
    text-align:center;
}

.SrdTable .tableheader .headercell {
    vertical-align: middle;
    padding: .3em;
    text-align: center;
    color: white;
    font-weight: normal;
    border-left: 3px solid white;
    cursor: pointer;
}

    .SrdTable .tableheader .headercellmouseover {
        vertical-align: middle;
        padding: .3em;
        text-align: center;
        color: white;
        font-weight: normal;
        background-color: #FF9933;
        border-left: 2px solid white;
        cursor: pointer;
        transition: .15s linear;
    }

.SrdTable .tableheader .searchcell {
    text-align: center;
    background-color: white;
    border: thin solid #5b5a5a !important;
}

    .SrdTable .tableheader .filtercell {
        text-align: left;
        background-color: white;
        border: thin solid #5b5a5a !important;
        padding: .2em;
        color: #444444;
        font-size: 85%;
        text-align: center;
    }

    .SrdTable .tableheader .filtercell .filterlistbox {
        padding: .18em 0 .18em 0;
        border: thin solid #5b5a5a;
    }

    .SrdTable .tableheader .filtercell .filtercheckbox {
        text-align:center;
    }

    .SrdTable .tableheader .filtercell .filtertextbox {
        padding: .25em .1em .25em .1em;
        border: thin solid #5b5a5a;
        width: calc(100% - 0.25em);
    }

.SrdTable .pagingfooter {
    background-color: #506eaa;
    vertical-align: bottom;
    text-align: center;
}

.SrdTable .pagingitem {
    background-color: #506eaa;
    color: white;
    padding-right: 5px;
    padding-left: 5px;
    border: white 1px solid;
    cursor: default;
    width: 4em;
}

.SrdTable .pagingitemmouseover {
    color: white;
    background-color: #FF9933;
    padding-right: 5px;
    padding-left: 5px;
    border: white 1px solid;
    cursor: pointer;
    width: 4em;
    transition: .15s linear;
}

.SrdTable .pagingitemselected {
    background-color: #ffffff;
    padding-right: 5px;
    padding-left: 5px;
    width: 4em;
}

.SrdTable .buttoncol {
    width: 1%; /* if no buttons then hide */
    text-align: center;
}

.SrdTable .tableheadtext {
    color: white;
    font-weight: normal;
}

.rowstyle {
    background-color: white;
    vertical-align: middle;
}

.alternaterowstyle {
    background-color: #EEEEEE;
    vertical-align: middle;
}

.alternaterowstyleborder {
    background-color: #EEEEEE;
    vertical-align: middle;
}

.SrdTable .selectedrowstyle {
    background-color: #FFFBD6;
    vertical-align: middle;
}

.SrdTable .emptydatarowstyle {
}

    .SrdTable .emptydatarowstyle .emptydatacell {
        padding: .8em;
        text-align: left;
    }

.SrdTable .text-wide-25 {
    width:25% !important;
}

.SrdTable .text-wide-50 {
    width:50% !important;
}

.SrdTable .text-wide-75 {
    width:75% !important;
}

.SrdTable .text-center {
    text-align: center;
    padding: .35em;
}

.SrdTable .text-left {
    text-align: left;
    padding: .35em;
}

.SrdTable .text-right {
    text-align: right;
    padding: .35em;
}

.detailsfieldheader {
    vertical-align: middle;
    color: white;
    padding: .2em .15em .2em .15em;
    background-color: #506eaa;
    text-align: left;
    border: 2px solid white;
}

.detailsfieldheaderwide {
    vertical-align: middle;
    color: white;
    padding: .2em .15em .2em .15em;
    background-color: #506eaa;
    text-align: left;
    border: 2px solid white;
}

.detailsfieldbody {
    background-color: #eeeeee;
    vertical-align: middle;
    text-align: left;
}

.detailsfieldbodyalternate {
    background-color: white;
    vertical-align: middle;
    text-align: left;
}

.detailsfieldedit {
    background-color: white;
    vertical-align: middle;
    text-align: left;
}

.detailspagingfooter {
    background-color: #506eaa;
    vertical-align: bottom;
    text-align: center;
    padding-bottom: 4px;
    padding-top: 4px;
}

.errorlabel {
    color: red;
    display: block;
}
