/***** ===========  MAIN CSS =========== *****/
/***** ================================= *****/

.page-node .field .field-label {    font-weight: normal; font-family: pt_serif; font-size: 1.25em; line-height: 1.5em; color: #444;  margin-top: 0.5em; }

/* Deletes edit node column */
.not-logged-in .view td.views-field-edit-node{ display: none; }

.view-board-of-directors td{ width: 33.33%; }

.view-ministries{ text-align: center; }

.node-type-ministry .field-name-field-ministy-logo{ float: right; margin: 0 0 0 0.5em; }

.view .col3{  display: inline-block; width: 31%; margin: 0 0.75% 0.75%; vertical-align: top; box-sizing: border-box; } 
.view .col4{  display: inline-block; width: 22%; margin: 0 0.75% 0.75%; vertical-align: top; box-sizing: border-box; } 
.view .col5{  display: inline-block; width: 18%; margin: 0 0.75% 0.75%; vertical-align: top; box-sizing: border-box; } 

.spanhide{display:none; color: #ccc; }

/*** Body ***/
html body { background: #fff; color: #222; font-size: 16px; }

body a { color: #007; }
body a:hover { color: #09f; }


/*** Header ***/
body.logged-in #header-wrap { padding: 10px 0; }

body #header-wrap { background: rgba(8,8,98,0.9);  position: fixed !important;    width: 100%;    top: 0px;   border-bottom: 0;
    box-shadow: none; z-index: 11; }

body #header {  padding: 5px 0px;  }



body #logo h2{ font-family: pt_serif;  font-size: 28px;  color: #fff !important; }
body #logo a{ color: #fff; }

body #site-navigation { display: block; }

body #site-navigation #main-menu > ul > li {     margin-left: 0; }

body #header-wrap #site-navigation #main-menu > ul a {
    color: #fff;
    font-weight: normal;
	font-family: pt_serif, arial, times new roman;
	font-size: 17px;
	padding: 0 10px;
}

body #header-wrap #site-navigation #main-menu > ul a:hover {  color: #09f;  }

body #header-wrap #site-navigation #main-menu > ul > li > a.active{ color: #fff; background: #0e0541; font-weight: normal; }
body #header-wrap #site-navigation #main-menu > ul li ul li{ border-bottom: 1px solid #232d59; }
body #header-wrap #site-navigation #main-menu > ul li ul li a {	padding: 10px 15px;  background: #0e0541; transition: background 0.25s ease 0s;  }
body #header-wrap #site-navigation #main-menu > ul li ul li a:hover { background: #1f519c;  color: #fff !important;  }


/*** Preface Area ***/
#preface-wrap { background: url(../preface-bg2b.jpg) bottom center no-repeat; 
background-size: cover; background-attachment: fixed; padding: 80px 0 0; }

#preface-wrap .span_1_of_3 {  width: 100%; text-align: center;  }

#preface-wrap .span_1_of_3 .block { display: inline-block;  width: 100%;  }

#preface-wrap, #preface-wrap h1, #preface-wrap h2 { color: #fff; }

/*** Main Content ***/
body.front #main-wrap{ background: #fff; }
body #main-wrap{ background:url(/sites/default/files/advent-house-light-sunburst-white.jpg) top center no-repeat;  background-size: cover; }
body.front #main {    padding: 10px 0px 10px;   }
#main {    padding: 60px 0px 10px;   }


/* Page title */
body h1.page-title{ font-family: pt_serif, arial; text-align:center;  font-size: 2em;}

/* h2  */
#main h2{  font-family: pt_serif;   }

body h1, body h2, body h3, body h4, body h5, body h6 { font-family: pt_serif;  }

/*** Main Content 2***/
body.front #main-content-2-wrap{ background: url(../content-2-bg-1.jpg) top center no-repeat; 
background-size: cover; background-attachment: fixed; padding: 0px 0;  }


/*** Mobile Menu ***/
body #sidr-main{ background: #231005; }

body #sidr-main a {    font-family: pt_serif;  font-size: 1.3em; }

body #sidr-main a:hover{ background: #f60; }


body a#navigation-toggle{ height: 34px;  line-height: 34px;  }

body #navigation-toggle:hover { background: none;  color: #f60; }



/*** Main Content 3 ***/


/*** Footer ***/
#footer-wrap{ background: #08082C;  color: #ddd; }
#footer-wrap h2 { color: #fff; }
body #footer-wrap a:hover{ color: #f60; }


/*** Copyright Area ***/
body #copyright-wrap {
    background: #060618 none repeat scroll 0% 0%;
    padding: 3px 0px;
    color: #ccc; 
    font-size: 7px;}
    
body #copyright-wrap a{ color: #fff; }

/*** Custom Image styles
==============================***/
.img-right{ float: right; margin: 0 0 1em 1em; }
.img-left{ float: left; margin: 0 1em 1em 0; }

/*** Custom Buttons ***/
.button1{ background: #171748; color: #fff !important; font-size: 1.5em; line-height: 1.5em; padding: 5px 10px;  transition: background 0.5s ease 0s; }
.button1:hover{ background: #1bada8; color: #fff !important; }

a.button2{ background: #09f; color: #fff !important; font-size: 1.5em; line-height: 2.5em; padding: 5px 10px;  transition: background 0.25s ease 0s; border-radius: 2px; font-family: pt_serif; }
a.button2:hover{ background: #0cf; color: #fff !important; }

/*** Webforms
============================== ***/
.webform-client-form label{ font-family: pt_serif; font-size: 1.3em; font-weight: normal; }
.webform-client-form input{ width: 99%;  background: #f1f1f1; }
.webform-client-form textarea{  background: #f1f1f1; }

.webform-client-form #edit-actions { text-align: center;  }
.webform-client-form #edit-actions input{  background: #171748; color: #fff !important; font-size: 1.5em; line-height: 1.5em; padding: 5px 10px;  transition: background 0.25s ease 0s; width: 35%; border: none; text-shadow: none; box-shadow: none;  font-family: pt_serif;  }
.webform-client-form #edit-actions input:hover{ background: #1bada8; color: #fff !important; border: none; text-shadow: none; box-shadow: none;  }

/*** Views ***/
.views-field-view-node a{ background: #09f; color: #fff; font-size: 18px; line-height: 2.5em; padding: 5px 12px;  border-radius: 2px;  transition: background 0.5s ease 0s; }
.views-field-view-node a:hover{   background: #06f;  color: #fff !important;  }

.views-field-edit-node a{ background: #3989c1 !important; color: #fff; font-size: 11px; line-height: 2em; padding: 5px 10px;  border-radius: 2px;  transition: background 0.5s ease 0s;  }
.views-field-edit-node a:hover{  color: #fff !important;  background: #f90 !important;  }

.views-field-delete-node a{ background: #b42929 !important; color: #fff; font-size: 11px; line-height: 2em; padding: 5px 10px;  border-radius: 2px;  transition: background 0.5s ease 0s;  }
.views-field-delete-node a:hover{  color: #fff !important;  background: #dd3030 !important;  }

/*** Compact Forms
======================================================== ****/
.compact-form-label {
 text-align: center;
 width: 100%;
}

/***** ===========  !!! END MAIN CSS =========== *****/
/***** ========================================= *****/

/***** ===========  PAGES  =========== *****/
/***** ========================================= *****/

/*** Home Page ***/
.front h1.page-title{ display: none; }

#main-content-2 h1{ color: #fff; }

/* Home Board of Directors view */
.front .view-board-of-directors,
.front .view-board-of-directors a{ color: #fff !important; }

.front .view-churches { text-align: center; }
.front .view-churches .views-row,
.page-node-97 .view-churches .views-row{ width: 12%; display: inline-block;   margin-bottom: 1.5em; }

/*** Churches Page ***/
.view-churches .views-row{ margin-bottom: 2.5em;    display: inline-block;
    width: 45%;
    vertical-align: top; }
    
.view-churches h2{ font-size: 19px; }

/*** Church Node Pages ***/
.node-type-church #block-system-main .content{ text-align: center; }
.group-chruch-general{ display: inline-block; text-align: left; width: 65%; vertical-align: top; }
.group-church-map{ display: inline-block; text-align: right; width: 34%; vertical-align: top;  }

/*** Board of Directors Page ***/
/* Board of Directors view */
.view-board-of-directors{ text-align: left; }

.view-board-of-directors .views-row{ display: inline-block; width: 22%; margin: 2% 1%; vertical-align: top; text-align: center;  }

.view-board-of-directors img { border: 1px solid #ccc; border-radius: 5px; }

.view-board-of-directors .views-field-title{  font-size: 1.5em; line-height:  1.2em; }

.view-board-of-directors .views-field-field-board-member-ministry,
.view-board-of-directors .views-field-field-bm-church{ font-size: 11px; font-style: italic; }

/* table view */
.not-logged-in th.views-field-edit-node{ display: none; border: none !important; }
.not-logged-in td.views-field-edit-node{ display: none; border: none !important; }

.view-board-of-directors table th{ background: #231005 !important; padding: 4px 2px; }
.view-board-of-directors table tr td{ text-align: left; }

.view-board-of-directors table .views-field-field-board-member-ministry,
.view-board-of-directors table .views-field-field-bm-church{ font-size: 18px; font-style: normal; }



/*** Documents Page
================================== ***/
/* Documents view */
.view-documents .views-row{ margin: 0 0 1.5em 0; text-align: center; }
.view-documents .views-field-title{ font-family: pt_serif; font-size: 1.8em; }

/* Private Documents */
.view-display-id-public th{ background: rgb(8,8,98); }
.view-display-id-public th a{ color: #fff !important; }

/* Public Documents */
.view-display-id-private th{ background: #c61515; }
.view-display-id-private th a{ color: #fff !important; }

/*** News Page
================================== ***/
.view-news .views-field-title{ font-family: pt_serif; font-size: 1.5em; }
.view-news .views-field-field-news-date{ font-style: italic; font-size: 0.9em;  }


/*** Meeting Information Page
=================================== ***/
.view-projects th{ background: #098dea; }
.view-projects th a{ color: #fff !important; }
.view-projects .views-field-title{ font-family: pt_serif; font-size: 1.8em; }

/*** Meeting Information Node Pages
=================================== ***/
.node-type-project #main th{   background: #098dea;  }

/*** User Pages 
=================================== ***/
#block-block-14 a{ color: #09f; font-weight: bold;  }

#block-nice-menus-2 {  }

#nice-menu-2 {
    display: block;
    float: none !important;
    background: none;
    text-align: center;
    width: 100%;
}
#nice-menu-2 li {
    border: none;
    background: none;
    display: inline-block;
    width: 22%;
    margin: 1%;
}
#nice-menu-2 li a {
    background: #09F none repeat scroll 0% 0%;
    color: #FFF !important;
    padding: 1em;
    margin: ;
    line-height: 1.4em;
    font-family: pt_serif;
    font-size: 1em;
    transition: background 0.3s ease 0s;
    display: inline-block;
    min-height: 2em;
}

#nice-menu-2 li a:hover{    background: #0cf; color: #fff !important;  }

#nice-menu-2 li.menu-678 a {    background: #C61515; }  /* director documents link */
#nice-menu-2 li.menu-677 a {    background: #080862; }  /* public documents */

#nice-menu-2 li.menu-678 a:hover, #nice-menu-2 li.menu-677 a:hover
{     background: #0cf; color: #fff !important;  }

/*** 403 Page
================================== ***/
.page-node-76 #block-user-login{ width: 100%; text-align: center;}
.page-node-76 #block-user-login input.form-text{ width: 100%; text-align: center !important; transition: background 0.5s ease 0.2s;}
.page-node-76 #block-user-login input.form-text:focus{ background: #eee !important; border: #777 1px solid;}
.page-node-76 #block-user-login ul li{ list-style: none; }

/***** ===========  !!! END PAGES CSS =========== *****/
/***** ========================================= *****/

/***** ===========  FONTS =========== *****/
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 3, 2015 */
@font-face {
    font-family: 'quicksand';
    src: url('quicksand-regular-webfont.eot');
    src: url('quicksand-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('quicksand-regular-webfont.woff2') format('woff2'),
         url('quicksand-regular-webfont.woff') format('woff'),
         url('quicksand-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on August 6, 2015 */



@font-face {
    font-family: 'pt_serif';
    src: url('ptf55f-webfont.eot');
    src: url('ptf55f-webfont.eot?#iefix') format('embedded-opentype'),
         url('ptf55f-webfont.woff2') format('woff2'),
         url('ptf55f-webfont.woff') format('woff'),
         url('ptf55f-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

/***** ========  !!! END FONTS ======== *****/

/***** ======= Other stuff ===========  *****/
/***** =============================== *****/
#admin-menu{ z-index: 1200; }
