/*
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*/

.navbar-brand {
	background: url('img/logo.png');
	width: 323px;
	height: 76px;
}

.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: 320px;
	margin-top:10px;
}
.services.category {
	border: 1px solid #ddd;
	padding: 10px;
	height: 360px;
}
.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;
}
.contacts .card {
	height: 340px;
}
.btn-contacts {
	float: right;
}
.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;
	float: right;
	margin-right: 130px;
	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%;
    }
}
