/*
 * http://meyerweb.com/eric/tools/css/reset/ 
 * v2.0 | 20110126
 * License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}/*
 * Phoca Flags 1.0.0 by Jan Pavelka
 * Copyright 2013 Jan Pavelka ( http://www.phoca.cz )
 * License GNU General Public License version 3
 */

/* russia */
.ru, .site-language li a.russian:before, .lang-select .russian a:before {
	background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NTAgMzAwIj4NCjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0wLDBoNDUwdjEwMGgtNDUweiIvPg0KPHBhdGggZmlsbD0iIzAwZiIgZD0ibTAsMTAwaDQ1MHYxMDBoLTQ1MHoiLz4NCjxwYXRoIGZpbGw9IiNmMDAiIGQ9Im0wLDIwMGg0NTB2MTAwaC00NTB6Ii8+DQo8L3N2Zz4NCg==');
	/*width: 200%;
	height: 100%;
	background-size: 75% 100%;*/
	background-size: contain;
	/*background-repeat: no-repeat;*/
	background-position: center center;
	border: solid 1px #f0efee;
}

/* united kingdom */
.gb, .site-language li a.english:before, .lang-select .english a:before {
	background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNjAgMzAiIGhlaWdodD0iNjAwIj4NCjxkZWZzPg0KPGNsaXBQYXRoIGlkPSJ0Ij4NCjxwYXRoIGQ9Im0zMCwxNWgzMHYxNXp2MTVoLTMwemgtMzB2LTE1enYtMTVoMzB6Ii8+DQo8L2NsaXBQYXRoPg0KPC9kZWZzPg0KPHBhdGggZmlsbD0iIzAwMjQ3ZCIgZD0ibTAsMHYzMGg2MHYtMzB6Ii8+DQo8cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iNiIgZD0ibTAsMGw2MCwzMG0wLTMwbC02MCwzMCIvPg0KPHBhdGggc3Ryb2tlPSIjY2YxNDJiIiBzdHJva2Utd2lkdGg9IjQiIGQ9Im0wLDBsNjAsMzBtMC0zMGwtNjAsMzAiIGNsaXAtcGF0aD0idXJsKCN0KSIvPg0KPHBhdGggc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjEwIiBkPSJtMzAsMHYzMG0tMzAtMTVoNjAiLz4NCjxwYXRoIHN0cm9rZT0iI2NmMTQyYiIgc3Ryb2tlLXdpZHRoPSI2IiBkPSJtMzAsMHYzMG0tMzAtMTVoNjAiLz4NCjwvc3ZnPg0K');
	/*width: 200%;
	height: 100%;
	background-size: 100% 100%;*/
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}
/* default styles - MOBILE FIRST! - stick others in desktop.css */
body {
	background: #fff;
	color: #575757;
	font-family: Roboto,sans-serif;
	font-weight: 300;
	overflow-y: scroll;
}

a {
	color: #009ece;
	transition: all 250ms ease;
}

a:hover, a:focus, a:active {
	color: #007398;
	text-decoration: none;
}

a.readmore {
	display: inline-block;
	font-size: 12px;
	font-weight: 400;
	padding: 1px 8px;
	background: #009ece;
	color: #fff;
}

a.readmore:hover, a.readmore:focus {
	background: #007398;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

img.aligncenter {
	margin: 0 auto;
}

strong, h1, h2, h3, h4, h5, h6 {
	font-weight: 500;
}

h1 {
	font-size: 42px;
	letter-spacing: -2px;
	line-height: 1.05;
	color: #766d63;
	margin-bottom: 40px;
}

h2 {
	font-size: 32px;
	letter-spacing: -2px;
	color: #766d63;
	padding-bottom: 10px;
	border-bottom: solid 3px #eaeaea;
	margin-bottom: 17px;
}

h3 {
	font-size: 22px;
	letter-spacing: -1px;
	color: #766d63;
}

#main h3 {
	margin-bottom: 15px;
}

h4 {
	font-size: 14px;
}

.site-header {
	text-align: center;
}

.site-language {
	padding: 15px;
	font-size: 12px;
	line-height: 12px;
	font-weight: 400;
}

.site-language li {
	display: inline-block;
	padding-right: 12px;
	border-right: solid 2px #eaeaea;
	margin-right: 4px;
}

.site-language li.age-rating {
	padding: 2px 8px;
	font-weight: 500;
	color: #009ece;
	border: solid 1px #009ece;
	margin-right: 8px;
}

.site-language li:last-child {
	padding-right: 0;
	border-right: none;
	margin-right: 0;
}

.site-language li a {
	position: relative;
}

.site-language li a.english, .site-language li a.russian {
	margin: 0 0 0 36px;
}

.site-language li a:before {
	display: block;
	position: absolute;
	content: ' ';
	top: 0;
	left: -32px;
	width: 28px;
	height: 14px;
}

.site-language li a.russian:before {
	left: -33px;
	width: 30px;
	height: 15px;
}

.lang-select a {
	display: block;
	width: 100%;
	position: relative;
	text-align: center;
	font-size: 32px;
	letter-spacing: -2px;
}

.lang-select a:before {
	display: block;
	position: relative;
	content: ' ';
	/*box-sizing: content-box;*/
	top: 0;
	left: calc(50% - 15vw);
	width: 30vw;
	height: 15vw;
	/*box-shadow: 0 0 4px rgba(0,0,0,0.75);*/
	margin: 15px 0;
}

.lang-select .russian a:before {
}

.site-title {
	font-size: 32px;
	letter-spacing: -2px;
	line-height: 0.95;
	padding: 15px 0;
}

.main-navigation {
	text-align: left;
	font-weight: 500;
	line-height: 1.5;
	padding: 6px;
	background: #f5f4f3;
	margin-bottom: 30px;
}

.menu-toggle {
	text-align: center;
	cursor: pointer;
}

.main-navigation ul {
	display: none;
}

.main-navigation ul li > ul {
	font-size: 80%;
	margin-left: 15px;
}

.entry-content p, .entry-content ul, .entry-content ol {
	font-size: 16px;
	line-height: 1.75;
	margin-bottom: 30px;
}

.entry-content .lead {
	padding: 10px 20px;
	background: #f5f4f3;
}

.entry-content ul, .entry-content ol {
	line-height: 1.25;
	margin-left: 25px;
}

.entry-content ul li, .entry-content ol li {
	margin-bottom: 10px;
}

.entry-content ul {
	list-style-type: circle;
}

.entry-meta, .entry-footer, .widget > div, .widget > ul {
	font-weight: 400;
	font-size: 12px;
	line-height: 1.3;
}

.entry-meta, .entry-footer {
	padding: 15px 15px 5px 15px;
	color: #93887d;
	background: #f5f4f3;
	margin-bottom: 15px;
}

.entry-footer {
	color: #dbd9d7;
	background: #766d63;
}

.entry-meta > div, .entry-footer > div {
	margin-bottom: 10px;
}

.entry-footer a {
	color: #fff;
}

.entry-footer a:hover, .entry-footer a:focus {
	text-decoration: underline;
}

.post-navigation, .paging-navigation {
	border-top: solid 3px #eaeaea;
	padding-top: 15px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
}

.post-navigation h3, .paging-navigation h3 {
	text-align: center;
}

.nav-previous {
	text-align: right;
}

.widget {
	margin-bottom: 15px;
}

.widget h3 {
	color: #fff;
	background: #009ece;
	padding: 10px;
	cursor: pointer;
	transition: all 250ms ease;
}

.widget h3.active {
	background: #007398;
}

.widget h3 .fa {
	float: right;
}

.widget > div, .widget > ul, .widget > form {
	display: none;
	padding: 10px;
	background: #f5f4f3;
}

.widget > form {
	padding-left: 0;
	padding-right: 0;
}

.widget > div p {
	margin-bottom: 15px;
}

.widget > form .input-sm {
	width: 100%;
}

.widget .tagcloud a {
	font-size: 10px!important;
}

.widget .tagcloud a:after {
	content: ' | ';
}

.widget .tagcloud a:last-of-type:after {
	content: '';
}

.site-footer {
	margin-top: 15px;
	padding-top: 15px;
	text-align: center;
	font-size: 10px;
	font-weight: 400;
	line-height: 1.5;
	color: #93887d;
	background: #f5f4f3;
}

.site-footer a {
	color: inherit;
}

.site-footer .row > div {
	padding-bottom: 15px;
}

.site-footer .accreditation img {
	width: auto;
	height: 80px;
}

/* Bootstrap overrides */

.btn {
    border: none;
    border-radius: 0;
    transition: all 250ms ease;
}

.btn-primary {
    color: #fff;
    background-color: #009ece;
    border-color: transparent;
}

.btn-primary:hover, .btn-primary:focus {
	background-color: #007398;
}

.btn-group-sm > .btn, .btn-sm {
	border-radius: 0;
}/* desktop and tablet styles */
@media only screen and (min-width: 1210px) {
	
	.site-header .site-branding {
		text-align: left;
	}
	
	.site-header .site-language {
		text-align: right;
	}
	
	.menu-toggle {
		display: none;
	}
	
	.main-navigation ul {
		display: block;
	}
	
	.main-navigation ul > li {
		display: inline;
		position: relative;
		padding-bottom: 4px;
		margin-right: 25px;
	}
	
	.main-navigation ul > li.menu-item-has-children:before {
		position: absolute;
		top: -4px;
		right: 0;
		display: inline-block;
	    font-family: FontAwesome;
	    font-size: 125%;
	    text-rendering: auto;
	    -webkit-font-smoothing: antialiased;
	    color: #009ece;
	    content: "\f107";
	}
	
	.main-navigation ul > li.menu-item-has-children {
		padding-right: 25px;
	}
	
	.main-navigation ul > li.current-menu-item, .main-navigation ul > li.current-menu-ancestor, .main-navigation ul > li.current-menu-parent {
		border-bottom: solid 3px #009ece;
	}
	
	.main-navigation ul li:after {
		position: absolute;
		display: block;
		content: ' ';
		left: 0;
		top: 100%;
		width: 100%;
		height: 30px;
	}
	
	.main-navigation ul li > ul {
		display: none;
		position: absolute;
		left: -6px;
		top: 28px;
		width: 300px;
		text-align: left;
		background: #f5f4f3;
		padding: 6px;
		margin-left: 0;
		z-index: 10000;
	}
	
	.main-navigation ul li:hover ul {
		display: block;
	}
	
	.main-navigation ul li ul li {
		display: block;
		padding-bottom: 0;
		margin-right: 0;
	}
	
	.main-navigation ul li ul > li.current-menu-item, .main-navigation ul li ul > li.current-menu-ancestor, .main-navigation ul li ul > li.current-menu-parent {
		border-bottom: none;
	}
	
	.main-navigation ul li ul > li.current-menu-item a, .main-navigation ul li ul > li.current-menu-ancestor a, .main-navigation ul li ul > li.current-menu-parent a {
		border-left: solid 3px #009ece;
		padding-left: 4px;
	}
	
	.site-footer .accreditation {
		text-align: left;
	}
	
	.site-footer .site-info {
		text-align: right;
	}
	
}