/* stylelint-disable */

/* 	CSS CONTENTS
	----------------------------
	1) NEI Kids Content Area Baseline
	2) Content Area Footer Styles
	3) Printables Custom Styles
	4) Media Queries
*/


/*-------------------------------------------------------------------------*/
/*-- 1) NEI KIDS CONTENT AREA BASELINE ------------------------------------*/
/*-------------------------------------------------------------------------*/

#neikids-p-main{
    background-color: #dedede;
    padding-left: 1%;
    padding-right: 1%;
    width: 100%;
    padding-bottom: 25px;
}

/*-------------------------------------------------------------------------*/
/*-- 2) Content Area Footer Styles ----------------------------------------*/
/*-------------------------------------------------------------------------*/
.neikids-p-video {
    background-color: #ffffcd;
}

.neikids-p-footer {
    background-color: #33a4e1;
}

.neikids-p-footer .neikids-didyouknow-container h4 {
	color:#000;
}
.neikids-p-footer .neikids-didyouknow-container p {
	color:#000;
}


/*-------------------------------------------------------------------------*/
/*-- 3) Printables Custom Styles --------------------------*/
/*-------------------------------------------------------------------------*/


#neikids-p-main .neikids-header-container {
  float: left;
  position: relative;
    padding-bottom: 20px;
    padding-top: 0px;
    text-align: center;
    width: 100%;
}

#neikids-p-main .neikids-header-container > p {
    bottom: 0;
    font-size: 0.9em;
    left: 0;
    line-height: 1.5em;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 140px;
    position: absolute;
    right: 0;
    text-align: left;
    top: 0;
    width: 31%;
}

#neikids-p-main .neikids-header-container img{
    height:auto;
    width:100%;
    max-width:766px;
}


#neikids-p-main .neikids-item-container {
 background-color: #fff;
    float: left;
    height: 605px;
    margin-bottom: 15px;
    margin-left: 13px;
    padding-bottom: 45px;
    width: 250px;
}

#neikids-p-main .nei-p-image {
	margin:0;
}

#neikids-p-main .nei-p-image img{
    margin: auto;
    min-height: 40px;
    left:0;
    right: 0;
    top: 0;
    bottom:0;
}

#neikids-p-main .nei-p-image-right {
	margin:0;
}

#neikids-p-main .nei-p-image-right img{
    margin:0;
}

#neikids-p-main .text_contain {
    float: left;
    line-height: 27px;
    margin: 10px auto 10px 5%;
    text-align: left;
    width: 90%;
}

#neikids-p-main .text_contain p {
 font-size: 0.9em;
  line-height: 1.5em;
  margin-top: 0.7em;
}

#neikids-p-main .text_contain a,
#neikids-p-main .text_contain a:hover{
  text-decoration:none;
}

#neikids-p-main .text_contain h2 {
  margin: 0;
  color: #215c86;
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1.4em;
}

#neikids-p-main .text_contain > .neikids-online-catalog a{
    color: #215c86;
}

#neikids-p-main .nei-p-image {
   float: left;
    height: auto;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 18px;
    min-height: 285px;
    position: relative;
    text-align: center;
    vertical-align: middle;
    width: 90%;
}

#neikids-p-main .text_contain-right {
 float: left;
    font-size: 1em;
    line-height: 27px;
    margin: 40px auto 10px 10%;
    text-align: left;
    width: 80%;
}

#neikids-p-main .nei-p-image-right {
    float: left;
    height: auto;
    margin-left: 10%;
    margin-right: 10%;
    text-align: center;
    width: 80%;
}

.neikids-didyouknow-container h2 {
  color: #000;
}

/*-------------------------------------------------------------------------*/
/*-- 4) Media Queries -----------------------------------------------------*/
/*-------------------------------------------------------------------------*/

/*content realestate: 848px (stays fixed) */
@media (min-width: 1200px) {
/* default desktop css */
    #neikids-p-main {
       height: 1500px;
    }
    #neikids-p-main .neikids-header-container > p {
    width: 38%;
    }
}

/*content realestate: 698px (stays fixed) */
@media (min-width: 993px) and (max-width: 1199px){
    #neikids-p-main {
    height: 2110px;
    }
    #neikids-p-main .neikids-item-container {
    margin-left: 57px;
    }
    #neikids-p-main .neikids-header-container > p {
    bottom: 0;
    font-size: 0.9em;
    left: 0;
    line-height: 1.5em;
    margin-top: 117px;
    position: absolute;
    right: 0;
    text-align: left;
    top: 0;
    width: 38%;
    }
}

/*content realestate: 533px (stays fixed) */
@media (min-width: 941px) and (max-width: 992px),
(min-width: 768px) and (max-width: 940px)
{
/* ----------- Kindle Fire HD 7  portrait-mode: 800px----------- */
/* ----------- Galaxy Tab 10.1   portrait-mode: 800px----------- */
    #neikids-p-main {
      height: 2200px;
    }
    #neikids-p-main .neikids-header-container > p {
    bottom: 0;
    font-size: 0.7em;
    left: 0;
    line-height: 1.2em;
    margin-top: 86px;
    position: absolute;
    right: 0;
    text-align: left;
    top: 0;
    width: 39%;
    }
    #neikids-p-main .neikids-item-container {
    width: 235px;
     margin-left: 7px;
      height: 660px;
    }
    #neikids-p-main .text_contain p {
        font-size: 0.8em;
    }
}

/*content realestate: min 679px scales to max 710px */
/* note: content section pops out with a big increase @ 768 */
@media (min-width: 736px) and (max-width: 767px) {
    /* force fixed for consistancy*/
    #neikids-p-main{
    height: 2110px;
    width: 679px;
    margin-left: auto;
    margin-right: auto;
    }
    #neikids-p-main .neikids-header-container > p {
    font-size: 0.9em;
    margin-top: 115px;
    line-height: 1.5em;
    width: 40%;
    }
    #neikids-p-main .neikids-item-container {
    margin-left: 60px;
    }
    #neikids-p-main .text_contain h2 {
    font-size: 1.2em;
    }
    #neikids-p-main .text_contain p {
    font-size: 0.8em;
    }
}

/*content realestate: min 583px scales to max 678px */
@media (min-width: 640px) and (max-width: 735px) {
/* ----------- Galaxy S3 landscape-mode: 640px ----------- */
/* ----------- Galaxy S4 landscape-mode: 640px ----------- */
/* ----------- Galaxy S5 landscape-mode: 640px ----------- */
/* ----------- iPhone 6 landscape-mode: 667px----------- */
    /* force fixed for consistancy*/
    #neikids-p-main
    {
     height: 2060px;
    width: 583px;
    margin-left: auto;
    margin-right: auto;
    }
    #neikids-p-main .neikids-item-container {
    margin-left: 25px;
    }
    #neikids-p-main .neikids-header-container > p {
    font-size: 0.8em;
    line-height: 1.5em;
    margin-top: 98px;
    width: 39%;
    }
    #neikids-p-main .text_contain p {
    font-size: 0.8em;
    }
    #neikids-p-main .text_contain h2 {
    font-size: 1.2em;
    }

}

/*content realestate: min 511px scales to max 582px */
@media (min-width: 568px) and (max-width: 639px) {
/* ----------- iPhone 5/S landscape-mode: 568px----------- */
/* ----------- Asus Nexus 7 portrait-mode:: 601px----------- */
    /* force fixed for consistancy*/
    #neikids-p-main
    {
    height: 2035px;
    width: 511px;
    margin-left: auto;
    margin-right: auto;
    }
    #neikids-p-main .neikids-item-container {
    margin-left: 10px;
    width: 235px;
    }
    #neikids-p-main .nei-p-image {
    margin-left: 3%;
    margin-right: 3%;
    width: 94%;
    margin-top: 10px;
    }
    #neikids-p-main .neikids-header-container > p {
    font-size: 0.7em;
    line-height: 1.5em;
    margin-top: 84px;
    width: 39%;
    }
    #neikids-p-main .text_contain p {
    font-size: 0.8em;
    }
    #neikids-p-main .text_contain h2 {
    font-size: 1.2em;
    }
}

/*content realestate: min 357px scales to max 510px */
@media (min-width: 414px) and (max-width: 567px) {
/* ----------- iPhone 6+  portrait-mode: 414px ----------- */
/* ----------- iPhone 4/S landscape-mode: 480px----------- */
    /* force fixed for consistancy*/
    #neikids-p-main
    {
    height: 3515px;
    margin-left: -5%;
    margin-right: auto;
    width: 357px;
    }
    #neikids-p-main .neikids-item-container {
    margin-left: 50px;
    }
    #neikids-p-main #neikids-item-6 {
    height: 200px !important;
    }
    #neikids-p-main .text_contain p {
    font-size: 0.8em;
    }
    #neikids-p-main .neikids-header-container {
    padding-bottom: 65px;
    }
    #neikids-p-main .neikids-header-container > p {
    font-size: 0.8em;
    line-height: 1.5em;
    margin-top: 115px;
    width: 71%;
    }
    #neikids-p-main .text_contain p {
    font-size: 0.8em;
    }
    #neikids-p-main .text_contain h2 {
    font-size: 1.2em;
    }
}

/*content realestate: min 303px scales to max 356px */
@media (min-width: 360px) and (max-width: 413px) {
/* ----------- Galaxy S5  portrait-mode: 360px ----------- */
    #neikids-p-main {
    margin-left: -3%;
    }
    #neikids-video {
    margin-left: -3%;
    }
    #neikids-footer {
    margin-left: -3%;
    }
}
@media (min-width: 375px) and (max-width: 413px) {
/* ----------- iPhone 6   portrait-mode: 375px ----------- */
    #neikids-p-main {
     margin-left: auto;
    }
    #neikids-video {
    margin-left: auto;
    }
    #neikids-footer {
    margin-left: auto;
    }
}
@media (min-width: 360px) and (max-width: 413px) {
    /* ----------- Galaxy S5  portrait-mode: 360px ----------- */
    /* ----------- iPhone 6   portrait-mode: 375px ----------- */
    /* force fixed for consistancy*/
    #neikids-p-main {
    height: 3520px;
    width: 303px;
    margin-right: auto;
    }
    #neikids-p-main .neikids-item-container {
        margin-left: 25px;
    }
    #neikids-p-main #neikids-item-6 {
    height: 200px !important;
    }
    #neikids-p-main .text_contain p {
        font-size: 0.8em;
    }
    #neikids-p-main .neikids-header-container {
    padding-bottom: 80px;
    }
    #neikids-p-main .neikids-header-container > p {
    font-size: 0.8em;
    line-height: 1.5em;
    margin-top: 107px;
    width: 83%;
    }
    #neikids-p-main .text_contain p {
    font-size: 0.8em;
    }
    #neikids-p-main .text_contain h2 {
    font-size: 1.2em;
    }
}

/*content realestate: min 263px scales to max 302px */
@media (min-width: 0px) and (max-width: 359px) {
/* ----------- iPhone 4/S portrait-mode: 320px ----------- */
/* ----------- iPhone 5/S portrait-mode: 320px ----------- */
/* ----------- Galaxy S3  portrait-mode: 320px ----------- */
/* ----------- Galaxy S4  portrait-mode: 320px ----------- */
    /* force fixed for consistancy*/
    #neikids-p-main
    {
    height: 3615px;
    margin-left: -3%;
    margin-right: auto;
    width: 263px;
    }
    #neikids-p-main .neikids-item-container {
    margin-left: 10px;
    width: 240px;
    height: 625px;
    }
    #neikids-p-main #neikids-item-6 {
    height: 200px !important;
    }
    #neikids-p-main .text_contain p {
    font-size: 0.8em;
    }
    #neikids-p-main .neikids-header-container {
    padding-bottom: 93px;
    }
    #neikids-p-main .neikids-header-container > p {
    font-size: 0.8em;
    line-height: 1.5em;
    margin-top: 94px;
    width: 89%;
    }
    #neikids-p-main .text_contain p {
    font-size: 0.8em;
    }
    #neikids-p-main .text_contain h2 {
    font-size: 1.2em;
    }
    #neikids-footer {
    height: 225px;
    }
}

/* stylelint-enable */
