/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

body {
    font-size: 1em;
    line-height: 1.4;
	background: #edf9ff url("../img/bg.jpg") repeat-x center top;
	font-family: Arial, Helvetica, sans-serif;
}

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

img {
    vertical-align: middle;
}

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#container {
    width: 100%;
}

#content {
	width: 1023px;
	height: 435px;
	background: url("../img/content.jpg") no-repeat center top;
	margin: 0 auto;
	padding: 57px 0 10px 0;
	position: relative;
	overflow: auto;
}

#content-bottom {
	width: 1024px;
	height: 850px;
	margin: 0 auto;
	position: relative;
}

#bottom-wrapper {
	background:transparent url("../img/activities.jpg") no-repeat center top;
 	width: 1023px;
	height: 832px;
    float:left;
}

#advert-slug {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
}

div.topad {
	width: 738px;
	margin: 25px auto;
	padding: 0 0 0 10px;
	background-image: url("../img/adslug-vertical.gif");
	background-repeat: no-repeat;
	background-position: bottom left;
	border: 0;
	height: 90px;
}

#main_promo {
	width: 540px;
	margin: -15px 0 0 35px;
	float: left;
}

#main_promo p {
	font-size: 15px;
	text-align: left;
	color: #ffffff;
	line-height: 16px;
	font-family: Arial, Helvetica, "sans serif";
	width: 360px;
	margin: 30px 0 0 185px;
}

div.hr-title {
	width: 350px;
	margin: 5px 0 5px 0;
	height:1px;
	background-color:#fff;
	float: left;
}

#video_wrapper {
	background: url('../img/bg-video.png') no-repeat;
	width:412px;
	height:242px;
	margin: 45px 20px 0 0;
	float:right;
}

#video_container {
	width:384px;
	height:217px;
	margin:0 auto;
	margin: 14px 0 0 14px;
}

#video_container a {
	color: #FFFFFF;
	font-weight:normal;
	positon:relative;
}

#video_container a:hover {
	color: #FF3333;
	font-weight:normal;
}

div.modules {
	margin:0 auto;
}

div.hr-section {
	width: 940px;
	margin-left: 40px;
	height:1px;
	background-color:#fff;
	float: left;
}

#activities {
	margin:20px 0 15px 40px;
}

#just-for-mom {
	margin:30px 0 0 40px;
}

#babble {
	margin:30px 0 0 40px;
}

#title-activities {
	width: 234px;
	height: 25px;
	background: url("../img/title-activities.png") no-repeat;
	margin-bottom: 10px;
}

#memory-game {
	width: 245px;
	height: 186px;
	background: url("../img/memory-game.png") no-repeat;
	margin-right: 100px;
}

#printable-1 {
	width: 245px;
	height: 186px;
	background: url("../img/printable-1.png") no-repeat;
	margin-right: 100px;
}

#printable-2 {
	width: 245px;
	height: 186px;
	background: url("../img/printable-2.png") no-repeat;
}

#title-formom {
	width: 148px;
	height: 25px;
	background: url("../img/title-formom.png") no-repeat;
	margin-bottom: 5px;
}

#title-spoonful {
	width: 509px;
	height: 42px;
	background: url("../img/title-spoonful.png") no-repeat;
	margin-bottom: 5px;
}

#papercraft-ariel {
	width: 237px;
	height: 178px;
	background: url("../img/papercraft-ariel.png") no-repeat;
	margin-right: 100px;
	margin-left: 5px;
}

#papercraft-monsters {
	width: 237px;
	height: 178px;
	background: url("../img/papercraft-monsters.png") no-repeat;
	margin-right: 100px;
	margin-left: 5px;
}

#title-babble {
	width: 254px;
	height: 58px;
	background: url("../img/title-babble.png") no-repeat;
	margin-bottom: 5px;
}

#article-1 {
	width: 237px;
	height: 178px;
	background: url("../img/article-1.png") no-repeat;
	margin-right: 100px;
	margin-left: 5px;
}

#article-2 {
	width: 237px;
	height: 178px;
	background: url("../img/article-2.png") no-repeat;
	margin-right: 100px;
	margin-left: 5px;
}

footer {
    margin-top:10px;
}

div #gde_footerContents {
    background-color:transparent;

}

/**** popup overlay styles ******/
#gameOverlay {
    width:100%;
    position:absolute;
    top:20%;
    z-index:100000001;
    display:none;
}

#gameCentered {
    margin:0 auto;
    width:600px;
}

#overlayBackground {
    background-color:black;
    opacity:0.0;
    filter: alpha(opacity=50);
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:none;
    z-index:100000000;
}

.site_modal {
    display:inline-block;
    min-width:600px;
    min-height: 400px;
    padding:15px;
    border-radius:20px;
    border:2px solid #fff;
    box-shadow: -4px -4px 20px 10px rgba(0,0,0,.3);
    background-color:#5fd0f2;
    position:relative;
	
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;

    -webkit-transition:width 1s, height 1s;
    -moz-transition:all 1s;
    background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0.99, #1973c2),color-stop(0.33, #003366));
    background-image: -moz-linear-gradient(#1973c2 33%, #003366 99%);
    background-image: -ms-gradient(linear,left bottom,left top,color-stop(0.99, #1973c2),color-stop(0.33, #003366));
    background-image: -o-gradient(linear,left bottom,left top,color-stop(0.99, #1973c2),color-stop(0.33, #003366));
}

.site_modal_close {
    border:2px solid #fff;
    position:relative;
    border-radius:100px;
    z-index:1001;
    background-color:#ec4e0e;
    cursor:pointer;
    padding:0 6px 0;
    position:absolute;
    top:-11px;
    right:-11px;

    background-image: -webkit-radial-gradient(white, #ec4e0e, white);
    background-image: -moz-radial-gradient(white, #ec4e0e, white);
    background-image: -ms-radial-gradient(white, #ec4e0e, white);
    background-image: -o-radial-gradient(white, #ec4e0e, white);

    -webkit-transition:all 300ms;
    -moz-transition:all 300ms;
    -o-transition:all 300ms;
    transition:all 300ms;
}

.site_modal_close:hover {
   color:white;

   background-image: -webkit-radial-gradient(#ec4e0e, white);
   background-image: -moz-radial-gradient(#ec4e0e, white);
   background-image: -ms-radial-gradient(#ec4e0e, white);
   background-image: -o-radial-gradient(#ec4e0e, white);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}