/* ---------- SEARCH SECTION --------- */

#search-tab, #event-bttn {
    display:none;
}

#search-tab .button {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 35px;
  color: #4E2A84;
  text-align: center;
  font: 0/0 a;
  /* IE Fix */
  *font: 20px/30px Lucida Sans Unicode, Arial Unicode MS, Arial;
}   

#search-tab .button.rotated {
  -webkit-transform: rotate(180deg);  /* Chrome, Safari 3.1+ */
                -moz-transform: rotate(180deg);  /* Firefox 3.5-15 */
    			-ms-transform: rotate(180deg);  /* IE 9 */
				-o-transform: rotate(180deg);  /* Opera 10.50-12.00 */
				transform: rotate(180deg);  /* Firefox 16+, IE 10+, Opera 12.10+ */
}

#search-tab .button:after {
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-top-color: #4E2A84;
  border-bottom: none;
}  

.search-news-articles {
    color: #4E2A84;
    text-transform: uppercase;
    padding-bottom: 1rem;
    position: relative;
    font-family: "Proxima Nova W01", Arial, sans-serif;
    font-weight: 300;
}

.list_category {
    display: none;
}

input[type="reset"] {
    display:none;
    background-color: #a0a0a0;
}

.search-news-articles input[type="submit"] {
  -webkit-appearance: none;
  font-size: 0;   
  background: url('../images/structure/sprites/paginator.svg') no-repeat scroll -211px -2px rgba(0, 0, 0, 0);
  height: 35px;
  width: 35px;
  vertical-align: top;
  margin: 10px 0;
  border-style: none;
}

select {
    border: 1px solid #571953;
    height:35px;
    margin: 0 10px;
}

#news-form.eecs-search .selectric .button {
    background-color: #fff;
}

#news-form input[type="text"] {
    border:none;
    height:35px;
    margin: 10px;
    margin-left: 0;
    padding: 9px 10px 6px;
    width: 39.5%;
}

span.search_bar_header {
    font-weight: normal;
    letter-spacing: 0px;
    margin-right: 10px;
}

#news-form #keyword, .selectricWrapper {
    display:inline-block;
}

#news-form .selectricWrapper {
    width: 21%;
    min-width: 97px;
    padding: 0 10px;
    margin-left: 0;
    margin: 10px 0;
    border-left: 1px solid #ccc;
    vertical-align: top;
    top:0;
    line-height: 0;
}

#news-form.eecs-search .selectricWrapper:first-of-type {
    width: 18%;
}

#news-form.eecs-search .selectricWrapper:last-of-type {
    width: 33%;
}

#news-form .selectricWrapper .selectricItems{
    margin-left:10px;
}

#news-form .selectric{
    height:35px;
    border-radius: 0;
}

input, textarea {
  -webkit-border-radius: 0;
}

#news-results .current_pagination {
    font-family: "Neue Helvetica W01", Arial, sans-serif; 
    width: 38px !important;
    border: none;
}

.sep {
    display: inline-block;
    padding: 0 6px;
}

body.sitetype-program .news_date > span, body.sitetype-program .news_date > div {
    display: none;
}

.news_date {
    text-transform: uppercase;
    font-size: .8rem;
    color: #999999;
    padding-top: 10px;
}
.news_date, #news-content-wrap .news_date .source {
    font-family: "Proxima Nova W01",Arial,sans-serif;
    font-weight: 300;
    line-height: 1.5;
}

#main-content-wrap .news_date .source {
    color: inherit;
    border-bottom: none;
    font-weight: inherit;
    font-style: italic;
    display: inline-block;
}

#main-content-wrap .news_date a:hover {
	border-bottom: 1px dotted #999999;
}

 #main-content-wrap h3 {
  font-family: 'Neue Helvetica W01', Arial, sans-serif;
  font-size: 1.15rem;
  text-transform: none;
  margin: 2rem 0 .8rem 0;
}

 #main-content-wrap h3 a {
     font-weight: 600;
     }


#main-content h3 > a[href]:after {
   content: none;
} 

.searchlist_text > span {
    line-height: 1.5rem;
}

.pagination strong {
    color: #4E2A84;
}

#main-content-wrap #main-content {
    margin-bottom: 0;
	position: relative;
}

@media screen and (max-width: 1115px){

    #news-form.eecs-search #keyword {
    	display:block;
		width: 323px;
	}

	#news-form.eecs-search .selectricWrapper:first-of-type {
		border-left: none;
		padding-left: 0;
        width:102px;
    }
	
	 #news-form.eecs-search .selectricWrapper:first-of-type .selectricItems{
     margin-left:0; 
}
    #news-form.eecs-search .selectricWrapper:last-of-type {
        width:230px;
    }
	
}

@media screen and (min-width: 700px) and (max-width: 720px) {
    #news-form #keyword {
		width:36%;
	}
}

@media screen and (max-width: 700px) {
    
    #search-box{
     margin-bottom: 30px;
	 position:relative;

}

	#news-form.eecs-search #keyword {
		width: 100%;
	}
	
	#news-form.eecs-search .selectricWrapper:first-of-type, #news-form.eecs-search .selectricWrapper:last-of-type {
		display:block;
        width: 100%;
		padding-right:0;
    }
	#news-form.eecs-search .selectricWrapper:last-of-type {
		border-left: none;
		padding-left: 0;
	}
	
	#news-form.eecs-search .selectricWrapper:last-of-type .selectricItems{
     margin-left:0; 
}
	.eecs-search .selectricWrapper:last-of-type:after {
      content:"";
      background: #cacaca;
      height: 1px;
      position: absolute;
      margin: 20px 0px;
      right: 0;
      left: 0;
    }
	
    .search-news-articles.eecs-search {
      position: absolute;
      width: 100%;
      /* top: 9rem; */
      /* right: 3.2rem; */
      /* left: 3.2rem; */
      margin-top: -1px;
      background: #f4f4f4;
      padding: 0.5rem 1rem 1rem;
      display: none;
      border-right: 1px solid #cacaca;
      border-left: 1px solid #cacaca;
      border-top: 1px solid #cacaca;
      -webkit-border-top-right-radius: 3px; 
      -moz-border-top-right-radius: 3px;
       border-top-right-radius: 3px;  
    }
	
 .search-news-articles.eecs-search:after {
   content: " ";
   position: absolute;
   z-index: 1;
   height: 1;
    right: 0;
   left: 0;
   bottom: 0px;
   border: 5px solid #4E2A84;
    }
	
 #search-tab.eecs-search-tab {
        display: inline-block;
        cursor: pointer;   
		width: 100%;   
        position: relative;
        padding: 0.6rem 0.8rem;
       
}
    
    .search-tab-on.eecs-search-tab{
        border:none;
       background: #f4f4f4;
       padding: 1rem;
       border-right: 1px solid #cacaca;
      border-left: 1px solid #cacaca;
      border-top: 1px solid #cacaca;
      height: 41px;
      position: relative;
      z-index: 2;
      -webkit-border-top-left-radius: 3px; 
      -moz-border-top-left-radius: 3px;
       border-top-left-radius: 3px;
      -webkit-border-top-right-radius: 3px; 
      -moz-border-top-right-radius: 3px;
       border-top-right-radius: 3px;
    }
    .search-tab-off.eecs-search-tab {
        height: 35px;
        border: 1px solid #4E2A84;
        padding: 10px;
        -webkit-border-radius: 3px; 
        -moz-border-radius: 3px;
        border-radius: 3px; 
    }
    #search-tab.eecs-search-tab span {
    font-family: "Proxima Nova W01",Arial,sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.2;
    color:  #4E2A84;
    display: block;
    }
    
    .eecs-search #keyword + span {
    text-transform: none;
    font-size: .8rem;
    color: #acacac;
    font-style: italic;
    }
    
    .eecs-search input[type="submit"] {
      margin-top: 40px;
    background: url('/images/structure/sprites/arrows-nav-docs.svg') no-repeat -457px -72px;
    width: 100px;
    height: 30px;
	padding: 8px 30px 5px 10px;
}
	
	.eecs-search input[type="reset"], .eecs-search.search-news-articles input[type="submit"] {
    display:inline-block;
    font-size: .85rem;
    font-weight: normal; 
    color: #fff;
    border: none;
    padding: 8px 30px 5px 10px;
    text-transform: uppercase;
    margin-top: 30px;
    height: auto;
    margin-right: 10px;
}

}

@media screen and (max-width: 530px){
	#news-form span.search_bar_header {
		display:none;
	}
	#news-form #keyword {
		margin-left: 0;
	}

	#news-form #keyword {
		width:50% !important;
	}
	
	#news-form.eecs-search #keyword {
		width:100% !important;
	}
	
	
}

