#search_agent_activate {
    margin: 1em;
    margin-bottom: 2em;
}
.seach_agent_settings {
    position: relative;
    margin-bottom: 1em;
}
#jobfields_dropdown, #location_dropdown, #interval_dropdown, #activate_agent, #open_agent, #edit_agent{
    box-sizing: border-box;
    border-radius:          3px 3px 3px 3px;
    -moz-border-radius:     3px 3px 3px 3px;
    -webkit-border-radius:  3px 3px 3px 3px;
    border: 0px solid #000000;
    background-color: #db343e;
    text-shadow: 1px 1px 1px #84322e;
    width: 220px;
    height: 35px;
    color: #fff;
    font-size: 0.8em;
    text-align: left;
    position: relative;
}
#open_agent, #edit_agent{
    width: auto;
    float: right;
}
#location_dropdown {
    margin-left: 10px;
    margin-right: 10px;
}
#jobfields_dropdown span, #location_dropdown span, #interval_dropdown span {
    margin-left: 1em;
}

#jobfields_dropdown i.arrow, #location_dropdown i.arrow, #interval_dropdown i.arrow{
    width: 20px;
    height: 11px;
    position: relative;
    display: inline-block;
    position: absolute;
    right: 0.5em;
    top: 50%;
    margin-top: 0;
    -webkit-transform:  translateY(-50%);
    -ms-transform:      translateY(-50%);
    transform:          translateY(-50%);
    margin-top: 0;
}

#agent_email {
    box-sizing: border-box;
    margin-top: 2em;
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    width: 454px;
    height: 35px;
    margin-right: 10px;
    display: inline-block;
    border: 1px solid #c6c6c6;
    padding-left: 10px;
	line-height: 1em;
}
#interval_dropdown {
	-webkit-appearance: none;
	-moz-appearance:    none;
	appearance:         none;
    box-sizing: border-box;
    padding-left: 1em;
    overflow: hidden;
	margin-top: 0;
	background-position: 95%;
}
#activate_agent {
    margin-top: 20px;
    text-align: center;
    text-transform: uppercase;
}
#activate_agent:disabled {
    background-color: gray;
    color: lightgray;
    text-shadow: none;
}
.agent.jobfields, .agent.location, .districts, .agent.interval {
    margin-top: 4px;
    padding: 7px;
    position: absolute;
    left: 0;
    background: #f5f5f5;
    z-index: 100;
    border:             0px solid rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 3px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 3px 5px 0px rgba(50, 50, 50, 0.75);
}
.agent.jobfields > div {
    float: left;
}
.agent.jobfields .selectGroup:last-child {
    border-left: 1px solid lightgrey;
    margin-left: 10px;
    padding-left: 15px;
}
.agent.location {
    left: 236px;
}
.agent.interval {
	left: 480px;
}
.districts, .agent.location, .agent.interval {
    width: 220px;
	box-sizing: border-box;
}
.fedstate a {
    transition: padding 0.5s ease;
}
.fedstate.extended a{
    text-decoration: none;
    background-color: #4b677f;
    color: #fff;
    padding-left: 1em;
    transition: padding 0.5s ease;
}
.agent.location .districts {
    position: absolute;
    left: 100%;
    top: 0;
    border-left: 1px solid #c7c7c7;
    max-height: 250px;
    overflow-y: auto;
}
.agent.jobfields label, .agent.location label , .districts label, .fedstate a, .agent.interval label{
    display: block;
    color: #2e2e2e;
    line-height: 25px;
    font-size: 13px;
    text-decoration: none;
}
.selectedItems {
    width: 100%;
    margin-top: 1em;
}
.selectedItems .selected {
    display: inline-block;
    margin-bottom: 1em;
}
.selectedItems .selected span {
    box-sizing: border-box;
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    border: 0px solid #000000;
    background-color: #db343e;
    text-shadow: 1px 1px 1px #84322e;
    color: #fff;
    padding: 0.5em;
    display: inline-block;
}
.modal_view {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 0 1em 1em 1em;
    display: inline-block;
    border: 1px solid #4b677f;
    border-radius:          3px 3px 3px 3px;
    -moz-border-radius:     3px 3px 3px 3px;
    -webkit-border-radius:  3px 3px 3px 3px;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 3px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 3px 5px 0px rgba(50, 50, 50, 0.75);
    background-color: #fff;
    width: 730px;
    z-index: 100;
}
.modal_view h2 {
    color: #DB343E;
    font-size: 2em;
    font-weight: 500;
    text-align: center;
}
.modal_view .logo_mic {
    margin-left: 1em;
    bottom: 15px;
}

#close_agent {
    position: absolute;
    right: 0;
    bottom: 15px;
    margin-right: 2em;
    color: #DB343E;
    font-size: 0.8em;
    font-weight: 500;
    text-align: center;
    border: none;
    background-color: #fff;
    text-transform: uppercase;
}
#close_agent:hover{
    color:#ff0000
}
#close_agent:focus, #jobfields_dropdown:focus, #location_dropdown:focus, #interval_dropdown:focus {
    outline: 0;
}
#jobfields_dropdown:active, #interval_dropdown:active, #location_dropdown:active {
    -webkit-box-shadow: inset 0px 0px 5px 2px rgba(169, 37, 37, 0.75);
    -moz-box-shadow:    inset 0px 0px 5px 2px rgba(169, 37, 37, 0.75);
    box-shadow:         inset 0px 0px 5px 2px rgba(169, 37, 37, 0.75);
}
#close_agent:active {
    color: #e4888e;;
}
.errors .error {
    margin-left: 20px;
}
span.errors label {
    display: block;
    color: red;
    transition: all 5s ease;
}
span#successMsg {
    display: inline-block;
    padding-bottom: 20px;
    font-size: 1.2em;
    text-align: center;
    color: #db343e;
}
#loadingmessage {
    position: fixed;
    z-index: 10;
    background-color: white;
    background: rgba(255, 255, 255, 0.61);
    width: 100%;
    height: 100%;
    left: 0;
    padding: 0;
}
#loadingmessage img {
    display: block;
    margin: auto;
    vertical-align: middle;
    margin-top: 100px;
}
.seach_agent_settings .agent .selectionLabel {
	display: none;
}
