/*
 Theme Name:   GeoGebra
 Theme URI:    http://www.geogebra.org
 Description:  Responsive Theme for GeoGebra
 Author:       Steffi
 Version:      0.1
 Text Domain:  geogebra
*/
/* =Theme customization starts here
-------------------------------------------------------------- */
/**
* Definitions for GeoGebra
* ========================
* Autor: Steffi
* Version: 1.0
*/
/*!
* direction.less v0.1.0
*
* Copyright 2013 Moshe Simantov
* Licensed under the MIT license
* 
* Keep tracking: https://github.com/DevelopmentIL/direction.less
*/
.post-meta,
.post-entry,
.post-data,
.post-edit,
.navigation {
  padding-bottom: 1em;
}
.post-meta,
.post-data,
.post-edit {
  font-size: 0.8em;
}
.post-edit .post-edit-link {
  padding-left: 20px;
  background: url('img/icon-edit.png') no-repeat left center;
}
.post-edit .post-edit-link:hover {
  background-image: url('img/icon-edit-active.png');
}
.read-more {
  padding-top: 0.5em;
}
.navigation {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}
/* =Responsive 12 Column Grid
    http://demos.cyberchimps.com/responsivepro/responsive-grid/
-------------------------------------------------------------- */
.grid {
  float: left;
  margin-bottom: 30px;
  padding-top: 0;
}
.grid-right {
  float: right;
  margin-bottom: 2.127659574468%;
  padding-top: 0;
}
.col-60,
.col-140,
.col-220,
.col-300,
.col-380,
.col-460,
.col-540,
.col-620,
.col-700,
.col-780,
.col-860 {
  margin-right: 2.12765957%;
}
.col-60 {
  width: 6.382978723404%;
}
.col-140 {
  width: 14.893617021277%;
}
.col-220 {
  width: 23.404255319149%;
}
.col-300 {
  width: 31.914893617021%;
}
.col-380 {
  width: 40.425531914894%;
}
.col-460 {
  width: 48.936170212766%;
}
.col-540 {
  width: 57.446808510638%;
}
.col-620 {
  width: 65.957446808511%;
}
.col-700 {
  width: 74.468085106383%;
}
.col-780 {
  width: 82.978723404255%;
}
.col-860 {
  width: 91.489361702128%;
}
.col-940 {
  width: 100%;
}
.fit {
  margin-left: 0px !important;
  margin-right: 0px !important;
}
/* =Visibility
-------------------------------------------------------------- */
.hidden {
  visibility: hidden;
}
.visible {
  visibility: visible;
}
.none {
  display: none;
}
.hide-desktop {
  display: none;
}
.show-desktop {
  display: block;
}
/* =Responsive Images
-------------------------------------------------------------- */
img {
  -ms-interpolation-mode: bicubic;
  border: 0;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}
.ie8 img {
  height: auto;
  width: auto \9;
}
.ie8 img.size-large {
  max-width: 60%;
  width: auto;
}
/* =Responsive Videos
-------------------------------------------------------------- */
video {
  width: 100%;
  max-width: 100%;
  height: auto;
}
/* =Responsive Embeds/Objects
-------------------------------------------------------------- */
embed,
object {
  max-width: 100%;
}
svg:not(:root) {
  overflow: hidden;
}
/***********************************************************************************************************/
/* =Responsive (Mobile) Design
-------------------------------------------------------------- */
@media screen and (max-width: 980px) {
  .grid,
  .grid-right {
    display: block;
    float: none;
    width: 100%;
    margin-right: 0px;
  }
  .copyright,
  .scroll-top,
  .powered {
    float: left;
  }
  #featured-image .fluid-width-video-wrapper {
    margin: 20px 0 0 0;
  }
  .front-page #widgets {
    margin-top: 40px;
  }
  .top-widget,
  .front-page .top-widget {
    margin-top: 0 !important;
  }
  .hide-desktop {
    display: block;
  }
  .show-desktop {
    display: none;
  }
  .hide-980 {
    display: none;
  }
  .show-980 {
    display: block;
  }
}
@media screen and (max-width: 650px) {
  /*body {
  }

  #logo {
    float: none;
    margin: 0;
    text-align: center;
  }*/
  .grid,
  .grid-right {
    float: none;
  }
  #featured-image .fluid-width-video-wrapper {
    margin: 20px 0 0 0;
  }
  .top-widget {
    float: none;
    margin: 0 auto 10px auto;
    position: relative;
    text-align: center;
    width: auto;
  }
  .top-widget .widget-title h3 {
    text-align: center;
  }
  .js .sub-header-menu {
    display: none;
  }
  /*.top-menu,
  .footer-menu li {
    float: none;
    font-size: 11px;
    text-align: center;
  }*/
  #author-meta {
    padding: 20px;
  }
  #wrapper .gallery .gallery-item {
    max-width: 100%;
  }
  .hide-650 {
    display: none;
  }
  .show-650 {
    display: block;
  }
  .hide-mobile {
    display: none;
  }
  /*#footer {
    text-align: center;
  }

  #footer .social-icons {
    padding-bottom: 10px;
    text-align: center;
  }*/
}
@media screen and (max-width: 480px) {
  /*body {
  }

  #logo {
    float: none;
    text-align: center;
  }*/
  .grid,
  .grid-right {
    float: none;
  }
  #featured-image .fluid-width-video-wrapper {
    margin: 20px 0 0 0;
  }
  .featured-title {
    font-size: 40px;
    padding: 40px 20px 0 20px;
  }
  .featured-subtitle {
    font-size: 24px;
  }
  .navigation .next,
  .navigation .previous {
    display: block;
    margin: 0 auto;
    text-align: center;
  }
  .menu ul,
  .menu li,
  .top-menu,
  .footer-menu li,
  .sub-header-menu li {
    float: none;
    text-align: center;
    text-rendering: optimizeSpeed;
  }
  #wrapper .gallery .gallery-item {
    float: none;
  }
  .hide-480 {
    display: none;
  }
  .show-480 {
    display: block;
  }
  /*#footer {
    text-align: center;
  }

  #footer .social-icons {
    text-align: center;
  }*/
}
@media screen and (max-width: 320px) {
  #featured p {
    font-size: 12px;
    line-height: 1.5em;
  }
  .featured-title {
    font-size: 35px;
  }
  .featured-subtitle {
    font-size: 15px;
  }
  .call-to-action a.button {
    font-size: 14px;
    padding: 7px 17px;
  }
  .hide-320 {
    display: none;
  }
  .show-320 {
    display: block;
  }
}
@media screen and (max-width: 240px) {
  /*#featured p {
    font-size: 11px;
    line-height: 1.5em;
  }

  .featured-title {
    font-size: 20px;
  }

  .featured-subtitle {
    font-size: 11px;
  }

  .call-to-action a.button {
    font-size: 12px;
    padding: 5px 15px;
  }

  .top-widget area,
  .top-widget select,
  .top-widget textarea,
  .top-widget input[type="text"],
  .top-widget input[type="password"],
  .top-widget input[type="email"] {
    width: 75%;
  }

  .widget-title h3,
  .widget-title-home h3 {
    font-size: 14px;
    height: 13px;
    line-height: 13px;
    text-align: left;
  }

  .hide-240 {
    display: none;
  }

  .show-240 {
    display: block;
  }*/
}
