.light_box {
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    background: #ffffff;
    border: 1px solid #536376;
    -webkit-box-shadow: rgba(0,0,0,.3) 0px 2px 12px;
    -moz-box-shadow:  rgba(0,0,0,.3) 0px 2px 12px;;
    padding: 14px 11px;
    margin-top: 8px;
    position: relative;
    width: 80%;
    display: none;
    font-size: 14px;
} 
.light_box_light {
    background: rgb(255, 2-55, 255);
    border: 1px solid #536376;
}
.light-box-header {
    border-bottom: solid lightgray thin;
}

.light-box-header2 {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 4px 5px 4px;
}
.light-box-header2 label {
    display: flex !important;
}
.light-box-header2 label:not(:first-child) {
    margin-left: 17px;
}
.light-box-header2 input[type="checkbox"] {
    width: 19px;
    height: 19px;
    min-width: 19px;
    margin-left: 4px;
}
.light-box-header2 input[type="text"] {
    width: auto;
    height: 24px;
    min-width: 80px;
    max-width: 86px;
    margin-left: 4px;
}
.light-box-header2 select {
    width: auto;
    height: 24px;
    min-width: 80px;
    max-width: 90px;
    margin-left: 4px;
}

.light_box input{
   font-family:Arial, Helvetica, sans-serif;
   font-size:100%;
   font-style:normal;
}  
input.light_box_light{
   border-style: solid;
   border-color: #d9d9d9;
}  

.light_box textarea{
   font-family:Arial, Helvetica, sans-serif;
   font-size:100%;
   font-style:normal;
   width: 102%;
}

textarea.light_box_light {
   border-style: solid;
   border-color: #d9d9d9;
}

.text_area.light_box_light {
    border-style: solid;
    border-color: #d9d9d9;
}

.text_area {
    height: 200px;
    overflow-y: scroll;
}

label.label-top {
    display: block;
    font-weight: 100;
    text-decoration: underline;
    margin-top: 5px;
    margin-bottom: 1px;
    color: gray;   
}

@media screen and (max-width: 768px) {
    .light_box input, .light_box textarea, .light_box select {
        font-size: 120% !important;
    }
    .light_box textarea {
       width: 102%;
    }
}

@media screen and (max-width: 603px) { 
    .light_box input, .light_box textarea, .light_box select {
       font-size: 133%  !important;
   }
   .modalCSS {
       top: 5px;
   }
}     
 
@media screen and (max-width: 603px) { 
    .light_box {
        width: 92%;
    }
    .light_box textarea {
       width: 101%;
    }
}     
#light_box label {
    display: block;
    margin-bottom: 10px; 
    color: #536376;
    font-size: .9em;
}

#light_box label input {
    display: block;
    width: 393px;
    height: 31px;
    background-position: -201px 0;
    padding: 2px 8px;
    font-size: 1.2em;
    line-height: 31px;
}

.light_box_buttons input {
    width: 80px;
} 

.ua-ios .light-box,
.ua-ios .light_box input, .ua-ios .light_box textarea,
.ua-ios.light_box select,
.ua-ios label.label-top {
    color: #000;
    opacity: 1.0;
}
       

.light_box_title {
    width: 228px;
    height: 23px;
    background-position: -202px -133px;
}
#left_out {
    background-position: -202px -158px;
    width: 113px; height: 16px;
}
.light-box-form {
    position: relative;
    border-bottom: thin solid lightgray;
    padding-bottom: 14px;
    margin-top: 10px;
    margin-bottom: 28px;
    margin-left: 4px;
}
.light_box_form_shrt {
    position: relative;
    border-bottom: thin solid lightgray;
    padding-bottom: 0px;
    margin-top: 13px;
    margin-bottom: 0px;
}
.actions {
    width: 99%;
    height: 22px;
    margin-top: -20px;
}
.light_box_status {
    float: left;
    width: 325px;
}
.light_box_status span {
    display: block;
}
a.form_button {
    float: right;
    width: 93px; height: 31px;
    margin-right: 15px;
}
.close_x { 
    width: 30px; height: 30px;
    overflow: hidden;
    display: block;
    position: absolute; top: 5px; right: 3px;
    z-index: 9999;
    cursor: pointer;
    color: #428bca;   /* same as bootstrap primary button */
}

.close_x:hover {
    color: #3071a9;
}

.btn-show-toggle {
    display: block !important;
}

.btn-hide-toggle {
    display: none !important;
}

#usage { background-position: -323px -172px; width: 67px; height: 22px;}

.sprited {
background: url(../images/download_sprite.png) no-repeat;
line-height: 1000px;
overflow: hidden;
display: block;
}

.error-msg-red {
    color: red;
}
.text-blue {
    color: blue;
}
.text-gray {
    color: gray;
}
.text-green {
    color: green;
}

.about-version {
    background-color: #ffffff;
    text-align: center;
    width: 92%;
    margin-left: 0px;        /*  ie 8,9 are different */
    font-weight: 500;
}

.light-box-buttons {
    float: right;
    display: flex;
}

.light-box-button {
    width: 71px !important;
    float: right;
    margin-left: 10px;
}

/*  calendar */

.light-box-header .calendar-event-start-date {
    border: none;
    font-size: 16px !important;
    font-weight: normal !Important;
    width: 150px;
}

.light-box-header .calendar-event-start-date:hover {
    cursor: pointer;
    text-decoration: underline;
}


