@CHARSET "UTF-8";

/***********************************************************************************/

@font-face {
    font-family: 'BookmanOldStyle';
    src: url('/css/fonts/BookmanOldStyle.eot?#iefix') format('embedded-opentype'), url('/css/fonts/BookmanOldStyle.woff') format('woff'), url('/css/fonts/BookmanOldStyle.ttf') format('truetype'), url('/css/fonts/BookmanOldStyle.svg#BookmanOldStyle') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'BookmanOldStyle-Italic';
	src:	url('/css/fonts/BookmanOldStyle-Italic.eot?#iefix') format('embedded-opentype'),
		url('/css/fonts/BookmanOldStyle-Italic.woff') format('woff'),
		url('/css/fonts/BookmanOldStyle-Italic.ttf') format('truetype'),
		url('/css/fonts/BookmanOldStyle-Italic.svg#BookmanOldStyle-Italic') format('svg');
	font-weight: normal;
	font-style: italic;
}

@font-face {
    font-family: 'BookmanOldStyle-BoldItalic';
    src: url('/css/fonts/BookmanOldStyle-BoldItalic.eot?#iefix') format('embedded-opentype'), url('/css/fonts/BookmanOldStyle-BoldItalic.woff') format('woff'), url('/css/fonts/BookmanOldStyle-BoldItalic.ttf') format('truetype'), url('/css/fonts/BookmanOldStyle-BoldItalic.svg#BookmanOldStyle-BoldItalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'BookmanOldStyle-Bold';
	src:	url('/css/fonts/BookmanOldStyle-Bold.eot?#iefix') format('embedded-opentype'),
		url('/css/fonts/BookmanOldStyle-Bold.woff') format('woff'),
		url('/css/fonts/BookmanOldStyle-Bold.ttf') format('truetype'),
		url('/css/fonts/BookmanOldStyle-Bold.svg#BookmanOldStyle-Bold') format('svg');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Empire';
	src:	url('/css/fonts/Empire.eot');
	src:	url('/css/fonts/Empire.eot?#iefix') format('embedded-opentype'),
		url('/css/fonts/Empire.woff') format('woff'),
		url('/css/fonts/Empire.ttf') format('truetype'),
		url('/css/fonts/Empire.svg#Empire') format('svg');
	font-weight: normal;
	font-style: normal;
}


@font-face {
    font-family: 'GreatVibes-Regular';
    src: url('/css/fonts/GreatVibes-Regular.eot?#iefix') format('embedded-opentype'), url('/css/fonts/GreatVibes-Regular.woff') format('woff'), url('/css/fonts/GreatVibes-Regular.ttf') format('truetype'), url('/css/fonts/GreatVibes-Regular.svg#GreatVibes-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MyriadPro-Regular';
    src: url('/css/fonts/MyriadPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


/***********************************************************************************/

* {
    position: relative;
    margin: 0px;
    padding: 0px;
}

html {
    position: relative;
    height: 100% !important;
}

body {
	position: relative !important;
	margin: 0px !important;
	padding-top:94px;
	min-width: 320px;
	height: 100% !important;
	min-height: 400px;
	font-family: 'BookmanOldStyle', serif;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}


body.template_home  {
	padding-top:0px;
}


a:focus,
img {
    outline: none;
}

img,
a::-moz-focus-inner {
    border: 0;
}

input[type="submit"]::-moz-focus-inner {
    border: 0;
}

table {
    margin: auto;
}

a {
    cursor: pointer;
    color: #383972;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.clear {
    clear: both;
}

.center {
    text-align: center;
}

.vcenter {
    vertical-align: middle;
}

.bold {
    font-weight: bold;
}

.redborder {
    border-color: #ce3036 !important;
}

.red {
    color: red;
}

.error {
    color: #ce3036;
}

.small {
    font-size: 10px;
}

.go_bottom {
    display: none;
}

.page {
    margin: 0px auto;
    padding: 0px 30px;
    max-width: 1200px;
}

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

#test {
    position: fixed;
    top: 0px;
    padding: 0px 10px;
    color: white;
    background: rgba(255, 0, 0, 0.5);
    z-index: 1000;
}
.container {
    margin: 0px auto;
    max-width: 1200px;
}

.lg-backdrop.in {
    opacity: 0.5;
}

.lg-sub-html h4,
.lg-sub-html p {
    color: white;
    font-size: 0.938em;
}

.lg-sub-html {
    padding: 23px 40px;
}

.lg-toolbar {}

.lg-actions {
    position: absolute;
    width: 100%;
    display: block;
    margin: auto;
    top: 0;
    bottom: 0;
}

.lg-actions .lg-prev::after {
    content: "";
}

.lg-actions .lg-prev,
.lg-actions .lg-next {
    background-image: url("svg/arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    height: 40px;
    width: 40px;
    background-color: rgba(0, 0, 0, 0);
}

.lg-actions .lg-next::before {
    content: "";
}

.lg-actions .lg-next {
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.lg-actions .lg-prev {
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.lg-outer .lg-thumb-outer,
.lg-outer .lg-toogle-thumb {
    background-color: white;
    color: black;
}

.lg-outer .lg-toogle-thumb:hover {
    color: black;
}

.lg-outer .lg-thumb-item {
    border: none;
}

body,
span,
p,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #1a1a1a;
}
ol,
ul {
	list-style:none;
}

/********************************************************************/
.viesistaba {
	display:inline-block;
	padding:0px 40px;
	line-height:100px;
	font-family: "Empire";
	font-size:100px;
	font-weight:normal;
	text-align:center;
	text-indent:10px;
	letter-spacing:10px;
}
.viesistaba:before,
.viesistaba:after {
	content:"";
	position:absolute;
	bottom:17px;
	width:12px;
	height:12px;
	background:#1a1a1a;
	
	-webkit-border-radius:	50%;
	-moz-border-radius:	50%;
	-ms-border-radius:	50%;
	-o-border-radius:	50%;
	border-radius:		50%;
}
.viesistaba:before {
	left:0px;
}
.viesistaba:after {
	right:0px;
}


#page_header {
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	z-index:98;
}
#page_header:before {
	content:"";
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
	height:100%;
	background:white;
	
	-webkit-transition: 0.5s ease;
	-moz-transition: 0.5s ease;
	-ms-transition: 0.5s ease;
	-o-transition: 0.5s ease;
	transition: 0.5s ease;
}
body.template_home.top #page_header:before {
	height:0px;
}
#page_header_table {
	display:table;
	width:100%;
	border-collapse:separate;
	border-spacing:0px;
}
.page_header_table_cell {
	display:table-cell;
	height:94px;
	text-align:center;
	vertical-align:middle;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
.page_header_table_cell.mlogo,
.page_header_table_cell.social_list,
.page_header_table_cell.icon_list {
	display:none;
}
.page_header_table_cell.social_list,
/*.page_header_table_cell.icon_list,*/
.page_header_table_cell.logo,
.page_header_table_cell.log,
.page_header_table_cell.burger {
	width:1%;
}

.page_header_table_cell.social_list {
	padding:12px 30px;
	text-align:left;
	white-space:nowrap;
}
.page_header_table_cell.icon_list {
	padding:12px;
	text-align:center;
}
body.template_home.top .page_header_table_cell.social_list,
body.template_home.top .page_header_table_cell.icon_list {
	display:table-cell;
}
.page_header_table_cell.logo {
	padding:12px 30px;
	text-align:left;
}
body.template_home.top .page_header_table_cell.logo,
body.template_home.top .page_header_table_cell.category_menu {
	display:none;
}
.page_header_table_cell.log {
	padding:12px 0px 12px 12px;
	text-align:right;
}
.page_header_table_cell.burger {
	padding:12px 12px 12px 0px;
	text-align:right;
}

.social_list a,
.icon_list a,
.icon_list a svg,
.icon_list a .item {
	display: inline-block;
	vertical-align:middle;
}
.social_list a,
.icon_list a {
	margin-left:12px;
	line-height:17px;
	font-size:15px;
}
#footer .social_list a,
#footer .icon_list a {
	margin-bottom:24px;
	white-space:nowrap;
}
#footer .icon_list a .item {
	white-space:normal;
}
.social_list a:first-child,
.icon_list a:first-child {
	margin-left:0px;
}
.social_list a:hover,
.icon_list a:hover,
.icon_list a:hover .item {
	color:#cccccc;
	text-decoration:none;
}
.social_list a {
	height:24px;
	width:24px;
}
.icon_list a svg {
	height:20px;
	width:20px;
}
.social_list a svg {
	display:block;
	width:100%;
	height:100%;
}
.social_list a svg path,
.social_list a svg polygon,
.icon_list a svg path {
	fill:#1a1a1a;
}
.social_list a:hover svg path,
.social_list a:hover svg polygon,
.icon_list a:hover svg path {
	fill:#cccccc;
}

#home_info .icon_list li {
    display: inline-block;
    padding-bottom: 0;
    padding-right: 14px;
}

#home_info .icon_list .icon {
    margin-top: 0;
    width: 20px;
    height: 15px;
    float: left;
}

.page_header_table_cell .viesistaba {
	display:inline-block;
	padding:0px 28px;
	line-height:70px;
	font-family: "Empire";
	font-size:70px;
	font-weight:normal;
	text-align:center;
	text-indent:7px;
	letter-spacing:7px;
}
.page_header_table_cell .viesistaba:before,
.page_header_table_cell .viesistaba:after {
	bottom:12px;
	width:8px;
	height:8px;
}
.page_header_table_cell .viesistaba:hover {
	text-decoration:none;
}

/* Dots + menu */
#category_menu_block {
	display:inline-block;
	vertical-align:middle;
	z-index:1;
}

#category_menu {
	display:table;
	border-collapse:separate;
	border-spacing:0px;
}
.category_menu_item {
	display:table-cell;
	vertical-align:middle;
}

.category_menu_link {
	display:block;
	padding:6px 12px;
	line-height:17px;
	font-family:"BookmanOldStyle-Bold";
	font-weight:normal;
	font-size:13px;
	text-align:center;
	text-transform:uppercase;
}
.category_menu_item.active .category_menu_link,
.category_menu_item:hover .category_menu_link {
	color:#cccccc;
	text-decoration:none;
}

/* Loging + menu */
#log_menu_block {
	display:inline-block;
	vertical-align:middle;
	z-index:1;
}
#log_menu {
	position:absolute;
	display:none;
	padding:calc(48px + 30px) 12px 30px 12px;
	top:0px;
	right:0px;
	min-width:200px;
	background:white;
	border:1px solid #ebebeb;
}
#log_menu_block.open #log_menu {
	display:block;
}
.log_menu_item {
	display:block;
}
.log_menu_link {
	display: block;
	padding:9px 0px;
	line-height:17px;
	font-family: "BookmanOldStyle-Bold";
	font-weight:normal;
	font-size:13px;
	text-align:right;
	text-transform:uppercase;
}
.log_menu_item.active .log_menu_link,
.log_menu_item:hover .log_menu_link {
	color:#cccccc;
	text-decoration:none;
}
#toggle_log_menu {
	display:inline-block;
	padding:12px;
	cursor: pointer;
}
#toggle_log_menu svg {
	display:block;
	width:24px;
	height:24px;
}
#log_menu_block.open #toggle_log_menu svg {
	display:none;
}
#toggle_log_menu svg path {
	fill:#1a1a1a;
}
#log_menu_block.open #toggle_log_menu:before {
	content: "×";
	display:block;
	line-height:24px;
	width:24px;
	height:24px;
	font-weight:normal;
	font-size:60px;
	text-align:center;
	text-indent: -6px; /* Suka krusts par lielu */
}
#toggle_log_menu .user_image {
	margin:-12px;
	width:48px;
	height:48px;
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
	
	-webkit-border-radius:	50%;
	-moz-border-radius:	50%;
	-ms-border-radius:	50%;
	-o-border-radius:	50%;
	border-radius:		50%;
}
#log_menu_block.open #toggle_log_menu .user_image {
	display:none;
}
#toggle_log_menu .user_image svg {
	width:100%;
	height:100%;
}

#log_in_form {
	
}
#log_in_form .input_div_table {
	display: table;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0px;
}
#log_in_form .input_div_table .input_div_table_cell {
	display: table-cell;
	text-align: right;
	vertical-align: middle;
}
#log_in_form .input_div_table .input_div_table_cell:first-child {
	padding-right:12px;
	line-height:20px;
	font-family: "BookmanOldStyle";
	font-size:16px;
	text-align: left;
}
.input_div {
	padding-bottom:12px;
}
.input_div input {
	padding:12px;
	max-width:100%;
	line-height:18px;
	color:#1a1a1a;
	font-family: "BookmanOldStyle";
	font-size:16px;
	background:white;
	border: 1px solid #ebebeb;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	
	-webkit-border-radius:	0px;
	-moz-border-radius:	0px;
	-ms-border-radius:	0px;
	-o-border-radius:	0px;
	border-radius:		0px;
}
#log_in_form .input_div .eye {
	position: absolute;
	right: 0px;
	top: 0px;
	width: 44px;
	height: 44px;
	cursor: pointer;
}
#log_in_form .input_div .eye svg {
	position:absolute;
	display:none;
	margin-top:-10px;
	margin-left:-10px;
	top:50%;
	left:50%;
	width:20px;
	height:20px;
}
#log_in_form .input_div .eye svg:first-child {
	display:block;
}
#log_in_form .input_div .eye.show svg {
	display:block;
}
#log_in_form .input_div .eye.show svg:first-child {
	display:none;
}
#log_in_form .input_div .eye svg path {
	fill:#1a1a1a;
}
#log_in_form .input_div .forgot_password {
	display:inline-block;
	line-height:20px;
	color:#1a1a1a;
	font-family: "BookmanOldStyle";
	font-size:16px;
	text-align: center;
}
#log_in_form .input_div .login {
	display: inline-block;
	padding:11px 36px;
	line-height:18px;
	color: #1a1a1a;
	font-family: "BookmanOldStyle-Bold";
	font-size:16px;
	text-align: center;
	text-transform: uppercase;
	background:white;
	border: 2px solid #ebebeb;
	
	-webkit-border-radius:	45px;
	-moz-border-radius:	45px;
	-ms-border-radius:	45px;
	-o-border-radius:	45px;
	border-radius:		45px;
}



/* Burgers + menu */
#header_menu_block {
	display:inline-block;
	vertical-align:middle;
	z-index:1;
}
#header_menu {
	position:absolute;
	display:none;
	padding:calc(48px + 30px) 12px 30px 12px;
	top:0px;
	right:0px;
	min-width:200px;
	background:white;
	border:1px solid #ebebeb;
}
#header_menu_block.open #header_menu {
	display:block;
}
.header_menu_item {
	display:block;
}
.header_menu_link {
	display: block;
	padding:9px 0px;
	line-height:17px;
	font-family: "BookmanOldStyle-Bold";
	font-weight:normal;
	font-size:13px;
	text-align:right;
	text-transform:uppercase;
}
.header_menu_item.active .header_menu_link,
.header_menu_item:hover .header_menu_link {
	color:#cccccc;
	text-decoration:none;
}
#toggle_header_menu {
	display:inline-block;
	padding:12px;
	cursor: pointer;
}
#toggle_header_menu:before {
	content:"";
	display:block;
	width:36px;
	height:16px;
	border-top:4px solid #1a1a1a;
	border-bottom:4px solid #1a1a1a;
}
#toggle_header_menu:after {
	content: "";
	position: absolute;
	margin-top:-2px;
	margin-left:-18px;
	left:50%;
	top:50%;
	width:36px;
	height:4px;
	background:#1a1a1a;;
}
#header_menu_block.open #toggle_header_menu:before {
	content: "×";
	line-height:24px;
	height:24px;
	font-weight:normal;
	font-size:60px;
	text-align:center;	
	border:none;
}
#header_menu_block.open #toggle_header_menu:after {
	display:none;
}






#test {
    background-color: transparent;
}

#price_div {
    padding-bottom: 30px;
    margin-top: 16px;
    padding-top: 6px;
    border-top: 1px solid black;
    display: inline-block;
}



.item_list li a:hover,
#ask_question:hover,
.blog_right_post_link:hover .title,
.righter li:hover a,
.blog_item .blurb .more:hover,
.blog_item .title:hover,
.blog_item a:hover,
.data_item.share:hover {
    color: #cccccc !important;
}

.item_list li a:hover {
    text-decoration: none;
}






.breadcrumbs .previous_page {
    float: left;
    display: inline-block;
    color: #cccccc;
    padding-right: 5px;
    font-size: 0.750em;
}

.breadcrumbs .previous_page a {
    color: #cccccc;
}

.breadcrumbs .previous_page:before {
    content: " » ";
}

.breadcrumbs .previous_page:first-child:before {
    content: "";
}

.breadcrumbs .previous_page:last-child {
    color: black;
}

#page_info+.breadcrumbs {
    padding-top: 20px;
}


/* =================================================== */



li,
span,
a {
    font-family: "BookmanOldStyle";
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
    font-family: "BookmanOldStyle-Bold";
    letter-spacing: 0.0em;
}

a {
   /* color: black;*/
}

a:hover {
   /* color: black;*/
}

.center {
    text-align: center;
}


/* =================================================== */

#home_info {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    padding: 38px 42px;
    z-index: 10;
    text-align: left;
    font-size: 0.938em !important;
    background-color: transparent;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    transition: background-color 0.8s ease-in-out;
}

#home_info .slider {
    left: 0;
    right: 0;
    top: 0;
    background-color: white;
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}

#home_alt_header #page_header {
   /* display: none;*/
}

#home_info *:not(.slider) {
    z-index: 98;
}

#home_info.slide {
    display: none;
}

#home_info .icon_list {
    display: inline-block;
    vertical-align: top;
}




#home_header {
	
	background-image: url("svg/arrows.svg"), url("images/home.png");
	background-position: bottom 44px center, top center;
	background-repeat: no-repeat;
	background-size: 20px, cover;
	text-align: center;
}
#home_header_table {
	display:table;
	width:100%;
	border-collapse: separate;
	border-spacing:0px;
}
#home_header_table_cell {
	display:table-cell;
	padding:100px 30px;
	height:800px;
	text-align:center;
	vertical-align:middle;
}

#home_header.zsv {
    background-image: url("svg/arrows.svg"), url("images/home_zsv.jpg");
}

#home_logo {
	
	
}
.top_logo {
	height:90px;
	background-image:url("/css/svg/logo_top.svg");
	background-position:center;
	background-repeat:no-repeat;
	background-size:contain;
}

#home_logo .title {
    text-align: center;
    font-size: 94px;
    letter-spacing: 10.5px;
    z-index: 10;
    font-family: "Empire";
    background-image: url("svg/logo.svg"), url("svg/logo.svg");
    background-size: 12px, 12px;
    background-repeat: no-repeat;
    background-position: left 6px bottom 12px, right 8px bottom 12px;
    width: 376px;
    padding-left: 10px;
    margin: auto;
}

#home_logo .subtitle {
	padding-top:24px;
	line-height:48px;
	font-family: "GreatVibes-Regular";
	font-weight:normal;
	font-size:48px;
	text-align:center;
}

#home_header .contents {
	padding-top:48px;
}

.video_block {
    height: 60px;
    width: 126px;
    margin: auto;
    background-image: url("svg/play.svg");
    background-repeat: no-repeat;
    background-position: top 10px center;
    background-size: 32px 32px;
}

.video_block .title {
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    text-transform: uppercase;
    color: white;
    font-weight: bold;
    font-size: 0.813em;
}

#quick_nav {
	margin:auto;
	padding-top:60px;
	max-width:400px;
	text-transform:uppercase;
}

#quick_nav li {
	border-bottom: 1px solid rgba(26, 26, 26, 0.15);	
	
	-webkit-border-image:	-webkit-linear-gradient(left,		transparent 0%,	rgba(26, 26, 26, 0.15) 50%,	transparent 100%);
	-moz-border-image:	-moz-linear-gradient(	left,		transparent 0%,	rgba(26, 26, 26, 0.15) 50%,	transparent 100%);
	-ms-border-image:	-ms-linear-gradient(	left,		transparent 0%,	rgba(26, 26, 26, 0.15) 50%,	transparent 100%);
	-o-border-image:	-o-linear-gradient(	left,		transparent 0%,	rgba(26, 26, 26, 0.15) 50%,	transparent 100%);
	border-image:		linear-gradient(	to right,	transparent 0%,	rgba(26, 26, 26, 0.15) 50%,	transparent 100%);
	
	border-image-slice: 1;
}

#quick_nav li a {
	display:inline-block;
	padding:12px;
	line-height:17px;
	color:#1a1a1a;
	font-family:'BookmanOldStyle-Bold';
	font-weight:bold;
	font-size:13px;
}

#quick_nav li a:hover {
	text-decoration:none;
}

#quick_nav li:last-child {
	border: none;
}

#gift_card {
    margin-top: 60px;
    display: inline-block;
    font-family: "BookmanOldStyle-Italic";
    font-size: 0.750em;
    width: 105px;
    background-image: url("images/gift.png");
    background-repeat: no-repeat;
    background-position: center;
    height: 44px;
    padding-top: 12px;
}

#gift_card:hover {
    background-image: url("images/gift_hover.png");
}

#gift_card:hover,
#gift_card_link {
    color: #484644 !important;
    text-decoration: none !important;
}

.news_blocks {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    /*
	align-items: center;
	justify-content: center;*/
    width: 100%;
	padding-top: 45px;
	padding-bottom:75px;
}

.news_block {
    width: 20%;
    max-width: 300px;
    margin-right: 8px;
}

.news_blocks .news_block:last-child {
    margin-right: 0;
}

.news_block .image {
    height: 160px;
    width: 100%;
    background-color: #eee;
    background-position: center;
    background-size: cover;
}

.news_block .category {
    display: block;
    padding-top: 8px;
    font-family: "BookmanOldStyle-Bold";
    font-weight: bold;
}

.news_block .category,
.news_block .date {
    font-size: 0.875em;
}

.news_block .date {
    font-family: "BookmanOldStyle-Italic";
    display: block;
    padding-top: 15px;
}

.news_block .title {
    font-size: 1.125em;
    line-height: 1.125em;
    min-height: 60px;
    padding-top: 15px;
}

.news_block .title_link {
    display: block;
    padding-right: 10px;
    font-family: "BookmanOldStyle-Bold";
    font-weight: bold;
}

#spend_time {
    padding-top: 75px;
    padding-bottom: 75px;
}

#spend_time h2.title {
    padding-bottom: 40px;
}

#spend_time .event_blocks .event_block {
    width: 25%;
    height: 220px;
}

#testimonials {
	padding-top: 104px;
	min-height: 416px;
	color: white;
	text-align: center;
	background-position:center;
	background-size: cover;
}
#testimonials .title {
	line-height:36px;
	color: white;
	font-size:24px;
	text-transform:uppercase;
}

#quote_symbol {
    color: white;
    font-size: 5.625em;
    position: absolute;
    top: 60px;
    display: block;
    text-align: center;
    margin: auto;
    left: 0;
    right: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#testimonials .testimonial {
    display: none;
}

#testimonials .testimonial.active {
    display: block;
    padding: 0px 30px;
}

#testimonials .left,
#testimonials .right {
    background-image: url("svg/arrow.svg");
    height: 12px;
    width: 20px;
    background-size: cover;
    position: absolute;
    top: 150px;
    margin: auto;
    z-index: 10;
    cursor: pointer;
}

#testimonials .left {
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

#testimonials .right {
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    right: 0;
}

#testimonials .description,
#testimonials .description p {
    padding-top: 120px;
    max-width: 1000px !important;
    width: 100% !important;
    margin: auto !important;
    font-size: 1.125em !important;
    color: white;
    line-height: 1.750em !important;
    font-size: 1em !important;
}

.testimonial .company {
	display: block;
	color: white;
	line-height:17px;
	font-size:13px;
	text-transform: none !important;
}

#testimonials .description p {
    margin-top: 0;
    padding-top: 0;
}

#testimonials .name {
    font-size: 1.125em;
    padding-top: 60px;
    display: block;
    color: white;
}

#question_form {
    margin-top: 85px;
    padding-top: 104px;
    height: 408px;
    background-size: cover;
}

#question_form .form_header {
    display: block;
    width: 100%;
    padding-top: 50px;
    overflow: hidden;
}

#question_form .form_header .input_container {
    display: inline-block;
    float: left;
    width: calc(33.33333333% - 10px);
    margin-left: 15px;
}

#question_form .form_header .input_container input {
    display: block;
    width: 100%;
}

#question_form .form_header .input_container:first-of-type {
    margin-left: 0;
}

#question_form span.error {
    position: absolute;
    margin-top: -20px;
    text-align: left;
    display: block;
}

#question_form #message {
    resize: none;
    width: 100%;
}

#question_form textarea,
#question_form input {
    border-radius: 0;
    color: black;
    font-family: "BookmanOldStyle";
    border: 1px solid white;
}

#question_form textarea:focus,
#question_form input:focus {
    border-color: white;
}

#question_form input {
    height: 44px;
}

#question_form textarea {
    height: 102px;
}

::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: black;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: black;
    opacity: 1;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: black;
    opacity: 1;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: black;
}

:placeholder-shown {
    /* Standard (https://drafts.csswg.org/selectors-4/#placeholder) */
    color: black;
}

#question_form .form_header input:first-child {
    margin-left: 0;
}

#send_question,
.send_question {
    margin-top: 10px;
}


/* =================================================== */

#contacts {
    background-image: url("images/contacts.png");
    background-position: center;
    background-size: cover;
}

#contacts h4:first-child {
    padding-top: 80px;
}

#contacts h4 {
    font-family: "BookmanOldStyle-Bold";
    text-transform: uppercase;
    font-size: 1.500em;
    padding-bottom: 30px;
}

#contacts strong {
    font-weight: bold;
}

#contact_info_general {
    padding-bottom: 62px;
}

#contact_info_company {
    padding-bottom: 86px;
}

#contacts li {
    padding-bottom: 8px;
}

#contacts p {
    line-height: 1.500em;
    font-size: 1em;
}

#contacts .six.columns>p {
    width: 50%;
}

#map {
	padding-bottom:80px;
	width: 50%;
}

#map_inner {
	width: 100%;
	border: 2px solid #1a1a1a;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#page_info {
	min-height:556px;
	text-align:center;
	vertical-align:middle;
	background-position:center bottom;
	background-repeat:no-repeat;
	background-size:cover;
}

#page_info a {
    color: white;
}

#page_info .title {
    text-transform: uppercase;
    font-size: 2.250em;
    padding-top: 212px;
    font-family: "BookmanOldStyle-Bold";
    letter-spacing: 0;
    color: white;
}

#page_info .subtitle {
    font-size: 1.250em;
    padding-top: 14px;
    display: block;
    font-family: "BookmanOldStyle-Italic";
    letter-spacing: -0.009em;
    color: white;
}

#page_info .action {
    margin-top: 94px;
}

#page_info .categories {
	position:absolute;
	margin:auto;
	padding:6px 0px;
	left:0px;
	right:0px;
	bottom:0px;
	width: 346px;
	letter-spacing: 0.072em;
	background-color:rgba(0, 0, 0, 0.75);
}
#page_info .categories a {
	display:block;
	padding:12px;
	color:white;
	line-height: 1.250em;
	font-size: 0.813em;
	text-transform: uppercase;
	
	border-top: 1px solid transparent;
	-moz-border-image: -moz-linear-gradient(left, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
	-webkit-border-image: -webkit-linear-gradient(left, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
	border-image: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
	border-image-slice: 1;
}
#page_info .categories a:first-child {
	border: none;
}
#page_info .categories a:hover,
#page_info .categories a.active {
	text-decoration:none;
	background-color:rgba(255, 255, 255, 0.2);
}


#page_content {
    padding-top: 80px;
}

.toggle_title,
.toggle_contents {
    padding-left: 32px;
}

.toggle_title {
    display: inline-block;
    float: left;
    clear: left;
    padding-top: 6px;
    padding-bottom: 6px;
    line-height: 28px;
    font-family: "BookmanOldStyle-Bold";
    text-align: left;
    vertical-align: middle;
    border-top: 1px solid #e1e1e1;
    background-image: url("svg/ch_more.svg");
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left top 10px;
    cursor: pointer;
}
.toggle_title:first-child {
	border-top:none;
}
.toggle_title.active {
    color: #b7b7b7;
    background-image: url("svg/ch_less.svg");
}

.toggle_contents {
    display: none;
}

.toggle_contents.active,
.toggle_contents p {
    display: block;
    float: none;
    clear: left;
    font-size: 1em;
    line-height: 1.438em;
    text-align: left !important;
}

.event_blocks {
    display: table;
    margin: -16px -16px;
    width: calc(100% + 32px);
    border-collapse: separate;
    border-spacing: 16px;
}

.event_blocks.extra_blocks {
    margin: -8px -8px;
    width: calc(100% + 16px);
    border-spacing: 8px;
}

.event_blocks.extra_blocks.blocks5 .event_block {
    width: 20%;
    height: 200px;
}

.event_row {
    display: table-row;
}

.event_block {
    display: table-cell;
    width: 33.33%;
    height: 288px;
    color: white;
    text-align: center;
    vertical-align: middle;
    background-image: url("images/event.jpg");
    background-size: cover;
}

.event_blocks.extra_blocks .event_block {
    width: 25%;
    height: 218px;
}

.event_block:hover {
    text-decoration: none;
}

.event_block:hover:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

.event_block .icon {
    display: block;
    margin: auto;
    height: 48px;
    width: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: auto;
}

.event_block .title {
    display: block;
    padding: 16px;
    line-height: 1.413em;
    color: white;
    font-family: "BookmanOldStyle-Bold";
    font-weight: bold;
    font-size: 1.250em;
    text-align: center;
    text-transform: uppercase;
}

.event_blocks.extra_blocks .event_block .title {
    padding: 8px;
}

.event_blocks.iconless .title {
    margin-top: 134px;
}

.event_block a {
    color: white;
    font-family: "BookmanOldStyle-Bold";
}

.event_block a:hover {
    text-decoration: none;
}

.event_block .link,
.news_block .image .link {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.event_block *:hover~.link,
.news_block .image *:hover~.link {
    background-color: rgba(0, 0, 0, 0.1);
}

.event_block .link:hover,
.news_block .image .link:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

#seminars .four .event_block {
    width: 25%;
    height: 230px;
}


/* === */

.extra_blocks {
    /*display: block;*/
}

.extra_blocks.event_page.blocks1 .event_block {
    width: calc(100% - 4px);
}

.extra_blocks.event_page.blocks2 .event_block {
    /*width: calc(50% - 6px);*/
}

.extra_blocks.event_page.blocks3 .event_block {
    width: calc(33.33333% - 4px);
}

.event_cat_top_blocks .event_block a {
    color: white;
}

.event_cat_top_blocks {
    padding-bottom: 60px;
    padding-top: 84px;
}

.event_cat_top_blocks.no_bottom_padding {
    padding-bottom: 0px;
}

.event_cat_top_blocks.no_top_padding {
    padding-top: 0px;
}


/* === */

#text_title {
    padding-top: 0;
    text-align: left !important;
}

#page_content h2 {
    text-transform: uppercase;
    text-align: center;
    font-size: 1.500em;
}

#page_content>p,
.title_block,
.info {
    text-align: center;
}

#page_content .info {
    padding-top: 70px;
    padding-bottom: 140px;
}

#page_content .info.for_event_cat {
    padding-bottom: 0;
}

#page_content .info .title {
    padding-bottom: 40px;
    font-size: 1.500em;
}

#page_content .info .description {
    line-height: 1.375em;
}

#page_content .title_block {
    padding-bottom: 40px;
}

#page_content .title_block.for_menu_blocks {
    padding-bottom: 0;
}

#page_content .title_block.for_menu_blocks:first-child {
    padding-top: 75px;
}

#page_content.no_gallery {
    padding-top: 0;
}

.seminar_second_title {
    padding-top: 30px;
}

#team .team_title_block {
    padding-top: 34px;
}

#team .team_title_block:first-child {
    padding-top: 0;
}

.across {
	padding-top:140px;
	padding-bottom:140px;
	color:white;
	text-align:center;
}

.across .title {
    text-transform: uppercase;
    font-size: 1.500em;
    color: white;
}

.across .description {
    padding-top: 34px;
    line-height: 1.500em;
    color: white;
}

.premises_block .action,
.across .action,
#page_info .action,
.more-btn,
#comment_input_container .action,
#send_question,
#action_buttons .action,
.send_question {
    display: inline-block;
    text-align: center;
    border: 3px solid white;
    border-radius: 45px;
    padding: 16px 50px;
    font-size: 1em;
    line-height: 1em;
    display: inline-block;
    text-transform: uppercase;
    color: white;
    font-family: "BookmanOldStyle-Bold";
}

.across .action:hover,
#apply_btn:hover,
.action.pdf:hover {
    background-color: white;
    color: black !important;
    text-decoration: none;
}

.action.pdf {
    margin-left: 10px;
}


/*
#apply_btn:hover {
	border-color: black;
	color: black;
	text-decoration: none;
}
*/

.more-btn:hover {
    color: #c2c2c2;
    text-decoration: none;
}

#action_buttons {
    padding-bottom: 50px;
}

.modal_block #send_question,
.send_question,
#action_buttons .action:hover,
.premises_block .action:hover {
    border-color: #ebebeb;
    color: black;
    text-decoration: none;
}

#action_buttons .action,
.premises_block .action {
    border-color: black;
    color: black;
    padding: 10px 30px;
}

#action_buttons .action.active {
    border-color: #ebebeb;
    color: #c2c2c2;
}

.across .action {
    margin-top: 50px;
}

.promo_blocks {}

.promo_block {
    float: left;
    width: 16.666666666666666666666666666667%;
    height: 280px;
    background-size: 28px 28px;
    background-repeat: no-repeat;
    background-position: center 100px;
}

.promo_block:hover {
    text-decoration: none;
}

.promo_block:hover .title {
    color: #cccccc;
}

.promo_blocks .promo_block:nth-child(4) {
    background-size: 24px 28px;
}

.promo_block .title {
	margin:auto;
	padding:140px 5px 0px 5px;
	max-width:130px;
	line-height: 1.188em;
	font-family: "BookmanOldStyle";
	font-size: 0.938em;
	text-align: center;
	text-transform: uppercase;
	word-spacing: 200px;
}

#paragraph_gallery {
	
}

#paragraph_gallery .six.columns {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
}

#paragraph_gallery .twelve.columns {
    padding-bottom: 70px;
}

.description_container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    padding: 30px 30px 30px 0px;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-direction: normal;
    -moz-box-direction: center;
    -ms-flex-direction: center;
    -webkit-justify-content: center;
    justify-content: center;
}

#paragraph_gallery.no_images,
#paragraph_gallery.no_images .description_container {
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
}

#paragraph_gallery.no_images .twelve.columns {
    padding-bottom: 0;
    display: table-cell;
    width: 100%;
}

#paragraph_gallery+.row>.twelve.columns>.title_block:first-child {
    padding-top: 80px;
}

#paragraph_gallery .description,
#paragraph_gallery .description p {
    text-align: left;
    line-height: 1.438em;
    font-size: 1.125em;
}

#paragraph_gallery .description p.center {
    text-align: center;
}

#paragraph_gallery .description li {
    list-style: disc;
    list-style-position: inside;
}

.gallery_container .preview {
    width: calc(80% - 8px);
    margin-right: 8px;
    height: 304px;
    background-color: #eee;
    display: inline-block;
    float: left;
    background-image: url("svg/camera.svg"), url("images/gallery.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 48px 42px, cover;
    display: none;
    cursor: pointer;
    z-index: 1;
}

.gallery_container .preview:first-child {
    display: block;
}

.thumbnails {
    display: inline-block;
    width: 20%;
}

.gallery_container .thumbnail {
    background-color: #ccc;
    display: block;
    width: 100%;
    margin-top: 8px;
    display: none;
    padding-top: 70px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gallery_container .thumbnail:nth-child(1),
.gallery_container .thumbnail:nth-child(2),
.gallery_container .thumbnail:nth-child(3),
.gallery_container .thumbnail:nth-child(4) {
    display: block;
}

.gallery_container .thumbnail:hover {
    cursor: pointer;
}

.gallery_container .thumbnails .thumbnail:first-child {
    margin-top: 0;
}

.tab_header {
	display: table;
	background-color: #e8e8e8;
	border: 2px solid #e8e8e8;
	border-bottom: none;
	width: 100%;
	margin-top: 76px;
	margin-bottom: 14px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.tab_header li {
	display: table-cell;
	padding: 12px 0;
	width: 25%;
	font-family: "BookmanOldStyle-Bold";
	font-size: 1em;
	text-align: center;
	vertical-align: middle;
	text-transform: uppercase;
	cursor: pointer;
}

.tab_header li.active {
	background-color: white;
	color: #cccccc;
	cursor: default;
}

.cource_block_container .course_blocks {
    display: none;
}

.cource_block_container .course_blocks.active {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
}

.course_blocks {
    margin-bottom: 12px;
}

.course_block {
    display: none;
    width: calc(33.333333% - 1px);
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    height: 292px;
    background-image: url("svg/circle.svg"), url("svg/circle.svg"), url("svg/circle.svg"), url("svg/circle.svg");
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: -14px -14px, right -14px top -14px, bottom -14px left -14px, bottom -14px right -14px;
}

.course_block .contents {
    padding-left: 20px;
    padding-right: 20px;
}

.course_blocks .course_block:nth-child(3n+1) {
    /* left column */
    background-position: -100px -100px, right -14px top -14px, bottom -100px left -100px, bottom -14px right -14px;
}

.course_blocks .course_block:nth-child(3n+3) {
    /* right column */
    border-right: none;
    background-position: -14px -14px, right -100px top -100px, bottom -14px left -14px, bottom -100px right -100px;
}

.course_blocks .course_block:nth-child(1) {
    /* top left column */
    background-position: -100px -100px, right -100px top -100px, bottom -100px left -100px, bottom -14px right -14px;
}

.course_blocks .course_block:nth-child(2) {
    /* top middle column */
    background-position: -100px -100px, right -100px top -100px, bottom -14px left -14px, bottom -14px right -14px;
}

.course_blocks .course_block:nth-child(3) {
    /* top right column */
    background-position: -100px -100px, right -100px top -100px, bottom -14px left -14px, bottom -100px right -100px;
}

.course_blocks .course_block.last_row:not(.row1),
.course_blocks .course_block.last_row:not(.row1),
.course_blocks .course_block.last_row:not(.row1) {
    border-bottom: none;
    background-position: -14px -14px, right -14px top -14px, bottom -100px left -100px, bottom -100px right -100px;
}

.course_blocks.rows1 .course_block:nth-last-child(1),
.course_blocks.rows1 .course_block:nth-last-child(2),
.course_blocks.rows1 .course_block:nth-last-child(3) {
    border-bottom: none;
    background-position: -100px -100px, right -100px top -100px, bottom -100px left -100px, bottom -100px right -100px;
}

.course_blocks .course_block:nth-child(1),
.course_blocks .course_block:nth-child(2),
.course_blocks .course_block:nth-child(3),
.course_blocks .course_block:nth-child(4),
.course_blocks .course_block:nth-child(5),
.course_blocks .course_block:nth-child(6),
.course_blocks .course_block.shown {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-direction: normal;
    -moz-box-direction: center;
    -ms-flex-direction: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.course_blocks .course_block.empty {
    border-right: none;
}


/*
.course_blocks .course_block:nth-child(3n+1) {
	border-right: none;
	background-position: -100px -100px, right -14px top -14px, bottom -100px left -100px, bottom -14px right -14px;
}

.course_blocks .course_block:nth-child(3n) {
	background-position: -14px -14px, right -100px top -100px, bottom -14px left -14px, bottom -100px right -100px;
}

.course_blocks .course_block:nth-child(1) {
	background-position: -100px -100px, right -100px top -100px, bottom -100px left -100px, bottom -14px right -14px;
}

.course_blocks .course_block:nth-child(2) {
	background-position: -100px -100px, right -100px top -100px, bottom -14px left -14px, bottom -14px right -14px;
}

.course_blocks .course_block:nth-child(3) {
	background-position: -100px -100px, right -100px top -100px, bottom -14px left -14px, bottom -100px right -100px;
}

.course_blocks .course_block:nth-last-child(1), .course_blocks .course_block:nth-last-child(2), .course_blocks .course_block:nth-last-child(3) {
	border-bottom: none;
	background-position: -14px -14px, right -14px top -14px, bottom -100px left -100px, bottom -100px right -100px;
}

.course_blocks .course_block:nth-last-child(1) {
	background-position: -14px -14px, right -100px top -100px, bottom -100px left -100px, bottom -100px right -100px;
}

.course_blocks .course_block:nth-last-child(3) {
	background-position: -100px -100px, right -14px top -14px, bottom -14px left -14px, bottom -100px right -100px;
}*/

.course_block .title {
    padding-bottom: 22px;
    font-size: 1.250em;
    font-family: "BookmanOldStyle-Bold";
}

.course_block .items .item {
    padding-bottom: 3px;
}

.course_block .items .item:nth-last-child(2) {
    padding-bottom: 16px;
}

.course_block .items .item:last-child {
    border-top: 1px solid #e8e8e8;
    display: inline-block;
    padding-top: 6px;
}

.course_block .item {
    font-size: 0.875em;
    line-height: 1.250em;
}

.more-btn {
    border-color: #e8e8e8;
    color: black;
    margin: auto;
}

.courses_center {
    padding-top: 60px;
    width:100%; /* huiņa, bet ātrumā neko citu neizdomāju */
}

#more_courses {
   /* display: none;*/
}

.includes_container {
    margin-top: 76px;
    margin-bottom: 100px;
    padding-bottom: 50px;
    color: white;
    text-align: center;
    text-transform: uppercase;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #262626;
    background-image: url("images/blackboard.png");
    background-size: cover;
}

#blog_menu_post .includes_container {
    margin-top: 6px;
}

#blog_menu_post #page_content {
    padding-top: 38px;
}

.blog_category_block:not(:last-child) {
    margin-bottom: 62px;
}

.blog_category_block .center {
    margin-top: 40px;
}

.includes_container>.title {
    padding-top: 60px;
    padding-bottom: 38px;
    font-size: 1.500em;
    color: white;
}

.includes_blocks {
    display: -webkit-inline-box;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    margin: 0 25px;
}

.includes_block {
    width: calc(20% - 1px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    height: 166px;
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center 38px;
}

.includes_blocks .includes_block:nth-child(3) {
    background-size: 22px;
}

.includes_blocks .includes_block:nth-child(4) {
    background-size: 24px;
}

.includes_blocks .includes_block:nth-child(5) {
    /*background-position: center 44px;*/
}

.includes_blocks .includes_block:nth-child(8) {
    background-size: 20px;
    background-position: center 36px;
}

.includes_blocks .includes_block:nth-child(9) {
    background-size: 24px;
}

.includes_blocks .includes_block:nth-child(10) {
    background-position: center 42px;
}

.includes_block .title {
    padding-top: 80px;
    display: block;
    width: 200px;
    margin: auto;
    font-size: 0.938em;
    line-height: 1.125em;
    color: white;
}

.includes_blocks .includes_block:nth-child(5n+1) {
    border-left: none;
}

.includes_blocks .includes_block:nth-last-child(1),
.includes_blocks .includes_block:nth-last-child(2),
.includes_blocks .includes_block:nth-last-child(3),
.includes_blocks .includes_block:nth-last-child(4),
.includes_blocks .includes_block:nth-last-child(5) {
    border-bottom: none;
}

.info_container {
    border: 1px solid #ebebeb;
    text-align: center;
    margin-bottom: 28px;
    background-color: white;
}

.info_container.no_button {
    padding-bottom: 26px;
}

.info_container .title {
    font-size: 1.500em;
    line-height: 1.500em;
    margin-top: -0.750em;
    background-color: white;
    padding: 0 30px;
    display: inline-block;
    text-transform: uppercase;
    background-image: url("svg/circle.svg"), url("svg/circle.svg");
    background-repeat: no-repeat, no-repeat;
    background-size: 11px 11px, 11px 11px;
    background-position: left 12px, right 12px;
}

.info_container .contents {
    padding-top: 36px;
    padding-left: 45px;
    padding-bottom: 20px;
    text-align: left;
}

.info_container .more-btn {
    margin-bottom: -28px;
    background-color: white;
}

.info_container .list {
    width: 90%;
}

.info_container li {
    margin-top: 0 !important;
    list-style-type: disc;
    padding-bottom: 11px;
    line-height: 1.375em;
}

.info_container li.list_title {
    list-style-type: none;
    padding-top: 8px;
}

.info_container li.no_bulleting {
    list-style-type: none;
}

.info_container .item {
    display: none;
}

.info_container .item.shown {
    display: list-item;
}

.info_container .list li:last-child {
    padding-bottom: 0;
}

#simple_faq {
    background-color: #f8f8f8;
    padding-top: 90px;
    padding-bottom: 60px;
    text-align: center;
}

#course #simple_faq {
    margin-top: 85px;
}

#simple_faq .title {
    font-size: 1.500em;
    padding-bottom: 35px;
}

#simple_faq .contents {
    overflow: hidden;
}

.blog_item {
    border-bottom: 1px solid #ebebeb;
    padding: 30px 0;
    max-width: 830px;
    display: table;
}

.blog_image_link:hover {
    content: "";
    text-decoration: none;
}

#blog_items .blog_item:first-child {
    padding-top: 0;
}

#blog_items .blog_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog_item .image {
    width: auto;
    height: 234px;
    width: 352px;
    background-color: #eee;
    display: inline-block;
}

.blog_item .blog_image_link {
    display: table-cell;
    max-width: 350px;
}

.blog_item .contents {
    display: inline-block;
    height: 234px;
    padding-left: 32px;
    width: 100%;
    max-width: 440px;
    vertical-align: top;
    display: table-cell;
}

.blog_item .title {
    font-size: 1.375em;
    line-height: 1em;
    padding-top: 16px;
}

.blog_item .blurb {
    text-align: left !important;
    font-size: 1em;
    line-height: 1.500em;
    padding-bottom: 30px;
    font-family: "BookmanOldStyle";
    padding-top: 30px;
}

.blog_item .blurb .more {
    font-family: "BookmanOldStyle-Bold";
}

.blog_item .data {
    font-size: 0.750em;
    line-height: 0.750em;
    position: absolute;
    bottom: 30px;
}

.data_item {
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 22px;
    margin-right: 12px;
}

.data_item.date {
    background-image: url("svg/blog/pencil.svg");
}

.data_item.views {
    background-image: url("svg/blog/eye.svg");
}

.data_item.share {
    background-size: 12px;
    background-image: url("svg/blog/share.svg");
}

.blog_left {
	float:left;
	padding-right:30px;
	width:70%;
	border-right:1px solid #ebebeb;
	
	box-sizing:border-box;
	-moz-box-sizing:border-box;
}
.righter {
	float:right;
	padding-left:30px;
	width:30%;
	
	box-sizing:border-box;
	-moz-box-sizing:border-box;
}
.content {
	line-height:24px;
	font-family: 'BookmanOldStyle';
	font-weight:normal;
	font-size:16px;
}
.content p {
	padding-bottom:24px;
}
.video_frame {
	padding-top: 56.25%;
	height: 0px;
}

.video_frame iframe,
.video_frame video {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}


.righter h4 {
    font-size: 1.375em;
    padding-bottom: 22px;
}

.righter h4:first-child {
    padding-top: 20px;
}

.righter ul {
    padding-bottom: 46px;
}

.righter li {
    list-style-type: disc;
    line-height: 1.500em;
    margin-left: 20px;
}

.data_item_container {
    display: inline-block;
}

.data_item.share {
    cursor: pointer;
}

.soc_share_items {
    display: none;
    margin-top: 6px;
    z-index: 100;
    background-color: white;
    border: 1px solid black;
    position: absolute;
    padding-bottom: 0 !important;
}

.soc_share_items .soc_item {
    min-width: 160px;
    font-size: 0.750em !important;
    text-align: center;
    padding: 6px 10px;
    margin: 4px 6px;
    color: white;
    background-color: #333;
}

.soc_share_items li {
    list-style-type: none !important;
    font-size: inherit !important;
    margin-left: 6px !important;
}

.soc_link {
    color: white;
}

.soc_link:hover {
    text-decoration: none;
}

.soc_share_items .fb {
    background-color: #3b5998;
}

.soc_share_items .tw {
    background-color: #00aced;
}

.soc_share_items .gp {
    background-color: #d14836;
}

.soc_share_items .dr {
    background-color: #ff6a06;
}

.image_list {
    padding-top: 8px;
}

.image_list .item {
    list-style: none;
    margin: 0;
    display: table-row;
}

.image_list .item a:first-child,
.image_list .item a:last-child {
    display: table-cell;
    vertical-align: top;
}

.image_list .item a:first-child {
    width: 90px;
    max-width: 90px;
}

.image_list .image {
    display: inline-block !important;
    width: 90px !important;
    height: auto;
    padding-bottom: 30px;
}

.image_list div.image {
    display: inline-block !important;
    width: 90px !important;
    height: 0;
    background-position: center;
    background-size: cover;
    padding-top: 65%;
    padding-bottom: 0px;
    margin-bottom: 30px;
}

.image_list .title {
    display: -webkit-inline-box;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-direction: normal;
    -moz-box-direction: center;
    -ms-flex-direction: center;
    -webkit-justify-content: center;
    justify-content: center;
    font-size: 1em !important;
    line-height: 1.250em !important;
    vertical-align: top;
    padding-left: 14px;
    text-transform: none !important;
    padding-bottom: 30px;
}

#post_container {
	
}

#post_container .title {
    text-align: left;
    text-transform: none;
    font-size: 1.375em;
    padding-bottom: 26px;
}

#post_container .content>table {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    table-layout: fixed;
    overflow: scroll;
}

#page_content .description>table {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    table-layout: fixed;
    overflow: scroll;
}

.modal .container .contents .contents>table {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    table-layout: fixed;
    overflow: scroll;
}

#post_container .content>table td,
#post_container .content>table th {
    border: 1px solid #ebebeb;
    text-align: center;
    vertical-align: middle;
    padding: 20px 30px 20px 30px;
}

#post_container .content>table td p {
    text-align: center;
}

#post_container .content>table td:first-child,
#post_container .content>table th:first-child {
    border-left: none;
}

#post_container .content>table td:last-child,
#post_container .content>table th:last-child {
    border-right: none;
}

#page_content .description>table td,
#page_content .description>table th {
    border: 1px solid #ebebeb;
    text-align: center;
    vertical-align: middle;
    padding: 20px 30px 20px 30px;
}

#page_content .description>table td p {
    text-align: center;
}

#page_content .description>table td:first-child,
#page_content .description>table th:first-child {
    border-left: none;
}

#page_content .description>table td:last-child,
#page_content .description>table th:last-child {
    border-right: none;
}

.modal .container .contents .contents>table td,
.modal .container .contents .contents>table th {
    border: 1px solid #ebebeb;
    text-align: center;
    vertical-align: middle;
    padding: 20px 30px 20px 30px;
}

.modal .container .contents .contents>table td p {
    text-align: center;
}

.modal .container .contents .contents>table td:first-child,
.modal .container .contents .contents>table th:first-child {
    border-left: none;
}

.modal .container .contents .contents>table td:last-child,
.modal .container .contents .contents>table th:last-child {
    border-right: none;
}

.pin {
    display: inline-block;
    position: fixed;
    bottom: 78px;
    right: 20px;
    z-index: 101;
}

.pin svg {
    width: 60px;
    height: 60px;
}

#footer_baner_block {
    position: fixed;
    bottom: 0px;
    left: 0px;
    box-sizing: border-box;
    margin: 18px;
    max-width: 100%;
    width: 348px;
    height: 188px;
    background-color: white;
    z-index: 200;
}

#footer_baner_block .hide {
    display: none;
}

#footer_baner_table {
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: table;
    width: 100%;
    height: 100%;
    border-collapse: separate;
    border-spacing: 0px;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 5px;
    vertical-align: middle;
    text-align: center;
}

#footer_baner_close svg {
    display: block;
    width: 24px;
    height: 17px;
    top: 7px;
}

#footer_baner_close {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    -webkit-transition: 0.5s ease;
    -moz-transition: 0.5s ease;
    -ms-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    transition: 0.5s ease;
}

#footer_baner_close:hover {
    text-decoration: none;
}

.footer_baner_text {
    position: absolute;
    margin: 0px 25px 14px 25px;
    box-sizing: border-box;
    position: absolute;
    bottom: 0px;
}

.footer_baner_text p {
    font-size: 18px;
    font-family: 'MyriadPro-Regular';
    color: white;
    line-height: 23px;
}

#footer_baner_table .image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#footer_baner_table .image a {
    display: block;
    padding-top: 56.52%;
    background-color: rgba(0, 0, 0, 0.2);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.display_none {
    display: none;
}

display_block {
    display: unset;
}

.image img {
    top: 0;
    position: absolute;
    right: 100%;
}


#blog_menu_post {
    border-top: 1px solid #ebebeb;
}

#event_intro_text {
    line-height: 1.5em;
    display: block;
}

#event #page_content {
    padding-top: 38px;
    clear: both;
}

#event h1.title,
#blog_menu_post #post_container .title_container .title,
#blog_menu_post #post_container .title_container .subtitle,
#blog_post #post_container .title,
#blog_post #post_container .subtitle {
    text-transform: uppercase;
    font-size: 1.500em;
    padding-bottom: 0;
    text-align: left;
}

#event .title,
#blog_menu_post #post_container .title_container .title {
    display: inline-block;
}

#blog_menu_post #post_container .title_container span {
    font-size: 1.500em;
    font-family: "BookmanOldStyle-Bold";
}

#blog_menu_post #post_container .title_container .title,
#blog_menu_post #post_container .title_container .subtitle {
    line-height: 1.250em;
}

#blog_menu_post #post_container .title_container,
#blog_post #post_container .title_container {
    padding-bottom: 40px;
}

#event .subtitle {
    text-align: left;
    font-family: "BookmanOldStyle";
    text-transform: none;
    font-size: 1em;
}

#event .title_container {
    padding-bottom: 30px;
}

#blog_menu_post #post_container>.image,
#blog_post #post_container>.image,
.blog_part>.image {
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center;
}

#event .blog_left .image {
    margin-bottom: 20px;
    padding-top: 56.25%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#blog_post #post_container>.image,
#blog_menu_post #post_container>.image {
    margin-bottom: 20px;
    padding-top: 56.25%;
}

.blog_part>.title {
    padding-bottom: 30px;
}

#event .quote {
    font-family: "BookmanOldStyle-Italic";
    line-height: 1.500em;
    /*border-left: 1px solid #cccccc;
	padding-left: 6px;*/
    display: block;
    margin-bottom: 25px;
    padding-bottom: 0;
}

#event .quote h3,
#event .quote h4,
#event .quote h5,
#event .quote h6,
#event .quote strong {
    font-family: "BookmanOldStyle-BoldItalic";
    display: block;
}

#event #post_container .content ul,
#blog_menu_post #post_container .content ul {
    padding-bottom: 25px;
}

#event .content ul li:not(.price) strong {
    display: block;
    /*background-image: url("svg/li.svg");*/
    background-size: 6px;
    background-repeat: no-repeat;
    background-position: center left;
    /*padding-left: 12px;*/
    line-height: 1.500em;
}

#event #post_container .content li {
    margin-top: 16px;
}

#blog_menu_post #post_container .content ul {
    display: inline-block;
}

#blog_menu_post #post_container .content li {
    border-top: 1px solid #ebebeb;
    padding: 15px 0;
}

#blog_menu_post #post_container .content li:first-child {
    border-top: 0;
}

#blog_menu_post #post_container .content li:nth-last-child(2) {
    padding-bottom: 0;
}

#event li:not(.price) span {
    line-height: 1.500em;
    display: block;
}

#event ul .price,
#blog_menu_post #post_container ul .price {
    margin-top: 16px;
    padding-top: 6px;
    border-top: 1px solid black;
    display: inline-block;
}

#authorize .authorize {
    display: inline-block;
}

#event .image_list {
    padding-top: 0;
}

#event .image_list .item:first-child {
    margin-top: 0;
}

#info_event_cat {
    padding-top: 70px;
}

.extra_blocks.event_page.extra_menu .event_block {
    width: calc(20% - 8px);
    height: 174px;
}

#post_container p,
#post_container ul {
    text-align: left;
    font-size: 1em;
    line-height: 1.500em;
    padding-bottom: 30px;
    font-family: "BookmanOldStyle";
}

#post_container li {
    list-style-type: disc;
    font-size: 16px;
    margin-left: 30px;
}

#post_container li li {
    list-style-type: circle;
}

#post_container>.content a {
    color: #0072bc;
}
#post_container .content img {
	max-width:100%;
	height:auto;
}

#action_buttons a {
    color: black !important;
}

#post_container>.content a:hover {
    text-decoration: underline !important;
}

#post_container ul ul {
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: 4px;
}

#post_container .gallery_container {
    width: 566px;
    margin: auto;
    padding-bottom: 30px;
}

#comment_container {
    padding-top: 60px;
}

#authorize {
    padding-top: 4px;
    padding-bottom: 70px;
}

#comment_container .authenticate div {
	display:inline-block;
}
#log_menu .authenticate {
	padding-top:24px;
}
.authenticate div a {
	display:block;
	padding:6px 12px 6px 30px;
	text-align:center;
	border: 1px solid #1a1a1a;
	background-position: left 6px  center;
	background-repeat: no-repeat;
	background-size: 20px 20px;
}
#log_menu .authenticate div {
	padding-top:12px;
}
.authenticate div a.go_pass {
	background-image: url("svg/gp.svg");
}
.authenticate div a.fb_pass {
	background-image: url("svg/fb.svg");
}
.authenticate div a.tw_pass {
	background-image: url("svg/tw.svg");
}
.authenticate div a.dr_pass {
	background-image: url("svg/dr.svg");
}



#authorize .option {
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 16px;
    margin-left: 26px;
}

#authorize .option.fb {
    background-image: url("svg/fb.svg");
    background-size: 10px 18px;
}

#authorize .option.tw {
    background-image: url("svg/tw.svg");
    background-size: 15px 15px;
    padding-left: 18px;
}

#authorize .option.gp {
    background-image: url("svg/gp.svg");
    background-size: 18px 18px;
    padding-left: 24px;
}

#authorize .option.dr {
    background-image: url("svg/dr.svg");
    background-size: 18px 18px;
    padding-left: 22px;
}

#comment_input_container {
    padding-bottom: 46px;
    overflow: hidden;
    display: table;
    width: 100%;
}

#comment {
    width: 100%;
    max-width: 720px;
    height: 100px;
    border-radius: none;
    border: 1px solid #ebebeb;
    resize: none;
    margin-bottom: 8px;
}

#comm_right,
#comm_left {
    display: table-cell;
    vertical-align: top;
}

#comm_left {
    width: 50px;
}

#comment_input_container .action {
    border-color: #e8e8e8;
    color: black;
    float: right;
    padding: 11px 40px;
}

#comment_container .user_image {
    display: inline-block;
}

#comment_container .user_image {
	margin-right:12px;
	width:100px;
	height:100px;
	vertical-align:top;
	background-color:#eee;
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
}

#comments .comments .photo {
    display: inline-block;
}

#comments {
    padding-top: 6px;
}

#comments .comments .right h3 {
    font-size: 1.125em !important;
}

#comments .comments:first-child {
    padding-top: 0;
}

#comments .comments:last-child {
    border-bottom: none;
}

#comments .comments {
    display: table;
    vertical-align: top;
    border-bottom: 1px solid #ebebeb;
    padding-top: 30px;
}

#comments .comments .photo {
    float: left;
    display: table-cell;
    width: 60px;
}

#comments .comments .photo div {
    width: 50px;
    height: 50px;
}

#comments .comments .right {
    /*padding-top: 10px;*/
    width: 100%;
    max-width: 720px;
    display: table-cell;
    vertical-align: top;
}

#comments .comments .date {
    display: none;
}

#comments .comments p {
    padding-top: 6px !important;
    padding-bottom: 36px !important;
}

.blog_lined {
    padding-bottom: 80px;
    border-bottom: 1px solid #f8f7f6;
}

.member_blocks {
    margin: 0px -28px;
    text-align: center;
}

.member_blocks .member_block {
    display: inline-block;
    padding-bottom: 38px;
    margin: 0px 28px;
    width: 186px;
    text-align: center;
    vertical-align: top;
}

.member_blocks .member_block .image {
    width: 100%;
    height: 214px;
    display: block;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    margin-bottom: 22px;
}

.member_blocks .member_block .title {
    text-transform: uppercase;
    padding-bottom: 6px;
}

.gift_cards_contents p {
    text-align: left !important;
    font-family: "BookmanOldStyle" !important;
}

.premises_blocks {
    padding-top: 60px;
    text-align: center;
}

.premises_blocks .premises_block {
    padding-bottom: 60px;
}

.premises_blocks .premises_block .title {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.5em;
}

.premises_blocks .premises_block .description {
    padding-bottom: 40px;
    padding-top: 20px;
    line-height: 1.438em;
    font-size: 1.125em;
}

/* Dzīvesstila skola */
.online_course_blocks {
	
}
.online_course_block {
	padding:30px 0px;
	border-top: 1px solid #ebebeb;
}
.online_course_block:first-child {
	padding-top:0px;
	border-top:none;
}
.online_course_block_table {
	display:table;
	width:100%;
	border-collapse:separate;
	border-spacing:0px;
}
.online_course_block_table_image,
.online_course_block_table_content {
	display:table-cell;
	text-align:left;
	vertical-align:top;
}
.online_course_block_table_image {
	
	width:5%;
}
.online_course_block_table_content {
	padding-left:30px;
}
.online_course_block_image_big img {
	max-width:100%;
	height:auto;
}
.online_course_block_image {
	display:block;
	padding-top:56.25%;
	width:352px;
	background:#ebebeb;
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
}
.online_course_block_table_content h3,
.online_course_block_table_content h3 a {
	line-height:30px;
	color: #1a1a1a;
	font-family: "BookmanOldStyle-Bold";
	font-weight: bold;
	font-size:22px;
}
.online_course_block_table_content h3 a {
	display:inline-block;	
}
.online_course_block_table_content h3 a:hover {
	color: #cccccc;
}
.online_course_block_table_content .teaser {
	padding-top:30px;
	line-height:24px;
	font-size:16px;
}
.online_course_price {
	padding-top:12px;
	text-align:center;
	white-space:nowrap;
}

/* ORDER page */
#order_form {
	margin:auto;
	width:600px;
	max-width:100%;
	text-align:center;
}
.order_form_table {
	margin:30px 0px;
	width:100%;
	border-collapse:separate;
	border-spacing:0px;
}
.order_form_table_td {
	padding:6px 0px 6px 12px;
	width:50%;
	line-height:20px;
	font-size:16px;
	text-align:left;
	vertical-align:middle;
}
.order_form_table_td:first-child {
	padding-left:0px;
	padding-right:12px;
	text-align:right;
}
th.order_form_table_td {
	font-family: "BookmanOldStyle-Bold";
	font-weight: bold;
}
.order_form_table_td input {
	padding:0px 6px;
	width: 100%;
	height: 44px;
	line-height:20px;
	font-family:inherit;
	font-size:16px;
	border: 1px solid #ebebeb;
		
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

/* PROFILS */
#profile_header {
	padding-top:100px;
	background-position:center bottom;
	background-repeat:no-repeat;
	background-size:cover;
}
#profile_header_tabs_div {
	
}
#profile_header_tabs {
	margin:-1px 0px 0px -1px;
	font-size:0px;
	font-size:0;
	text-align: center;
}
.profile_header_tab {
	display:inline-block;
	margin:1px 0px 0px 1px;
	padding:12px;
	color:white;
	line-height:16px;
	font-size:13px;
	text-transform: uppercase;
	white-space:nowrap;
	background:rgba(0, 0, 0, 0.75);
}
.profile_header_tab.active {
	color:#1a1a1a;
	background:rgba(255, 255, 255, 0.75);
}

#profile_content {
	padding-top:64px;
}

#profile_info_table {
	display:table;
	margin: auto;
	width:100%;
	max-width: 900px;
	border-collapse:separate;
	border-spacing:0px;
}
.profile_info_table_cell {
	display: table-cell;
	padding-left:30px;
	width:33.33%;
	text-align: left;
	vertical-align: top;
}
.profile_info_table_cell:first-child {
	padding-left:0px;
	width:200px;
}
.profile_info_table_cell:first-child div {
	padding-top: 100%;
	width: 180px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.profile_info_table_cell:first-child div svg {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
}
.profile_info_table_cell:first-child div svg path {
	fill:#1a1a1a;
}
.profile_info_table_cell .profile_info_input {
	padding-bottom: 20px;
}
.profile_info_table_cell .profile_info_input .title,
.profile_info_table_cell .profile_info_input .value {
	line-height:20px;
	color:#1a1a1a;
	font-size:17px;
	text-align:left;
}
.profile_info_table_cell .profile_info_input .title {
	font-family: "BookmanOldStyle-Bold";
	font-weight: bold;
}
#info_password_change,
#info_invoice_data {
	padding-top:12px;
}

#info_password_change .input_div input::-webkit-input-placeholder,
#info_invoice_data .input_div input::-webkit-input-placeholder,
#recommend_presto_block .input_div input::-webkit-input-placeholder {
	color:#cccccc;
	font-family: 'BookmanOldStyle-Italic';
	font-style:italic;
	opacity:1;
}
#info_password_change .input_div input:-moz-placeholder,
#info_invoice_data .input_div input:-moz-placeholder,
#recommend_presto_block .input_div input:-moz-placeholder {
	color:#cccccc;
	font-family: 'BookmanOldStyle-Italic';
	font-style:italic;
	opacity:1;
}
#info_password_change .input_div input::-moz-placeholder,
#info_invoice_data .input_div input::-moz-placeholder,
#recommend_presto_block .input_div input::-moz-placeholder {
	color:#cccccc;
	font-family: 'BookmanOldStyle-Italic';
	font-style:italic;
	opacity:1;
}
#info_password_change .input_div input:-ms-input-placeholder,
#info_invoice_data .input_div input:-ms-input-placeholder,
#recommend_presto_block .input_div input:-ms-input-placeholder {
	color:#cccccc;
	font-family: 'BookmanOldStyle-Italic';
	font-style:italic;
	opacity:1;
}
#info_password_change .input_div input:placeholder-shown,
#info_invoice_data .input_div input:placeholder-shown,
#recommend_presto_block .input_div input:placeholder-shown {
	color:#cccccc;
	font-family: 'BookmanOldStyle-Italic';
	font-style:italic;
	opacity:1;
}
.save_button {
	display: inline-block;
	padding:11px 36px;
	line-height:18px;
	color: #1a1a1a;
	font-family: "BookmanOldStyle-Bold";
	font-size:16px;
	text-align: center;
	text-transform: uppercase;
	background:white;
	border: 2px solid #ebebeb;
	
	-webkit-border-radius:	45px;
	-moz-border-radius:	45px;
	-ms-border-radius:	45px;
	-o-border-radius:	45px;
	border-radius:		45px;
}

#profile_course_modules_table_block {
	margin-top:30px;
	padding:30px;
	border:1px solid #ebebeb;
}
#profile_course_modules_table {
	width:100%;
	border-collapse:separate;
	border-spacing:0px;
}
#profile_course_modules_table tr.details_opener,
#profile_course_modules_table tr.details_tr {
	
}
#profile_course_modules_table tr.details_opener {
	cursor:pointer;
}
#profile_course_modules_table tr.details_tr.hidden {
	display:none;
}

#profile_course_modules_table th,
#profile_course_modules_table td,
#profile_course_modules_table th,
#profile_course_modules_table td,
#profile_course_modules_table th,
#profile_course_modules_table td {
	padding:12px 0px 12px 12px;
	line-height:20px;
	color:#1a1a1a;
	font-size:17px;
	text-align:left;
	vertical-align:top;
}
#profile_course_modules_table th,
#profile_course_modules_table .bold {
	font-family: "BookmanOldStyle-Bold";
	font-weight: bold;
}
#profile_course_modules_table tr.details_opener td {
	border-top:1px solid #ebebeb;
}
#profile_course_modules_table th.module_status,
#profile_course_modules_table td.module_status {
	width:1%;
	text-align:center;
	white-space: nowrap;
}

#profile_course_modules_table tr.details_tr .video_module_frame {
	text-align:center;
}
#profile_course_modules_table tr.details_tr .video_module_frame .loading_image {
	display:block;
	margin:auto;
	max-width:100px;
}
#profile_course_modules_table tr.details_tr .video_module_frame h3,
#profile_course_modules_table tr.details_tr .video_module_frame h4,
#profile_course_modules_table tr.details_tr .video_module_frame h5 {
	padding: 0px 0px 24px 0px;
	line-height:24px;
	color:#1a1a1a;
	font-family: "BookmanOldStyle-Bold";
	font-weight: bold;
	font-size:18px;
}
#profile_course_modules_table tr.details_tr .video_module_frame .content {
	line-height:24px;
	color:#1a1a1a;
	font-size:16px;
}
#profile_course_modules_table tr.details_tr .video_module_frame .content p {
	/*padding-top:24px;*/
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_header {
	/*padding-bottom:30px;*/
	text-align:left;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_header .video_theme_table {
	width:100%;
	border-collapse:separate;
	border-spacing:0px;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_header .video_theme_table td {
	padding:0px;
	text-align:right;
	vertical-align:bottom;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_header .video_theme_table td:first-child {
	text-align:left;
	vertical-align:top;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_header h3 {
	font-family: 'BookmanOldStyle';
	font-weight: normal;
}

#profile_course_modules_table tr.details_tr .video_module_frame .module_video_files {
	text-align:left;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_files a {
	margin-top:24px;
	display:inline-block;	
	line-height: 20px;
	color: #ffba08;
	font-family: "BookmanOldStyle-Bold";
	font-weight: bold;
	font-size: 17px;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 2px;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_files a span {
	display:inline-block;
	vertical-align:middle;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_files a span.svg {
	margin-right:12px;
	text-align:center;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_files a span.svg svg {
	display:block;
	margin:auto;
	max-width:40px;
	height:auto;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_files a span.svg svg path,
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_files a span.svg svg rect {
	fill:#ffba08;
}

#profile_course_modules_table tr.details_tr .video_module_frame .module_video_themes {
	padding-top: 24px;
	text-align:left;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_themes h4 {
	padding-bottom:12px;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_themes .module_video_theme {
	line-height:24px;	
	color:#c2c2c2;
	font-size:16px;
	text-decoration:none;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_themes .module_video_theme.seen {
	color:#1a1a1a;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_themes .module_video_theme.active {
	color:#1a1a1a;
	font-family: "BookmanOldStyle-Bold";
	font-weight: bold;
}
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_themes .module_video_theme.seen:hover,
#profile_course_modules_table tr.details_tr .video_module_frame .module_video_themes .module_video_theme.active:hover {
	/*color: #ffba08;*/
	text-decoration: underline;
}
/* =================================================== */

#footer {
    padding-top: 85px;
}
#footer .footer_blocks {
	font-size:0px;
	font-size:0;
	text-align:justify;
	vertical-align:top;
}
#footer .footer_blocks:after {
	content:"";
	display:inline-block;
	width:100%;
}
#footer .footer_blocks .footer_block {
	display:inline-block;
	padding-left:12px;
	max-width:33.33%;
	vertical-align:top;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
#footer .footer_blocks .footer_block:first-child {
	padding-left: 0px;
}
.footer_block h4,
.footer_block .title {
	font-size:20px;
	line-height:26px;
	padding-bottom: 42px;
	text-transform: uppercase;
}
.footer_block li,
.footer_block li a {
	line-height:24px;
	font-size:15px;
}

.footer_block .item_list li:before {
    content: "» ";
}

.icon_list li {
    padding-bottom: 13px;
    padding-left: 30px;
}

.icon_list .icon {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: -30px;
    margin-top: 4px;
}

.social_list li {
    display: inline-block;
    padding-right: 14px;
    height: 20px;
    width: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#footer .social_list a:first-child li {
    margin-left: -3px;
}

.social_list .fb {
    width: 10px;
}

.social_list .fb:hover {
    background-image: url('/css/svg/fb_hover.svg') !important;
}

.social_list .yt:hover {
    background-image: url('/css/svg/yt_hover.svg') !important;
}

.social_list .tw:hover {
    background-image: url('/css/svg/tw_hover.svg') !important;
}

.social_list .in:hover {
    background-image: url('/css/svg/in_hover.svg') !important;
}

.social_list .dal:hover {
    background-image: url('/css/svg/dalder_hover.svg') !important;
}

#ask_question {
    font-size: 0.750em;
    display: inline-block;
    margin-top: 30px;
    text-decoration: underline;
}

#ask_question:after {
    content: " »";
}

#copyright_block {
	padding:60px 0px 72px 0px;
	line-height:24px;
	font-family: "BookmanOldStyle";
	font-size:15px;
	text-align: center;
}


/* =================================================== */

#lean_overlay {
    position: fixed;
    z-index: 100;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    background: #000;
    display: none;
}

.modal {
    display: none;
    left: 0 !important;
    /* margin-left: inherit !important;*/
    overflow-y: auto;
    top: 0 !important;
    bottom: 0;
    padding-top: 80px;
    width: 100%;
}

#ytplayer {
    width: 100%;
    z-index: 1000;
}

.modal .modal_close {
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    background-image: url("svg/close.svg");
    z-index: 100;
    right: -16px;
    top: -16px;
}

.modal .modal_block {
    background-color: white;
    padding-bottom: 35px;
    margin-top: 20px;
}

.modal_block .contents {
    padding: 0 26px;
}

.promo_modal .modal_block .contents {
    padding-top: 0;
}

.promo_modal li {
    list-style-type: disc;
    margin-left: 8px;
}

.modal_block {
    z-index: 10;
}

.modal_block .title {
    text-align: center !important;
    padding: 50px 0 !important;
    font-size: 1.500em;
    text-transform: uppercase !important;
}

.modal_block .image {
    width: 100% !important;
    background-color: #eee;
    height: 254px;
    background-size: cover;
    margin-bottom: 0 !important;
}

.modal_block .description {
    font-family: "BookmanOldStyle";
    font-size: 1em;
    line-height: 1.500em;
}

.modal_block .contents .contents {
    text-align: center;
}

.modal_block ul {
    padding-bottom: 0 !important;
}

.modal_block li {
    margin-top: 0 !important;
    line-height: 1.875em;
}

.modal_block .contents {
    padding-top: 20px;
}

.modal_block .contents p {
    text-align: left;
    font-size: 1em !important;
    line-height: 1.438em !important;
    font-family: "BookmanOldStyle" !important;
    padding-bottom: 13px;
}

.modal_block .contents li>p {
    padding-bottom: 0;
}

.modal_block .contents strong {
    display: inline !important;
    background-image: none !important;
    padding-left: 0 !important;
}

.modal_block .form_block {
    padding-top: 18px;
    height: 43px;
}

.modal_block .form_block.hidden {
    display: none;
}

.modal_block .form_block label {
    float: left;
    text-align: right;
    width: calc(25% - 6px);
    font-family: "BookmanOldStyle";
    font-size: 1em;
    padding-right: 6px;
    padding-top: 13px;
    
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.form_block label:after {
    content: ": ";
}

.form_block label.required:after {
    content: ":* ";
}

.modal_block .form_block input,
.modal_block .form_block textarea,
.styled_select .trigger {
    float: right;
    width: 75%;
    resize: none;
    height: 44px;
    border: 1px solid #ebebeb;
    border-radius: 0;
    margin-bottom: 0;
    font-family: "BookmanOldStyle";
    overflow: hidden;
    
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.modal_block .form_block.textarea {
    height: 100px;
}

.styled_select,
.styled_select .trigger {
    width: 82px;
    height: 44px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.styled_select .trigger {
    background-image: url("svg/select_arrow.svg");
    background-repeat: no-repeat;
    background-size: 9px 5px;
    background-position: center right 15px;
}

.styled_select {
    display: block;
    float: left;
}

.styled_select .trigger.active {
    border-color: black;
}

.styled_select .trigger .text {
    display: block;
    padding-top: 12px;
    padding-left: 8px;
}

.styled_select .trigger .text {
    font-family: "BookmanOldStyle-Bold";
    color: white;
    max-width: 90%;
    display: block;
}

.styled_select .trigger .text:first-line {
    color: black;
}

.styled_select .trigger .text.updated {
    font-family: "BookmanOldStyle";
}

.styled_select .elements {
    font-family: "BookmanOldStyle";
    display: none;
    position: absolute;
    min-height:32px;
    max-height: 200px;
    overflow-y: auto;
}

.styled_select.active .elements {
    display: block;
    background-color: white;
    border: 1px solid black;
    border-top: none;
    z-index: 100;
    margin-left: -2px;
}

.styled_select.active .elements li {
    padding-left: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1em;
    cursor: default;
}

.styled_select.active .elements li:hover {
    background-color: #ececec;
}

.styled_select.active .trigger {
    border: 1px solid black;
}

.modal_block .form_block textarea {
    height: 100px;
}

.styled_select#date,
.styled_select#date .trigger,
.styled_select.full,
.styled_select.full .trigger {
    width: 75%;
    float: left;
}

.styled_select#date .trigger,
.styled_select.full .trigger {
    width: 100%;
}

.styled_select#date .elements,
.styled_select.full .elements {
    margin-left: 0;
}

.modal_block .send_div {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.modal_block span.error {
    position: absolute;
    margin-top: -15px;
    z-index: 100;
    font-size: 0.8em;
}

.modal_block .form_block.unique span.error {
    left: 25%;
}

.modal_block .form_block.unique div.error .elements {
    color: black;
}

.modal_block .form_block.unique div.error .trigger {
    border-color: #ce3036;
}

.modal_block .form_block.unique div.error .elements {
    border-color: #ce3036;
}

#contact_submit_result,
.contact_submit_result {
    font-family: "BookmanOldStyle-Bold";
}

.modal_closer {
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    position: fixed;
    z-index: 1;
}

#lean_overlay.show {
    background-color: #000000;
    opacity: 0.4;
    display: block;
}

#ask_question_form {
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: white;
    border: #e1e1e1 1px solid;
    width: 379px;
    box-sizing: border-box;
    z-index: 101;
}

#ask_question_form .ask_top {
    padding: 20px 30px;
    cursor: pointer;
}

#ask_question_form .ask_top:hover .title.mazais {
    color: #cccccc;
}

#ask_question_form .ask_top:hover .title svg {
    fill: #cccccc;
}

#ask_question_form .ask_top .title.big {
    font-size: 20px;
    text-align: center;
    padding: 20px 0;
    display: none;
}

#ask_question_form .ask_top .title.mazais {
    position: relative;
}

#ask_question_form .title svg {
    position: absolute;
    top: 3px;
    right: 0;
    width: 10px;
    height: 10px;
}

#ask_question_form .title.big svg {
    top: 23px;
}

#ask_question_form .container {
    margin: 0 auto;
    display: none;
    padding: 20px 30px;
}

#ask_question_form .form_block label {
    text-align: left;
    min-width: 100px;
    max-width: 100px;
    box-sizing: border-box;
    display: inline-block;
    float: left;
    width: calc(25% - 6px);
    font-family: "BookmanOldStyle";
    font-size: 1em;
    padding-right: 6px;
    padding-top: 13px;
}

#ask_question_form .form_block .styled_select {
    width: calc(100% - 100px);
    box-sizing: border-box;
    display: inline-block;
    float: right;
    resize: none;
    height: 44px;
    margin-bottom: 0;
    font-family: "BookmanOldStyle";
}

#ask_question_form .form_block .styled_select .trigger {
    width: 100%;
    box-sizing: border-box;
}

#ask_question_form .styled_select.active .elements {
    margin-left: 0;
}

#ask_question_form .styled_select .trigger .text {
    padding-top: 14px;
}

#ask_question_form .form_block textarea {
    width: calc(100% - 100px);
    box-sizing: border-box;
    display: inline-block;
    float: right;
    resize: none;
    height: 44px;
    border: 1px solid #ebebeb;
    border-radius: 0;
    margin-bottom: 0;
    font-family: "BookmanOldStyle";
    overflow: hidden;
}

#ask_question_form .form_block input {
    width: calc(100% - 100px);
    float: right;
    resize: none;
    height: 44px;
    border: 1px solid #ebebeb;
    border-radius: 0;
    margin-bottom: 0;
    font-family: "BookmanOldStyle";
    overflow: hidden;
    box-sizing: border-box;
}

#ask_question_form .form_block {
    height: 43px;
}

.form_block+.form_block {
    padding-top: 18px;
}

#ask_question_form .form_block.textarea {
    height: 100px;
}

#ask_question_form .form_block.hidden {
    display: none;
}

#ask_question_form .send_div {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}


/************ GALLERY **************************************************************/
#gallery,
#gallery * {
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	-o-user-select:none;
	user-select:none;
}
#gallery {
	position:fixed;
	/*display:none;*/
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
	background-color: rgba(0,0,0,0.75);
	background-position:center;
	background-repeat:no-repeat;
	background-image:url("/css/images/loading.gif");
	background-size: 100px;
	z-index:1000;
}
#gallery_frame {
	position:absolute;
	top:50%;
	left:50%;
	text-align:center;
}
#gallery_image {
	display:none;
	max-width:100%;
	max-height:100%;
}
#gallery_image.visible {
	display:inline-block;
}
#gallery_left,
#gallery_right {
	position:absolute;
	top:0px;
	width:50%;
	height:100%;
	opacity:0.73;
	z-index:1;
	
	-webkit-transition:	0.5s ease;
	-moz-transition:	0.5s ease;
	-ms-transition:		0.5s ease;
	-o-transition:		0.5s ease;
	transition:		0.5s ease;
	
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	-o-user-select:none;
	user-select:none;
}
#gallery_left {
	left:0px;
}
#gallery_right {
	right:0px;
}
#gallery_left:hover,
#gallery_right:hover {
	text-decoration:none;
	opacity:1;
}

#gallery_left svg,
#gallery_right svg {
	position:absolute;
	margin-top:-15px;
	top:50%;
	width:30px;
	height:30px;
}
#gallery_left svg {
	left:10px;
}
#gallery_right svg {
	right:10px;
}



#gallery_close {
	position: absolute;
	padding: 10px;
	top: 0px;
	right: 0px;
	width: 20px;
	height: 20px;
	z-index:1;
	
	-webkit-transition: 0.5s ease;
	-moz-transition: 0.5s ease;
	-ms-transition: 0.5s ease;
	-o-transition: 0.5s ease;
	transition: 0.5s ease;
}
#gallery_close:hover {
	padding: 0px;
	width: 40px;
	height: 40px;
}
#gallery_close svg {
	display: block;
	width: 100%;
	height: 100%;
}
#gallery_close svg path {
	fill: white;
}
*[unreal_link] {
	cursor:auto !important;
}
/**************************************************************************/


@media screen and (max-width: 1024px) {

}
@media screen and (max-width: 960px) {
	/* jānovāc menu teksts */
	.page_header_table_cell.logo {
		display:none;
	}
	.page_header_table_cell.category_menu {
		padding:12px 30px 12px 12px;
		text-align:left;
	}
	.page_header_table_cell.mlogo {
		display:table-cell;
	}
	.page_header_table_cell.mlogo {
		display:table-cell;
	}
	body.template_home.top .page_header_table_cell.mlogo {
		display:none;
	}
	#category_menu {
		position:absolute;
		display:none;
		padding:calc(48px + 30px) 12px 30px 12px;
		top:0px;
		left:0px;
		min-width:200px;
		background:white;
		border:1px solid #ebebeb;
	}
	#category_menu_block.open #category_menu {
		display:block;
	}
	.category_menu_item {
		display: block;
	}
	.category_menu_link {
		padding:9px 0px;
		text-align:left;
	}
	
	#toggle_category_menu {
		display:inline-block;
		padding:12px;
		cursor: pointer;
	}
	#toggle_category_menu:before {
		content:"";
		display:block;
		margin:9px 0px;
		width:24px;
		height:6px;
		border-left:6px solid #1a1a1a;
		border-right:6px solid #1a1a1a;
	}
	#toggle_category_menu:after {
		content: "";
		position: absolute;
		margin-top:-3px;
		margin-left:-3px;
		left:50%;
		top:50%;
		width:6px;
		height:6px;
		background:#1a1a1a;;
	}
	#category_menu_block.open #toggle_category_menu:before {
		content: "×";
		margin:0px;
		width:36px;
		line-height:24px;
		height:24px;
		font-weight:normal;
		font-size:60px;
		text-align:center;	
		border:none;
	}
	#category_menu_block.open #toggle_category_menu:after {
		display:none;
	}
	

	#mobile_cat_trigger {
		position: fixed;
		top: 36px;
		left: 26px;
		width: 34px;
		height: 20px;
		cursor: pointer;
		z-index: 500;
	}
	#mobile_cat_trigger:before {
		content: "";
		position: absolute;
		top: 41.666666666666666666666666666667%;
		width: 11.764705882352941176470588235294%;
		height: 16.666666666666666666666666666667%;
		background: black;
		box-shadow: 0.54em 0 0 0 black, 1.10em 0 0 0 black;
	}
}
/* 320 - 768 */
@media screen and (max-width: 767px) {
	body {
		padding-top:72px;
	}
	.page {
		padding: 0px 12px;
	}
	.page_header_table_cell {
		height:72px;
	}
	body.template_home.top .page_header_table_cell.social_list {
		display:none;
	}
	.page_header_table_cell.icon_list {
		padding-right:0px;
	}
	.page_header_table_cell.category_menu {
		width:1%;
	}
	
	.page_header_table_cell.category_menu {
		padding:12px;
	}
	/*
	.page_header_table_cell.log,
	.page_header_table_cell.burger {
		padding:12px;
	}
	*/
	.viesistaba,
	.page_header_table_cell .viesistaba {
		padding:0px 20px;
		line-height:50px;
		font-size:50px;
		text-indent:5px;
		letter-spacing:5px;
	}
	.viesistaba:before,
	.viesistaba:after,
	.page_header_table_cell .viesistaba:before,
	.page_header_table_cell .viesistaba:after {
		bottom:9px;
		width:6px;
		height:6px;
	}
	#home_header {
		/*
		background-image: url(images/home.png);
		background-position: top center;
		background-size: cover;
		*/
		background-position: bottom 22px center, top center;
	}
	#home_header.zsv {
		background-image: url(images/home_zsv.jpg);
	}
	#home_header_table_cell {
		padding:72px 30px;
		height:600px;
	}
	#home_logo .subtitle {
		line-height:36px;
		font-size:36px;
	}
	#quick_nav {
		padding-top:12px;
	}
	.promo_blocks {
		text-align:center;
	}
	.promo_block {
		float:none;
		display:inline-block;
		margin:auto;
		padding:70px 0px;
		width:40%;
		height:auto;
		vertical-align:top;
		background-position:center 70px;
	}
	.promo_block .title {
		padding:60px 0px 0px 0px;
	}
	
	
	
	#footer {
		padding-top: 20px;
	}
	#footer .footer_blocks .footer_block {
		display:block;
		padding-top:45px;
		padding-left:0px;
		max-width:none;
		text-align:center;
	}
	#footer .footer_blocks .footer_block .icon_list,
	#footer .footer_blocks .footer_block .social_list,
	#footer .footer_blocks .footer_block .item_list {
		display:inline-block;
		min-width:51%;
		text-align:left;
	}
}
@media screen and (max-width: 599px) {
	body {
		padding-top:60px;
	}
	.page_header_table_cell {
		height:60px;
	}
	.page_header_table_cell.icon_list a {
		display:none;
	}
	.page_header_table_cell.icon_list a:first-child {
		display:inline-block;
	}
	.page_header_table_cell.category_menu,
	.page_header_table_cell.log,
	.page_header_table_cell.burger {
		padding: 0px;
	}
	#category_menu {
		position:fixed;
		padding:calc(48px + 30px) 30px 30px 30px;
		right:0px;
		bottom:0px;
		min-width:auto;
		border:none;
		overflow-y:auto;
	}
	.category_menu_link {
		padding:12px 0px;
		line-height:24px;
		font-size:16px;
	}
	#header_menu {
		position:fixed;
		padding:calc(48px + 30px) 30px 30px 30px;
		left:0px;
		bottom:0px;
		min-width:auto;
		border:none;
		overflow-y:auto;
	}
	.header_menu_link {
		padding:12px 0px;
		line-height:24px;
		font-size:16px;
	}
	#home_header_table_cell {
		padding:60px 30px;
		height:500px;
	}
	#home_logo .subtitle {
		line-height:30px;
		font-size:30px;
		padding:12px;
	}
	#quick_nav {
		padding-top:0px;
	}
}
@media screen and (max-width: 399px) {
	.page_header_table_cell .viesistaba {
		padding: 0px 12px;
		line-height: 30px;
		font-size: 30px;
		text-indent: 3px;
		letter-spacing: 3px;
	}
	.page_header_table_cell .viesistaba:before,
	.page_header_table_cell .viesistaba:after {
		bottom: 5px;
		width: 4px;
		height: 4px;
	}
}