/*-------------- Clear redundant styles -------------*/
body{
    margin:0;
    color:#545454;
    font:400 20px/23px 'Open Sans', Arial, Helvetica, sans-serif;
    background:#fff;
    min-width:320px;
    -webkit-text-size-adjust:100%;
    -ms-text-size-adjust: none;
}
img{
    border-style:none;
    vertical-align:top;
}
a {
    text-decoration:underline;
    color:#5aa8ea;
}
a:hover{text-decoration:none;}
input,
textarea,
select{
    font:100% Arial, Helvetica, sans-serif;
    vertical-align:middle;
    color:#000;
}
form, fieldset{
    margin:0;
    padding:0;
    border-style:none;
}
input[type=submit],
input[type=text],
input[type=password],
input[type=file],
textarea,
input[type=email],
input[type=search]{-webkit-appearance:none;}
textarea,
input[type=submit],
input[type=text],
input[type=email],
input[type=search]{-webkit-border-radius:0;}
input[type="image"]{
    padding:0;
    border:none;
}
header,
footer,
article,
section,
hgroup,
nav,
figure,
aside{display:block;}
figure{
    margin:0;
    padding:0;
}

/*-------------- Base styles ------------------------*/
#wrapper{
    overflow:hidden;
    width:100%;
    min-height: 300px;
    position:relative;
}

#main {
    padding:0 0 50px;
    width:100%;
    overflow:hidden;
}

.main-holder{
    max-width:1030px;
    margin:0 auto;
    padding:31px 0 0;
}

.main-holder.game {
    padding:0; !important;

}

.main-holder:after {
    content:'';
    display:block;
    clear:both;
}

.clearfix {
    clear: both;
}

.clearfix-after:after {
    clear: both;
    content: '';
    display: block;
}

.jcf-hidden {
    display: block !important;
    position: absolute !important;
    left: -9999px !important;
}

#nextPageBtn {
    display: none;
}
/*-------------- Header styles ----------------------*/
#header{
    border-bottom:2px solid rgba(90, 168, 234, 0.67);
    position:relative;
    z-index:300;
    background: rgb(243,243,243);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YzZjNmMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNmU2ZTYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(243,243,243,1) 0%, rgba(230,230,230,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(243,243,243,1)), color-stop(100%,rgba(230,230,230,1)));
    background: -webkit-linear-gradient(top,  rgba(243,243,243,1) 0%,rgba(230,230,230,1) 100%);
    background: -o-linear-gradient(top,  rgba(243,243,243,1) 0%,rgba(230,230,230,1) 100%);
    background: -ms-linear-gradient(top,  rgba(243,243,243,1) 0%,rgba(230,230,230,1) 100%);
    background: linear-gradient(to bottom,  rgba(243,243,243,1) 0%,rgba(230,230,230,1) 100%);
}
.header-holder{
    margin:0 auto;
    max-width:1015px;
    position:relative;
}

.header-top {
    background: rgb(45,45,45);
    height: 23px;
}

.header-holder:after{
    display:block;
    clear:both;
    content:"";
}
.logo{
    margin:12px 0 0 15px;
    text-indent:-9999px;
    overflow:hidden;
    float:left;
    background: url(../resources/image/logo.png) no-repeat;
    width:157px;
    height:31px;
}

.logo a{
    display:block;
    height:100%;
}
#nav{
    float:left;
    text-transform:uppercase;
}
#nav > ul{
    list-style:none;
    margin:0;
    padding:0;
    float:left;
    font:700 19px/22px 'Open Sans Condensed', Arial, Helvetica, sans-serif;
}
#nav > ul > li{float:left;}
#nav > ul > li > a{
    color:#454545;
    display:block;
    width:auto;
    padding:14px 24px;
    text-align:center;
    position:relative;
    text-decoration:none;
}
#nav > ul > li:hover > a,
#nav > ul > li.hover > a{
    text-decoration:none;
    color:#5aa8ea;
    background:#fff;
    border:solid #b2b2b2;
    border-width:0 1px;
    width:auto;
    box-shadow:0 -2px 2px 0 rgba(0, 0, 0, 0.3);
}
#nav > ul > li:hover > a:after,
#nav > ul > li.hover > a:after{
    position:absolute;
    border-bottom:2px solid #fff;
    bottom:-2px;
    left:0;
    right:0;
    content:"";
    z-index:100;
}
#nav .drop{
    position:absolute;
    top:50px;
    left:0;
    right:0;
    background:#fff;
    border:1px solid #c1c1c1;
    display:none;
}
#nav li:hover .drop,
#nav li.hover .drop{display:block;}
#nav .drop ul{
    list-style:none;
    margin:0;
    padding:15px 0 0;
    overflow:hidden;
    text-align:center;
}
#nav .drop ul li{
    float:left;
    width:16.5%;
    min-width:116px;
}
#nav .drop ul li strong {
    display:block;
    text-transform:uppercase;
    font-size:11px;
    line-height:14px;
    height: 28px;
    overflow-y: hidden;
    margin:0 0 -1px;
    position:relative;
    z-index:10;
}
#nav .drop ul a{
    color:#454545;
    text-decoration:none;
}
#nav .drop ul a:hover{
    text-decoration:none;
    color:#5aa8ea;
}
#nav .drop .block{
    font-size:14px;
    line-height:17px;
    background:#efefef;
    overflow:hidden;
    text-transform:uppercase;
    padding:11px 19px 10px;
    box-shadow:inset 0 7px 4px 0 rgba(0, 0, 0, 0.1);
}
#nav .drop .block .title{
    float:left;
    color:#454545;
}
#nav .drop .block .more{
    float:right;
    text-transform:uppercase;
    font-weight:bold;
    color:#5aa8ea;
    text-decoration:underline;
}
#nav .drop .block .more:hover{text-decoration:none;}
.flags-holder {
    display: none;
}
/*-------------- Header Sub Menu for Admin ----------------------*/
.mobile-menu {
    display: none;
}

#header .sub-menu {
    display: none;
    position: absolute;
    top: 52px;
    list-style-type: none;
    padding: 10px;
    z-index: 11000;
    border: solid #b2b2b2;
    border-width: 0 1px 1px 1px;
    box-shadow: 0 -2px 2px 0 rgba(0, 0, 0, 0.3);
}

#header .sub-menu li {
    padding-top: 10px;
}

#header .sub-menu {
    background-color: #fff;
}

#header.theme-default li a {
    color: #555;
}

/*-------------- Footer styles ----------------------*/
#footer {
    width:100%;
    overflow:hidden;
    background:#231f20;
}

#footer.bottom {
    position: fixed;
    bottom: 0;
}

#footer .logo {
    margin:0 0 0 -1px;
    background:url(../resources/image/logo_footer.png) no-repeat;
    width: 220px;
    height: 45px;
}

.footer-holder {
    max-width:1000px;
    margin:0 auto;
    overflow:hidden;
    padding:25px 0 37px;
    font-size:13px;
    line-height:14px;
    color:#777;
}
.footer-block {
    float: left;
    margin:2px 0 0 10px;
}
.footer-block p {margin:0;}
.footer-block .holder p {margin-top: 3px;}

.menu {
    padding:0;
    margin:1px 0 12px 0;
    list-style:none;
}
.menu li {
    float:left;
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid #777;
}
.menu li:last-child {
    border: 0 none;
    margin-right: 0;
    padding-right: 0;
}
.menu a {
    color:#777;
    text-decoration:none;
}
.menu a:hover {text-decoration:underline;}

.footer-social {
    float: right;
}

.footer-social p {
    margin: 0;
    text-align: right;
}

.social-buttons {
    margin-top: 10px;
    position: relative;
}

.social-buttons .fb-follow {
    top: -2px;
    display: inline-block !important;
    width: auto !important;
}

.social-buttons .fb-follow,
.social-buttons .twitter-follow-button {
    margin-right: 10px;
}

#footer .legal-disclaimer {
    padding-top: 40px;
    font-size: 10px;
}
/*-------------- Buttons styles ----------------------*/
.action-button {
    vertical-align: top;
    background-color: #559ad5;
    color: #fff;
    border: 1px solid #999;
    height: 30px;
}

.action-button span.ui-button-text {
    padding: 5px 20px 0 20px;
    background: #559ad5 none;
    font-weight: normal;
    font-size: 0.8em;
    height: 23px;
    color: #fff;
}

.action-link {
    vertical-align: top;
    background-color: #559ad5;
    color: #fff;
    border: 1px solid #999;
    border-radius: 3px;
    display: inline-block;
    height: 23px;
    padding: 5px 20px 0 20px;
    font-size: 1em;
    text-decoration: none;
    cursor: pointer;
}

.gray-link {
    display: inline-block;
    width: 80px;
    text-align: center;
    text-decoration: none;
    background-color: #222;
    color: #fff;
}

.button {
    float:left;
    text-transform:uppercase;
    color:#fff;
    background:#2f2f2f;
    min-width:68px;
    text-align:center;
    padding:6px 22px 8px;
    text-decoration:none;
    font:700 15px/17px 'Open Sans Condensed', Arial, Helvetica, sans-serif;
    letter-spacing:2px;
}

.button.blue {
    background:#5aa8ea;
    border-radius:2px;
    margin:0 22px 0 0;
    min-width:164px;
    font-size:20px;
    line-height:21px;
    padding:7px 22px 10px;
}

.button.grey {
    background: rgba(120, 120, 120, 1);
    border-radius:2px;
    margin:0 22px 0 0;
    min-width:164px;
    font-size:20px;
    line-height:21px;
    padding:7px 22px 10px;
}

.button.dark {
    background: #000 linear-gradient(to bottom, #000 0%, #555 80%, #aaa 100%);
    box-shadow: 2px -2px 1px rgba(0, 0, 0, 0.2);
    border: 0 none;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    line-height: 17px;
    padding: 3px 15px;
    cursor: pointer;
}

.button.dark:hover {
    background: #000 linear-gradient(to bottom, #222 0%, #666 80%, #aaa 100%);
}

.button.view-tips {
    background: #5AA8EA;
    border-radius: 2px;
    font-size: 12px;
    line-height: 16px;
    padding: 5px 15px;
}

.home-page-visual-wrapper .button.view-tips {
    padding: 5px 7px;
}

/*-------------- popup styles ----------------------*/
.gameru-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    background-color: #FFF;
    border: 7px solid rgba(30, 30, 30, 0.5);
    border-radius: 7px;
    display: none;
}

.gameru-popup .close-btn {
    width: 150px;
    height: 20px;
    color: #DDD;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1em;
    text-align: right;
    position: absolute;
    right: 0;
    top: -25px;
    cursor: pointer;
}

.gameru-popup .close-btn:hover {
    text-decoration: underline;
}

.gameru-popup .content {
    padding: 9px 18px 7px 15px;
}

/*-------------- Glass pane styles ----------------------*/
.glasspane {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 15000;
}

.ui-blockui{
    z-index: 10001 !important;
}

#layouttable{
    margin: 0;
    padding: 0;
    width: 100%;
}

.ui-blockui-content{
	z-index: 10001 !important;
}

/*-------------- Common Form Styles ---------------------------------------------------*/
.form .form-row {
    margin-bottom: 20px;
}

.form .form-row .label,
.form .form-row label {
    display: inline-block;
    margin-bottom: 5px;
    color: #545454;
    font: 700 15px 'Open Sans', Arial, Helvetica, sans-serif;
}

.form .form-row .label.label-checkbox,
.form .form-row label.label-checkbox {
    font-weight: normal;
    cursor: pointer;
}

.form .form-row .control input[type=text],
.form .form-row .control input[type=password],
.form .form-row .control select,
.form .form-row .control textarea {
    border: 1px solid #D7D7D7;
    box-shadow: inset 0 2px 3px 0 rgba(0, 0, 0, 0.3);
    font-size: 16px;
    padding: 5px 5px 5px 10px;
    color: #545454;
    height: 30px;
    min-width: 250px;
}

/*-------------- Greyed Form Styles ---------------------------------------------------*/
.form.grey .form-row {
    margin-bottom: 10px;
}

.form.grey .form-row .label {
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
}

.form.grey .form-row .value {
    font-size: 16px;
    display: inline-block;
}

.form.grey .form-row .value .control input,
.recaptchatable .recaptcha_input_area input {
    font-size: 14px;
    border: 3px solid #aaa;
    border-radius: 3px;
    background-color: #eee;
    background-image: linear-gradient(to bottom,  #dfdfdf 0%, #fdfdfd 100%);
    height: auto;
    box-shadow: none;
    padding: inherit;
}

/*-------------- Form Validation Styles -----------*/
.form .form-row .invalid {
    border: 1px solid #ff0000 !important;
}

.form .form-row .error-message,
.global-errors .error-message {
    color: #ff0000;
    font-size: 12px;
    display: block;
    clear: left;
}

.banner-download img {
    width: 90%;
}
/*

*/
/* Chrome *//*

.form .form-row .invalid::-webkit-input-placeholder {
    color: #ff0000;
}

*/
/* Firefox 19- *//*

.form .form-row .invalid:-moz-placeholder {
    color: #ff0000;
}

*/
/* Firefox 19+ *//*

.form .form-row .invalid::-moz-placeholder {
    color: #ff0000;
}

*/
/* IE *//*

.form .form-row .invalid:-ms-input-placeholder {
    color: #ff0000;
}

*/
/*Standart JSF error*//*

.jsf-error-fix {
    color: #ff0000;
    font: 400 14px 'Open Sans', Arial, Helvetica, sans-serif;
}
*/

/*PrimeFaces error*/
.jsf-error-fix .ui-messages-error {
    background-color: transparent;
    color: #ff0000;
    border: 0 none;
    padding: 0;
    margin: 0;
}

.jsf-error-fix .ui-messages-error ul{
    margin: 0;
}

.jsf-error-fix .ui-messages-error .ui-messages-error-icon {
    display: none;
}

.jsf-error-fix .ui-messages-error .ui-messages-error-detail {
    font-size: 14px;
}

/*-------------- Legacy styles. TODO: remove it (not all !! -VK )----------------------*/
#loginFields{width:550px}
/*label {width:300px; float: left}*/
#loginFields label {width:150px; float: left; }
.eol{clear: left;}
.hidden{display: none;}
.ooyalaplayer{height: 490px;width: 600px}
.ooyalaplayer_center{height: 490px;width: 600px; margin-left: auto ; margin-right: auto; }
#tipForm .ooyalaplayer_center_small .innerWrapper {z-index: 15;}
#ooyalaplayer .innerWrapper {z-index: 10}
.frontDlg {z-index: 10001 !important}

/*.fb_login{color:#ffffff; background-color:#475da4; text-decoration: none}*/
.reset-form-content{
    width:250px;
}
