body#jb-body {
	color: #000;
	/*padding-top: 20px;*/
	background-color: #b7e6ec;
	background-image: url("../img/top-bg-line-inside.jpg"), url("../img/body-bg-bottom.jpg");
	background-position: top, left bottom;
	background-repeat: repeat-x, no-repeat;
}

body#jb-body.big-header {
	background-image: url("../img/top-bg-line.jpg"), url("../img/body-bg-bottom.jpg");
	background-position: top, left bottom;
	background-repeat: repeat-x, no-repeat;
}

.item-page h4, .blog h4{
	font-size: 28px;
}

.item-page h3, .blog h3 {
	font-size: 30px;
	font-weight: normal;
}

.item-page h2.title, .blog h2 {
	font-weight: normal;
	font-size: 40px;
	margin-bottom: 30px;

}

body#jb-body a{
	color: #333;
}

.item-page hr, .blog hr {
	background: url("../img/hr.png") no-repeat center center;
	background-color: transparent;
	height:5px;
	border:none !important;
}

.page-header {
	padding-bottom: 9px;
	margin: 0;
	border-bottom: 0px none transparent;
}

a:hover {color: #000;}

.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container
{
	/*width: 980px;*/
}

.navbar-fixed-top {
	position: relative;
}

.navbar-fixed-top .navbar-inner, .navbar-static-top .navbar-inner
{
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	/*background-color: rgba(196,229,235,0.5);*/
	background-color: transparent;
	background-image: none;
	border: none;
}

.navbar .nav {
	margin: 0px;
}


.navbar .nav > li > a
{
	text-shadow: none;
	color: #606060;
	font-size: 17px;
	padding: 10px 11px;
	vertical-align: middle;
	-webkit-border-radius: 4px;
  border-radius: 4px;
  font-weight: bold;
}

.navbar .nav > li
{
	text-align: center;
	max-width: 150px;
	vertical-align: middle;
	margin-left: 4px;

}

.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > .active > a:focus {
	color: #ffffff;
	text-decoration: none;
	background-color: #63CADD;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.nav>li>a:focus,
.navbar .nav>li>a:hover {
color: #000;
text-decoration: none;
background-color: #63CADD;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}

.navbar .nav > .active:after
{
	content:"";
	margin-left: 15px;
	display:block;
	position: absolute;
	width:0;
	height:0;
	border-width:15px 8px 15px 8px;
	border-style:solid;
	border-color: #63CADD transparent transparent transparent ;
}

.navbar .nav > .deeper.open:after {
	content:"";
	margin-left: 15px;
	display:block;
	position: absolute;
	width:0;
	height:0;
	border-width:15px 8px 15px 8px;
	border-style:solid;
	border-color: #63CADD transparent transparent transparent ;
}

.navbar .nav > .active:first-child:after {
	content: "";
	display: none;
}

.navbar .nav>li>.dropdown-menu:after {
	display: none;
	content: none;
}



.navbar .nav li.dropdown.active > .dropdown-toggle,
.navbar .nav li.dropdown.open.active > .dropdown-toggle {
	color: #fff;
	background-color: #63CADD;
}

.navbar .nav li.dropdown.open > .dropdown-toggle {
	background-color: #ffeec7;
}

.navbar .nav li.dropdown.open:not(.active):after {
	content:"";
	margin-left: 15px;
	display:block;
	position: absolute;
	width:0;
	height:0;
	border-width:15px 8px 15px 8px;
	border-style:solid;
	border-color: #ffeec7 transparent transparent transparent ;
}


.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	display: none;
	float: left;
	width: 100%;
	padding: 0px;
	margin: 16px 0px 0px 0px;
	list-style: none;
	background-color: #63CADD;
	border: 1px solid #fff;
	border: 1px solid rgba(255, 255, 255, 0.9);
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding;
	background-clip: padding-box;
}


a.dropdown-toggle b.caret {
	display: none;
}



.dropdown-menu li {
	display: table-cell;
	border-left: 1px solid #fff;
}


.dropdown-menu li:first-child {
	border-left: 0px none;
}

.dropdown-menu li a {
	display:block;
	padding: 10px 20px;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
}

.open > .dropdown-menu {
	display: table;
}

.dropdown-menu li.active > a, .dropdown-menu li.active > a:hover, .dropdown-menu li > a:hover   {

	background: #ffeec7 url("../img/dropdown-active-bg.png") repeat-x center;
	color: #333;
}

.dropdown-menu li:first-child a {
	-webkit-border-radius: 5px 0px 0px 5px;
	border-radius: 5px 0px 0px 5px;
}

.dropdown-menu li:last-child a {
	-webkit-border-radius: 0px 5px 5px 0px;
	border-radius: 0px 5px 5px 0px;
}

.navbar .nav > li > .dropdown-menu:before {
	border-bottom: #fff;
	background-color: #d0d0d0;
}


h2 a:link, h2 a:visited
{
	color: #000;
}

.navbar ul.nav li.current a.home, .navbar ul.nav li a.home
{
	background: url("../img/icon-home.png") no-repeat center;
	background-color: transparent;
	text-indent: -9999px;
	width: 35px;
}


div#jb-header.container .row .custom img{
	margin-top: -99px !important;
}

body#jb-body.big-header div#jb-header.container .row .custom img{
	margin-top: -118px !important;
}


body#jb-body p.banner-holder {
	position: relative;
	width: 100%;
	margin: 0px;
	text-align: center;
}

body#jb-body p.banner-holder span#header-contacts {
   position: absolute;
   width: 100%;
   text-align: right;
   font-weight: bolder;
   font-size: 34px;
   line-height: 40px;
 }

body#jb-body.big-header p.banner-holder span#header-contacts {
   top: 120px;
   right: 180px;
   color: #666666;
}

body#jb-body p.banner-holder span#header-contacts {
   top: 70px;
   right: 150px;
   color: #666666;
}

body#jb-body p.banner-holder span#header-contacts span {
	font-weight: normal;
}

/* Language selector */

div#jb-language {
	position: relative;
	z-index: 2;
	margin-top: 5px;
	margin-bottom: 15px;
}

.mod-languages {
	text-align: right;
}

.mod-languages ul li a {
	color: #666 !important;
	padding: 7px 10px;
	-webkit-border-radius: 0 0 8px 8px;
	-moz-border-radius: 0 0 8px 8px;
	border-radius: 0 0 8px 8px;
}

.mod-languages li.lang-active a {
	background: #D6EFF6;
	cursor: default;
}

.mod-languages li:not(.lang-active) a:hover {
	background: #6FC1E7;
}


/* Header */

div#jb-header.container .row  {
	margin: 0px;
	/*width: 980px;*/
}

div#jb-header.container .row .span12 {
	margin: 0px;
	/*width: 980px;*/
}

.custom img {
	/*height: 100%;*/
}


/* BIG icons for modules */

div#jb-showcase .row .left-padding {
	padding-left: 130px;
	min-height: 120px;
	margin-left: 50px;
}

div#jb-bottom .row .left-padding {
	padding-left: 130px;
	min-height: 120px;
	margin-left: 50px;
}

div#jb-showcase .row .soon-icon {
	background: transparent url("../img/icon-invites.png") top left no-repeat;
	padding-top: 20px;
}

div#jb-showcase .row .attention-icon {
	background: transparent url("../img/icon-attention.png") top left no-repeat;
	padding-top: 20px;
}

div#jb-bottom .row .news-icon {
	background: transparent url("../img/icon-last-news.png") top left no-repeat;
}

div#jb-bottom .row .parents-icon {
	background: transparent url("../img/for-parents.png") top left no-repeat;
}

/* Showcase module list */


div#jb-showcase .attention-icon ul.latestnews {
	list-style-image: url("../img/bullet-2.png");
}



div#jb-showcase ul.latestnews li {
	margin-top: 10px;
}

div#jb-showcase ul.latestnews li a,
div#jb-bottom ul.latestnews li a,
div#jb-showcase ul.nav li a,
div#jb-bottom ul.nav li a {
	color: #333;
}

div#jb-showcase ul.latestnews li a:hover,
div#jb-bottom ul.latestnews li a:hover,
div#jb-showcase ul.nav li a:hover,
div#jb-bottom ul.nav li a:hover {
	background: transparent;
	text-decoration: underline;
}

div#jb-bottom ul.nav,
div#jb-showcase ul.nav {
	margin: -30px 0px 0px 0px;
}

div#jb-bottom ul.all-events,
div#jb-showcase ul.all-events {
	margin: -30px 28px 0px 0px;
	float: right;
}

div#jb-bottom ul.all-events li a,
div#jb-showcase ul.all-events li a {
	text-decoration: underline;
}

div#jb-bottom ul.all-events li a:hover,
div#jb-showcase ul.all-events li a:hover {
	text-decoration: none;
}

div#jb-bottom ul.latestnews, div#jb-showcase ul.latestnews {
	padding-left: 0px;
	list-style-image: url("../img/bullet-1.png");
	margin-top: 20px;
	margin-bottom: 40px;
	margin-left: 0px;
}

div#jb-bottom .parents-icon ul.latestnews  {
	list-style-image: url("../img/bullet-2.png");
}

div#jb-bottom ul.latestnews  {
	margin-top: 30px;
}

div#jb-bottom ul.latestnews li{
	padding-top: 10px;
}

/*div#jb-bottom .row .news-icon, div#jb-bottom .row .parents-icon {
	padding-top: 20px;
}*/



/* FACEBOOK */

#jb-facebook {
	margin-top: 40px;
}

#jb-facebook .pluginSkinLight ._4s7c {
	border: 0px none transparent;
}


/* Bottom contacts */

div#jb-contacts .row .custom {
	padding-left: 20px;
	/*padding-right: 20px;*/
}

div#jb-contacts .row .bottom-contacts {
	margin-right: 20px;
	padding-right: 60px;
	font-size: 16px;
	text-align: right;
	/*height: 200px;*/
	/*background: transparent url("../img/icon-phone.png") center right no-repeat;	*/
	background: transparent url("../img/kontakti.png") top right no-repeat;
}

div#jb-contacts .row .bottom-contacts #address-1 {
	padding-right: 140px;
	padding-top: 18px;
}

div#jb-contacts .row .bottom-contacts #address-2 {
	padding-right: 140px;
	padding-top: 6px;
}

div#jb-contacts .row .bottom-contacts #address-3 {
	padding-right: 140px;
	padding-top: 50px;
	padding-bottom: 5px;
}

/* SMALL icons for modules */

div#jb-mainbottom, div#jb-bottom, div#jb-contacts {
	margin-top: 40px;
	margin-bottom: 20px
}

div#jb-botmenu {
	padding-top: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	border-top: 1px solid silver;
}

div#jb-mainbottom .rt-alpha .custom {
	padding-left: 10px;
}

div#jb-mainbottom .rt-omega .custom {
	padding-right: 10px;
}

div#jb-mainbottom .custom a{
	color: #000;
}

div#jb-mainbottom .custom p{
	text-align: center;
}

div#jb-mainbottom .custom h3 {
	font-size: 19px;
	text-align: center;
	line-height: 30px;
}

div#jb-mainbottom .custom h3.one-line {
	margin-top: 30px;
}

/* Bottom menu */

div#jb-botmenu ul#botmenu {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

div#jb-botmenu ul#botmenu li {
	/*float: left; */
	display: inline-block;
	padding-bottom: 8px;
}

div#jb-botmenu ul#botmenu li a {
	display:block;
	padding: 0px 10px;
	border-right: solid 1px #333;
	color: #333;
	text-decoration: none;
	line-height: 14px;
}

div#jb-botmenu ul#botmenu li a:hover {
	text-decoration: underline;
}

div#jb-botmenu ul#botmenu li:last-child a {
	border-right: none 0px transparent;
}

div#jb-botmenu ul#botmenu li:hover, div#jb-botmenu a:hover {
	background: transparent;
}

div#jb-botmenu ul#botmenu li:hover, div#jb-botmenu a.dropdown-toggle {
	background: transparent;
}

/* Bottom copyright */
div#jb-botmenu .bottom-copyright {
	color: gray;
	text-align: center;
	margin-right: 20px;
	padding-top: 10px;
	clear: left;
	font-size: 13px;
}
div#jb-botmenu .bottom-copyright p{
	margin-bottom: 3px;
}




/* CONTENT /////////////////////////////////////*/

#jb-main #jb-mainbody {
	padding-left: 100px;
	padding-right: 100px;
	margin-bottom: 50px;
}

#jb-main #jb-mainbody {
	font-size: 18px;
	font-weight: bolder;
	color: #666666;

}


#jb-main #jb-mainbody table {
	width: 100%;
}

#jb-main #jb-mainbody table.style-table {
	width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
}

#jb-main #jb-mainbody table.style-table th, #jb-main #jb-mainbody table.style-table td{
	text-align: left;
	padding: 10px 20px;
}

#jb-main #jb-mainbody table.style-table tr {
	background-color: #AADEE1;
}


#jb-main #jb-mainbody table.style-table tr:nth-of-type(odd) {
  background-color:#8FD8F3;
}

#jb-main #jb-mainbody table.style-table th{
	background-color: #00B9CB;
	color: #fff;
	text-align: left;
	padding: 10px 20px;
	font-weight: normal;
}

#jb-main #jb-mainbody p a {
	color: #337ab7;
	text-decoration: underline;
}

#jb-main #jb-mainbody p a:hover {
	color: #204d74;
}

.style-table td {
	width: inherit !important;
}

#jb-main #jb-mainbody ul {
	list-style-image: url("../img/bullet-1.png");
	margin: 0 0 10px 50px;
}

#jb-main #jb-mainbody ul li {
	padding-left: 5px;
}

#jb-main #jb-mainbody ul.bullet-2 {
	list-style-image: url("../img/bullet-2.png");
}

#jb-main #jb-mainbody ul.bullet-3 {
	list-style-image: url("../img/bullet-3.png");
}

#jb-main #jb-mainbody ul.bullet-4 {
	list-style-image: url("../img/bullet-4.png");
}

#jb-main #jb-mainbody ul.bullet-5 {
	list-style-image: url("../img/bullet-5.png");
}

#jb-main #jb-mainbody ul.bullet-6 {
	list-style-image: url("../img/bullet-6.png");
}


/* CUFON styles */

.handwritten {
	margin-bottom: 10px;
	margin-top: 15px;
}


/* BLOG */

.blog .item.span12 {
	width: inherit;
}

.blog .item {
	margin-bottom: 35px;
}

.blog .item table td:first-child,
.item-page table td:first-child {
  width: 50%;
  padding-right: 15px;
}

.blog .item table td:nth-child(2),
.item-page table td:nth-child(2) {
  width: 50%;
  padding-left: 15px;
}

.img-intro-left {
	float: left;
	margin-right: 20px;
}

.img-intro-left img {
	border: 1px solid gray;
	width: 200px;
}

#jb-mainbody .blog h2 {
	font-size: 30px;
	margin: 0px;
	line-height: 30px;
}

#jb-mainbody .blog h2 a:link, #jb-mainbody .blog h2 a:visited {
	color: #1E7797;
}

.article-info {
	margin-top: 5px;
	margin-bottom: 5px;
}

.article-info .create {
	margin: 0px;
}

.pagination {
	display: block;
	background: #B7E6EC;
}

.pagination p.counter {
	padding: 4px 12px;
  line-height: 20px;
  margin-bottom: 0;
  color: #fff;
}

.pagination ul {
	list-style-image: none !important;
  list-style-type: none;
  margin: 0 0 0 0 !important;
  padding-left: 0;
  border-radius: 0;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.pagination ul li.disabled a {
	color: #fff !important;
}

.pagination ul li a {
	border: 0 none transparent;
}

.pagination ul > a {
	color: #1E7797 !important;
	display: inline-block;
	float: left;
  padding: 4px 12px;
  line-height: 20px;
}

/* Наши учителя. Блог */

.teachers .items-row .page-header {
  padding-top: 5px;
  padding-bottom: 9px;
  margin: 0 0 20px;
}

.teachers .items-row:nth-of-type(even) .column-1 {
  background-color: rgba(90,170,200,0.6);
}

.teachers .items-row:nth-of-type(even) .column-2 {
  background-color: rgba(90,170,200,0.2);
}

.teachers .items-row:nth-of-type(odd) .column-1 {
  background-color: rgba(90,170,200,0.2);
}

.teachers .items-row:nth-of-type(odd) .column-2 {
  background-color: rgba(90,170,200,0.6);
}

.teachers .items-row .page-header h2 {
  text-align: center;
  font-size: 25px !important;
  min-height: 60px;
  margin: 10px 15px 0 !important;
  color: #333;
}

.teachers .items-row .span6 {
  width: 375px;
}

.teachers .items-row p {
  text-align: center;
  color: #333;
  margin: 0 10px;
  min-height: 40px;
}

.teachers .items-row p.readmore {
  margin-bottom: 20px;
  margin-top: 15px;
}

.teachers .items-row img {
  border: 1px solid #fff;
  margin-top: 10px;
}

.teachers .items-row p.readmore a.btn {
  color: #fff !important;
  margin: 10px 0 0;
}

.teachers .category-desc {
  margin-bottom: 25px;
}

/* HTML Modules */

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

.custom a:hover img {
  opacity: 0.6;
  filter: alpha(opacity=60);
}


/* CUSTOM (start 21/02/2017) */
.mobile_menu_button {
	display: none;
}
.navbar-inner_header {
	position: relative;
}
.navbar-inner_header .container {
	position: relative;
}
#address-1 {
	margin-bottom: 30px;
}
body#jb-body.big-header p.banner-holder span#header-contacts a,
body#jb-body p.banner-holder span#header-contacts a {
	border-bottom: 2px dashed;
	position: relative;
}
body#jb-body.big-header p.banner-holder span#header-contacts a:before,
body#jb-body p.banner-holder span#header-contacts a:before {
	background: transparent url(http://yarinka.org/images/mobile.png) no-repeat left center;
	background-size: contain;
	content: '';
	display: block;
	height: 38px;
	position: absolute;
	top: 3px;
	left: -30px;
	width: 38px;
}
@media screen and (min-width: 1240px) {
	.cufon {
	/*min-width: 235px;*/
}
}

@media screen and (min-width: 768px) and (max-width: 979px) {
	.navbar .nav > li > a {
		font-size: 13px;
		padding: 5px;
	}
	.navbar .nav > li {
		margin-left: 0px;
	}
}
@media screen and (max-width: 1240px) {
	#jb-facebook .rt-omega {
		overflow: hidden;
	}
	body#jb-body,
	body#jb-body.big-header {
		background-image: none !important;
	}
	#jb-contacts .rt-alpha img {
		width: 40px;
	}
}
@media screen and (max-width: 767px) {
	.mobile_menu_button {
		background: #63CADD;
		border: 1px solid rgba(255,255,255,0.9);
		border-radius: 5px;
		display: block;
		text-align: center;
	}
	.mobile_menu_button a {
		display: inline-block;
		font-size: 18px;
		font-weight: bold;
	    padding: 10px 0;
	    position: relative;
	    	left: -10px;
	    text-decoration: none;
	}
	.mobile_menu_button a span {
		background-size: contain !important;
		height: 16px;
		position: absolute;
		right: -30px;
		top: 12px;
		width: 16px;
	}
	.mobile_menu_button a span {
		background: transparent url(../img/navicon-round.svg) no-repeat center;
	}
	.mobile_menu_button a.menu_open span {
		background: transparent url(../img/close-round.svg) no-repeat center;
	}
	.navbar .nav {
		background-color: #009bce;
		border-radius: 5px;
		display: none;
		position: absolute !important;
		width: 100%;
	}
	.navbar .nav li {
		float: none;
		width: 100%;
	}
	.navbar .nav > li {
		max-width: 100%;
		margin-left: 0;
	}
	.navbar .nav a {
		color: #ffffff !important;
	}
	.navbar .nav li.open a {
		color: #000000 !important;
	}
	.navbar .nav a:hover {
		background-color: #ffffff;
		color: #009bce;
	}
	.navbar ul.nav li.current a.home,
	.navbar ul.nav li a.home {
		background: none;
		padding: 10px 11px;
		text-indent: inherit;
		width: auto;
	}
	body#jb-body.big-header div#jb-header.container .row .custom img,
	body#jb-body div#jb-header.container .row .custom img {
		margin-top: 0px !important;
	}
	h2 {
		text-align: center;
	}
	ul {
		padding: 0;
	}
	/* jb-showcase */
	div#jb-showcase .row .left-padding,
	div#jb-bottom .row .left-padding{
		background-position: center top;
		padding-left: 0px;
		padding-top: 120px;
		margin-left: 0px;
	}
	div#jb-bottom ul.latestnews, div#jb-showcase ul.latestnews {
		padding-left: 15px;
	}
	div#jb-bottom ul.nav, div#jb-showcase ul.nav {
		margin: 0px 0px 0px 0px;
	}
	#jb-showcase h2 .cufon:last-child {
		overflow: hidden;
	}

	/* jb-facebook */
	#jb-facebook .rt-alpha p {
		text-align: center;
	}
	#jb-facebook .rt-alpha img {
		float: none;
	}
	/* jb-contacts */
	#jb-contacts .rt-alpha .custom {
		padding-left: 0 !important;
	}
	#jb-contacts .rt-alpha p {
		text-align: center;
	}
	#jb-main #jb-mainbody {
		padding-right: 0px;
		padding-left: 0px;
	}
	#jb-mainbody {
		overflow: hidden;
	}
	#jb-mainbody td,
	#jb-mainbody th {
		display: block;
		padding-left: 0;
		width: 100% !important;
	}
}
@media screen and (min-width: 320px) and (max-width: 424px) {
	h2.title {
		line-height: 30px;
	}
	h2.title a {
		font-size: 30px;
	}
	div#jb-contacts .row .bottom-contacts {
		background-image: url(../img/kontakti_mob.png);
		background-position: center top;
		background-size: contain;
		margin-right: 0px;
		margin-top: 50px;
		padding-right: 0px;
		padding-top: 175px;
	}
	div#jb-contacts .row .bottom-contacts div[id*="address"] {
		padding-right: 0px !important;
		padding-top: 20px !important;
		text-align: center;
	}
	div#jb-botmenu ul#botmenu li {
		display: block;
		text-align: center;
	}
	div#jb-botmenu ul#botmenu li a {
		border-right: none;
		margin-bottom: 5px;
		position: relative;
		padding-bottom: 5px;
	}
	div#jb-botmenu ul#botmenu li a:after {
		border-bottom: 1px solid #333333;
		content: '';
		display: block;
		height: 1px;
		margin-left: -8px;
		position: absolute;
		left: 50%;
		bottom: -5px;
		width: 16px;
	}
	#jb-mainbody iframe {
		height: 180px;
		width: 320px;
	}
	.teachers .items-row .span6 {
		width: auto;
	}
	.item-page table {
		width: auto !important;
	}
}

/* Contacts in footer*/
@media screen and (min-width: 425px) and (max-width: 509px) {
	div#jb-contacts .row .bottom-contacts {
		background-image: url(../img/kontakti_mob.png);
		background-position: center top;
		background-size: contain;
		margin-right: 0px;
		margin-top: 50px;
		padding-right: 0px;
		padding-top: 175px;
	}
	div#jb-contacts .row .bottom-contacts div[id*="address"] {
		padding-right: 0px !important;
		padding-top: 20px !important;
		text-align: center;
	}
	#jb-mainbody iframe {
		height: 225px;
		width: 400px;
	}
}
@media screen and (min-width: 510px) and (max-width: 767px) {
	#jb-mainbody iframe {
		height: 270px;
		width: 480px;
	}
}

@media screen and (max-width: 1239px) {
	.dropdown-menu li {
		display: block;
	}
	.dropdown-menu li:first-child {
		border-radius: 5px 5px 0 0;
		border-left: 1px solid #ffffff;
	}
	.dropdown-menu li:last-child {
		border-radius: 0 0 5px 5px;
	}
}
/* Phone in header */
@media screen and (min-width: 980px) and (max-width: 1199px) {
	body#jb-body.big-header p.banner-holder span#header-contacts,
	body#jb-body p.banner-holder span#header-contacts {
    	right: 8%;
	}
	div#jb-contacts .row .bottom-contacts {
		margin-right: 0px;
		padding-right: 20px;
		background-position: top right -30px;
	}
	body#jb-body.big-header p.banner-holder span#header-contacts a:before,
	body#jb-body p.banner-holder span#header-contacts a:before {
		height: 38px;
		left: -30px;
		width: 38px;
	}
}
@media screen and (min-width: 768px) and (max-width: 979px) {
	body#jb-body.big-header p.banner-holder span#header-contacts,
	body#jb-body p.banner-holder span#header-contacts {
		font-size: 24px;
		top: 20%;
    	right: 9%;
	}
	div#jb-contacts .row .bottom-contacts {
		margin-right: 0px;
		padding-right: 20px;
		background-position: top right -30px;
	}
	body#jb-body.big-header p.banner-holder span#header-contacts a:before,
	body#jb-body p.banner-holder span#header-contacts a:before {
		height: 24px;
		left: -20px;
		width: 24px;
	}
}
@media screen and (min-width: 660px) and (max-width: 767px) {
	body#jb-body.big-header p.banner-holder span#header-contacts,
	body#jb-body p.banner-holder span#header-contacts {
		font-size: 22px;
		top: 39%;
    	right: 8%;
	}
	body#jb-body.big-header p.banner-holder span#header-contacts a:before,
	body#jb-body p.banner-holder span#header-contacts a:before {
		height: 22px;
		left: -18px;
		width: 22px;
	}
}
@media screen and (min-width: 500px) and (max-width: 659px) {
	body#jb-body.big-header p.banner-holder span#header-contacts,
	body#jb-body p.banner-holder span#header-contacts {
		font-size: 18px;
		top: 37%;
    	right: 6%;
	}
	body#jb-body.big-header p.banner-holder span#header-contacts a:before,
	body#jb-body p.banner-holder span#header-contacts a:before {
		height: 18px;
		left: -14px;
		width: 18px;
	}
}
@media screen and (min-width: 380px) and (max-width: 499px) {
	body#jb-body.big-header p.banner-holder span#header-contacts,
	body#jb-body p.banner-holder span#header-contacts {
		font-size: 16px;
		top: 37%;
    	right: 6%;
	}
	body#jb-body.big-header p.banner-holder span#header-contacts a:before,
	body#jb-body p.banner-holder span#header-contacts a:before {
		display: none;
	}
}
@media screen and (min-width: 320px) and (max-width: 379px) {
	body#jb-body.big-header p.banner-holder span#header-contacts,
	body#jb-body p.banner-holder span#header-contacts {
		font-size: 13px;
		top: 34%;
    	right: 5%;
	}
	body#jb-body.big-header p.banner-holder span#header-contacts a:before,
	body#jb-body p.banner-holder span#header-contacts a:before {
		display: none;
	}
}
/* Mobile optimization - Table */
@media screen and (max-width: 767px) {
	#jb-mainbody td, #jb-mainbody th {
		display: table-cell !important;
		width: inherit !important;

	}
	#jb-main #jb-mainbody table.style-table th {
		padding: 3px 15px !important;
	}
	#jb-main #jb-mainbody table.style-table th, #jb-main #jb-mainbody table.style-table td {
		padding: 0px !important;
	}
	#jb-main #jb-mainbody table.style-table {
		    font-size: 9px !important;
	}
}
