/*   
Theme Name: ESAG
Theme URI: https://erieshoresag.org/
Author URI: https://erieshoresag.org/
Description: Erie Shores Church Theme
Tags: two-columns, three-columns, fixed-width, threaded-comments
*/

.wp-block-separator {
    border-top: 1px solid #ddd;
    border-bottom: none;
    border-right: none;
    border-left: none;
}

html { margin-top: 25px !important; }
* html body { margin-top: 25px !important; }

@media screen and ( max-width: 782px ) 
{
    html { margin-top: 40px !important; }
    * html body { margin-top: 40px !important; }
}

#logo a { background: url('_theme_styles/images/logo.png') left center no-repeat; width: 174px; height: 109px; position: absolute; top: -2px; left: 0; z-index: 5; }
/*#logo a { background: url('https://www.erieshoresag.org/wp-content/uploads/2013/12/ESAG_Logo_new-1.png') left center no-repeat !important; }*/
#logo a { background: url('https://www.erieshoresag.org/html/images/logo.png') left center no-repeat !important; }
#logo a { width:350px; }
#logo a { height:135px; }
#logo a { top:-4px !important; }

#header nav li a:hover {
    color: #6EBCD2 !important;
}

.navbar {
    width: 100%;
    height: 50px;
    background: #536181;
    top:80px;
    position: absolute;
}

#header nav li a {
    color: white !important;
}

.topbar {
    width:100%; 
    height:128px; 
    background: linear-gradient(
        to top,
        #536181 0px,
        #536181 48px,
        white 48px,
        white 100%)
}

header { background: #ffffff url('https://www.erieshoresag.org/wp-content/uploads/2013/12/top-bg2-1.jpg') top center repeat-x; }
header { background-image:none; }
footer { background: #b2bfe8 url('https://www.erieshoresag.org/wp-content/uploads/2013/12/footer-bg.png') center center repeat; }

article#content { border: none; }

#sidebar li a {
    display: block;
}
#sidebar  a:hover {
    color: white !important; 
    background-color: #2c58a3;
    font-weight:bold;
}

#sidebar .events li a:hover{
    background-color: transparent;
    font-weight:normal;}

#Footer-Connect {
    margin: 0;
    padding: 0;
    width: 310px;
    width: 100%;
    float: left;
    z-index: 5;
}
#Footer-Connect li {
    margin: 0px;
    padding: 0;
    float:left;
    width:140px;
    width: 50%;
    display: block;
}
#Footer-Connect li a {
    text-decoration : none;
    display: block;
    padding: 3px;
}
#Footer-Connect li:nth-child(even) {
    margin-right:0;
}
#Footer-Connect li a:hover {
    color: white !important; 
    background-color: #2c58a3;
    font-weight:bold;
}

#header  { padding: 130px 0 0; position: relative; z-index: 3;   }
#footer { min-height: 40px; border-top: 5px solid #2c58a3 !important; }
#footer .widget ul li + li { border:none;}
#footer h4 {text-align: center }
/*#header nav { height: 26px; position: absolute; top: 75px; right: -18px; z-index: 5; }*/
#header nav { height: 26px; position: absolute; top: 92px; right: -18px; z-index: 5; }

.footer {
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   text-align: center;
   vertical-align: middle;
   min-height: 30px;
}

#two-column{
	width: 550px;
}
#two-column #left{
	width: 300px;
	float: left;
}
#two-column #right{
	width: 250px;
	float: right;
}
#two-column p{
	margin-bottom: 12px;
}
#two-column input[type="text"],input[type="email"]{
	border:none;
	border:1px solid #000;
	font-size :14px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	width: 540px;
	padding: 5px;
}
#two-column #right input[type="text"], #two-column #left input[type="text"]{
	width:240px;
}
#two-column #right input[type="email"], #two-column #left input[type="email"]{
	width:240px;
}
#two-column textarea {
    position: relative;
    padding: 5px;
    border:1px solid #000;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 540px;
}
#two-column input[type="submit"]{
	padding:8px 18px;
	background:#2c58a3;
	color:#fff;
	border: 1px solid #fff;
	float:right;
	font-size: 14px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#two-column input[type="text"]:focus, #two-column textarea:focus{
	background: #eee;	
}
#two-column input[type="email"]:focus, #two-column textarea:focus{
	background: #eee;	
}
#two-column input[type="submit"]:hover{
	background:#fff;
	color:#2c58a3;
	border: 1px solid #222;
}

/*
section#sidebar { padding:40px 0 19px; width:220px; }
article#content.right { width:725px; float:right; margin:0 0 0 30px; }
article#content.left { width:725px; float:left; margin:0 30px 0 0; }
.shell { width: 975px; margin: 0 auto; }



section#sidebar { padding:40px 0 19px; width:20%; }
article#content.right { width:75%; float:right; margin:0 0 0 30px; }
article#content.left { width:75%; float:left; margin:0 30px 0 0; }
.shell { width: 85%; margin: 0 auto; }
*/

.aligncenter, img.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }

.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

div.SermonTable {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}
.divTable.SermonTable .divTableCell, .divTable.SermonTable .divTableHead {
  border: 0px solid #AAAAAA;
  padding: 3px 2px;
}
.divTable.SermonTable .divTableBody .divTableCell {
  font-size: 13px;
}
.SermonTable .tableFootStyle {
  font-size: 14px;
}
.SermonTable .tableFootStyle .links {
	 text-align: right;
}
.SermonTable .tableFootStyle .links a{
  display: inline-block;
  background: #1C6EA4;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 5px;
}
.SermonTable.outerTableFooter {
  border-top: none;
}
.SermonTable.outerTableFooter .tableFootStyle {
  padding: 3px 5px; 
}
/* DivTable.com */
.divTable{ display: table; }
.divTableRow { display: table-row; }
.divTableHeading { display: table-header-group;}
.divTableCell, .divTableHead { display: table-cell;}
.divTableHeading { display: table-header-group;}
.divTableFoot { display: table-footer-group;}
.divTableBody { display: table-row-group;}