/*
Theme Name: Sõiduõppe
Author: finecode
Author URI: http://finecode.ee/
Version: 1.0
*/

/*Wordpress editor styles start*/

@font-face {
  font-family: "libre_franklinblack";
  src: url("fonts/librefranklin-black-webfont.woff2") format("woff2"),
    url("fonts/librefranklin-black-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "libre_franklinblack_italic";
  src: url("fonts/librefranklin-blackitalic-webfont.woff2") format("woff2"),
    url("fonts/librefranklin-blackitalic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "libre_franklinbold";
  src: url("fonts/librefranklin-bold-webfont.woff2") format("woff2"),
    url("fonts/librefranklin-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "libre_franklinbold_italic";
  src: url("fonts/librefranklin-bolditalic-webfont.woff2") format("woff2"),
    url("fonts/librefranklin-bolditalic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "libre_franklinextrabold";
  src: url("fonts/librefranklin-extrabold-webfont.woff2") format("woff2"),
    url("fonts/librefranklin-extrabold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "libre_franklinXBdIt";
  src: url("fonts/librefranklin-extrabolditalic-webfont.woff2") format("woff2"),
    url("fonts/librefranklin-extrabolditalic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "libre_franklinextralight";
  src: url("fonts/librefranklin-extralight-webfont.woff2") format("woff2"),
    url("fonts/librefranklin-extralight-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "libre_franklinXLtIt";
  src: url("fonts/librefranklin-extralightitalic-webfont.woff2") format("woff2"),
    url("fonts/librefranklin-extralightitalic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "libre_franklinitalic";
  src: url("fonts/librefranklin-italic-webfont.woff2") format("woff2"),
    url("fonts/librefranklin-italic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "libre_franklinlight";
  src: url("fonts/librefranklin-light-webfont.woff2") format("woff2"),
    url("fonts/librefranklin-light-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "libre_franklinlight_italic";
  src: url("fonts/librefranklin-lightitalic-webfont.woff2") format("woff2"),
    url("fonts/librefranklin-lightitalic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "libre_franklinmedium";
  src: url("fonts/librefranklin-medium-webfont.woff2") format("woff2"),
    url("fonts/librefranklin-medium-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: libre_franklinmedium;
}
.entry-content img {
  margin: 0 0 1.5em 0;
}
.alignleft,
img.alignleft {
  margin-right: 1.5em;
  display: inline;
  float: left;
}
.alignright,
img.alignright {
  margin-left: 1.5em;
  display: inline;
  float: right;
}
.aligncenter,
img.aligncenter {
  margin-right: auto;
  margin-left: auto;
  display: block;
  clear: both;
}
.alignnone,
img.alignnone {
  /* not sure about this one */
}
.wp-caption {
  margin-bottom: 1.5em;
  text-align: center;
  padding-top: 5px;
}
.wp-caption img {
  border: 0 none;
  padding: 0;
  margin: 0;
}
.wp-caption p.wp-caption-text {
  line-height: 1.5;
  font-size: 10px;
  margin: 0;
}
.wp-smiley {
  margin: 0 !important;
  max-height: 1em;
}
blockquote.left {
  margin-right: 20px;
  text-align: right;
  margin-left: 0;
  width: 33%;
  float: left;
}
blockquote.right {
  margin-left: 20px;
  text-align: left;
  margin-right: 0;
  width: 33%;
  float: right;
}

/*Wordpress editor styles end*/

/* make navbar brand logo smaller on mobile */
@media (max-width: 786px) {
  .nav-brand-wrapper {
    max-width: 70%;
  }
}

/* Chage mobile breakpoint START */

@media (max-width: 991px) {
  .navbar-header {
    float: none;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  .navbar-collapse.collapse {
    display: none !important;
  }
  .navbar-nav {
    float: none !important;
    margin: 7.5px -15px;
  }
  .navbar-nav > li {
    float: none;
  }
  .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .navbar-text {
    float: none;
    margin: 15px 0;
  }
  /* since 3.1.0 */
  .navbar-collapse.collapse.in {
    display: block !important;
  }
  .collapsing {
    overflow: hidden !important;
  }
}

/* Change mobile breakpoint END */

.collapse.navbar-collapse {
  text-transform: uppercase;
}
.collapse.navbar-collapse li a {
  color: black;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover,
.hvr-sweep-to-top::before {
  background: #00a7c4 none repeat scroll 0 0;
  color: white;
}
#menu-main-menu li a {
  padding: 28px 10px 28px 10px;
}
.header-information {
  border-bottom: 1px dashed #00a7c4;
  margin-top: -10px;
  padding-bottom: 4px;
}
.padding {
  padding: 50px;
}
.small-padding {
  padding: 25px;
}
.mini-padding {
  padding: 15px;
}
#myCarousel {
  position: absolute;
  left: 0px;
  right: 0px;
  width: 100%;
}
.slider-height {
  height: 400px;
}
#myCarousel img {
  width: auto;
  height: 400px;
}
.contacts .card {
  border: 1px solid #ddd;
  padding: 10px;
  margin: auto auto;
  margin-top: 20px;
  text-align: center;
}
.contacts .card img {
  margin: auto auto;
}

.form-control {
  margin-top: 10px;
}
.alert,
.btn,
.form-control {
  border-radius: 0px;
}
.section-heading {
  text-align: center;
}
.slider-heading {
  position: absolute;
  margin-top: -250px;
  z-index: 9999999;
  color: white;
  text-transform: uppercase;
  left: 50%;
  text-transform: uppercase;
  transform: translateX(-50%);
  text-shadow: 1px 1px #000;
  text-align: center;
  font-size: 34px;
}
.margin-ten {
  margin: 0px 10px 0px 10px;
}
.section-heading.front-page {
  text-transform: uppercase;
  border-bottom: 1px dashed #00a7c4;
}
.services {
  border: 1px solid #ddd;
  padding: 10px;
  height: 380px;
  margin-top: 10px;
  max-width: 380px;
}

.services-noborder {
  border: 0px;
  padding: 10px;
  margin-top: 10px;
  max-width: 380px;
}

.services.category {
  border: 1px solid #ddd;
  padding: 10px;
  min-height: 400px;
}

.bottom-spacer {
  height: 50px;
}

.top-spacer {
  height: 25px;
}

@media (max-width: 786px) {
  .center-content {
    float: none;
    margin: 0 auto;
  }

  .services {
    max-width: 380px;
  }
}

.services img {
  width: 90%;
  height: auto;
  margin: auto auto;
  display: block;
}
.services h3 {
  color: #00a7c4;
  text-align: center;
}
.services a {
  text-decoration: none;
}
.footer {
  position: absolute;
  left: 0px;
  right: 0px;
  background-color: #00a7c4;
  color: white;
  font-size: 14px;
  padding-top: 20px;
  margin-top: 10px;
  font-family: libre_franklinlight;
}
#map {
  width: 100%;
  height: 200px;
}
.navigation-button {
  margin-top: -50px;
  z-index: 999;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  vertical-align: middle;
}
.btn-primary {
  background-color: #00a7c4;
  border-color: #2e6da4;
}

.links-section {
  margin-top: 60px;
  height: 340px;
  text-align: center;
}
.links-section-height {
  position: absolute;
  background-size: cover;
  left: 0px;
  right: 0px;
  z-index: -1;
  width: 100%;
  height: 340px;
}
.links-section .col-md-4 {
  margin-top: 20px;
}
.links-section .col-md-4 a {
  padding: 10px;
  color: #00a7c4;
  background-color: rgba(255, 255, 255, 0.8);
  font-family: libre_franklinlight;
  display: block;
  height: 300px;
}
.links-section .col-md-4 a img {
  margin: auto auto;
}
.row.offer {
  margin-top: 60px;
}
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.btn-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  vertical-align: middle;
}
.sidebar {
  padding: 10px;
  position: fixed;
  right: 0px;
  bottom: 80px;
  width: 200px;
  border: 1px dashed #00a7c4;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 999999;
}
.sidebar .form-control {
  float: right;
}
.images {
  padding: 10px;
}
.images img {
  width: 100%;
  margin: auto auto;
}
.float-right {
  float: right;
}
.float-left {
  float: left;
}
.languages li {
  list-style: none;
  float: left;
  margin-right: 4px;
}
.languages li:first-child:after {
  content: " /";
}
.languages li a {
  color: black;
}
.tiny-menu {
  position: fixed;
  border: 1px dashed #00a7c4;
  background-color: rgba(255, 255, 255, 0.8);
  bottom: 80px;
  padding: 10px;
  right: -250px;
  z-index: 999999;
}
.show-side,
.hide-side {
  cursor: pointer;
}
.color-red {
  color: red;
}
.striped-through {
  text-decoration: line-through;
}
#teo-iframe {
  width: 100%;
}
.c-example__tilt-inner {
  font-size: 24px;
}
.links-section {
  height: 100%;
}
.service-background {
  height: 220px;
  background-origin: padding-box;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.contact-thumbnail {
  height: 140px;
  background-origin: padding-box;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.btn-contacts {
  float: right;
}

.pad-bottom {
  padding-bottom: 1000px;
}

.news img {
  width: 200px;
  height: auto;
  float: left;
  margin-right: 10px;
}
.single-thumbnail img {
  float: left;
  width: 300px;
  height: auto;
  margin: 0px 10px 10px 0px;
}
.width-60 {
  width: 60px;
  text-align: right;
}
.c-example__tilt-inner {
  background: rgba(33, 33, 33, 0.6) none repeat scroll 0 0;
  padding: 10px 30px 30px;
}
.facebook {
  display: inline-block;
  color: black;
}
.facebook span {
  background-image: url("img/path90.png");
  background-size: cover;
  width: 22px;
  height: 22px;
  display: block;
  float: left;
  margin-right: 6px;
  position: relative;
  bottom: 2px;
}
.links-section-image {
  background-origin: padding-box;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: scale;
  height: 180px;
}
@media screen and (max-width: 1600px) {
  #myCarousel img,
  .slider-height {
    height: 300px;
  }
}
@media screen and (max-width: 1200px) {
  #myCarousel img,
  .slider-height {
    height: 300px;
  }
}
@media screen and (max-width: 1380px) {
  .c-example__tilt-inner {
    font-size: 100% !important;
  }
}
@media screen and (max-width: 600px) {
  #myCarousel img,
  .slider-height {
    height: 200px;
  }
  #menu-main-menu li a {
    text-align: center;
  }
  .slider-heading {
    margin-top: -150px;
  }
  .links-section {
    height: 100%;
  }
}

.col-md-6 {
  min-height: 100% !important;
  height: 100% !important;
  padding-left: 20px;
}

/* Rent tiles START */
.tiles-container {
  margin-bottom: 30px;
}
/* Rent tiles END */

/* Rent rows START */
.panel-default {
  border-radius: 0px;
}

.panel-img-wrapper {
  aspect-ratio: 1 /1;
  width: 100%;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

.panel-img-thumbnail {
  border-radius: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rent rows END */

@media (min-width: 992px) {
  .col-md-6 {
    width: 50%;
    min-height: 100% !important;
    height: 100% !important;
  }
}
@media (min-width: 992px) {
  #esilehe-vigur .col-md-6 {
    width: 50%;
    min-height: 100% !important;
    height: 100% !important;
  }
}
@media (max-width: 300px) {
  .col-md-6 {
    width: 100%;
    min-height: 100% !important;
    height: 100% !important;
  }
}
@media (max-width: 300px) {
  #esilehe-vigur .col-md-6 {
    width: 100%;
    min-height: 100% !important;
    height: 100% !important;
  }
}
