/*
Theme Name: The7child
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/* styles for fonts and libraries */
@import url(//fonts.googleapis.com/css?family=Roboto:400,700);
@import url(//fonts.googleapis.com/css?family=Titillium+Web:400,700);
@import url(//cdn.jsdelivr.net/sweetalert2/4.1.7/sweetalert2.min.css);

/* get styles from parent theme */
@import url("../dt-the7/style.css");

/* custom styles for our child theme */
@import url('../dt-the7-child/css/modifiers.css');
@import url('../dt-the7-child/css/modal-overrides.css');
@import url('../dt-the7-child/css/buttons.css');
@import url('../dt-the7-child/css/enerknol-banners.css');
@import url('../dt-the7-child/css/homepage.css');
@import url('../dt-the7-child/css/get-ekp.css');
@import url('../dt-the7-child/css/get-ekr.css');
@import url('../dt-the7-child/css/login-form.css');
@import url('../dt-the7-child/css/main-menu-overrides.css');
@import url('../dt-the7-child/css/newsletter-sign-up-form.css');
@import url('../dt-the7-child/css/research-gateway.css');

a {
  color: #1caee5;
}

a:hover {
  color: #0c354e;
}

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

/* sticky footer */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}
#page {
  min-height: 100%;
  position: relative;
}
.home.page #main {
  padding-bottom: 0!important;
}
#main {
    padding-bottom: 50px !important;
    height: 100%;
    min-height: 65vh;
    padding: 5px;
}
@media(min-width: 767px){
    #main {
        padding: 50px 0;
    }
}

/* reduced padding for research articles */
#main.sidebar-right {
  padding: 30px 10px;
}

/* adjust back to top button */
.scroll-top {
  bottom: 70px;
}

/* tooltip hints for paywall page */
@media (min-width:320px){
  [data-tip] {
    position:relative;
  }
  [data-tip]:before {
    content: '';
    display: none;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #0C354E;
    position: absolute;
    top: 5px;
    left: 35px;
    z-index: 8;
    font-size: 0;
    line-height: 0;
    width: 0;
    height: 0;
  }
  [data-tip]:after {
    display: none;
    content: attr(data-tip);
    position: absolute;
    top: -40px;
    left: 0px;
    padding: 5px 8px;
    background: #0C354E;
    color: #fff;
    z-index: 9;
    font-size:  0.8em;
    line-height: 18px;
    -webkit-border-radius:  2px;
    -moz-border-radius:  2px;
    border-radius:  2px;
    white-space: normal;
    word-wrap: normal;
    width: 90%;
  }
  [data-tip]:hover:before,
  [data-tip]:hover:after {
    display: block;
  }
}
@media (min-width:467px){
  [data-tip]:after {
    top: -23px;
  }
}
@media (min-width:479px){
  [data-tip]:after {
    white-space: nowrap;
    width: auto !important;
  }
}
