/*
 * iPhone 6
 */

@media only screen and (max-device-width: 667px) 
    and (-webkit-device-pixel-ratio: 2)
{


.container, #featured .container {
  width: 100%;
}

#content, body.page #content {
  width: 100%;
}

#sidebar {
  width: 100%;
}

#sidebar .widget { 
  width: 76%; 
}

form#searchform {
  float: none !important
}

.entry-content {
  padding: 0 10px 30px;
}

/* HOME */
.home .et-featured-post {
  width: 100%;
}

.home #et-featured-posts {
  padding: 0px;
}

.home #content {
  width: 100%;
}

/* ADS NA SINGLE */

.innerads {
  margin-left:  0px !important;
  margin-right:  0px !important;
}

.topads {
  text-align: center !important;
}

.hypescience-ad {
    margin: 0px auto;
    padding-left: 0px;
}

.bottomads .hypescience-ad {
    margin: 1px;
}

.bottomads .hypescience-ad {
  clear: both;
  margin: 0px auto;
}

/* PAGINACAO */

#content .wp-pagenavi {
  text-align: center;
  float: none;
  margin: 30px 0 40px 0;
}

/* TABOOLA */

div#taboola-below-article-thumbnails {
  margin: 0 5px;
}

#sidebar .widget {
  padding-right: 0px;
  padding-left: 0px;
}

} /* end iPhone 6 */


/*
 * iPhone 6+
 */

@media screen and (min-device-width : 414px) 
    and (-webkit-device-pixel-ratio: 3)
{


.container, #featured .container {
  width: 100%;
}

#content, body.page #content {
  width: 100%;
}

#sidebar {
  width: 100%;
}

#sidebar .widget { 
  width: 76%; 
}

form#searchform {
  float: none !important
}

.entry-content {
  padding: 0 10px 30px;
}

.container, #featured .container {
    width: 100%;
}

/* HOME */
#featured .et-featured-post {
  width: 100%;
}

#featured #et-featured-posts {
  padding: 0px;
}

.home #content {
  width: 100%;
}

/* ADS NA SINGLE */

.innerads {
  margin-left:  0px !important;
  margin-right:  0px !important;
}

.topads {
  text-align: center !important;
}

.hypescience-ad {
    margin: 0px auto;
    padding-left: 0px;
}

.bottomads .hypescience-ad {
    margin: 1px;
}

.bottomads .hypescience-ad {
  clear: both;
  margin: 0px auto;
}

/* PAGINACAO */

#content .wp-pagenavi {
  text-align: center;
  float: none;
  margin: 30px 0 40px 0;
}

/* TABOOLA */

div#taboola-below-article-thumbnails {
  margin: 0 5px;
}

#sidebar .widget {
  width: none;
}

#sidebar .widget {
  padding-right: 0px;
  padding-left: 0px;
}

} /* end iPhone 6+ */


/*
 * iPhone 5
 */

@media screen and (max-device-width : 320px) 
    and (-webkit-device-pixel-ratio: 2)
{
/*
.bottomads .hypescience-ad {
  clear: both;
*/
}
}


/*
*
*
*
*  LANDSCAPE
*
*
*/

@media screen and (min-device-width : 414px) 
    and (-webkit-device-pixel-ratio: 3)
    and (orientation: landscape)
{
.hypescience-ad {
  margin: none;
}
}

} /* end iPhone 6 */

@media screen and (min-device-width : 414px) 
    and (-webkit-device-pixel-ratio: 2)
    and (orientation: landscape)
{
.hypescience-ad {
  margin: none;
}
}

} /* end iPhone 6+ */
