body {

    padding: 0;
    margin: 0;
    font: 1em/120% 'PT Sans', sans-serif;
    color: #333;
    background: #fff;
}

a {
    color: #f63!important;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

big, .big {
    font-size: 125%;
}

small, .small {
    font-size: 80%;
}

img {
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
    border: 0;
}

hr {
    margin: 1em 0;
    border-color: #dfdfdf;
    border-style: solid;
    border-width: 0 0 1px 0;
}

blockquote {
    margin: 1em 2em;
    border-left: 4px #dfdfdf solid;
    padding: 1em;
    font-style: italic;
}

.p {
    margin: 1em 0;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.inithide {
    display: none;
}

.float-50 {
    float:left;
    width:50%;
}

.orange {
    color: #f63;
}

.blue {
    color: #08d;
}

.b {
    font-weight: bold;
}

.nobr {
    white-space: nowrap;
}

div.clear {
    clear: both;
    height: 1px;
    margin: 0 0 -1px 0; 
    padding: 0;
    overflow: hidden;
}

#main-menu-full ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#main-menu-full li {
    margin: 0;
    padding: 0;
    display: inline-block;
    text-transform: uppercase;
}

#main-menu-full a {
    line-height: 3em;
    padding: 0 0.8em;
    color: #fff!important;
    text-decoration: none;
    display: inline-block;
}

#main-menu-mini a {
    display: block;
    color: #fff!important;
    text-decoration: none;
}

#main-menu-mini .switch {
    cursor: pointer;
    color: #fff;
    padding: .5em;
    background: #006cb8;
}

#main-menu-mini ul {
    display: block;
    padding: 0;
    margin: 0;
    background: #999;
}

#main-menu-mini li {
    padding: .5em;
    display: block;
    margin: 0;
    background: #2962a2;
}

#main-menu-mini li:nth-child(even) {
    background: #006cb8;
}

#main-menu-full .active {
    background: #6dcff6;
}


#main-menu-mini .active {
    background: #6dcff6!important;
}


#main-menu-full li ul,
#main-menu-mini li ul {
    display: none;
}

#main-menu-mini-menu {
    display: none;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video iframe,  
.video object,  
.video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#product-video {
    margin: 1em 0;
}

#home-content-map {
    width: 100%;
    height: 200px;
    /*
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    */
}

#directions-map {
    width: 100%;
    height: 500px;
}

#home-content-place {
    margin-bottom: 1em;
}

#content {
    padding: 0;
}

#home-teaser h1 {
    display: block;
    font-size: 2.5em;
    line-height: 120%;
    margin: 0 0 .5em 0;
    color: #f63;
    text-transform: uppercase;
    font-family: 'PT Sans Caption', sans-serif;
    text-align: center;
}

#content h1,
#content-main h1,
#last-teaser h1 {
    font-size: 2em;
    color: #333;
    font-family: 'PT Sans Caption', sans-serif;
    font-weight: bold;
    line-height: 120%;
    text-transform: uppercase;
    margin: 0 0 .8em 0;
    border-bottom: 1px solid #ccc;
    padding: 0 0 .5em 0;
}

#last-teaser h1 {
    text-align: center;
    border: 0;
    padding: 0;
}

#home-teaser h2,
#home-content h2,
#content-main h2,
#last-gallerywrap .last-gallery h2 {
    display: block;
    font-size: 1.8em;
    line-height: 120%;
    margin: .25em 0;
    color: #08d;
    font-family: 'PT Sans Caption', sans-serif;
    text-align: left;
    font-weight: normal;
    position: relative;
}

#home-content h3 {
    display: block;
    font-size: 1em;
    margin: 1.5em 0 .5em 0;
    color: #333;
    font-family: 'PT Sans Caption', sans-serif;
    font-weight: bold;
}

#home-teaser-text div.text {
    margin: 1em 0;
}

#home-content h1 {
    display: block;
    font-size: 1.5em;
    line-height: 1.5em;
    font-weight: bold;
    margin: 0 0 1em 0;
    color: #902e79;
    background: #ddd;
    padding: .1em .3em 0 .3em;
}

#content-side ul {
    margin: 1em 0;
    padding: 0 0 0 2em;
}

h2 a.more,
h2 span.more {
    display: block;
    color: #fff!important;
    background-color: #f63;
    margin: 0;
    padding: 0 1em;
    font-family: 'PT Sans', sans-serif;
    font-weight: normal;
    text-decoration: none;
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    bottom: auto;
    font-size: .5em;
    white-space: nowrap;
}

h2 a.more::after,
h2 span.more::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -.8em;
    border: .5em solid transparent;
    border-left: .5em solid #f63;
    border-top: .5em solid #f63;
}

#home-content a.news-more,
#content-main a.more {
    color: #fff!important;
    background-color: #08d;
    display: inline-block;
    padding: .5em 1em;
    text-decoration: none;
    margin-top: .5em;
    font-size: .9em;
}

#sponsors h1 {
    margin: 0;
    color: #fff;
    background: #e0e0e0;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(#e0e0e0), color-stop(#d9d9d9));
    background: -webkit-linear-gradient(#e0e0e0, #d9d9d9);
    background: -moz-linear-gradient(#e0e0e0, #d9d9d9);
    background: -ms-linear-gradient(#e0e0e0, #d9d9d9);
    background: -o-linear-gradient(#e0e0e0, #d9d9d9);
    background: linear-gradient(#e0e0e0, #d9d9d9);
    display: inline-block;
    font-size: 1.3em;
    padding: .2em 1em .5em 1em;
    -moz-border-radius: 0 0 1em 1em;
    -webkit-border-radius: 0 0 1em 1em;
    border-radius: 0 0 1em 1em;
    -moz-box-shadow: 0 .3em .5em rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 .3em .5em rgba(0,0,0,0.1);
    box-shadow: 0 .3em .5em rgba(0,0,0,0.1);
}

#sponsors h2 {
    text-align: center;
    margin: 1em 0;
    color: #666;
    font-size: 1em;
}

#sub-sponsors img {
    margin: 0 2em;
}

div.contact {
    background: #f2f2f2;
    border-left: .5em solid #f63;
    padding: 1em;
}

div.contact b {
    color: #f63;
}

div.contact big {
    color: #08d;
    display: inline-block;
    margin-bottom: .25em;
}

div.border {
    background: #fff;
    border: 1px solid #dfdfdf;
    padding: .5em 1em;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

#last-press h2 {
    margin: .5em 0 1em 0;
    padding: 0;
    font: 1.5em/120% 'PT Sans', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}

#last-press ul {
    margin: 0 0 1.5em 1.25em;
    padding: 0;
}

#last-press li {
    padding: .5em 0;
    font-weight: bold;
}

#last-press a {
    color: #fff!important;
    font-weight: normal;
    text-decoration: underline;
}

#product-gallery {
    margin: 1em 0;
}

#product-gallery img,
#last-gallerywrap .last-gallery img {
    width: 25%;
    height: auto;
    padding: 0;
    margin: 0;
    vertical-align: bottom;
}

#tickets-types {
    margin: 1em 0;
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #dfdfdf;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.15);
    box-shadow: 0px 1px 3px rgba(0,0,0,0.15);
}

#content-head {
    border: none;
    border-collapse: collapse;
}

#content-head .logo {
    vertical-align: top;
    padding: 0 1em 0 0;
}

#content-head .logo img {
    max-width: 200px;
    max-height: 200px;
}

#content-head .body {
    vertical-align: middle;
    padding: 0;
}

#content-head td.age-rating {
    vertical-align: top;
    padding: 0 0 0 1em;
    font-size: 150%;
}

#content-head h1 {
    border: 0;
    padding: 0;
}

span.age-rating {
    color: #fff;
    background: #f63;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    border-radius: 1em;
    padding: .5em 0!important;
    width: 2em;
    display: inline-block;
    text-align: center;
}

#content-games,
#content-events,
#content-companies {
    border: none;
    border-collapse: collapse;
    width: 100%;
}

#content-games td,
#content-events td,
#content-companies td {
    padding: .5em;
    border-bottom: 1px solid #dfdfdf;
    vertical-align: middle;
}

#content-games tr:last-child td,
#content-events tr:last-child td,
#content-companies tr:last-child td {
    border: none;
}

#content-games td.icon,
#content-events td.icon,
#content-companies td.icon {
    width: 1px;
    text-align: center;
    padding-left: 0;
}

#content-games td.icon img,
#content-companies td.icon img {
    max-width: 50px;
    max-height: 50px;
}

#content-games td.booth,
#content-events td.booth,
#content-companies td.booth {
    width: 1px;
    text-align: right;
    white-space: nowrap;
    padding-right: 0;
}

.booth-label {
    background: #f63;
    color: #fff;
    padding: 0 .5em;
    white-space: nowrap;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    border-radius: 1em;
}

.booth-label a {
    color: #fff!important;
    text-decoration: none!important;
}

#tickets-types-side {
    width: 100%;
    border-collapse: collapse;
}

#tickets-types tr,
#tickets-types-side tr {
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

#tickets-types tr:last-child,
#tickets-types-side tr:last-child {
    border-bottom: none;
}

#tickets-types td.icon {
    padding: 1.4em 1em 1em 1em;
    color: #f63;
}

#tickets-types-side td.icon {
    padding: 1.4em 1em 0 0;
    color: #f63;
}

#tickets-types td.text,
#tickets-types-side td.text {
    padding: 1em 0;
    width: 100%
}

#tickets-types td.price {
    padding: 1em;
    text-align: right;
    white-space: nowrap;
    color: #952f75;
    font-size: 125%;
}

#tickets-types td.price a,
#tickets-types td.price i {
    font-size: 80%;
}

#tickets-types-side td.price {
    padding: 1em;
    text-align: right;
    white-space: nowrap;
    color: #952f75;
}

#tickets-types span.more {
    color: #f63;
    cursor: pointer;
}

#tickets-types span.more:hover {
    text-decoration: underline;
}

#tickets-types div.more {
    display: none;
    font-size: 80%;
    margin-top: 1em;
}

#tickets-types ul {
    margin-left: 0;
}

#content-main .news-list .news-item {
    margin: 0 0 2em 0;
}

#content-main .news-list .news-item:last-child {
    margin: 0;
}

textarea,
input[type='text'],
input[type='password'] {
    width: 97%;
    padding: 1%;
    border: 1px solid #ccc!important;
    display: block;
    -webkit-appearance: none;
    font-size: 125%;
}

input[type='file'] {
    margin: 1em 0;
    -webkit-appearance: none;
    font-size: 125%;
}

input[type='submit'] {
    cursor: pointer;
    border: 0;
    font-size: 1em;
    color: #fff!important;
    background-color: #08d;
    display: inline-block;
    padding: 1em 2em;
    text-decoration: none;
    margin: 1em 0!important;
    -webkit-appearance: none;
}

label {
    display: block;
    font-weight: bold;
    margin-top: 1em;
    -webkit-appearance: none;
}

/* кнопка подгрузки картинок в галерею */

.gallery-more {
    height: 0;
    width: 25%;
    padding-bottom: 18.75%;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    color: #fff;
    background-color: #0094da;
}

.gallery-more i {
    line-height: inherit!important;
}

div.flash-success {
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #C6D880;
	background:#E6EFC2;
	color:#264409;
}

a.refresh-captcha {
    display: inline-block;
    line-height: 50px;
    vertical-align: bottom;
    margin-left: 1em;
}

.pager {
    display: block;
    margin: 1em auto;
    text-align: center;
    list-style-type: none;
}

.pager a {
    text-decoration: none!important;
}

.pager li {
    display: inline-block;
    margin: 0;
    padding: 0 4px
}

.pager .pager-item:hover,
.pager .pager-next:hover,
.pager .pager-previous:hover,
.pager .pager-first:hover,
.pager .pager-last:hover {
    background: #dfdfdf;
}

.pager .pager-current {
    background: #C9E0ED;
}

.pager .hidden {
    display: none;
}

#content-side .qr-code {
    margin: 1em 0;
    text-align: center;
}

#content-side .qr-code img {
    max-width: 100px;
    max-height: 100px;
}

/* админка участника */

.participant .fa-ul {
    line-height: 1.8em;
}

.participant .fa-ul .action {
    background: #a9e1ff; 
    padding: 2px 5px;
    white-space: nowrap;
}

.participant .fa-ul .action a {
    color: #000!important;
}

.participant .fa-ul .flags {
    background: #f2dede; 
    padding: 2px 5px;
    white-space: nowrap;
}

.GalleryEditor label {
    margin-top: 0;
}

.form .logo {
    float: left;
}

.form .logo img {
    max-width: 100px;
    max-height: 100px;
}

.form .qr-code {
    float:right;
}

.form .qr-code img {
    max-width: 100px;
    max-height: 100px;
}

.form .float-left {
    float: left;
    margin-right: 1em!important;
}

.form .w25 {
    width: 25%;
}

.form select {
    padding: 0.4em;
}

