/*
Theme Name: MV Spordiklubi
Version: 1
Author: Rumos Veebidisain
*/


@font-face {
	font-family: 'Montserrat Light';
	src: url('assets/Montserrat-Light.otf');
}

body {
	font-family: 'Montserrat Light', sans-serif;
	background-color: #fff;
	font-size: 15px;
	line-height: 1.5;
	color: #545454;
}

.container {
	max-width: 1000px;
}

/* Headings */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'Montserrat Light' , Arial, sans-serif;
	color: #000;
	font-weight: normal;
	text-transform: uppercase;
}

h1 {
	font-size: 38px;
}

h2 {
	font-size: 28px;
	margin-bottom: 20px;
}

h4 {
	line-height: 1.4;
}

p {
	margin-bottom: 25px;
}

/* Bootstrap */

.visible-inline-xs {
	display: none;
}

.hidden-inline-xs {
	display: inline;
}

.lead {
	font-weight: normal;
	font-size: 22px;
	font-size: 22.5px;
}

a, a:visited {
	color: #D07D00;
}

a:hover, 
a:focus, 
a:active {
	color: #aaa;
}

a:focus {
	outline-style: dotted;
    outline-color: #eee;
    outline-color: rgba(255,255,255,0.2);
    outline-width: 1px;
}

.entry a, 
.enrty a:visited {
	color: #101010;
	transition: all 0.2s ease-in-out;
	text-decoration: none;
	border-bottom: 1px solid #e19729;
}

.entry a:hover,
.enrty a:focus,
.enrty a:active {
	color: #000;
	border-bottom: 1px solid #555;
}

.default a, 
.default a:visited {
	font-family: 'Montserrat Light', sans-serif!important;
	display: inline!important;
	padding: 0!important;
	text-transform: none!important;
	background: none!important;
	color: #101010!important;
	border-bottom: 1px solid #e19729;
	margin: 0!important;
}

.default a:hover,
.default a:active,
.default a:focus {
	border-bottom: 1px solid #555;
}

ul, ol {
	margin-bottom: 25px;
}

.entry li {
	margin-bottom: 3px;
}

.entry strong {
	color: #232323;
}

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

.entry td {
	padding: 4px 7px;
	border: 1px solid #bbb;
	vertical-align: top;
}

.table-styled tr:first-of-type {
	background: #f3f3f3;
	font-weight: bold;
}

.table-styled tr td:first-of-type {
	font-weight: bold;
	text-align: center
}

iframe {
	margin: 30px 0;
	border: 0;
	width: 100%;
}


/* WordPress */ 

.alignleft {
	float: left;
	margin: 0px 20px 15px 0;
}

.alignright {
	float: right;
	margin: 0px 0 15px 20px;
}

.wp-caption-text {
	font-size: 15px;
	margin-top: 5px;
	margin-bottom: 15px;
}

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}

.wp-video-shortcode,
.wp-audio-shortcode {
	max-width: 100%;
}


/* Colors */

.white { color: #fff; }
.red { color: rgb(221, 27, 27); }
.green { color: #57ac6b; }
.blue { color: #39A7E0; }
.pink { color: #ff3366; }

/* Contact */

.custom-message span,
.custom-message-list {
	font-size: 0.9em;
	font-style: italic;
}

.custom-message {
    margin-bottom: 5px!important;
}

.custom-message-list {
	margin-bottom: 14px;
}

/* Top bar */

.top-bar {
	background: #040405;
	line-height: 34px;
	color: #fff;
	font-size: 13px;
	text-align: right;
}

.top-bar p {
	display: inline;
}

.top-bar strong {
	margin: 0 3px;
	color: #333;
}

.top-bar em {
	margin-right: 6px;
	font-style: normal;
}

.fb-top,
.fb-top:visited {
	display: inline-block;
	margin-left: 33px;
	color: #fff;
	font-size: 14px;
}

.fb-top:hover {
	color: #d07d00;
}

/* Header */

.header {
	background: #fff;
	font-size: 18px; 
	width: 100%;
	border-bottom: 1px solid #ddd;
	padding: 26px 0 26px;
}

.home .header {
	border-bottom: 0;
}

.header .container,
.top-bar .container {
	max-width: 1200px;
	padding-left: 15px!important;
	padding-right: 15px!important;
}

/*.home .header {
	border-bottom: 0;
}*/

.logo-header,
.logo-header:focus {
	display: inline-block;
	transition: none;
	outline-color: #eee;
}

.logo-header img {
	width: 366px;
	height: auto;
}

.mobile-menu-wrap,
.mobile-bar {
	display: none;
}

.toggle-menu {
	display: none;
	font-size: 24px;
	color: #bbb;
	line-height: 1;
	cursor: pointer;
	padding: 10px;
}

.toggle-menu:hover {
	color: #aaa;
}

.call-us,
.call-us:visited {
	color: #EEE;
	font-size: 18px;
	position: relative;
	bottom: -1px
}

.call-us:hover,
.call-us:active,
.call-us:focus {
	color: #8DCDF5;
	text-decoration: none;
}

.call-us .fa {
	margin-right: 10px;
	position: relative;
	bottom: -3px;
}


.menu-wrap {
	margin: 25px 0 0;  
	display: inline-block;
	float: right;
	margin-right: -5px;
	text-align: right;
}

.menu .sub-menu {
	display: none;
}

.menu {
	display: inline-block;
}

.menu ul {
	margin-bottom: 0;
	padding-left: 0;
}

.menu li {
	display: inline;
	padding: 0;
	margin: 0 0 0 18px;
}

.menu a, 
.menu a:visited, 
.menu a:active,
.menu a:focus {
	display: inline-block;
	color: #222;
	padding: 0 5px;
	text-transform: uppercase;
	font-size: 13px;
	text-decoration: none;
	transition: color 0.3s ease-in-out;
	outline-color: #ccc;
}

.menu a:hover,
a.current,
a.current:visited,
.current-menu-item a,
.current-menu-item a:visited {
	color: #aaa;
}


.btn .fa {
	margin-left: 10px;
}

.dropdown-menu {
	min-width: 88px;
}

/* Sticky footer */

html {
    min-height: 100%;
    position: relative;
}

body {
    margin-bottom: 200px;
}

.footer {
    background-color: #040405;
    color: #666;
	padding: 38px 0 0;
    bottom: 0;
    height: 200px;
    position: absolute;
    width: 100%;
    font-size: 15px;
}


@media (max-width: 660px) { 
	body {
		margin-bottom: 250px;
	}

	.footer {
		height: 250px;
	}
}

@media (max-width: 450px) { 
	body {
		margin-bottom: 315px;
	}

	.footer {
		height: 315px;
	}
}

.footer a, 
.footer a:visited {
	text-decoration: none;
	color: #fff;
	font-size: 15px;
}

.subscribe {
	margin-bottom: 22px;
}

.subscribe form {
	background: none;
	border: none;
	margin: 0;
	padding: 0;
}

.subscribe p {
	margin: 0 25px 16px;
	color: #fff;
}

.subscribe input {
	border-radius: 0;
	border: 0 none;
	background: #454545;
	padding: 6px 10px;
	margin: 0 4px 12px;
	width: 195px;
	color: #fff;
}

.subscribe input:focus {
	outline: 0 none;
	box-shadow: 0 0 0 1px #aaa inset;
}

.subscribe input[type="submit"] {
	background: #393939;
	border: 1px solid #a0a0a0;
	padding: 8px 20px 5px;
	text-transform: uppercase;
	font-size: 13px;
	transition: all .3s;
}

.subscribe input[type="submit"]:hover {
	background: #292929;
}

/* Form elements */

.wpcf7-list-item {
	display: block;
    margin: 0 7px 5px;
}

.wpcf7-list-item input {
	margin-right: 4px;
}

form {
	padding: 20px;
	background: #f3f3f3;
	border: 1px solid #ddd;
	margin: 0 0 10px;
}

.form-unstyled {
	padding: 0;
	background: none;
	border: 0 none;
	margin: 0;
}

#wp-admin-bar-search {
	display: none;
}

.form-control {
	border-radius: 0;

}

.submit-button,
input[type="submit"] {
	background: #444;
	color: #fff;
	padding: 8px 20px;
}

label {
	font-weight: bold;
}


button, input, select, textarea {
	max-width: 100%;
	border: 1px solid #ccc;
	padding: 5px 8px;
	border-radius: 3px;
}

.btn {
	background-image: none;
	font-size: 15px;
	border-radius: 3px;
	font-family: Montserrat, sans-serif;
}

.btn-primary,
.btn-primary:visited,
.btn-info,
.btn-info:visited {
	color: #fff;
	text-transform: uppercase;
	font-size: 18px;
	padding: 8px 32px 7px;
}

.btn-primary,
.btn-primary:visited {
	border: 2px solid #fff;
	background: none;
	border-radius: 0;
	padding: 11px 16px;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
	border-color: #fff!important;
	background: rgba(0,0,0,0.2)!important;
}

.btn-info, 
.btn-info:visited {
	border-color: rgba(224,224,224,0.68);
}

.btn-info:hover,
.btn-info:active {
	background-color: rgba(0,0,0,0.5);
}

.btn-default,
.btn-default:visited {
	padding: 8px;
	font-size: 18px;
	text-transform: uppercase;
	color: #777;
	text-shadow: none!important;
}

.btn-default:hover, 
.btn-default:focus {
	background: #f8f8f8;
}

.open>.dropdown-toggle.btn-default:focus {
	background: #eee;
	border-color: #bbb;
}

.dropdown-menu>li>a:hover, 
.dropdown-menu>li>a:focus {
	background-image: none;
	background-color: #eee;
}

form .btn {
	margin-top: 0;
}

.btn-nopadding {
	color: #888;
	background: transparent;
	margin: 12px 4px 0px;
	padding: 0;
	border: 0 none;
	text-decoration: underline;
}

/* Page */

.entry {
	margin-bottom: 70px;
	padding-top: 50px;
}

.timetable-intro {
	padding-top: 50px;
}

.entry:after {
	content: "";
	display: block;
	clear: both;
}

.page-title {
	margin: 0 0 30px;
}

.default-page .container {
	max-width: 980px;
}

.submenu {
	text-align: center;
	/*background: #fafafa;*/ 
	border-bottom: 1px solid #ddd;
	padding: 15px 0;
}

.submenu li {
	margin: 5px 4px
}

.submenu ul {
	margin-bottom: 0;
}

.submenu .current_page_item a,
.submenu .current_page_item a:visited {
	color: #888;
}

/* ## Home */

.intro-wrap {
	background: url('img/tuletrenni.jpg') #1d1714 center center;
	background-size: cover;
	border-top: 1px solid rgba(0,0,0,0.09);
}

.intro-text-wrap {
	background: rgba(0,0,0,0.55);
	border-radius: 2px;
	margin: 0 auto;
	max-width: 819px;
	padding: 42px 40px 38px;
}

.intro {
	padding: 170px 0;
}

.intro h1 {
	font-size: 63px;
	font-family: Montserrat, sans-serif;
	font-weight: bold;
	margin: 0 0 28px;
	color: #fff;
}

.intro .btn  {
	text-shadow: 0.5px 0.866px 1px rgba(0,0,0,0.15);
	margin: 0 10px 15px;
	width: 230px;
}

.intro .fa {
	color: #f6b811;
	font-size: 18px;
	margin: 0;
}

.cta1 .fa {
	margin-right: 10px;
}

.cta2 .fa {
	margin-left: 10px;
}

.campaign {
	margin: 13px 0 10px;
}

.campaign .fa {
	color: #fff;
	margin: 0 6px;
}

.campaign p {
	display: inline;
	font-family: Montserrat;
	font-size: 18px;
	font-weight: 400;
	color: #fff;
}

.campaign a,
.campaign a:visited {
	color: #fff;
	border-bottom: 1px solid #eee;
	border-bottom: 1px solid rgba(255,255,255,0.7);
	cursor: pointer;
}

.campaign a:hover,
.campaign a:active, 
.campaign a:focus {
	color: #f6da8f;
	text-decoration: none;
}

.home h2 {
	font-family: Montserrat, sans-serif;
	font-size: 32px;
	margin-bottom: 25px;
	margin-top: 0;
}

.main-blocks h2 {
	font-size: 26px;
	margin-bottom: 15px;
}

.test {
	margin-top: 200px;
}

.home .container {
	padding-left: 10px;
	padding-right: 10px;
}

.home .row {
	margin-left: -10px;
	margin-right: -10px;
}

.home .col-sm-3,
.home .col-sm-4,
.home .col-sm-6,
.home .col-md-4,
.home .col-md-8 {
	padding-left: 10px;
	padding-right: 10px;
}

.news {
	padding: 26px 0;
	color: #fff;
	background: #1b1b1b;
}

.news h2 {
	font-size: 18px;
	margin: 5px 0;
	color: #d1d1d1;
}

.news ul {
	margin: 0;
	padding: 0;
	list-style-type: square;
}

.news a, 
.news a:visited {
	color: #ddd;
	text-decoration: underline;
}

.news a:hover {
	color: #D07D00;
}

.slice {
	padding: 30px 0px;
}

.relax {
	padding-bottom: 70px;
}

.home .slice img {
}

.main-blocks {
	padding: 70px 0 20px;
}

.home .slice a,
.home .slice a:visited {
	display: inline-block;
	width: 33%;
	text-align: center;
	background: #252525;
	color: #fff;
	padding: 27px 15px;
	font-family: Montserrat, sans-serif;
	text-transform: uppercase;
	margin-top: 9px;
}

.home .slice .col-sm-4 a, 
.home .slice .col-sm-6 a,
.home .slice .col-sm-3 a {
	display: block;
	width: 100%;
}

.home .slice a:hover,
.home .slice a:active,
.home .slice a:focus {
	background: #323232;
	text-decoration: none;
}

.home .main-blocks a {
	margin-top: 0;
}

.home .slice p {
	margin-bottom: 21px;
}

/* ## Training table - temporary */ 

.training-bg-white {
    background-color: #fff;
    display: block;
    margin: 4px -8px -4px;
    padding: 3px 8px;
}

/* ## Page: Tunniplaan */

.timetable-intro {
	text-align: center;
}

.timetable {
	padding: 38px 0 40px;
}

.timetable .container {
	width: 95%;
	max-width: 1200px;
}

.timetable table {
	width: 100%;
	text-align: center;

}
.timetable td {
	border: 3px solid #fff;
	vertical-align: top;
	width: 14.28%;
}

.class-training {
	background: #f0f0f0;
	margin-bottom: 3px;
	padding: 8px 5px 13px;
}

.bg-yellow {
	background: #FFF27A;
}

.bg-pink {
	background: #FF56B3;
}

.bg-violet {
	background: #90429E;
}

.bg-blue {
	background: #368BBB;
}

.bg-pink, 
.bg-pink b,
.bg-pink .class-name a,
.bg-pink .class-name a:visited,
.bg-blue,
.bg-blue b,
.bg-blue .class-name a,
.bg-blue .class-name a:visited,
.bg-violet,
.bg-violet b,
.bg-violet .class-name a,
.bg-violet .class-name a:visited {
	color: #fff!important;
}

.timetable h2 {
	font-size: 15px;
	padding: 10px;
	background: #f0f0f0;
	margin: 0 0 3px;
	text-transform: initial;
	color: #555;
}

.class-name {
	margin: 0 0 5px;
	line-height: 0.9;
	margin-bottom: 13px;
}

.class-training b {
	display: block;
	margin-bottom: 3px;
	color: #333;
}

.class-training em {
	opacity: 0.9;
	display: block;
}

.class-name a,
.class-name a:visited {
	font-size: 15px;
	text-transform: initial;
	text-decoration: underline;
	color: inherit;
}

.class-name a:hover {
	opacity: 0.8;
}

.class-book .fa {
	margin-left: 4px;
}

.class-book a,
.class-book a:visited {
	border: 2px solid #fff;
	background: rgba(0,0,0,0.05);
	background: rgba(255,255,255,0.2);
	padding: 3px 10px;
	display: inline-block;
	margin: 1px 0 12px;
	color: #222;
	transition: background .4s;
}

.bg-violet .class-book a,
.bg-violet .class-book a:visited { 
	background: rgba(255,255,255,0.4);
	color: #000;
}

.class-book a:hover,
.class-book a:active,
.class-book a:focus {
	background: #fff;
	text-decoration: none;
}

.timetable-footer {
	padding: 5px 0 10px;
}

.timetable-footer p {
	margin-bottom: 10px;
}

.timetable-footer table {
	margin: 30px 0 10px;
	width: 100%;
}

.timetable-footer td {
	border: 0 none;
	height: 10px;
}

.timetable-footer td:last-of-type {
	padding-left: 20px;
}

@media (max-width: 1100px) {
	.timetable .container {
		width: auto;
		max-width: 700px;
	}

	.timetable table {
		text-align: left;
	}

	.timetable td {
		display: block;
		width: 100%;
		border: 0;
	}

	.class-training {
		padding: 2px 10px 6px;
		position: relative;
		height: 60px;
	}

	.class-name,
	.class-name a,
	.class-training b,
	.class-book,
	.class-training em {
		display: inline-block;
		margin: 0;
		line-height: 15px;
		position: absolute;
	}
	
	.class-training b {
		top: 10px;
		left: 10px;
		width: 10%;
	}

	.class-name {
		top: 10px;
		left: 60px;
		width: 40%;
	}

	.class-training em {
		top: 35px;
		left: 60px;
	}

	.class-book {
		top: 10px;
		right: 10px;
	}

	
	.class-book a,
	.class-book a:visited {
		margin: 0;
		padding: 10px 12px;
	}

	.timetable h2 {
		margin: 30px 0 10px;
		font-size: 18px;
		color: #000;
	}
}

/* ## Page: Broneeritavate treeningute loetelu */ 

.training-booking {
	padding-bottom: 50px;
}

.training-booking .page-title span {
	font-size: 0.5em;
	display: inline-block;
	opacity: 0.5;
}

.training-booking .container,
.booking-home .container {
	max-width: 700px;
}

.training-list {
	margin: 38px auto 60px;
}

.training-list table {
	width: 100%;
}

.training-list td,
.training-list th {
	padding: 10px 0;
	font-size: 16px;
	color: #111
}

.item-date {
	width: 39%
}

.item-time {
	width: 20%;
}

.item-free {
	width: 20%;
	text-align: center;
}

.item-book {
	font-size: 15px!important;
}

.training-list tr {
	border-bottom: 1px solid #111;
}

.training-time-mobile {
	color: #787878;
}

.training-list a,
.training-list a:visited {
	border: 2px solid #eee;
	padding: 5px 8px;
	display: inline-block;
	font-size: 15px;
	transition: color .4s;
}

.training-list a:hover,
.training-list a:active,
.training-list a:focus {
	text-decoration: none;
	color: #222;
}

.training-list .fa {
	margin-left: 4px;
}

/* Page: Korras - broneeringu kinnitus */

.page-success p {
		margin-bottom: 12px;
}

/* Page: Valitud treening */

.selected-training td:last-of-type,
.selected-training .item-free {
	text-align: right;

}

.people td {
	border: 1px solid #aaa;
	padding: 4px 10px;
	font-size: 14px;
}

.people tr:hover  {
	background: #eee;
}

.people {
	margin-bottom: 60px;
}

.people table {
	margin: 0;
	width: 100%;
}

.people td:last-of-type {
	text-align: center;
}

.del-participant {
	cursor: pointer;
	padding: 3px;
}

.del-participant:hover {
	color: red;
}

.review-actions {
	display: none;
}

.review-details {
	line-height: 2;
	margin-bottom: 19px;
}

.btn-edit-spots {
	background: none;
    padding: 0;
    color: #a0a0a0;
    border: 0 none;
    text-decoration: underline;
    font-size: 14px;
    margin-left: 4px;
}

.form-edit-spots input, 
.form-edit-spots button {
	padding: 3px 7px;
	font-size: 15px;
	border-radius: 0;
}

.form-edit-spots button {
	border-radius: 0;
	background: #454545;
	color: #fff;	
}

/* Page: Liitu uudiskirjaga */

.subscribe-page form {
	display: inline-block;
	padding-bottom: 10px;
}

.subscribe-page input {
	border-radius: 0;
	margin: 0 4px 10px;
	padding: 6px 11px;
	width: 195px;
}

.page-template-template-newsletter .footer .subscribe {
	display: none;
}


/* Date picker */

.ui-datepicker {
	background: #fff;
	border: 1px solid #ccc;
	margin-top: -32px;
	padding: 5px;
	display: none;
}

.ui-datepicker td, 
.ui-datepicker th {
    padding: 3px;
    text-align: center;
}

.ui-datepicker-next,
.ui-datepicker-prev {
	margin: 0 3px;
	cursor: pointer;
}

.ui-datepicker-next {
	float: right;
}

.ui-datepicker-title {
	text-align: center;
	padding: 3px 0;
	clear: both;
}

.ui-datepicker-today {
	background: #ededed;
}

.ui-datepicker-current-day {
	background: #000;
}

/* Admin front end */

.breadcrumbs {
    padding: 45px 0 28px;
	color: #bbb;
	font-size: 14px;
}

.breadcrumbs a,
.breadcrumbs a:visited {
	color: #bbb;
	text-decoration: underline;
}

.breadcrumbs a:hover {
	color: #555;
}

.breadcrumb-sep {
	margin: 0 4px;
}

.new-training-front-end  table {
	width: 100%;
	margin-bottom: 15px;
}

.new-training-front-end  td {
	padding-right: 15px;
}

.new-training-front-end  table td:last-of-type {
	padding-right: 0;
}

.training-list  .del-training {
	opacity: 0;
	transition: opacity .4s;
}

.training-list tr:hover .del-training {
	opacity: 1;
}

.training-list .del-training,
.training-list .del-training:visited {
	border: 1px solid #eee;
    color: red;
    padding: 1px 4px;
    margin-left: 4px;
}

.training-list .del-training:hover {
	text-decoration: underline;
}

.training-list .del-training .fa {
	margin: 0;
}

.action-msg {
	padding: 12px 15px;
}

.close-msg {
	float: right;
    cursor: pointer;
    font-size: 34px;
    line-height: 20px;
}

/* Booking home */

.booking-home .entry {
	text-align: center;
}

.booking-home ul {
	font-size: 0;
	padding: 0;
	list-style-type: none;
}

.booking-home li {
	display: inline-block;
	margin: 0 6px 5px;
}

.booking-home ul a,
.booking-home ul a:visited {
	display: inline-block;
    width: 220px;
    text-align: center;
    background: #252525;
    color: #fff;
	font-size: 15px;
    padding: 15px 15px 14px;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
	text-decoration: none;
	border-bottom: 0 none;
	margin-bottom: 5px;
}

.booking-home ul a:hover,
.booking-home ul a:active,
.booking-home ul a:focus {
	border-bottom: 0 none;
	background: #111;
	color: #fff;
}

.page-template-booking-home .subscribe {
	display: none;
}

.page-template-booking-home .footer {
    height: 98px;
}

/* ## RESPONSIVNESS */

/* ## Desktop */

@media (min-width: 1300px) {
	.top-bar .container,
	.header .container {
		width: 1260px;
	}
}

@media (max-width: 1300px) {
	.menu-wrap {
		width: 700px;
	}
	
	.menu li {
		margin-left: 6px;
	}

	.logo-header img {
		width: 260px;
		margin-top: 9px;
	}
}

/* ## Tablet and smartphone */

@media (max-width: 992px) {
	.header {
		padding: 20px 0;
	}

	.submenu {
		text-align: left;
	}
	
	.entry {
		padding-top: 40px;
	}
	
	.timetable-intro {
		padding-top: 40px;
	}

	.page-title {
		margin: 0 0 25px;
	}

	/* Home */
	.menu-wrap {
		margin-top: 12px;
		width: 400px;
		font-size: 12px;
	}

	.menu-wrap ul {
		margin-bottom: 0;
	}

	.menu li {
		margin-left: 10px;
	}

	.menu a {
		margin-bottom: 8px;
	}

	.logo-header img {
		width: 300px;
		margin-top: 1px;
	}

	.intro {
		padding: 100px 0;
	}

	.intro-text-wrap {
		margin: 0 60px;
	}

	.intro h1 {
		font-size: 50px;
		margin-bottom: 25px;
	}
	
	.news {
		padding: 15px 0 17px;
	}

	.news ul {
		margin-left: 18px;
	}
		
	.home h2 {
		font-size: 30px;
	}

	.main-blocks h2 {
    	font-size: 20px;
	}

	.news h2 {
		font-size: 19px;
		line-height: 1.4;
		margin-top: 3px;
	}

	/* Timetable */

	.timetable {
		padding: 10px 0 30px;
	}
	
	/* Breadcrumbs */

	.breadcrumbs {
		padding: 35px 0 25px;
	}
}


/* ## Smartphone */

@media (max-width: 767px) {
	div#wpadminbar {
		position: fixed!important;
	}

	.alignright,
	.alignleft {
		float: none;
		margin: 0 15px 20px 0;
		display: block;
	}

	.visible-inline-xs {
		display: inline;
	}

	.hidden-inline-xs {
		display: none;
	}
	
	.entry {
		padding-top: 25px;
	}
	
	.timetable-intro {
		padding-top: 25px;
	}

	.page-title {
		margin: 0 0 17px;
	}

	/* Header */
	
	.header .container, .top-bar .container {
    	padding-left: 10px!important;
    	padding-right: 10px!important;
	}

	.top-bar {
		line-height: 1.5;
		padding: 10px 0;
		text-align: center;
	}

	.top-bar em {
		display: none
	}

	.fb-top {
		margin-left: 20px;
	}

	.logo-header img {
		width: 230px;
	}

	.header {
		padding: 10px 0;
	}

	.toggle-menu {
		float: right;
		margin: 5px 0 0;
		display: inline-block;
	}

	.menu-wrap {
		display: none;
	}

	.mobile-bar {
		display: block;
		background: rgba(0,0,0,0.83);
	}

	.main-controls {
		line-height: 55px;
		padding: 0 18px 0 23px;
	}

	.mobile-menu-wrap {
		padding: 15px 0;
	}

	.mobile-bar ul {
		margin-bottom: 0;
	}

	.menu, 
	.menu ul, 
	.menu li {
		display: block;
	}

	.menu a, .menu a:visited, .menu a:active, .menu a:focus {
		display: block;
		text-align: center;
		padding: 10px 0;
		color: #fff;
	}

	/* Home */

	.intro-wrap {
		border-top: 1px solid #999;
	}

	.intro { 
		padding: 20px 10px;
	}

	.intro h1 {
		font-size: 40px;
		margin-bottom: 15px;
	}

	.intro-text-wrap {
		margin: 0;
		padding: 20px 20px 19px;
	}

	.intro .btn {
		font-size: 16px;
		width: 200px;
	}

	.campaign {
		margin-top: 4px;
	}

	.campaign p {
		font-size: 16px;
	}

	.campaign .fa:first-of-type {
		display: none;
	}

	.slice {
		padding: 20px 0;
	}

	.slice img {
		width: 100%;
		height: auto;
	}

	.slice:last-of-type {
		padding-bottom: 40px;
	}

	.main-blocks {
		padding: 30px 0 0;
	}
	
	.main-blocks .row > div {
		margin-bottom: 50px;
	}

	.home h2 {
		font-size: 24px;
	}

	.news h2 {
		font-size: 18px;
	}
	
	.main-blocks h2 {
		text-align: center;
		font-size: 20px;
	}

	.main-blocks p {
		height: auto!important;
	}

	.home .slice a,
	.home .slice a:visited {
		padding: 15px 15px;
		font-family: Montserrat, sans-serif;
		text-transform: uppercase;
	}

	
	.relax {
		padding-bottom: 45px;
	}

	/* Timetable */

	.class-name,
	.class-name a,
	.class-training b,
	.class-book,
	.class-training em {
		display: inline-block;
		margin: 0;
		line-height: 1;
		position: initial;
		width: auto;
	}

	.class-training {
		height: auto;
		padding-bottom: 11px;
	}

	.class-training em {
		display: block;
		margin-top: 6px;
	}

	.timetable h2 {
		margin-left: -25px;
		margin-right: -25px;
		padding: 10px 25px;		
	}

	.class-training b {
		float: right;
		margin-top: 8px;
	}

	.class-book {
		display: block;
		position: absolute;
		top: initial;
		bottom: 10px;
		right: 10px;
		left: 10px;
		z-index: 5;
	}

	.class-has-booking {
		padding-bottom: 57px;
	}

	.class-book a,
	.class-book a:visited {
		padding: 9px 3px;
		display: block;
		text-align: center;
		line-height: 1;
		font-size: 15px
	}

	.class-training em {
		clear: both;
		font-size: 0.93em;
		z-index: 1;
	}

	/* Page: Broneeritavate treeningute loetelu */ 

	.item-date,
	.item-free {
		width: auto;
	}

	.training-list td, .training-list th {
		font-size: 15px;
	}

	.training-booking .page-title {
		margin-bottom: 10px;
	}

	.training-list {
		margin: 15px 0 40px;
	}
	
	/* Breadcrumbs */

	.breadcrumbs {
		padding: 25px 0 6px;
	}
}

@media (max-width: 378px) {
	.fb-top {
		display: none;
	}
}

@media (max-width: 340px) {
	.campaign .fa {
		display: none;
	}

	.training-list .fa {
		display: none;
	}
	
	/* Breadcrumbs */

	.breadcrumbs {
		padding-bottom: 20px;
	}
	
	/* Booking home */
	
	.booking-home h1 {
		font-size: 30px;
	}
}

/* Webkit - saf3+, chrome1+ */

@media screen and (-webkit-min-device-pixel-ratio:0) {
	.form-control { 
		padding-bottom: 4px;
	}
}

/* NextGen update */

.ngg-gallery-thumbnail a:hover,
.ngg-gallery-thumbnail a:active,
.ngg-gallery-thumbnail a:focus {
    border-bottom: none!important;
}