﻿/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999999; /* Sit on top */
    /* left: 7%;*/
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    /*background-color:transparent*/
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 81%; /* Could be more or less, depending on screen size */
    min-height: 400px; /*450px;*/ /* Size reduced for Ticket ID 823 fix */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.close.popclose {
    width:16px;
    height:16px;
    border-radius:16px;
    /*color:#fff;
    background:#fff ;*/ /*Moved to agiline-custom.css*/
    border:0;
    font-family:Arial;
    font-weight:900;
    background-image:url(../images/allCommon-Icons.png);
    background-position-x: -124px;
    background-position-y: -997px;
    background-repeat:no-repeat;
    margin: 3px 5px 0 0;
    opacity:.8;
    display:none;
}
.close.popclose:hover {
    opacity:1
}
.headerText {
    float: left;
}

.k-grid {
    /*height: 400px !important;*/
    /*overflow-y: auto;*/
}

/*.k-grid-content {
    height: 300px !important;
}*/

/*zoom size for Device compatibility CSS below*/
@media (pointer:coarse) and (max-width: 800px) and (orientation : portrait),(pointer:coarse) and (max-width: 1280px) and (orientation : landscape) {
     .close.popclose{
    width:1em;
    height:1em;
    background-position-x: -118px;
    background-position-y: -992px;
    margin:7px 5px 0 0
}
}
/*zoom size for Device compatibility CSS above*/