/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

*{
		margin:0;
		padding:0;     
		font-weight: lighter;
        position: relative;
        border:none;

            }
body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
                width:810px;
                margin:auto;
                background: #fff;

            }

            article p{
                font-size: 1.1em;
                line-height: 1.65em;
                font-family: Helvetica, Arial, Verdana, sans-serif;
                color:#5f5244;

            }
            #wrapper{

                background: #f0e9e2;
            }
            #indexing{
                font-size: 2.25em;
                left:32px;
                top:40px;
                color: #eadac5;
                text-shadow: 4px 4px 8px #1A383D;
                font-weight: 400;
                font-family: 'Yesteryear', cursive;

            }

            h1 div{
                position: relative;
                float: left;
            }
            
            header#goals-header{
            	     background: url('https://media.ldscdn.org/family-search-indexing/images/familysearch-header.jpg') no-repeat center;
               }
               
            header#welcome-header{
            	     background: url('../images/family-search-indexing-welcome-header.jpg') no-repeat center;
            	     height:516px;
               }
               header#guidelines-header{
            	     background: url('../images/family-search-indexing-community-guidelines-header.jpg') no-repeat center;
               }

            header{
            width: 810px;
            height: 434px;

            }

            #logo{
                background: url('https://media.ldscdn.org/family-search-indexing/images/familysearch-logo.png');
                text-indent:100%;
                overflow: hidden;
                white-space: nowrap;
                width: 270px;
                height: 88px;
                left: 22px;
                top:17px;
            }

            #main-section{
                margin: 55px 65px 110px 65px;
            }
            #banner-top-right{
                font-size: 1.6em;
                line-height: 1.1em;
                text-align: center;
                top:25px;
                left:112px;
                color: #eadac5;
                text-shadow: 4px 4px 8px #553213;
                font-family: Georgia,'Times New Roman', times, serif;
                width:150px;
                float:left;

            }

            #online{
                font-size: 1.45em;
                line-height: 1.2em;
                font-style: italic;
            }
			#welcome{
				text-align:left;
				}
			#banner-bottom h2{
				font-size: 3.05em;
				position:relative;
				font-family: 'Yesteryear', cursive;}
				
			#welcome{
				top:-.85em;
				float:left;}
			#banner-bottom p{
				text-align:left;
				width:60%;
				font-size:1em;
				position:relative;
				top:-.35em;
				float:left;
				margin-left:9%;}	
            #banner-bottom{
                clear: both;
                width:60%;
                margin:auto;
                text-align: center;
                top:220px;
                color: #e6d7bf !important;
                font-weight: 400;
           }
           
           #banner-bottom h2{
           		color: #e6d7bf !important;
      		}
      		nav{
      			position:absolute;
      			width:810px;
      			top:25.25em;}
            #welcome-nav li{
            	list-style:none !important;
            	float:left;
            	text-align:center;
            	font-size:1.25em;
            	padding: 1% 6.5%;
				margin: 1.5% 0;
            	}
            	
            
        		
        	#main-section ul{
        		list-style:disc;
        	}	
        	
        	#main-section ul ul{
        		list-style:square;
        	}	
        		
        	#main-section ol{
        		list-style:decimal;
        	}	
        	
        	#main-section ol ol{
        		list-style:lower-alpha;
        	}	
        		
			#welcome-nav li a{
				color:#6e5d4b;
				text-decoration:none;}
				#welcome-nav li a:hover{
				text-decoration:underline;}
            h3{
               font-family:'Times New Roman', times, serif;
               color: #4c4134;
               font-weight: bold;
               font-size: 1.45em;
               margin:0;
               margin-top:2em;
            }

            hr{
                width:105%;
                left:-10px;
                margin: 10px 0 10px 0;
            }
            a{
            	color:#506EAD;
            	text-decoration:none;
            	}
            	
            a:hover{
            	color:#2D3E63;
            	text-decoration:underline;}	

            .graph{
                background: url('https://media.ldscdn.org/family-search-indexing/images/familysearch-graph.jpg') no-repeat;
                width: 345px;
                height:292px;
                float: left;
                margin: 0 0 0 50px;
            }

            .graph:nth-child(even){
                margin: 0 0 0 30px;
            }

            #graph-key{
                font-family:'Times New Roman', times, serif;
               color: #4c4134;
               font-weight: bold;
               font-size: 1.45em;
               left:100px;
               top:90px;
            }

            #graph-key span{
                font-size: 2.5em;
                line-height: .54em;
                position: relative;
                top: 7px;
                margin-right:30px;
            }

            #key1{
                color:#3f87a9;
            }
            #key2{
                color:#a03b1f;
            }
            #key3{
                color:#3ba337;
            }

            #graph-key li{
                list-style: none;
                margin:0;
            }
            .clearfix{
                clear:both;
                height:4em;
            }
            #current-goal-ammount{
                position: relative;
                left: 11.8%;
            	top:3.5em;
            	}

            #goal-header{
                margin-top: 95px;
            }
            aside{
                float: left;
                width:220px;
                margin:80px 10px 0 0;
            }
	    section.video{
	    	padding-bottom:4em;
	    	width:560px;
	    	/*border-bottom: 2px dotted #D8D5D2;*/}
	    section.video hr{
	    	width:100%;
	    	margin: 1em 0 1.5em 0;
	    	border-top:1px solid #D3C7BB;
	    	}
	    .welcome-video{
		width: 520px;
		height: 243px;
		border: 4px solid #8b7d6e;
		margin-bottom:1.85em;
	    }
	    
	    .youtube-vid{
	    	height:280px !important;
	    }
	    
	    .video-title-bar{
		width:520px;
		height:50px;
		position: absolute;
		bottom:0;
		background: rgba(255, 252, 249, 0.75);
	    }
	    .video-title-bar h4{
	    	float:left;
	    	margin: 1em auto auto .75em;
	    	font-family:'Times New Roman', times, serif;
            color: #4c4134;
            text-decoration:none;
            font-style:italic;
	    	}
.video-title-bar p{
	font-size: 1.45em;
	float: right;
    margin:.35em .9em auto auto;
}

.video-title-bar p .arrow{
	font-size:.5em;
	}

.welcome-video  a{
	text-decoration:none;
	color:#8b7d6e;
	width:520px;
	height:243px;
	display:block;
	}
.welcome-video:hover p{
	text-decoration:underline;}
.welcome-video:hover .video-title-bar h4{
	text-decoration:underline;}


  .thermometer-container h3 {
              float:left;
              margin-right:4em;
              width:50%
            }
            .thermometer-container {
              width:13.38em;
              float:left;
              height:auto;
            }
            iframe {
              float:left;
            
            }
            ​






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
