/*
Theme Name: EWI Custom Theme 2014
Author: Kevin Cooper
Editor: NuGrowth
*/

body {
  padding-top: 5px;
color: #000;
 
}
/*********NEW STYLING FOR EWI REFRESH******/


/************GENERAL STYLES****************/


div {
font-family: 'Roboto', sans-serif;
}
#searchsubmit:hover
{
  color: #2a6496;
  text-decoration: underline;
}
#footer-right > div > div.widget.text-14 > div > p:nth-child(2) > a:hover
{

text-decoration: none;
}
#footer-right > div > div.widget.text-14 > div > p:nth-child(2) > a {
	color: black;
}

/**********END GENERAL STYLES*******/


/*************HEADER STYLES**********/


@media (min-width:1024px){

#gold {
margin-top: -10px;
}

#brown {
	
margin-top: -10px;
}

#blue {
margin-top: -10px;
}


}


body > div:nth-child(1) > div {  
margin-right: 0px; /* header margin fix */
}



 .navbar.navbar-default {
background-color: white;
border: none;
font-size: 18px;
}


#header-center-widget, #header-right-widget {

	border-top:2px solid rgb(119,119,119);
	margin-top:40px;
}

/*****divs used to create Gradient********/
#gold {
border-top: 18px solid rgb(239,203,101);
border-bottom: 3px solid black;
margin-bottom: -1px;
}

#brown {

border-top: 18px solid rgb(143,132,122);	
border-bottom: 3px solid black;
margin-bottom: -1px;
}

#blue {

	border-top: 18px solid rgb(115,154,188);
	border-bottom: 3px solid black;
	margin-bottom: -1px;
}


/*****END******/
#menu-refresh-top-nav li {
	display: inline;
	font-family: 'Roboto', sans-serif;
	font-style: italic;
}

input#searchsubmit {
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  font-style: italic;
  color: #428bca;
  text-transform: uppercase;
  padding-right: 15px;
}

input#searchsubmit:focus {
display:none !important;
}

#header-right-widget label.screen-reader-text {
display:none;
}
#header-right-widget #searchsubmit {
float:left;
background:none;
border:none;

}
#header-center-widget .nav_menu-18 {
	float:right;
}
#header-center-widget #menu-item-18640 {
padding-right:30px;
}
/**********END HEADER STYLES*******/



/**************BODY STYLES***************/







/**************END BODY STYLES***************/



/************FOOTER STYLES*********/



.container-fluid  {
background-color:rgb(113, 100, 91);

}

.footer-refresh  h3{
font-size:16px;
}
 

div.widget.text-13 > h3

{ color: black;
font-weight:900;
font-size: 1.5rem;}
div.widget.text-14 > h3

{ color: black;
font-weight:900;
font-size: 1.5rem;}

div.widget.text-13
{
 color: black;
font-weight:900;
font-size: 1.5rem;
}

div.widget.text-14 {
color: black;
font-weight:900;
font-size: 1.5rem;
}
.footer-refresh ul {
list-style:none; 


}
.footer-refresh h3 {

	color:rgb(239,203,101);

}

.footer-refresh a {
	color:white;
}
div.widget.text-14 h3 {

	color:black;
}
div.widget.text-13 h3 {

	color:black;
}

 /* Color for third widget on footer

 {background-color:rgb(143, 132, 122);}

*/





/**********END FOOTER STYLES*******/

/**********END REFRESH STYLES*******/

.admin-bar .navbar-fixed-top {
	margin-top: 30px;
}

@media (min-width:768px) {
	.sub-menu {
		display: none;
		position: absolute;
		background: #222;
		padding: 10px 15px;
		width: 16.6em;
		margin: -0.7em auto 0;
		font-size: 0.96em;
	}

	li:hover .sub-menu {
		display: block;
	}

}

.sub-menu li {
	margin-bottom: 10px;
	list-style: none;
}

.sub-menu li:last-child {
	margin-bottom: 0;
}

.sub-menu a  {
	color: #999;
	text-decoration: none;
	font-size:
}

.sub-menu a:hover  {
	color: #fff;
}

.current-menu-item > a, .current-menu-parent > a {
	background: #000;
}
.current-menu-parent li a {
	background: inherit;
}
.current-menu-parent .current-menu-item a {
	color: #fff;
	font-weight: bold;
}

.sidebar {
	margin-top: 40px;
	color: #444;
}

.sidebar h3 {
	color: #888;
}

.widget {
	margin: 10px 0 30px;
}

article.post {
	margin: 20px 0 40px;
}

.featured-image img,
.portfolio-piece img,
.portfolio-image img {
	max-width: 100%;
}

.prev-next {
	font-size: 24px;
	margin-top: 30px;
	text-align: right;
}

@media (max-width:540px) {
	.portfolio-piece h4 {
		font-size: .8em;
	}
	.prev-next {
		margin-top: 15px;
		font-size: 18px;
	}
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
       -moz-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */
  }
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}


/*******Contact page****/

.page-id-7096 iframe {

height:400px;
}


@media only screen and (max-width: 540px) {

.page-id-7096 iframe {

height:200px;
}

}

.page-id-7096 input {

max-width:100%;
}

.page-id-7096 textarea {

max-width:100%;
}


/***********E-store styles*******/
.woocommerce-tabs {
display:none;
}


.postid-18223  .bg-darkbrown, .postid-18224 .bg-darkbrown, .postid-18222 .bg-darkbrown, .postid-18220 .bg-darkbrown{

margin-top:35%;
}

.postid-18223  img, .postid-18224 img, .postid-18222 img, .postid-18220 img{

 max-width:100%;
}
/*******END Estore styles*******/

/* Affiliations Page */
.affiliations-picture {
margin-bottom: 10px;
}

/* Events page */
#eventfont li {
margin-bottom: 11px;
}

/* Text color fixes */
#news {
color: #000 !important;
}

#front-page-text {
color: #000 !important;
}

#resources {
color: #000 !important;
}

.eme_events_list li {
color: #000 !important;
}

.eme_events_list li a {
color: #000  !important;
}

.page-id-1673 .eme_events_list li a {
color: #428bca;
}

#resources h1 {
color: rgb(103, 91, 82) !important;
}

#news h1 {
color: rgb(103, 91, 82) !important;
}