@import url('https://fonts.googleapis.com/css?family=Lusitana400,700');

/************ *******************  ************/
/************ ITEMS FOR ALL SITES  ************/
/************ ******************  ************/

/********** EQUAL TABLES ********************/
.equaltables { width: 100%; display: table; table-layout: fixed;}
.equaltables > div  {	display: table-cell; margin: 10px; width: 2%; border: 10px solid rgba(0,0,0,0); vertical-align: top; word-break: break-word;}

@media only screen and (max-width: 767px){ 
	.equaltables, .equaltables div{ display: block; table-layout:auto; width: 100%; border: none; margin: 0;}
	.equaltables img { display: block; margin: 0 auto;}	
}

 /********** EQUAL TABLES WITH ROWS ********************/
.equaltableswithrows { width: 100%; display: table; table-layout: fixed;}
.equaltableswithrows tr { display: table-row;}
.equaltableswithrows tr td  {	display: table-cell; margin: 10px; width: 33%; border: 10px solid rgba(0,0,0,0); vertical-align: top; word-break: break-word;}
.equaltableswithrows tr td {	display: table-cell; margin: 10px; width: 33%; border: 10px solid rgba(0,0,0,0); vertical-align: top; word-break: break-word;}
.equaltableswithrows tr:nth-child(odd) { background: rgba(255,255,255,.3);}

@media only screen and (max-width: 767px){ 
	.equaltableswithrows, .equaltableswithrows tr, .equaltableswithrows tr td{ display: block; table-layout:auto; width: 100%; border: none; margin: 0;}
	.equaltableswithrows img { display: block; margin: 0 auto;}
	.equaltableswithrows tr  { border-bottom: 1px #000000  solid; margin-bottom: 20px;}
	.equaltableswithrows tr td:first-child { font-weight: bold;}
	.equaltableswithrows tr:nth-child(odd) { background: none;}
}


/************ PROTECT AGAINS WEIRD SPANISH PAGES  ************/
[class*="span"] {   float: none;     margin-left: 0; }'

/************ DOCMAN  ************/
.docman_download__info {display: none;}
.koowa h4.koowa_header { display: none; }

/************ HIDE SEARCH LABEL  ************/
form label {display: none; }

/**** WEBLINKS ***************************/
.weblink-category .category img { height: 0;}
.weblink-category .category .title, .component-content .weblink-category .category .title p {margin-bottom: 0px; font-size: 16px; }
.weblink-category .category .title {background: none; padding-left: 10px; }
.category .title .category {font-size: 1.25em;}

/************ SLIDESHOW FIX ************/
.weblink-category .component-content ul.rg-ss-slice-list { list-style-type: none; padding: 0; margin: 0;}

/************ ALERT  ************/
.rt-block.alert {border: none; padding: 0; margin: 0; background-color: #FFCFCF; color: #FF0000;}
.alert h1, .alert h2, .alert h3, .alert h4, .alert p { margin-left: 20px;}

/************ IMAGES  ************/
.item img, .item-page img {margin-left: 10px; margin-right: 10px; margin-bottom: 10px;}


/****** 3 COLUMN MINISTRIES PAGES **********************
.ministrypage .img-intro-left img { border-radius: 6px;   border: 1px #000000 solid; }
body.ministrypage  .component-content .cols-3{line-height: 20px; }
body.ministrypage  .component-content .cols-3 p { margin: 7px; }

.ministrypage .component-content .cols-3 .column-1 {  margin-right: 3%;}
.ministrypage .component-content .cols-3 .column-1, .component-content .cols-3 .column-2 {  width: 31%;}
.ministrypage .component-content .cols-3 .column-3 {  width: 32%;}

.ministrypage .readon { padding: 5px 10px;} 
.ministrypage .readon:after { content: none;  padding-left: 0px;}

.menu-ministries  #rt-main > .rt-container > .rt-grid-9  .rt-block { padding-bottom: 0px; margin-bottom: 0px;}
body.menu-ministries #rt-content-bottom .rt-block { padding-top: 5px; margin-top: 0px; }

.ministrypage .admod.rt-block { padding-right: 0px; padding-left: 0px; margin-right: 0px; margin-left: 0px;}
.ministrypage #rt-mainbody {padding: 0px;}
.ministrypage .items-leading {padding: 15px;}
.ministrypage .img-intro-left img {  max-width: 221px;}
.item-pageministrypage { padding: 20px;}


.ministrypage .blogministrypage .item { display: table; margin-bottom: 30px;}
.ministrypage .img-intro-left { float: none; display: table-header-group; } 
.ministrypage .component-content h2 { display: table-row-group; padding: 10px 0; line-height: 1.2em;} 
.ministrypage .img-intro-left img {  margin-bottom: 7px; }
body.ministrypage .cols-3 > p { display: table-footer-group;}

.ministrypage #rt-main .rt-grid-9 {    width: 780px; }
.ministrypage #rt-main .rt-grid-3 {    width: 180px; }

@media only screen and (min-width: 1200px) {
	.ministrypage #rt-main .rt-grid-9 {    width: 1020px; }
	.ministrypage .img-intro-left img {  max-width: 297px;}
}

@media only screen and (min-width: 768px) and (max-width: 959px) { 	
	.ministrypage #rt-main .rt-grid-9 { width: 580px; } 
	.ministrypage .img-intro-left img {  max-width:370px;} 
	.ministrypage .component-content .cols-3 .column-3 { float:none;}
}

@media only screen and (min-width: 481px) and (max-width: 767px) { 
	.ministrypage #rt-main .rt-grid-9, 	.ministrypage #rt-main .rt-grid-3 { width: 100%; } 
	.ministrypage .img-intro-left img {  max-width: 360px;}
}

@media only screen and (max-width: 480px) {
	.ministrypage #rt-main .rt-grid-9, 	.ministrypage #rt-main .rt-grid-3 { width: 100%; } 
	.ministrypage .img-intro-left img {  max-width: 200px;}
}
*/



/************  PICTURE OVERLAYS FULL WIDTH  ***********

#rt-maintop .rt-container, #rt-maintop .rt-container .rt-grid-12 {width: 100%;}
.gantry-width-container {    
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: -ms-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}

.rt-image.with-attribution .rt-attribution {  opacity: 1; visibility: visible;  font-family: 'Pinyon Script'; font-size: 2.0em; line-height:  1em;}
.rt-image.with-attribution .rt-attribution .datestyle {font-size: .7em;}
.rt-image.with-attribution .rt-attribution a { opacity: 1; visibility: visible;}
.alwaysvisible .rt-image.with-attribution .rt-attribution { opacity: 1; visibility: visible;}
.rt-image.with-attribution .rt-attribution {margin: 30px; background: rgba(64, 46, 32, .5) 0 100% no-repeat;  text-align:center; bottom: 0; right: 0; width: auto; height:  auto; }
.overlays .rt-image.rt-attribution {background: rgba(0, 0, 0, .3) 0 100% no-repeat; font-family: 'Cinzel', serif;}

.rt-image.rt-attribution {  
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    right: 0;
    height: 100%;
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
  
.rt-image.rt-attribution span {    
	color: #ffffff !important;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.rt-image img {width: 100%; border-radius: 0;}
.rt-image.with-attribution:hover .rt-attribution {margin: 0px; background-image: url(images/background-overlay.png)}
.rt-image {display: block;}

@media (max-width: 767px) {body.layout-mode-responsive .gantry-width-spacer { margin-bottom: 10px; } }
@media only screen and (min-width: 1200px) {.rt-image.with-attribution .rt-attribution { font-size: 2.5em; }}

*/

/********************************************************************/
/********************** 2016 TESSELLATE **********************/
/********************************************************************/

.logo-type-preset4 a {
    color: #2d579e;
}
.logo-type-preset4 a:hover {
    color: #8d6e04;
}

.logo-type-preset4 h2 {
    border-bottom: 1px solid black;
    padding-top: 30px;
}

/*CHANGING OUT BACKGROUND IMAGE*/
.logo-type-preset4.headersurround-type-preset4 #rt-header-surround {
    background-image: url(../content/images/akamba-background.jpg);
    background-repeat: repeat
}
/*IS THERE A WAY TO CONSOLIDATE THESE THREE BACKGROUNDS?*/
.logo-type-preset4 #rt-mainbody-surround {
    background-image: url(../content/images/akamba-background.jpg);
    background-repeat: repeat
}
.logo-type-preset4 #rt-footer-surround {
    background-image: url(../content/images/akamba-background.jpg);
    background-repeat: repeat
}

/*LOGO ADJUSTMENTS*/
@media only screen and (max-width: 1199px) and (min-width: 960px){
    body.layout-mode-responsive[class*="logo-type-preset"] #rt-logo {
        background-size: 275px auto;
    }
}
.logo-type-preset4 #rt-logo {
    background-image: url(../content/images/akamba-logo.png);
    width: 275px;
    background-color: white;
}
.logo-type-preset4 #rt-header div.rt-logo-block {
    background: white;
    width: auto;
}
@media only screen and (max-width: 1199px) and (min-width: 960px){ 
    body.layout-mode-responsive[class*="logo-type-preset"] .rt-logo-block {
    padding: 0px;
    }
}
.logo-type-preset4 #rt-main {
    background: #e0d8c2;
}
.logo-type-preset4 .rt-logo-block {
    width: 30%;
}
.logo-type-preset4 .rt-flex-container .rt-block {
    padding: 0px 2px;
}
.logo-type-preset4 .rt-logo-block {
    position: static;
}

/*HEADER*/
.logo-type-preset4 #rt-header {
    background-color: white;
}
.logo-type-preset4 #rt-header {
    margin-bottom: 0;
}
.logo-type-preset4 #rt-header-surround {
    min-height: auto;
}
.logo-type-preset4 #rt-header .rt-grid-6, .logo-type-preset4 #rt-header {
    margin-left: -2000px;
    margin-right: -2000px;
    padding-right: 2000px;
    padding-left: 2000px;
    background: white;
}

.logo-type-preset4 #rt-logo {
    background-size: 100%
}
.logo-type-preset4 .rt-logo-block {
    padding: 10px 10px;
}
@media only screen and (min-width: 1200px) {} 
@media only screen and (min-width: 960px) and (max-width:1199px) {} 
@media only screen and (min-width: 768px) and (max-width: 959px) {
    body.layout-mode-responsive[class*="logo-type-preset"] #rt-logo {
    background-size: 275px auto;
    }
} 
@media only screen and (max-width: 767px) {
    .logo-type-preset4 #rt-header .rt-grid-6 .rt-logo-block {
    float: none; 
    }
}



/*MAKING MENU 100%*/
.logo-type-preset4 #rt-showcase .rt-grid-6  {
    background-color: #e0d8c2;
}
.logo-type-preset4 #rt-header .rt-grid-6 {
    flex-basis: 100%;
}

.logo-type-preset4 #rt-header .rt-grid-6.rt-omega {
    background-color: #79cbfc;
}

/*MENU*/
.logo-type-preset4 .menu-block .gf-menu.l1 > li > .item {
    font-size: 1.3em;
    font-family: 'Lusitana', serif;
    height: 30px;
    padding: 2px 18px;
    text-transform: none;
}

@media only screen and (min-width: 1200px) {}
@media only screen and (min-width: 960px) and (max-width:1199px) {
        .logo-type-preset4 .menu-block .gf-menu.l1 > li > .item {
    font-size: 1.2em;
    height: 30px;
    padding: 2px 7px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    .logo-type-preset4 .menu-block .gf-menu.l1 > li > .item {
    font-size: 1.1em;
    height: 30px;
    padding: 2px 0px;
    }
}
@media only screen and (min-width: 481px) and (max-width: 767px) {} 
@media only screen and (max-width: 480px) {}

.logo-type-preset4 #rt-header-surround #rt-header .menu-block {
    background: #79cbfc;
}
.logo-type-preset4 .menu-block .gf-menu li.active > .item .menu-item-bg {
    color: black;
}
/*TOP MENU MOUSEOVERS*/
.logo-type-preset4 .menu-block .gf-menu li:hover {
    background: #a0dffe;
}
.logo-type-preset4 .menu-block .gf-menu .item {
    color: white;
}
/*making top menu so text is centered*/
.logo-type-preset4 #rt-header .menu-block {
    float: none;
    /* position: relative; */
    display: table;
    margin: auto;
}

/************* MENU DROPDOWNS ***********/
.logo-type-preset4 .menu-block .gf-menu .dropdown {
    padding: 0;
    background: #79cbfc;
}
.logo-type-preset4 .menu-block .gf-menu li > .item .menu-item-bg:before {
    display: none;
}

/******left justify logo*****/   
.logo-type-preset4 #rt-header .rt-logo-block {
    float: left;
    display: block;
}
/*ADJUSTING SEARCH BOX*/
.logo-type-preset4 input, input[type="text"] {
    font-family: 'Lusitana', serif;
    color: #6e6e6e;
    background-color: #c8bfa5;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    height: 20px;
    width: 125px;
    padding: 3 15px;
    margin: 3;
    vertical-align: middle;

}
/*not working, trying to get the search box not to show on mobile
@media only screen and (max-width: 480px) {
    .searchsearchtop-right input, .searchsearchtop-right {
        display: none;
    }
}*/


/*************** ROTATOR **************/




/*adjusting wide of rotator area*/
.logo-type-preset4 #rt-showcase .rt-grid-6.rt-alpha {
    flex-basis: 75%
}
.logo-type-preset4 #rt-showcase .rt-grid-6.rt-omega {
    flex-basis: 25%
}

@media only screen  and (max-width: 767px) {
	.logo-type-preset4 #rt-showcase .rt-grid-6.rt-alpha, .logo-type-preset4 #rt-showcase .rt-grid-6.rt-omega {flex-basis: 100%;}
}

/*adjusting transparent area on slideshow*/
.logo-type-preset4 .layout-slideshow .sprocket-features-content {
    background: rgba(0, 102, 153, 0.8);
    padding: 5px;
    font-family: 'Lusitana', serif;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
}

.logo-type-preset4 .layout-slideshow .sprocket-features-title {
    font-family: 'Lusitana', serif;
    margin: 5px;
    text-align: right;
    margin-right: 20px;
    border-bottom: none;
}
.logo-type-preset4.layout-showcase .sprocket-features-content {
    float: none;
    width: 100%;
    z-index: 1;
}
.logo-type-preset4 .layout-showcase .sprocket-features-img-container {
    float: none;
    width: 100%;
    z-index: 2;
}
/*hiding read more button on rotator*/
.logo-type-preset4 #rt-showcase a.readon {
    display: none;
}
/*READON BUTTONS*/

.logo-type-preset4 a.readon {
    color: white;
    background-color: #1261a6;
    padding: 5px 15px;
    border: 1px solid #1261a6;
    border-radius: 3px;
    margin-left: 10px;
}

@media only screen and (min-width: 481px) and (max-width: 767px) {
    .layout-slideshow .sprocket-features-title {
    font-size: 2em;
    }
}
@media only screen and (max-width: 480px) {
    .layout-slideshow .sprocket-features-title {
    font-size: 1.5em;
    }
}

/*********** MAIN BODY ****************/
.logo-type-preset4 #rt-main .rt-mainbody-wrapper {
    background: #e0d8c2;
}

/*accent lines*/
.logo-type-preset4 .sprocket-lists-portrait-container li {
    border-bottom: 1px solid black;
}
.logo-type-preset4 .active .sprocket-lists-portrait-item a {
    color: white;
    font-size: .8em;
    background-color: #1261a6;
    padding: 2px 10px;
    border: 1px solid #1261a6;
    border-radius: 3px;
}

/*************** USEFUL LINKS *************/
.logo-type-preset4 #rt-mainbody-surround .rt-sidebar-block {
    background: #79cbfc;
}
.logo-type-preset4 #rt-mainbody-surround .rt-sidebar-block h2 {
    color: #4e4e4e;
    font-size: 1.5em;
    font-family: 'Lusitana', serif;
    line-height: 1.8;
    padding: 0 1px 0 -10px;
    text-transform: none;
}
.logo-type-preset4 #rt-mainbody-surround .rt-sidebar-block .module-title {
    margin-bottom: 0px;
    margin-left: -10px;
    margin-top: -5px;
}
.logo-type-preset4 #rt-mainbody-surround .rt-sidebar-block .module-content {
    line-height: 14px;
}
.logo-type-preset4 body .nopaddingbottom, body .rt-block.nopaddingbottom, body ul.nopaddingbottom {
    padding-bottom: 2px !important;
}
.logo-type-preset4 #rt-content-bottom .title2 .module-title .title  {
    font-size: 2.5em;
    line-height: 1;
    font-family: 'Lusitana', serif;
    text-transform: none;
    color: #333333 !important;
    border-bottom: 1px solid black;
}

.logo-type-preset4 #rt-content-bottom .sprocket-lists-portrait-title {
    font-size: 1.7em !important;
    color: #333333;
    font-family: 'Lusitana', serif;
    margin: 2px 0;
}
.logo-type-preset4 #rt-content-bottom .sprocket-lists-portrait-item .portrait-text {
    font-size: 1.2em !important;
    line-height: 1.5em;
    color: #666666;
    font-family: 'Lusitana', serif;
    margin: 2px 0;
}

.logo-type-preset4 .module-title .title {
    line-height: 3;
    margin: 10px 10px;
    padding-top: 15px;
}
/*FOOTER*/
}

.logo-type-preset4 #rt-copyright div.rt-grid-12.rt-alpha.rt-omega {
    color: black;
}
.logo-type-preset4 #rt-copyright div.rt-grid-12.rt-alpha.rt-omega a {
    color: black;
}
.logo-type-preset4 hr {
    border-bottom: 1px solid black;
    border-top: 1px solid black;
}
.logo-type-preset4 #rt-copyright {
    background: #e0d8c2;
    padding-top: 50px;
}
.logo-type-preset4 #rt-copyright h2 {
    border-bottom: none;
}
/************ SEARCH ************/
.searchsearchtop-right label { display: none;}
.searchsearchtop-right {position:fixed; top: 5px; right: 5px; z-index: 11;}
.searchsearchtop-right input, .searchsearchtop-right input[type="text"] { height: 22px; border-radius: 5px}
.searchsearchtop-right input { width: 130px;}
.searchhidden-desktop input { margin: auto; width: 100%;}

/********** EQUAL TABLES ********************/
.equaltables { width: 100%; display: table; table-layout: fixed;}
.equaltables > div {	display: table-cell; margin: 10px; width: 2%; border: 10px solid rgba(0,0,0,0); vertical-align: top; word-break: break-word;}
 
@media only screen and (max-width: 767px){
 .equaltables, .equaltables div{ display: block; table-layout:auto; width: 100%; border: none; margin: 0;}
 .equaltables img { display: block; margin: 0 auto;}
}

/************ BREAKDOWN TABLES ON RESPONSIVE ************/
 
@media only screen and (max-width: 960px) {
 /* Force table to not be like tables anymore */
 .multiwide table, .multiwide thead, .multiwide tbody, .multiwide th, .multiwide td, .multiwide tr {
  display: block;
 }
 
 /* Hide table headers (but not display: none;, for accessibility) */
 .multiwide thead tr {
  position: absolute;
  top: -9999px;
  left: -9999px;
 }
 
 .multiwide tr { border: none; }
 
 .multiwide td {
  /* Behave like a "row" */
  border: none;
  border-bottom: none;
  position: relative;
  padding-left: 50%;
  padding-bottom: 5px;
 }
 
 .multiwide td:before {
  /* Now like a table header */
  position: absolute;
  /* Top/left values mimic padding */
  top: 6px;
  left: 6px;
  width: 45%;
  padding-right: 10px;
  white-space: nowrap;
 }
}
/************ FIX FOR IFRAMES ON IOS Devices ************/
iframe {width: 1px; min-width: 100%; }