@font-face {
    font-family: "IranianSans";
    src: url("../font/iranSans.eot");
    src: url("../font/iranSans.eot#iefix") format("embedded-opentype"),
    url("../font/iranSans.woff") format("woff"),
    url("../font/iranSans.ttf") format("truetype"),
    url("../font/iranSans.svg") format("svg");
    font-weight: normal;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

section,
section * {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: middle;
    background: transparent;
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    color: #444;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.kv-flex-container {
    padding-bottom: 7px;
    display: flex;
    flex-direction: row;
    justify-content: left;
}

.kv-key {
    text-align: right;
    width: 85px;
    color: #0e9900;
    font-weight: bold;
    font-size: 13px!important;
}

.kv-value {
    width: 180px;
    text-align: left;
    padding-left: 5px;
    font-size: 13px!important;
    color: #222;
}


.info-window-title {
    margin: 3px 0 0 0;
    font-weight: bold;
    font-size: 14px;
    color: #48a4ff;
    text-align: center;
}


#info-window-subcontractor,
#info-window-activity,
.info-window-button,
.info-window-datepick {
    text-align: center;
    margin: 0;
    padding: 2px;
}

.info-window-datepick input {
    width: 170px;
    padding: 3px;
    font-family: IranianSans;
}

.info-window-datepick input:focus {
    box-shadow: 0 0 2px #48a4ff;
    margin: 0;
}

.info-window-detail {
    width: 210px;
    text-align: center;
    margin: 0;
    padding: 2px;
}

#map {
    width: 100%;
    height: 100vh;
    background-color: #111;
    min-height: 400px;
}


#options-container {
    margin: 7px 12px;
}


.map-option-container-hseaudit {
    height: 630px;
}


#options-container {
    background-color: #eaeaea;
}

#assign-container ul {
    margin-top: 10px;
}

#assign-container select {
    background-color: #eee;
    border-color: #555;
}

.input-label {
    display: block;
    color: #444;
    font-size: 12px;
    padding-top: 7px;
}

.input-label-line {
    display: block;
    float: left;
    color: #444;
    font-size: 12px;
    padding-top: 7px;
}

section input {
    padding: 4px;
    line-height: 1;
    font-family: IranianSans;
}

section select {
    vertical-align: top;
}

section input,
section select,
#info-window-container input,
#info-window-container select {
    height: 27px;
    background-color: #dfdfdf;
    border: 1px solid #bbb;
    color: #111;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: IranianSans;
}
section input,
section select {
    width: 262px;
    margin-left: 5px;
}
section select {
    margin-top: 2px;
}
#info-window-container input,
#info-window-container select {
    min-width: 200px;
    margin: 3px 0 0 0;
}
#info-window-container input:focus,
#info-window-container select:focus,
section input:focus,
section select:focus {
    box-shadow: 0 0 2px #48a4ff;
}

#subcontractor {
    width: 272px;
    padding: 3px;
}

.info-window-button button {
    margin: 3px 0 0 0;
    background-color: #fff;
    border: 2px solid #0e9900;
    color: #0e9900;
    padding: 6px 0;
    font-weight: bold;
    font-size: 14px;
    width: 200px;
}

.info-window-button button:hover {
    background-color: #c8ffc2;
}

section button {
    background-color: #fff;
    border: 2px solid #48a4ff;
    padding: 6px 10px;
    margin: 10px 0;
    color: #48a4ff;
    width: 200px!important;
    font-weight: bold;
}

section button:hover {
    background-color: #ecf4ff;
}

section button:active {
    border-color: #111;
    color: #111;
    background-color: #ecf4ff;
}

section button.submit {
    background-color: #fff;
    color: #ff4848;
    border-color: #ff4848;
    padding: 10px!important;
}

section button.submit:hover {
    background-color: #ffecec;
}

section button.submit:active {
    border-color: #111;
    color: #111;
    background-color: #ecf4ff;
}

.assign-remove button {
    width: 20px!important;
    height: 20px!important;
    border-color: #ff5132;
    color: #ff5132;
    padding: 0!important;
}

.assign-remove button:hover {
    background-color: #FFE4E4;
}

.radiometric-assign-remove button {
    width: 20px!important;
    height: 20px!important;
    border-color: #ff5132;
    color: #ff5132;
    padding: 0!important;
    margin: 0!important;
}


#search-flow-state {
    height: 52px;
}

section ul {
    list-style-type: none;
}

#assign-items li {
    padding-top: 5px;
    height: 45px;
}

.assign-details {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    width: 265px;
}

.assign-date {
    font-weight: bold;
}

.assign-info {
    float: left;
    height: 30px;
    width: 245px;
    padding-top: 5px;
}

.assign-remove {
    float: left;
    width: 27px;
}


#radiometric-assign-items li {
    height: 35px;
}

.radiometric-assign-details {
    width: 200px;
    float: left;
    padding-top: 2px;
}

.radiometric-assign-remove {
    float: left;
    width: 27px;
}

#create-child {
    background: #fff url(../markers/copy.png) no-repeat left center;
    border: 1px solid #ffff;
    display: block;
    position: absolute;
    height: 26px;
    width: 26px;
    left: 15px;
    bottom: 15px;
}

#create-child-fixed {
    background: #fff url(../markers/copy.png) no-repeat left center;
    border: 1px solid #ffff;
    display: block;
    height: 26px;
    width: 26px;
    float: left;
    margin: 5px 5px 0 0;
}

#remove-assign-fixed {
    background: #fff url(../markers/remove.png) no-repeat left center;
    border: 1px solid #ffff;
    display: block;
    height: 26px;
    width: 26px;
    float: left;
    margin: 5px 5px 0 0;
}

#remove-assign-fixed:hover,
#create-child-fixed:hover,
#create-child:hover {
    background-color: #dff1ff;
}

h2 {
    font-weight: bold;
    font-size: 18px;
    color: #111;
    padding-bottom: 5px;
}


#state-select-container {
    margin: 15px 0 10px 5px;
    background-color: #fff;
    border: 1px solid #ccc;
    width: 260px;
}

.state-item {
    width: 120px;
    margin: 2px;
    padding: 2px;
    float: left;
    cursor: pointer;
}

.state-item:hover,
.state-item-selected {
    background-color: #eee;
}

#map-data {
    position: absolute;
    top: 0;
    left: 85px;
    opacity: 0.9;
    text-align: left;
    padding-top: 2px;
}

#polyline-data,
#polygon-data {
    display: block;
    font-weight: bold;
    font-size: 14px;
}
#polyline-data {
    color: #ff0000;
}
#polygon-data {
    color: #00ff00;
}

#marker-hide,
#marker-by-state {
    width: 20px;
}

.align-center {
    text-align: center;
}

#polygon-search-remove-container {
    display: none;
}















#loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000000;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: url("../images/loading.gif");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center; 
}

#button-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.5);
}

#btn-assignable,
#btn-hide,
#btn-markertype,
#btn-heatmap,
#btn-assign,
#btn-search,
#btn-marker,
#btn-polyline,
#btn-polygon {
    position: relative;
    float: left;
    width: 30px!important;
    height: 30px!important;
    margin: 3px 0 3px 3px;
    background-color: #fff;
    border: 3px solid #333;
    z-index: 1000;
}

#btn-r.selected,
#btn-s.selected,
#btn-t.selected,
#btn-h.selected,
#btn-heatmap.selected,
#btn-assign.selected,
#btn-search.selected,
#btn-marker.selected,
#btn-polyline.selected,
#btn-polygon.selected {
    border-color: #ff8e15;
}

#btn-polygon {
    background-image: url("../images/polygon.png");
}
#btn-polygon.selected {
    background-image: url("../images/polygon-selected.png");
}

#btn-polyline {
    background-image: url("../images/polyline.png");
}
#btn-polyline.selected {
    background-image: url("../images/polyline-selected.png");
}

#btn-marker {
    background-image: url("../images/marker.png");
    margin-right: 10px;
}
#btn-marker.selected {
    background-image: url("../images/marker-selected.png");
}

#btn-search {
    background-image: url("../images/search.png");
}
#btn-search.selected {
    background-image: url("../images/search-selected.png");
}

#btn-assign {
    display: none;
    background-image: url("../images/assign.png");
    background-repeat: no-repeat;
    background-position: left; 
    width: 100px!important;
    text-align: center;
    color: red;
    font-weight: bold;
}
#btn-assign.selected {
    background-image: url("../images/assign-selected.png");
}

#btn-heatmap {
    display: none;
    background-image: url("../images/heatmap.png");
}
#btn-heatmap.selected {
    background-image: url("../images/heatmap-selected.png");
}

#btn-markertype {
    display: none;
    background-image: url("../images/workflow.png");
}
#btn-markertype.selected {
    background-image: url("../images/measurement.png");
}

#btn-assignable.selected {
    background-image: url("../images/assignable-selected.png");
}

#btn-assignable {
    background-image: url("../images/assignable.png");
    display: none;
}

#btn-hide {
    background-image: url("../images/hide.png");
}

#btn-r {
    background-image: url("../images/r.png");
}
#btn-r.selected {
    background-image: url("../images/r-selected.png");
}
#btn-s {
    background-image: url("../images/s.png");
}
#btn-s.selected {
    background-image: url("../images/s-selected.png");
}
#btn-t {
    background-image: url("../images/t.png");
}
#btn-t.selected {
    background-image: url("../images/t-selected.png");
}
#btn-h {
    background-image: url("../images/h.png");
}
#btn-h.selected {
    background-image: url("../images/h-selected.png");
}

#btn-r,
#btn-s,
#btn-t,
#btn-h,
#btn-zoomin,
#btn-zoomout {
    position: relative;
    float: right;
    width: 30px!important;
    height: 30px!important;
    margin: 3px 0 3px 3px;
    background-color: #fff;
    border: 3px solid #333;
    z-index: 1000;
    background-color: #fff;
    opacity: 1;
}

#btn-zoomin {
    background-image: url("../images/zoomin.png");
    margin-right: 3px;
}

#btn-zoomout {
    background-image: url("../images/zoomout.png");
    margin-left: 10px;
}

#info-box {
    float: right;
    width: 190px;
    background-color: #fff;
    border: 0;
    margin: 5px 10px 0 10px;
    height: 25px;
    text-align: center;
}






#search-latitude,
#search-longitude {
    width: 102px;
}

#search-radius {
    width: 40px;
}

#search-latitude-label,
#search-longitude-label {
    width: 111px;
}

#search-province,
#search-city,
#search-technician {
    font-family: IranianSans;
}

#assign-container {
    display: none;
}











#map-options {
    position: absolute;
    left: 0;
    top: 36px;
    bottom: 0;    
    overflow: auto;
    background-color: #f4f4f4;
    border-top: 1px solid #ddd;
    opacity: .9;
}

.map-option-container {
    margin: 7px 12px;
    bottom: 0;
    width: 272px;
    background-color: #f4f4f4;
}


#search-container {

}

#flow-info-container {
    display: none;
    padding-top: 10px;
}

#heatmap-container {
    display: none;
    padding-top: 10px;
}

.selected-sector {
    background-color: #ddd;
}




#remove-heatmap-container,
#plot-heatmap-container,
#assign-to-user-container {
    text-align: center;
}

#remove-heatmap-container {
    display: none;
}

#assign-user-container {
    padding: 10px 0;
}

.info-window-hse *,
.info-window-data *,
.map-option-container * {
    font-family: IranianSans!important;
    line-height: 140%;
}


#msg * {
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
}

#message,
#message-button-container {
    text-align: center;
}

#message {
    font-size: 20px;
    color: #3FA6CF;
}

#msg {
    display: none;
    position: absolute;
    z-index: 10000;
    top: 80px;

    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto; 

    width: 300px;
    background-color: #F7FDFF;
    box-shadow: 0 0 12px #48a4ff;
    padding: 20px;
}



#yes-msg {
    background-color: #fff;
    border: 2px solid #48a4ff;
    padding: 10px;
    margin: 10px 0;
    color: #48a4ff;
    width: 200px!important;
    font-weight: bold;
}

#close-msg {
    background-color: #fff;
    border: 2px solid #ff5132;
    padding: 10px;
    margin: 10px 0;
    color: #ff5132;
    width: 200px!important;
    font-weight: bold;
}

#aras-update {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.5; 
    width: 250px;
    background-color: white;
    font-size: 12px;
    color: black;
    padding: 3px;
    text-align: right;
}

#near-sites-container {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.9; 
    background-color: white;
    z-index: 100000;
}

#near-sites-radius {
    width: 40px;
    height: 18px;
    margin-left: 7px;
    padding: 2px;
}

#near-sites {
    background-color: #fff;
    border: 2px solid #48a4ff;
    margin: 7px;
    color: #48a4ff;
    width: 130px!important;
    height: 27px;
    font-weight: bold;
}

#near-sites:hover {
    background-color: #ecf4ff;
}

#near-sites:active {
    border-color: #111;
    color: #111;
    background-color: #ecf4ff;
}

#search-count {
    float: left;
    font-weight: bold;
    padding: 9px 0 0 15px;

}

.info-window-link {
    text-align: center;
}
