@import url('lmenu.css');
@import url('vbox.css');

:root {
    --dark: #13565b; /*#76846e;*/
    --light: #678588; /*#3c4238*/
    --text: #444;
    --beige: #e5dbcf;

    --b1: 900px;
    --collapse: 768px;
}


body { font-family: "Raleway", arial; color: var(--text); padding: 0; margin:0; line-height:1.5em; width:100%;}
a:-webkit-any-link {  color: var(--dark); text-decoration:none; }
a {  color: var(--dark); text-decoration:none; }
a:hover { text-decoration: underline; }

.home { width: 100%; }
.homeTop {
    background: /*linear-gradient(to bottom, transparent black), */  no-repeat center;
    background-size: cover;
    width: 100%;
    height: 750px;
    position: relative;
}

.homeTop .txtBlock {  color: white; z-index:10; position: absolute; bottom: 120px; left: 80px; }
.homeTop .txtBlock p { max-width:800px; line-height: 1.8em; margin-bottom:40px;}

.txtBlock h1 { line-height: 1.1em; }
.homeTop .txtBlock > a { border: 1px solid white;   color:white; }

.btn {
    text-align:center;
    padding:10px 25px 10px 25px;
    text-decoration:none;
    font-size:13px;
    margin:20px 20px 0 0px;
    max-width: 200px;
    text-transform: uppercase;
}

.btn:hover {
    text-decoration: none;
}

.homeTop .txtBlock a:hover { background: white; color: #555; }

.homeTop h1 { font-weight: 500; font-size: 3.4em; padding:0; margin:0;}

.homeTop .grad {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*    background-image: linear-gradient(to bottom right, transparent, black);*/
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, transparent 40%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.9) 100%);
    z-index:9;
} 

.infoblock {
    max-width: 900px;
    margin: auto;
    margin-bottom:20px;
    padding: 10px;
}
.infoblock header { background: #fff; }


.headCont { max-width: 90%; margin:auto; }

header .logo img { width:400px;}

.twrap {
    display: grid;
    flex-wrap: flex;
    justify-content: space-between;
    grid-template-columns: 350px minmax(400px,900px);
    grid-template-rows: 140px auto auto;
    grid-template-areas: "h h"
                         "m c"
                         "d c"
                         
    ;
    margin: 0 auto;
    max-width: 1150px;
    padding: 0 10px;
}

header {
    padding-top:40px;
    display: flex;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    justify-content: space-between;
}

.homeTop header {
    color: white;
}

.twrap header {
    background: #fff;
    grid-column:1;
    grid-area: h;
    row-span: 2;
}

.az header { background: #fff; }


.twrap article { grid-area: c; grid-row:span 2;  min-height:600px; border:0px solid #999; }

.twrap article h1 { font-size:60px; font-weight: 500; line-height:1.0em; margin:10px 0 0 0;}
.twrap article h2 { font-size:35px; font-weight: 500; margin-top:10px;}
article .content { line-height: 1.8em; }


.donate {
    grid-area: d;
    border: 0px solid var(--dark);
    place-self: end left;
    width:260px;
    z-index:2;
    min-height:300px;
    background: #fff;
    border: 5px solid #fff;
}
.donate h4 { font-size:1.6em; font-weight:800; margin-bottom:10px;}
.donate .gbox {
    display:flex;
    margin-bottom:10px;
}
.donate .aabox { 
    border: 1px solid var(--light);
}

.donate .aabox .amount { background: var(--beige); font-size:12px; padding:10px; text-align:center; }
.donate .aabox .abox { padding: 10px 20px; border: 1px solid var(--dark); margin:20px 30px 12px 30px; }
.donate .aabox .button { margin: auto; width:200px; background: var(--light); color: white; padding: 6px 0; text-align:center; font-size: 13px; }
.donate .aabox .abox > span:nth-of-type(2) { padding-left:20px; font-size:13px;}
.donate .gbox > div { flex:1; border:1px solid var(--light); text-align:center; font-size: 11px;padding: 5px;}
.donate .gbox > div:nth-of-type(2) { background: var(--light); color: white; }
.aabox .info { font-size:10px; text-align: center; margin:10px 0 10px 0; }

.bwrap {
    display: grid;
    width:100%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 40px auto;
    grid-template-areas: "p n"
                         "f f";
}

.buttwrap { display: flex; width:100%; border:0px solid red; margin:60px 0; white-space: nowrap; }

.buttwrap a > div { padding:5px 20px; font-weight:bold; font-size:1.2em; }
.buttwrap a > div i { padding: 10px 20px; font-size:1.2em;}
#prevbutton { flex:1; background: #fff; border-top:1px solid var(--dark); border-bottom:1px solid var(--dark);  text-align:right; }
#nextbutton { flex:1; background: var(--dark); color:white; }
#nextbutton a { color: white; }

#___gcse_0 { flex-grow: 2;}
.gsc-control-cse { padding: 0 !important; margin:0 !important; }
.gsc-control-cse { padding: 0 !important; margin:0 !important; }
.gsc-input { width: 400px !important; padding-right:0px !important; }
.gsc-input-box { border: 1px solid #555 !important; margin-top:-1px; border-top-left-radius: 0px !important; border-bottom-left-radius: 0px !important; padding-top:0px !important; padding-bottom:0px !important; }
.gsc-search-box  { background: transparent !important; }
.gsc-search-button {display:none; }
.gsc-control-cse { border-color: transparent !important; }
.gsc-control-cse { background-color: transparent !important; }
.gcse-search { margin-top:0px;} 

.search2 input { border: 0px solid #555; height: 26px !important; padding:0 30px !important; }
header .rboxes { display:flex;flex-wrap: wrap; padding-top:19px; }
header .rboxes  > a { border: 1px solid #555;  height:23px; text-align:center;padding:5px 15px; text-decoration:none; font-size:13px; margin-right:20px; text-align:center; flex: 0; min-width: 30px;}
/*.homeTop header .rboxes  > a { border: 1px solid #fff; color: white; }*/

header .rboxes  > a:hover { color: white; background: var(--dark); }
header .rboxes  .search input { padding: 0px 0px 0px 25px; height:34px; border: 1px solid #555; }

header .lg, header .lg{ min-width:100px; }
         
header .search i { margin-left:-25px;  }

footer {
    background: var(--light);
    color: white;
}


footer a:-webkit-any-link{ color: white; display:block; margin: 14px 0;}
footer a { color: white; display:block; margin: 14px 0;}

footer .logos {
    margin:auto;
    max-width: 1200px;
}

footer .logos img { max-width:350px; text-align: center; margin:auto; }



footer .logos hr {
    margin:0 60px;
}
footer .logos > div {

    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}


footer .links {
    margin: auto;
    max-width: 1000px;
}
footer .links > div {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    
}
    
footer .links h2 {
    font-size: 2.8em;
}

    
footer .links hr {
    margin: 60px 0;
}
footer .links ul { margin:0; padding:0; }
footer .links li {list-style-type: none; padding:0; margin:0;}
    

footer .copy {
    font-size: 13px;
    text-align: center;
    line-height: 30px;
    padding-bottom: 10px;
}

footer .rf {
    text-align: center;
    margin:auto;
    font-size:10px;
}


.features { max-width: 1310px; margin:auto;}
.features h2 { font-size: 2.6em; line-height:1.1em;}

.featuredBlocks {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    margin-bottom:15px;
    position:relative;
    max-width: 640px;
    margin:15px auto;
    min-height: 400px;
}
.feature .buttons {
    display: flex;
    justify-content: space-between;
       position: absolute;
    /*margin-top:40px;*/
    bottom: 20px;
}

.feature .buttons a {
    border: 1px solid white;
    color: white;
    padding: 5px 20px;
    margin-right: 15px;
    text-transform: uppercase;
    font-size: 0.8em;
}
.feature .buttons a:hover {
    background: var(--dark);
    text-decoration: none;
}

.feature article {
    position: relative;
    background: var(--light);
    color: white;
    min-width: 300px;
    padding: 20px 30px 30px 30px;
    font-size: 0.8em;
    line-height: 1.8em;
    min-height:250px;
}

.feature article .fcontent {
    overflow: hidden;
    padding-bottom:40px;
}


.feature article h3 {
    font-size: 1.6em;
}

.linkBlock {
    max-width: 1310px;
    margin: auto;
    margin-top:60px;
}

.linkBlock .a-zMid {
    margin: 40px 0;
    text-align:center;
}

.linkBlock .a-zMid a.btn { color:white; }

.linkBlock .links > ul {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(100px, 180px));
    font-size: 14px;
    justify-content: space-between;
    align-items: center;
}
.linkBlock li { list-style-type: none; }
    
.linkBlock .links a { color: var(--light); }

.linkBlock .btn {
    background: var(--light);
    color: white;
    display:inline-block;
}
.linkBlock .btn:hover { background: var(--dark); border: 0px solid red;}


@media (max-width: 500px) {
    .feature img { display:none;}
    .feature article { min-width: 90%; }
    .linkBlock .links > ul {
        display: none !important;
    }
    .linkBlock { margin-top: 20px;}
    
}

.testimonial {
    height: 390px;
    width: 830px;
    border: 1px solid var(--dark);
    position: relative;
    margin:100px;
}
.testimonial .content {
    z-index:1002;
    position:relative;
}
.testimonial .whattheysay {
    position:absolute;
    top: 100px;
    left: 160px;
    font-size:10px;
    text-transform: uppercase;
}
.testimonial .quote {
    font-style:italic;
    font-size: 36px;
    font-weight: 500;
    position: absolute;
    line-height: 1.4em;
    text-align: center;
    top: 140px;
    left: 100px;
    width: 400px;
    max-height: 200px;
    overflow:hidden;
}

.testimonial .q {
    font-size: 500px;
    font-family:serif;
    position: absolute;
    color: var(--beige);
    top:-160px;
    left:-35px;
}
.testimonial .bgImage { position: absolute; top:0;left:0; z-index:90;}
.testimonial .bgImage img { width: 100%; height: 390px; }

.testimonial .grad {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top left, rgba(255,255,255,0.6), rgba(255,255,255,1.0));
    z-index:99;
}

.dotest .donate {
    width:300px;
    zoom: 1.5;
    -moz-transform: scale(1.5) translateY(-120px);
}

.dotest {
    display: flex;
    max-width: 1310px;
    margin: auto;
}

.letters { position: sticky; }

.letters a {
    background: var(--dark);
    display: inline-block;
    color: white;
    font-weight: 500;
    font-size: 30px;
    padding:10px;
    margin:10px;
}

.a-zlinks h2 { background: var(--dark); color: white; padding:10px 30px; grid-column: 1/-1;}

.a-zlinks   {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(auto-fill, minmax(100px, 180px));
    font-size: 14px;
    justify-content: space-around;
    margin-bottom:40px;
}
.a-zlinks a {
    display: block;
}

a.anchor {
    position:relative;
    top:-120px;
    visibility:hidden;
}

.az { max-width: 1310px; margin:auto; }

.introBlock { margin-top:40px; }

.introBlock > img { float: left; display: inline-block; border: 2px solid #777; margin-right: 40px; }

.introBlock .rblock { float: left; max-width: 500px;}

.introBlock .rblock > div { padding-bottom: 10px; }
.introBlock .rblock > div > b { padding-right: 10px; }

.person .vbox { margin:40px 0; }

.creditText { margin-top:30px; line-height: 1.6em; }
.creditText br { margin-bottom:15px;}
/*----------------------*/
.twrap.topic {
    background:#fff;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "h"
                         "m"
                         "c"
                         "d"
    ;
    margin: 0 auto;
    max-width: 1000px;
    justify-items: left;
}

.topic h1 { margin-top:60px; }
.topic .bar {
    background: #666;
    color: white;
    width: 100%;
    padding: 5px 10px 0 10px;
}

.topic .tankarticle , .topic .tankpad2, .topic .tankedit { display:  inline-block;} /*tankpad2 { display: inline; }*/
.topic .tankarticle { margin-left:5px; }
.topic h1 a , .topic h2 a { color: #009; }
article h2 { line-height:1.1em; }

.atop { display: flex; margin-bottom:20px;}
.atop .Outline { margin:10px 0;}
.atop > img { height: 100%; flex-shrink:0; }
.twrap article.interview h1 { margin-bottom: 20px; }

.interview .rblock {  margin-left:20px; }

.interview .rblock > div { padding-bottom: 5px; }
.interview .rblock > div > b { padding-right: 10px; }

.peeps { display:flex; max-width:900px;justify-content: space-around; flex-wrap: wrap; }
.peep { border: 1px solid #999; padding:10px; margin-bottom:20px; clear:both; display: flex; flex-wrap: wrap; width:250px; }
.peep h3 { width: 100%; margin: 3px 0 10px 0;}
.peep .txt { width: 300px; }
.peep img { margin-bottom:10px; }

.rboxes a { background:white; }
.rboxes > div input { min-width:240px;  border: 0px solid red;}

.twrap .lmenu { margin: 10px; }
.menubutton { display: none; }

.gcse-search2 { border: 1px solid #333; height: 35px; background:white; flex-grow:1; width:400px;}

img { max-width: 95%; height:auto; }


.loginBlock input { padding: 5px; }

#embedCode { margin: 10px 0; color: #009; }
@media (max-width: 1100px) {
    header .logo img { width:280px; }
}
@media (max-width: 420px) {
    .long { display: none;}
}

@media (max-width: 760px) {
@media (max-width: 760px) {

    .twrap { display: flex; flex-wrap: wrap; justify-content: space-between;    }
    .twrap .menubutton { display:block;}
    .twrap .lmenu { width: 90%; margin:auto; margin-top:10px; display:none; }
    header .rboxes { width: 95%; max-width:95%; margin: auto;  padding-top:0px;}
    header { position: relative; border: 0px solid red; width: 100%; min-width:320px;}
    .links { text-align: center; }
    .twrap article h1 { font-size: 40px; }
    header { padding-top:20px; padding-bottom:10px;}
    .twrap article h2 { font-size: 25px; }
    .txtBlock h1 { font-size: 40px; }
}
@media (max-width: 1300px) {
    .features h2 { text-align: center; }
}

.fakecontent { width: 100%; max-width:500px; min-height:600px; border: 1px solid #880;background:#eee; }

.researcher > div { display: grid;grid-template-columns: 140px auto; }

.moretoggle { cursor: pointer; }
.more { display: none; }
@media (max-width:850px) {
    .gsc-input { width: 300px !important; }
}
.invisAnc { margin-top: -120px; margin-bottom: 120px; }
@media (max-width:750px) {
    .homeTop .txtBlock { left:50px;}
    .content img { max-width: 100%; height:auto !important; }
}

@media (max-width:600px) {
    .homeTop .txtBlock { padding-right:20px; }
    footer a { margin: 14px auto; }
    footer .logos img { width: 80%; display:block; }
    .a-zlinks {
        grid-template-columns: repeat(auto-fill, minmax(100px, 280px));
    }
    footer .links > div  { display:block; }
}
@media (max-width:500px) {
    .gsc-input { width: 250px !important; }
    #CAFDonateWidgetContainer { display:none; }
}

@media (max-width:450px) {
    #prevbutton span, #nextbutton span { display:none; }
/*  .rboxes { display:none !important; }*/
    .rboxes > div input { min-width:80%;     }
    .homeTop .txtBlock { left:30px;}
    .gsc-input { width: 250px !important; }
}
@media (max-width:400px) {
    header .rboxes > a { margin-right:10px; }
    .gsc-input { width: 200px !important; }
}

@media (max-width: 500px) {
    .rtecenter iframe { width:320px !important; }
}

@media (max-width: 360px) {
    .rtecenter iframe { width:280px !important; }
}

.main-body { border: 2px solid red; width:300px !important; }

#button-single-donation { border:2px solid yellow; }
.gsc-result { z-index:1111; }
/**/


