body {
	/*line-height: 15px;*/
}

form {
	/*width: auto;
	height: auto;*/
}

.pad {
	cursor: default;
}

/*
a, input[type="submit"], input[type="button"], button {
	cursor: pointer;
}*/

script, style {
	display: none !important;
}

textarea {
    font-family: 'Merriweather', serif !important;
}

h2{
	line-height: 18px;
}

input[type="checkbox"] {
    /* display: block; */
}

input[type="password"]:focus {
    color: rgb(68, 68, 68);
    border-top: 1px solid rgb(204, 204, 204);
    border-left: 1px solid rgb(204, 204, 204);
}

.hidden {
	display: none !important;
}

.disabled {  
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

#detail-view-center {
	padding-bottom: 60px;
}

#post #main .fit {
    max-height: 500px;
}

#post-container .grid-link h3 {
    font-size: 16px;
    font-weight: 700;
    padding: 0px;
    line-height: 18px;
}

.links a:link {
	color: #FFFFFF;
	text-decoration: none;
}

.links a:visited {
	color: #FFFFFF;
	text-decoration: none;
}

.links a:hover {
	color: #FFFFFF;
	text-decoration: underline overline;
}

.links {
	color: #FFFFFF;
}

.events-index .single-page-brick {
	margin-top: 0;
}

.events-index #post .lightbar {
	padding-top: 1px;
}

#resContainer {
  	width: 100%;
  	height: 100%;
  	margin: 0;
  	padding: 0;
  	top: 0;
  	right: 0;
  	left: 0;
  	bottom: 0;
  	position: absolute;
  	z-index: 11;
  	background: url('../images/gradient.png') repeat-x 0 0 transparent;
  	overflow-x: hidden;
  	overflow-y: auto;
  	clear: both;
}

#resContentMain {
	/*width: 100%; */
	/*position: absolute;
	top: 0px;
	left: 90px;*/
	position: relative;
	left: 0;
	top: 0;
	margin: 90px 0px 10px 0px;
	padding: 0 90px;
	text-align: center;
	z-index: 150;
}

.bottom-menu{
	/* z-index: 9000;
	display: inline-block;
	width: auto; */
}

.bottom-menu ul{
	margin: 0 !important;
}

#copyright {
	position: absolute;
	top: 4px;
	right: 20px;
	display: inline-block;
	/* padding-right: 20px; */
}

#axiomaticaLogo {
	width: 100%;
	text-align: center;
	margin: auto;
	font-size: 12px;
	color: #EEEEEE;
	padding-top: 6px;
	display: inline-block;
}

#axiomaticaLogo table{
	padding: 0;
	margin: 0 auto;
	text-align: center;
}

#axiomaticaLogo td{
	padding: 0;
	margin: 0;
	text-align: center;
	vertical-align: middle;
}

.errorMsg{
	color: red;
}

input.errorMsgInput {
	border: 1px solid red !important;
}

input.shadowm.errorMsgInput, input.shadowsm.errorMsgInput, input.shadowmpass.errorMsgInput{
	/*-moz-box-shadow: 2px 2px 0px red;
	-webkit-box-shadow: 2px 2px 0px red;
	box-shadow: 2px 2px 0px red;*/
}

.lightgray, .lightgray a:hover, .lightgray a:link, .lightgray a:visited {
	color: #999999;
	text-decoration: none;
}

.sample{
	font-size: 10pt;
	line-height: 10pt;
}

.whiteBlueButton{
	width: 200px; 
	background: #FFFFFF;
	border: solid 1px #006699;
	color: #006699;
	font-size: 12pt;
	margin: 0px;
}

.whiteBlueButton:hover{
	background: #006699;
	color:	#FFFFFF;
}

.whiteYellowButton{
	width: 200px; 
	background: #FFFFFF;
	border: solid 1px #777733;
	color: #777733;
	font-size: 12pt;
	margin: 0px;
}

.whiteYellowButton:hover{
	background: #777733;
	color:	#FFFFFF;
}

.buttonShadow{
	width: 200px;
	border-bottom: solid 1px #999999;
	border-right: solid 1px #999999;
	margin: 0px;
	padding: 0px;
}

.mainTable{
	border-top: solid 1px #3399CC;
	border-left: solid 1px #3399CC;
	border-right: solid 1px #3399CC;
}

.mainTable td{
	border-bottom: solid 1px #3399CC;
	padding: 10px;
}

.mainTable th{
	border-bottom: solid 1px #3399CC;
}

.mainTable a:link{
	color: #006699;
	text-decoration: none;
}

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

.blueHover{
	display: inline-table;
}

.blueHover:hover{
	background: #228899;
	color:	#FFFFFF;
}

.leftBarHeader{
	background: #EEF2FF;
	border-top: solid 1px #3399CC;
	border-bottom: solid 1px #3399CC;
}

.blueBorders{
	border: solid 1px #3399CC;
}

.blueBorders td{
	border: solid 1px #3399CC;
	margin: 0px;
	padding: 5px;
	font-size: 10pt;
}

.blueBorders a{
	color: #FFFFFF;
}

.blueBorders th{
	border: solid 1px #FFFFFF;
	background: #228899;
	color: #FFFFFF;
	margin: 0px;
	padding: 5px;
	font-size: 10pt;
}

.blueHeaders{
	font-size: 10pt;
	width: 96%;
	background: #FFFFFF;
}

.blueHeaders th{
	background-color: #00AACE;
	background-image: url('../images/navbg.png');
	background-repeat: repeat-x; 
	color: #FFFFFF;
}

.blueHeaders td{
	background-color: #FFFFFF;
}

.blueHeaders a{
	color: #FFFFFF;
}

.formTable{
	border: solid 1px #333333;
	padding: 5px;
	margin: 5px;
	font-size: 11pt;
}

td.label, td.infoLabel{
	/*text-transform: uppercase;
	text-align: right;*/
	padding-right: 6px;
}

td.infoLabel{
	font-weight: bold;
}

.lightBlueBack{
	background-color: #EEF2FF;
}

.auditButton{
	padding: 2px 2px 2px 2px;
	margin: 0px;
	color: #000000;
	background: #EEEEEE;
}
 
.auditButton:hover {
	color: #FFFFFF;
	background: #117799;
}

.centered{
	text-align: center;
}

.smaller{
	font-size: smaller;	
}

#language {
	color: #000;
	position: absolute;
	bottom: 10px;
	left: 201px;
	z-index: 3010;
}

#language a{
	color: #000;
}

#language .lang{
	background-color: #FFFFFF;
	display: inline-block;
	height: 17px;
	line-height: 15px;
	font-size: 12px;
	font-weight: bold;
	padding-left: 2px;
	padding-right: 2px;
	margin-right: 1px;
}

#language .langSelected{
	background-color: #FEF035;
}

#language .lang:hover{
	background-color: #FFF;
}

.bottomRightBorders{
	border-right: 2px solid black;
	border-bottom: 2px solid black;
}

#bookPanel td {
	/*margin: 0;
	padding: 0;*/
}

#searchTable{
	padding: 0;
	margin: 0 auto;
}

#searchTable td {
	margin: 0;
	padding: 0;
	vertical-align: top;
}

#bookPanel {
	width: 761px;
	/* height: 535px; */
	height: auto;
	margin: 0 0 0 auto;
	background: transparent;
  	font-size: 14px;
}

#ur-borders{
	width: 760px;
	background: transparent url(../images/form_bg_ur.png) right 0 no-repeat;
	clear: both;
	border-left: 1px solid black;
}

#top-border{
	width: 744px;
	height: 25px;
	padding-top: 7px;
	margin-right: 16px;
	border-top: 1px solid black;
	background-color: white;
}

#b-border{
	width: 760px;
	height: 14px;
	background: transparent url(../images/form_bg_fbot.png) no-repeat;
}

#r-borders {
	width: 760px;
	background: transparent url(../images/form_bg_right.png) right 0 repeat-y;
}

#viewport {
	width: 744px;
	background: transparent url(../images/form_rbg.png) 0 0;
	/* height: 465px; */
}

#formContent { 
	width: 740px;
	background: transparent;
	margin-top: 5px;
}


#bookPanel h2 {
	background: #000;
	color: #fff;
	font-size: 21px;
	padding: 2px 5px;
	font-weight: normal;
	width: auto;
	text-transform: uppercase;
	float: left;
}

#searchEventsForm{
	padding: 0;
	margin: 0 auto;
}

.groupTitle{
	float: none;
	text-align: left;
}

.submit{
	color: #FFF;
}

.submit:hover{
	background-color: #FFF;
	color: #000;
	border: 1px solid black;
}

#userLogin{
	display: block;
	position: absolute; 
	top: 2px;
	right: 40px;
	color: white;
	z-index: 140;
}

#userLogin a{
	color: white;
}

.fbx-res.reg-popup .fancybox-iframe {
    /*position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 631px;
	height: 517px;*/
}

.fancybox-overlay {
	/*background-color: rgb(220, 78, 34) !important;*/
	background-color: rgb(0, 0, 0, 0.95) !important;
}

/*.events-index .fancybox-overlay {
	background-color: black !important;
}*/

.pln-background {
	display: none;
	background-color: rgb(243, 85, 35) !important;
}

.jscalendar-DB-div-style{
	z-index: 5000;
}

.jscalendar-WH-div-style{
	z-index: 5000;
}

input.shadowsm {
	border: 1px solid black;
	width: 68px;
	height: 18px;
	line-height: 18px;
	padding-left: 3px;
	padding-right: 0px;
	margin-right: 1px;
	font-family: 'Lato', serif;
	font-size: 12px;
	margin-bottom: 4px;
}

input.shadowm {
	border: 1px solid black;

	width: 142px;
	height: 18px;
	line-height: 18px;
	padding-left: 3px;
	padding-right: 0px;
	font-family: 'Lato', serif;
	font-size: 12px;
	margin-bottom: 4px;
}

input.shadowmpass {
	border: 1px solid black;
	width: 142px;
	height: 18px;
	line-height: 18px;
	padding-left: 3px;
	padding-right: 0px;
	font-family: sans-serif;
	font-size: 13px;
	margin-bottom: 4px;
}

input.shadow136 {
	border: 1px solid black;
	width: 136px;
	height: 18px;
	line-height: 18px;
	padding-left: 3px;
	padding-right: 0px;
	font-family: 'Lato', serif;
	font-size: 12px;
	margin-bottom: 4px;
}

textarea.shadowTextarea136 {
	border: 1px solid black;
	width: 136px;
	height: 80px;
	line-height: 16px;
	padding-left: 2px;
	padding-right: 2px;
	font-family: 'Lato', serif;
	font-size: 12px;
	margin-bottom: 1px;
}

input.shadow136pass {
	border: 1px solid black;
	width: 136px;
	height: 20px;
	line-height: 20px;
	padding-left: 3px;
	padding-right: 0px;
	font-family: sans-serif;
	font-size: 13px;
	margin-bottom: 0 0 2px 0;
}

.top-menu {
  position: relative;
  top: 0px;
  right: 0px;
  text-transform: uppercase;
}
.top-menu ul {
  list-style: none;
}

#openbook{
	width: 610px;
	height: 470px;
	background: transparent url('../images/bookBg.png') no-repeat;
	clear: both;
	position: relative;
	left: 0;
	top: 0;
}

.subTitle {
	background: #000;
	color: #fff;
	font-size: 21px;
	padding: 2px 5px;
	font-weight: normal;
	width: auto;
	text-transform: uppercase;
	float: left;
}

#subtitle a, #subtitle a:visited, #subtitle a:hover, #subtitle a:active{
    color: rgb(243, 85, 35);
}

.noSubTitle {
	background: transparent;
	height: 33px;
	width: auto;
	float: left;
}

div.fancybox-skin{
	/*background: transparent;*/
	padding-top: 30px;
}

a.fancybox-close{
	background-color: transparent;
}

a.fancybox-close:hover{
	background-color: transparent;
}
#fancybox-loading {background: none; position: fixed; top: 50%; left: 50%; margin-top: -22px; margin-left: -22px; opacity: 0.8; cursor: pointer; z-index: 9998060}
#fancybox-loading div {width: 44px; height: 44px; background: url(img/loader.gif) no-repeat center center; padding:2px 20px 2px 20px}

div.h2top{	
	width: auto;
	/*float: left;*/
	background-color: rgba(0,0,0,0.9) !important;
	color: white;
	font-size: 20px;
	/*line-height: 36px;*/
	line-height: 48px;
	padding: 0 5px 0 24px;
	text-transform: none;
	display: block;
	font-family: "Lato", sans-serif;
	font-weight: bold;
	/*display: inline-block;*/
}

.blackSubmit, .graySubmit {
	display: inline-block;
	line-height: 22px;
	height: 22px;
	padding: 3px 12px !important;
	background-color: #000;
	color: #FFF !important;
	text-align: center;
	border: 1px solid black !important;
	border-radius: 20px;
	font-family: "Lato", sans-serif;
	font-size: 12px;
	text-transform: uppercase;
	cursor: pointer;
}

a.blackSubmit {
	color: #FFF;
}

.graySubmit {
	background-color: #AAA;
	color: #EEE;
	border-left: 2px solid #666;
	border-right: 2px solid #666;
}

.checkWrap {
	width: auto;
	margin: 0;
	text-align: left;
}

.checkWrap td{
	text-align: left;
	vertical-align: middle;
}

.checkBox {
	clear: both;
	/*width: 200px;
	height: 21px;*/
	margin: 0 auto;
	text-align: left;
}

.checkLabel {
	width: 21px !important;
	height: 21px !important;
	background: url('../images/box.png') white no-repeat center center;
	float: left;
	cursor: pointer !important;
	display: block !important;
	line-height: 21px !important;
	font-size: 100px !important;
	overflow: hidden;
}

.disabledCheckLabel {
	background: url('../images/box_disabled.png') white no-repeat center center;
	cursor: default;
}
.checkText {
	line-height: 21px;
	font-size: 12px;
	display: inline-block;
}
.c_on {
	background: url('../images/boxActive.png') no-repeat center center;
}
.c_on_disabled {
	background: url('../images/boxActive_disabled.png') no-repeat center center;
}
.c_off_disabled {
	background: url('../images/box_disabled.png') no-repeat center center;
}
.checkCheck {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	/*display: none !important;*/
	border: 1px solid black;
	border-radius: 0;
	margin-right: 4px;
	padding: 0;
	position: relative;
	width: 22px;
	height: 22px;
	background-color: white !important;
	color: black;
}

.checkCheck:checked:after {
	background-color: white !important;
	color: black;
}

.checkCheck:checked:before {
	content: '\2713';
	font-size: 20px;
	position: absolute;
	top: -1px;
	left: 2px;
	/*width: 36px;
	height: 36px;*/
	padding: 0;
	margin: 0;
	line-height: 22px;
	font-family: Lato;
	color: white;
}

.checkCheck:checked{
	background-color: black !important;
	color: white;
}

.checkCheck:disabled:checked:after {
	color: gray;
	background-color: #F6F6F6 !important;
}

.checkCheck:disabled:checked:before {
	color: gray;
}

.checkCheck:disabled{
	background-color: #F6F6F6 !important;
	color: gray;
	border: 1px solid gray;
}

.info {
	padding-bottom: 3px;
	border-bottom: 1px solid black;
	background: transparent url('../images/orange-tri.png') no-repeat bottom right; 
}

.submitButton{
	background: white;
	border: 1px solid black;
	color: black;
	font-size: 12px;
	line-height: 18px !important;
	text-transform: lowercase;
	padding: 2px 4px !important;
	font-weight: 400;
	text-decoration: none !important;
	cursor: default;
	-moz-box-shadow: 2px 2px 0px #000;
	-webkit-box-shadow: 2px 2px 0px #000;
	box-shadow: 2px 2px 0px #000;
}

.submitButton:hover{
	background: black;
	color: white;
	border: 1px solid white;
	text-decoration: none !important;
	cursor: pointer;
}

#post-container .post-intro .subtitle {
    float: left;
    margin-top: 1px;
    background: none repeat scroll 0% 0% rgb(255, 255, 255);
    padding-bottom: 6px;
    border-bottom: 1px solid rgb(0, 0, 0);
    width: 100%;
    display: inline-block;
    margin-bottom: 1px;
    font-size: 16px;
    font-family: 'Lato',sans-serif;
}

#post-container .post-intro .subtitle {
    background: url("img/red-arrow.png") no-repeat scroll right bottom transparent;
}

#main-menu-left-center .menu li ul li {
	/*white-space: nowrap;*/
}

.imgPanel {
	width: 100%;
	overflow: hidden;
	display: block;
}

.imgPanel img {
	width: 100%;
}

.menu-active a{
	color: #f3552e !important;
	font-weight: 700;	
}

#lang_sel_list a{
	color: white !important;
}

.email-popup .fancybox-skin{
	background: white !important;
}

#te-left{
	border-left: 1px solid #f4552e !important;
}

#te-color{
	color: #f4552e !important;
}

.lang_sel_sel2 {
	margin: 0;
	border: 1px solid #f4552e !important;
	background: none !important;
	display: block;
}

#post .brick .pad2 {
    margin: 0px 0px 12px 12px;
    background: none repeat scroll 0% 0% rgb(255, 255, 255);
    padding: 12px;
    position: relative;
    pointer-events: all;
    display: block;
}

#post .brick .pad2 h3, #post .brick .pad2 ul, #post .brick .pad2 p {
    width: 100%;
    float: left;
}

#post .brick .pad2 h2 {
    font-family: 'Merriweather',serif !important;
    padding-bottom: 3px;
    float: left;
}


#menu-current{
	display: none;
}

#mobile-menu-expand{
	clear: both;
	display: none;
	height: 20px;
	padding: 0;
	margin-top: 1px;
	border: 1px solid #ccc;
	overflow: hidden;
	background: url('img/expand-plus.png') #EEE no-repeat center center;
}

.sidebarLinkFull{
	width: 100% !important;
	background-color: #f4552e !important;
}

.sidebarItem, #sidebar, .widget_nav_menu{
	z-index: 9100;
}

.sidebarActive_bg{
	background-color: #f4552e !important;
}

.sidebarInactive_bg{
	background-color: #BA4114 !important;
}

#menu-sidebar{
	position: relative;	
}

#menu-sidebar .menu-decor{
	display: none;
	position: absolute;
	top: 2px;
	right: 24px;
	width: 104px;
	height: 32px;
	background-image: url('img/mosca-menu.png');
}

.fbx-res .fancybox-inner{
	background: none;
}

#menu-sidebar .menu-decor img{
	width: 104px;
	height: 32px;
}

.membership .pln {
	background-color: #006837;
}

.membership .activator {
	border-color: #006837;
}

.membership #mobile-logo #pln {
   	background-color: #006837;
}

.membership #mobile-logo #activator{
   	border-color: #006837;
}

.membership #lang-select, .membership #lang_sel_list {		
	border-color: #006837;
}

.membership .lang_sel_sel2 {
	border-color: #006837 !important;
}

.membership #menu-sidebar .menu-decor{
	background-image: url('img/mosca-menu-member.png');
}

.membership .content a{
	color: #006837;
}

.membership .menu-active a{
	color: #006837 !important;	
}

.membership #te-left{
	border-left: 1px solid #006837 !important;
}

.membership #te-color{
	color: #006837 !important;
}

.membership .dd-select a, .membership .dd-options li a{
	color: #000;
}

.membership .dd-options li a:hover{
	color: #FFF;
}

.donate .pln{
	background-color: #48A987;
}

.donate .activator{
	border-color: #48A987;
}

.donate #mobile-logo #pln {
   	background-color: #48A987;
}

.donate #mobile-logo #activator{
   	border-color: #48A987;
}

.donate #lang-select, .donate #lang_sel_list {		
	border-color: #48A987;
}

.donate .lang_sel_sel2{
	border-color: #48A987 !important;
}

.donate #menu-sidebar .menu-decor{
	background-image: url('img/mosca-menu-donate.png');
}

.donate .content a{
	color: #48A987;
}

.donate .menu-active a{
	color: #48A987 !important;	
}

.donate #te-left{
	border-left: 1px solid #48A987 !important;
}

.donate #te-color{
	color: #48A987 !important;
}

.donate .dd-select a, .donate .dd-options li a{
	color: #000;
}

.donate .dd-options li a:hover{
	color: #FFF;
}

.ecolodges .pln {
	background-color: #001010;
}

.ecolodges .activator {
	border-color: #001010;
}

.ecolodges #mobile-logo #pln {
   	background-color: #001010;
}

.ecolodges #mobile-logo #activator{
   	border-color: #001010;
}

.ecolodges #lang-select, .ecolodges #lang_sel_list {		
	border-color: #001010;
}

.ecolodges .lang_sel_sel2 {
	border-color: #001010 !important;
}

.ecolodges .content a{
	color: #006666;
}

.ecolodges .menu-active a{
	color: #006666 !important;	
}

.ecolodges #te-left{
	border-left: 1px solid #001010 !important;
}

.ecolodges #te-color{
	color: #001010 !important;
}

.ecolodges #nav{
	background-color: #001010 !important;
}

.ecolodges .fancybox-overlay {
	background-color: #666 !important;
}

.ecolodges .fbx-res .fancybox-close::before {
    background-color: #001010;
}

.ecolodges div.h2top{
	background-color: rgba(0,0,0,0) !important;
}


#sidebar a.dd-option:hover {
	background-color: #000 !important;
}

.logoutLink{
	float: left;
	margin-left: 15px;
	background: none repeat scroll 0% 0% rgb(0, 0, 0);
	border-left: 1px solid #f4552e;
	width: auto;
	height: 20px;
	padding: 1px 6px;
	float: left;
	margin-left: 15px;
	line-height: 22px;
	font-size: 13px;
	font-family: Georgia,"Times New Roman",Times,serif;
	color: #FFFFFF;
}

.fbx-res .fancybox-close::before {
    /*content: "\00d7";*/
    content: "\2715";
	font-family: Arial;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    font-size: 20px;
	line-height: 30px;
    padding: 2px 5px 2px 5px;
    color: #000;
    border: 1px solid #fff;
    border-radius: 20px;
    background-color: #fff;
    /*background-color: black;*/
}

.fbx-res .fancybox-close {
    position: absolute;
	top: 10px;
	right: 24px;
	width: 32px;
	height: 32px;
    cursor: pointer;
    z-index: 9998060;
}

.fancybox-inner {
	border-radius: 10px;
}

/*
.fbx-res.email-share-webapp .fancybox-close {
	position: absolute;
	top: 25px;
	right: 25px;
	width: 35px;
	height: 35px;
	cursor: pointer;
	z-index: 9998060;
}*/

.clearfix:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}

@media only screen and (device-width: 599px), only screen and (min-width: 1px) and (max-width: 767px) {

	.logoutLink{
		display: none;
	}
	
	#lang-greet-box {
    	margin-right: 6px;
	}
	
	#bricks .brick{
		position: relative !important;
		left: 0 !important;
		top: 0 !important;
		margin-right: 0 !important;
		transform: none !important;
		-ms-transform: none !important;
		-webkit-transform: none !important;
	}
	
	#bricks .lightbar h3, #post .lightbar h3 {
		font-size: 18px;
		margin: 0;
		line-height: 32px;
	}
	
	#bricks .lightbar, #post .lightbar{
		height: 32px;
		border-bottom: 0 !important;
		padding-left: 6px;
	}
	
	.submitButton, .submitButton:hover{
		background: none repeat scroll 0% 0% #000;
		border: none;
		color: #fff;
		text-transform: none;
		padding: 2px 6px !important;
		box-shadow: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
	}
	
	.resetButton, .resetButton:hover{
		background-color: #E8E8E8;
		color: #777;
	}
	
	.search-buttons{
		padding-bottom: 10px !important;
	}
	
	.checkLabel{
		margin-right: 4px;
	}
	
	#menu-sidebar .menu-decor{
		display: block;
	}
	
	.blackSubmit, .graySubmit{
		text-transform: none !important;
		font-size: 16px !important;
	}
	
}

@media only screen and (device-width: 768px), only screen and (min-width: 1px) and (max-width: 768px) {

	.fit iframe {
		width: 100% !important;
		height: 350px !important;
	}
}

/*
@media only screen and (device-width: 640px), only screen and (min-width: 1px) and (max-width: 640px) {

	.login-popup .fancybox-skin{
		width: 310px !important;
		margin: 0 auto !important;
	}
	.login-popup .fancybox-inner{
		width: 310px !important;
	}
	.login-popup .fancybox-iframe{
		width: 310px !important;
	}
	
	.reg-popup .fancybox-skin{
		width: 310px !important;
		margin: 0 auto !important;
	}
	.reg-popup .fancybox-inner{
		width: 310px !important;
	}
	.reg-popup .fancybox-iframe{
		width: 310px !important;
	}
	.fbx-res.reg-popup .fancybox-iframe {
		height: 100%;
	}
		
	.fancyImgBox a.fancybox-close {
		right: -18px;
		top: -18px;
	}
}*/

	.login-popup .fancybox-skin{
		width: 400px !important;
		margin: 0 auto !important;
	}
	.login-popup .fancybox-inner{
		width: 400px !important;
	}
	.login-popup .fancybox-iframe{
		width: 400px !important;
	}
	
	/*.fbx-res.reg-popup .fancybox-iframe {
		height: 500px;
	}*/
	
	@media only screen and (device-width: 640px), only screen and (min-width: 1px) and (max-width: 640px) {
		.login-popup .fancybox-skin{
			width: 310px !important;
			margin: 0 auto !important;
			}
		.login-popup .fancybox-inner{
			width: 310px !important;
		}
		.login-popup .fancybox-iframe{
			width: 310px !important;
		}
	
		.reg-popup .fancybox-skin{
			width: 330px !important;
			margin: 0 auto !important;
		}
		.reg-popup .fancybox-inner{
			width: 330px !important;
		}
		.reg-popup .fancybox-iframe{
			width: 330px !important;
		}
		.fbx-res.reg-popup .fancybox-iframe {
			height: 100%;
		}
	}
	
@media only screen and (device-width: 481px), only screen and (min-width: 1px) and (max-width: 481px) {

	body{
		overflow-y: inherit !important;
	}
		
	.checkLabel{
		width: 32px !important;
		height: 32px !important;
		background-image: url('../images/box-2x.png') !important;
		background-size: 28px 28px;
	}

	.c_on {
		background-image: url('../images/boxActive-2x.png') !important;
	}
	
	.c_on_disabled {
		background-image: url('../images/boxActive_disabled-2x.png') !important;
	}
	
	.c_off_disabled{
		background-image: url('../images/box_disabled-2x.png') !important;
	}
	
	.fit iframe {
		width: 100%;
		height: 268px !important;
	}
	
	.fbx-res a.fancybox-close{
		right: -4px;
		/*top: -4px;*/
	}

	.fancyImgBox a.fancybox-close {
		right: 0;
		top: 0;
	}
}

@media only screen and (device-width: 619px) and (device-height: 711px),
	only screen and (min-width: 1px) and (max-width: 619px)
	and (min-height: 1px) and (max-height: 711px) {
	.reg-popup .fancybox-skin{
		height: 90% !important;
	}
	
	.fbx-res.reg-popup a.fancybox-close{
		right: 0px;
		top: 8px;
	}
}

