@import "animate.css";
@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);
/*@import url(http://fonts.googleapis.com/css?family=Raleway:400,800,900,700,600,300);*/
/*========================================================
                        Includes
=========================================================*/
/*========================================================
                      Main Styles
=========================================================*/
body {
  background: #f9f9f9;
  font: 400 15px/27px 'UFOCleanRomanRegular', sans-serif;
  -webkit-text-size-adjust: none;
}

img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  color: #FFF;
}
h1 {
  font: 800 105px/90px 'UFOCleanRomanRegular', sans-serif;
  letter-spacing: -4.2px;
}
h1 span {
  color: #303030;
}
h2 {
  font: 400 75px/73px 'UFOCleanRomanRegular', sans-serif;
}
h3 {
  font: 400 65px/73px 'UFOCleanRomanRegular', sans-serif;
}
h4 {
  font: 700 35px/44px 'UFOCleanRomanRegular', sans-serif;
}
h4 a:hover {
  color: #7ec71e;
}
h5 {
  font: 700 20px/34px 'UFOCleanRomanRegular', sans-serif;
  color: #7ec71e;
}
h5 a:hover {
  color: #FFF;
}
h2 span,
h3 span {
  font-weight: 300;
}
h2 strong,
h3 strong {
  font-weight: 900;
}
p a:hover {
  text-decoration: underline;
}
time {
  display: block;
}
newslink {
  font: 700 35px/44px 'UFOCleanRomanRegular', sans-serif;
  color: #1D1D1D; 
}
dt,
dd {
  display: inline-block;
}
dd {
  padding-left: 4px;
}
a {
  font: inherit;
  color: inherit;
  text-decoration: none;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
a:active {
  background: transparent;
}
a:focus {
  outline: none;
}
a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}
strong {
  font-weight: 700;
}
.fa {
  line-height: inherit;
}
[class*='fa-']:before {
  font-weight: 400;
  font-family: 'FontAwesome';
}
.page {
  overflow: hidden;
  min-height: 500px;
}
.lt-ie9 .page {
  min-width: 1200px;
}
/*=======================================================
                       Main Layout
=========================================================*/
* + .btn {
  margin-top: 37px;
}
* + .btn__md {
  margin-top: 23px;
}
.mt {
  margin-top: 3px;
}
.mt1 {
  margin-top: 9px;
}
.mt2 {
  margin-top: 7px;
}
.mt-zero {
  margin-top: 0;
}
* + p {
  margin-top: 24px;
}
* + h5,
.off-5 {
  margin-top: 22px;
}
h5 + p,
h3 + p,
address + p,
* + dl,
.off-7 {
  margin-top: 10px;
}
h2 + p,
.off-4 {
  margin-top: 15px;
}
* + .line {
  margin-top: 33px;
}
.off {
  margin-top: 36px;
}
.off-1 {
  margin-top: 48px;
}
.off-3 {
  margin-top: 30px;
}
.off-6 {
  margin-top: 42px;
}
.off-8 {
  margin-top: 50px;
}
.info + .info,
.off-2 {
  margin-top: 25px;
}
/*=======================================================
                        Components
=========================================================*/
/*========================   Menu   ==========================*/
.sf-menu {
  display: inline-block;
}
.sf-menu:before,
.sf-menu:after {
  content: " ";
  display: table;
}
.sf-menu:after {
  clear: both;
}
.sf-menu > li {
  position: relative;
  float: left;
}
.sf-menu a {
  display: block;
}
.sf-menu {
  margin-left: 22px;
}
.sf-menu > li {
  position: relative;
}
.sf-menu > li:after {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  right: 0;
  border-right: solid 1px #0e1904;
  -moz-transform: skew(-28.5deg);
  -ms-transform: skew(-28.5deg);
  -o-transform: skew(-28.5deg);
  -webkit-transform: skew(-28.5deg);
  transform: skew(-28.5deg);
}
.sf-menu > li:first-child {
  position: relative;
}
.sf-menu > li:first-child:before {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  left: 0;
  border-left: solid 1px #0e1904;
  -moz-transform: skew(-28.5deg);
  -ms-transform: skew(-28.5deg);
  -o-transform: skew(-28.5deg);
  -webkit-transform: skew(-28.5deg);
  transform: skew(-28.5deg);
}
.sf-menu > li > a {
  color: #FFF;
  font: 700 19px/20px 'UFOCleanRomanRegular', sans-serif;
  text-transform: uppercase;
  padding: 30px 33px;
  position: relative;
  z-index: 0;
}
.sf-menu > li > a:after {
  position: absolute;
  content: '';
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -moz-transform: skew(-28.5deg);
  -ms-transform: skew(-28.5deg);
  -o-transform: skew(-28.5deg);
  -webkit-transform: skew(-28.5deg);
  transform: skew(-28.5deg);
  background: #323232;
  background: -moz-linear-gradient(top, #323232 0%, #2a2a2a 50%, #212121 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #323232), color-stop(50%, #2a2a2a), color-stop(100%, #212121));
  background: -webkit-linear-gradient(top, #323232 0%, #2a2a2a 50%, #212121 100%);
  background: -o-linear-gradient(top, #323232 0%, #2a2a2a 50%, #212121 100%);
  background: -ms-linear-gradient(top, #323232 0%, #2a2a2a 50%, #212121 100%);
  background: linear-gradient(to bottom, #323232 0%, #2a2a2a 50%, #212121 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#323232', endColorstr='#212121', GradientType=0);
  opacity: 0;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: -1;
}
.lt-ie9 .sf-menu > li > a:after {
  filter: alpha(opacity=0);
}
.sf-menu > li.sfHover > a:after,
.sf-menu > li > a:hover:after,
.sf-menu > li.active > a:after {
  opacity: 1;
}
.lt-ie9 .sf-menu > li.sfHover > a:after,
.lt-ie9 .sf-menu > li > a:hover:after,
.lt-ie9 .sf-menu > li.active > a:after {
  filter: alpha(opacity=100);
}
.sf-menu ul {
  display: none;
  position: absolute;
  top: 100%;
  width: 262px;
  margin-top: 0;
  background: #FFF;
  border-top: solid 1px #000;
  border-bottom: solid 1px #000;
  z-index: 2;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.sf-menu ul {
  background: #2F2F2F;
  margin-left: -22px;
}
.sf-menu ul > li {
  padding: 22px 0 ;
}
.sf-menu ul > li > a {
  color: #FFF;
  margin-left: 51px;
  font: 400 15px/15px 'UFOCleanRomanRegular', sans-serif;
  text-transform: uppercase;
}
.sf-menu ul > li.sfHover > a,
.sf-menu ul > li > a:hover {
  color: #7ec71e;
}
.sf-menu ul > li + li {
  border-top: solid 1px #000;
}
.sf-menu ul ul {
  position: absolute;
  right: -267px;
  top: 59px;
  z-index: 4;
}
.sf-menu > li > .sf-with-ul {
  position: relative;
}
.sf-menu > li > .sf-with-ul:before {
  position: absolute;
  left: 50%;
  top: 62%;
  margin-left: -6px;
  content: '\f0d7';
  font: 400 12px/12px 'FontAwesome';
}
.sub-menu > li > .sf-with-ul {
  position: relative;
}
.sub-menu > li > .sf-with-ul:before {
  position: absolute;
  top: 0;
  right: 70px;
  content: '\f105';
  font: 400 15px/15px 'FontAwesome';
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
@media (max-width: 767px) {
  .sf-menu {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  .sf-menu > li > a {
    padding: 30px 25px;
  }
}
/*==================  Select Menu  ======================*/
.select-menu {
  position: relative;
  display: none;
  margin: 0 auto;
  width: 420px;
  background: #ffffff url('../images/select.png') no-repeat right center;
  overflow: hidden;
}
.select-menu .select {
  width: 440px;
  height: 30px;
  color: #585858;
  background-color: transparent;
  font: 400 15px 'UFOCleanRomanRegular', sans-serif;
  line-height: 30px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
}
.select-menu .select::-ms-expand {
  display: none;
}
@media (max-width: 767px) {
  .select-menu {
    display: block;
  }
}
@media (max-width: 479px) {
  .select-menu {
    width: 270px;
  }
  .select-menu .select {
    width: 290px;
  }
}
/*==================     ToTop     ======================*/
.toTop {
  font-size: 85px;
  line-height: 80px;
  color: #7ec71e;
  position: fixed;
  right: 300px;
  bottom: 180px;
  display: none;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  z-index: 20;
}
.toTop:hover {
  color: #333232;
  text-decoration: none;
}
@media only screen and (max-width: 1399px) {
  .toTop {
    display: none !important;
  }
}

/*========================================================
                     RESPONSIVE
=========================================================*/
@media (min-width: 768px) and (max-width: 1199px), (max-width: 479px) {
  .thumb_overlay:before {
    width: 50px;
    height: 50px;
    margin-top: -25px;
    margin-left: -25px;
    line-height: 50px;
    font-size: 20px;
  }
}
/*==================     Icons     ======================*/
/*==================     Table     ======================*/
table {
  width: 100%;
  color: #FFF;
}
table th,
table td {
  border: solid 1px #d3d3d3;
}
table th {
  text-transform: uppercase;
  padding: 13px 0 10px;
}
table th:first-child,
table td:first-child {
  width: 15.8974%;
}
table th,
table td {
  width: 21.28%;
}
table td {
  padding: 16px 0 7px;
  text-align: center;
}
table td + td {
  line-height: 18px;
}
/*==================    Buttons    ======================*/
.btn {
  position: relative;
  display: inline-block;
  background: #7ec71e;
  font: 700 19px/20px 'UFOCleanRomanRegular', sans-serif;
  text-transform: uppercase;
  color: #fff;
  padding: 29px 8px 31px 29px;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  z-index: 0;
}
.btn:before {
  position: absolute;
  content: '';
  top: 0;
  right: -22px;
  width: 50px;
  height: 80px;
  -moz-transform: skew(-28.5deg);
  -ms-transform: skew(-28.5deg);
  -o-transform: skew(-28.5deg);
  -webkit-transform: skew(-28.5deg);
  transform: skew(-28.5deg);
  background: #7ec71e;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  z-index: -1;
}
.btn:hover {
  background: #333232;
}
.btn:hover:before {
  background: #333232;
}
.btn__md {
  padding: 20px 19px 20px 30px;
}
.btn__md:before {
  right: -21px;
  width: 40px;
  height: 60px;
}
.btn__md1 {
  background: #2f2f2f;
  padding: 20px 19px 20px 30px;
}
.btn__md1:before {
  right: -17px;
  width: 40px;
  height: 60px;
  background: #2f2f2f;
}
.btn__md1:hover {
  background: #7ec71e;
}
.btn__md1:hover:before {
  background: #7ec71e;
}
/*==================      Box      ======================*/
.box:before,
.box:after {
  content: " ";
  display: table;
}
.box:after {
  clear: both;
}
.box_aside {
  float: left;
}
.box_right {
  float: right;
}
.box_cnt__no-flow {
  overflow: hidden;
}
/*========================================================
                     HEADER  Section
=========================================================*/
header {
  background: #191919;
  /*padding-top: 60px;*/
}
header .brand {
  float: left;
}
header .box_right {
  float: right;
}
header .box_right .search-form {
  clear: both;
  margin-right: 16px;
}
header .box_right .social-link {
  float: right;
  margin-bottom: 21px;
}
@media (max-width: 767px) {
  header {
    text-align: center;
  }
  header .brand,
  header .box_right {
    float: none;
  }
}
/* Prevent mobile tap highlight on links */
a {
  -webkit-tap-highlight-color: transparent;
}

/*==================     Brand     ======================*/
.brand {
  display: inline-block;
  position: relative;
  padding: 20px 53px 24px 49px;
  z-index: 0;
}
.brand_slogan {
  font: 600 19px/19px 'UFOCleanRomanRegular', sans-serif;
  color: #FFF;
  text-transform: uppercase;
  margin-left: 2px;
  margin-top: 0;
}
.brand:before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -moz-transform: skew(-28.5deg);
  -ms-transform: skew(-28.5deg);
  -o-transform: skew(-28.5deg);
  -webkit-transform: skew(-28.5deg);
  transform: skew(-28.5deg);
  background: #7ec81f;
  background: -moz-linear-gradient(top, #7ec81f 0%, #498d13 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7ec81f), color-stop(100%, #498d13));
  background: -webkit-linear-gradient(top, #7ec81f 0%, #498d13 100%);
  background: -o-linear-gradient(top, #7ec81f 0%, #498d13 100%);
  background: -ms-linear-gradient(top, #7ec81f 0%, #498d13 100%);
  background: linear-gradient(to bottom, #7ec81f 0%, #498d13 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7ec81f', endColorstr='#498d13', GradientType=0);
  z-index: -1;
}
/*==================  Navigation   ======================*/
/*========================================================
                     CONTENT  Section
=========================================================*/
main {
  display: block;
/*  background: #191919; */
}
/*==================      Well     ======================*/
.well {
  padding: 80px 0 80px;
}
.well-1 {
  padding: 75px 0 82px;
}
.well-1__off {
  padding-bottom: 88px;
}
.well-1__off1 {
  padding-bottom: 40px;
}
.well-1__off2 {
  padding-top: 35px;
}
.well-1__off3 {
  padding-top: 85px;
}
.well-1__off4 {
  padding-bottom: 207px;
}
.well-1__off5 {
  padding-bottom: 50px;
}
.well-2 {
  padding: 78px 0 96px;
}
.well-3 {
  padding: 87px 0 106px;
}
.well-4 {
  padding: 30px 0 40px;
}
/*==================  Backgrounds  ======================*/
.bg-primary {
  background: #2c2c2c;
}
.bg-header {
  background: url('../images/background-1.jpg') repeat-x bottom;
}
.bg-main {
  background: url('../images/background-2.jpg') repeat;
}
.bg-main-1 {
  background: #FFF;
}
.bg-main-1 h3 {
  color: #191919;
}
/*============   Background Gradient   ================*/
.gradient-1 {
  background: #7ec81f;
  background: -moz-linear-gradient(top, #7ec81f 0%, #498d13 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7ec81f), color-stop(100%, #498d13));
  background: -webkit-linear-gradient(top, #7ec81f 0%, #498d13 100%);
  background: -o-linear-gradient(top, #7ec81f 0%, #498d13 100%);
  background: -ms-linear-gradient(top, #7ec81f 0%, #498d13 100%);
  background: linear-gradient(to bottom, #7ec81f 0%, #498d13 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7ec81f', endColorstr='#498d13', GradientType=0);
}
.gradient-2 {
  background: #323232;
  background: -moz-linear-gradient(top, #323232 0%, #2a2a2a 50%, #212121 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #323232), color-stop(50%, #2a2a2a), color-stop(100%, #212121));
  background: -webkit-linear-gradient(top, #323232 0%, #2a2a2a 50%, #212121 100%);
  background: -o-linear-gradient(top, #323232 0%, #2a2a2a 50%, #212121 100%);
  background: -ms-linear-gradient(top, #323232 0%, #2a2a2a 50%, #212121 100%);
  background: linear-gradient(to bottom, #323232 0%, #2a2a2a 50%, #212121 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#323232', endColorstr='#212121', GradientType=0);
}
/*==================    Colors    ======================*/
.color-1 {
  color: #7ec71e;
}
.color-2 {
  color: #fff;
}
/*==================    FontStyle   ======================*/
.font-style {
  font: 400 15px/27px 'UFOCleanRomanRegular', sans-serif;
  text-transform: uppercase;
  color: #FFF;
}
.font-style-1 {
  font: 700 29px/30px 'UFOCleanRomanRegular', sans-serif;
  color: #7ec71e;
}
/*==================  SocialLinks  ======================*/
.social-link > li {
  display: inline-block;
}
.social-link > li a {
  display: inline-block;
  text-align: center;
  font-size: 28px;
  line-height: 72px;
  color: #7ec71e;
  background: #2c2c2c;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  position: relative;
  z-index: 0;
}
.social-link > li a:after {
  position: absolute;
  content: '';
  background: #7ec81f;
  background: -moz-linear-gradient(top, #7ec81f 0%, #498d13 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7ec81f), color-stop(100%, #498d13));
  background: -webkit-linear-gradient(top, #7ec81f 0%, #498d13 100%);
  background: -o-linear-gradient(top, #7ec81f 0%, #498d13 100%);
  background: -ms-linear-gradient(top, #7ec81f 0%, #498d13 100%);
  background: linear-gradient(to bottom, #7ec81f 0%, #498d13 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7ec81f', endColorstr='#498d13', GradientType=0);
  opacity: 0;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 50%;
  z-index: -1;
}
.lt-ie9 .social-link > li a:after {
  filter: alpha(opacity=0);
}
.social-link > li a:hover {
  color: #FFF;
}
.social-link > li a:hover:after {
  opacity: 1;
}
.lt-ie9 .social-link > li a:hover:after {
  filter: alpha(opacity=100);
}
.social-link li + li {
  margin-left: 7px;
}
/*==================     Date     ======================*/
.date {
  display: inline-block;
  font: 700 19px/20px 'UFOCleanRomanRegular', sans-serif;
  text-transform: uppercase;
  color: #7ec71e;
  padding: 18px 94px 23px;
  position: relative;
  z-index: 0;
}
.date:after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #2f2f2f;
  -moz-transform: skew(-28.5deg);
  -ms-transform: skew(-28.5deg);
  -o-transform: skew(-28.5deg);
  -webkit-transform: skew(-28.5deg);
  transform: skew(-28.5deg);
  z-index: -1;
}
.date__md {
  background: #2f2f2f;
  padding: 17px 14px 23px 29px;
}
.date__md:after {
  display: none;
}
.date__md:before {
  position: absolute;
  content: '';
  top: 0;
  right: -32px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 60px 32px 0 0;
  border-color: #2f2f2f transparent transparent transparent;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.date-news {
  display: inline-block;
  font-size: 18px;
  line-height: 18px;
  font-weight: 700;
  color: #7ec71e;
}
.date-news span {
  font-size: 64px;
  line-height: 64px;
}
/*==================   TxtWrap  ======================*/
.txt-wrap {
  padding-left: 18px;
  margin-top: 6px;
}
.txt-wrap h5 {
  line-height: 24px;
}
/*==================    Info    ======================*/
.info {
  position: relative;
}
.info_overlay {
  position: absolute;
  left: 0;
  top: 0;
}
.info_overlay .date {
  margin-top: 30px;
}
.info_overlay h4 {
  padding: 0 30px;
  margin-top: 148px;
}
/*==================      Line     ======================*/
.line {
  border-top: solid 1px #686868;
}
/*==================    EventList    ======================*/
.event-list li {
  display: inline-block;
}
.event-list li + li {
  margin-top: 3px;
}
/*==================    FloatBox    ======================*/
.float-box:before,
.float-box:after {
  content: " ";
  display: table;
}
.float-box:after {
  clear: both;
}
.float-box > div {
  float: left;
  width: 20%;
}
#twitter-widget-0 {
  width: 357px !important;
}
.autosized-media {
  width: 100% !important;
  height: auto !important;
}
/*==================  SocialLinks  ======================*/
.mark-list li a {
  position: relative;
  color: #FFF;
  padding-left: 24px;
}
.mark-list li a:before {
  position: absolute;
  content: '\f0a9';
  font-family: 'FontAwesome';
  line-height: 19px;
  top: 0;
  left: 0;
}
.mark-list li a:hover {
  color: #7ec71e;
}
.mark-list li + li {
  margin-top: 7px;
}
/*==================  Coordinates  ======================*/
.coordinates span {
  color: #FFF;
}
.coordinates p + p {
  margin-top: 11px;
}
/*==================    Contacts    ======================*/
.contacts {
  color: #FFF;
}
.contacts p:first-child {
  font: 700 20px/32px 'UFOCleanRomanRegular', sans-serif;
  color: #7ec71e;
  text-transform: uppercase;
}
.contacts p {
  margin-top: 0;
}
/*==================     Mail     ======================*/
.mail {
  color: #7ec71e;
  display: inline-block;
}
.mail:hover {
  text-decoration: underline;
}
/*========================================================
                     FOOTER  Styles
=========================================================*/
footer {
  background: #191919;
  color: #e8e8e8; !important;
  padding: 34px 0 48px;
}
footer a:hover {
  color: #7ec71e;
  text-decoration: none;
}
/*========================================================
                     RESPONSIVE
=========================================================*/
@media (min-width: 980px) and (max-width: 1030px) {
  header .brand {
    margin-left: 40px;
  }
}
@media (min-width: 980px) and (max-width: 1199px) {
  h2 {
    font-size: 64px;
    line-height: 62px;
  }
  .info_overlay h4 {
    font-size: 25px;
    line-height: 34px;
    margin-top: 100px;
  }
}
@media (max-width: 979px) {
  h2 {
    font-size: 50px;
    line-height: 48px;
  }
  .font-style {
    line-height: 22px;
  }
  .info_overlay h4 {
    font-size: 20px;
    line-height: 29px;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  h1 {
    font-size: 85px;
    line-height: 71px;
  }
  h3 {
    font-size: 50px;
    line-height: 58px;
  }
  h5 {
    font-size: 18px;
    line-height: 32px;
  }
  .brand_slogan {
    font-size: 15px;
    line-height: 15px;
  }
  .brand {
    margin-left: 35px;
    padding: 20px 47px 24px 39px;
  }
  .social-link > li a {
    height: 62px;
    line-height: 62px;
    width: 62px;
  }
  .search-form {
    width: 340px;
  }
  .search-form_label {
    padding: 14px 95px 15px 20px;
  }
  .search-form_submit {
    height: 47px;
  }
  .info_overlay h4 {
    margin-top: 60px;
  }
  .info_overlay .date {
    margin-top: 20px;
  }
  .info__small .date {
    font-size: 16px;
  }
  .info__small .date__md {
    padding-left: 10px;
  }
  .event-list .btn {
    font-size: 16px;
  }
  .btn__md1 {
    padding-right: 5px;
    padding-left: 15px;
  }
}
@media (max-width: 767px) {
  [class*='well'] {
    padding: 30px 0;
  }
  header {
    padding-top: 30px;
  }
  header .box_right .social-link {
    float: none;
    margin-top: 20px;
  }
  header .box_right .search-form {
    margin: 0 auto 20px;
  }
  .nav {
    padding: 5px 0;
  }
  .brand {
    padding: 20px 37px 24px 28px;
  }
  .info_overlay .date {
    margin-top: 10px;
  }
  .info_overlay h4 {
    margin-top: 75px;
  }
  .info__small .info_overlay .date {
    margin-top: 30px;
  }
  .info__small .info_overlay h4 {
    margin-top: 150px;
    font-size: 35px;
    line-height: 44px;
  }
  .float-box > div {
    width: 50%;
  }
  .btn {
    padding: 20px 8px 20px 20px;
  }
  .btn:before {
    height: 60px;
  }
  .line {
    display: none;
  }
}
@media (max-width: 479px) {
  h1 {
    font-size: 60px;
    line-height: 55px;
  }
  h2 {
    font-size: 30px;
    line-height: 28px;
  }
  h3 {
    font-size: 45px;
    line-height: 53px;
  }
  h5 {
    font-size: 17px;
    line-height: 30px;
  }
  .brand {
    padding: 10px 23px 10px 5px;
  }
  .brand_slogan {
    font-size: 12px;
    line-height: 12px;
    margin-left: 0;
  }
  .event-list .btn {
    font-size: 15px;
  }
  .btn__md1 {
    padding-right: 5px;
    padding-left: 10px;
  }
  .date {
    font-size: 17px;
    line-height: 17px;
  }
  .date__md {
    padding: 12px 5px 13px 10px;
  }
  .date__md:before {
    border-width: 42px 25px 0 0;
    right: -25px;
  }
  .info_overlay h4 {
    margin-top: 25px;
    font-size: 16px;
    line-height: 25px;
    padding: 0 10px;
  }
  .info__small .info_overlay .date {
    margin-top: 10px;
  }
  .info__small .info_overlay h4 {
    font-size: 28px;
    line-height: 37px;
    margin-top: 110px;
  }
}

/* === Event results tables === */

.event-list-tabs {
    max-width: 1200px;       /* was 1000px */
    margin: 20px auto;       /* center the list */
    padding: 0 10px;         /* small horizontal padding */
    box-sizing: border-box;
}

.event-list-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #000;
}

/* === Event cards (desktop) === */
.event-card {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #ddd;
    color: #000;
    text-decoration: none;
    transition: background-color 0.2s;
    max-width: 100%;
    box-sizing: border-box;
}

.event-card:hover {
    background-color: #f0f0f0;
}

.event-card.header {
    font-weight: bold;
    background-color: #f4f4f4;
}

/* === Column styles === */
.event-id {
    width: 80px;
    flex-shrink: 0;
    font-size: 14px;
}

.event-date {
    width: 130px;
    flex-shrink: 0;
    font-size: 14px;
    color: #666;
}

.event-name {
    width: 400px;           /* fixed width for alignment */
    font-size: 14px;
    font-weight: 600;
    margin-right: 20px;
    margin-bottom: 4px;
    color: #000;
    display: flex;          /* flag + text */
    align-items: center;
}

.event-location {
    width: 350px;           /* fixed width to align with header */
    font-size: 14px;
    color: #777;
}

.event-winner {
    width: 320px;           /* column width */
    font-size: 14px;
    color: #333;
    text-align: center;     /* center the text */
}

.event-winner-separator {
    display: inline-block;   /* prevents flex from stretching it */
    border: 0;
    border-top: 1px solid #ddd;
    width: 10px;             /* desired short length */
    margin: 4px auto;        /* center horizontally */
}

.event-results {
    width: 120px;
    flex-shrink: 0;
    text-align: center;
    font-size: 14px;
    color: #007BFF;
}

.event-results-top {
    width: 120px;
    flex-shrink: 0;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.event-card.tc-local {
  position: relative;
  background-color: #e0e0e0;
  overflow: hidden; /* keeps watermark clipped inside */
}

.event-card.tc-local::before {
  content: "T&C Local";
  position: absolute;
  top: 50%;
  right: 2.1rem;
  transform: translateY(-50%) rotate(-5deg); /* slight rotation */
  font-size: 5rem;          /* oversized */
  font-weight: bold;
  color: rgba(255, 255, 255, 0.35); /* white, faint */
  pointer-events: none;
  white-space: nowrap;
}

/* === Country flags === */
.country-flag {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    object-fit: contain;
}

/* === Mobile responsiveness === */
@media (max-width: 768px) {
    .event-card,
    .event-card.header {
        display: block !important;
        max-width: 600px !important;
        margin: 10px auto !important;
        padding: 10px 12px !important;
    }

    .event-card.header {
        display: none !important; /* keep header hidden on mobile */
    }

    .event-card > div {
        display: block !important;
        width: 100% !important;
        flex: none !important;
        margin-bottom: 6px !important;
    }

    /* Combine Date + Type into one line on mobile */
    .event-card .event-date::after {
        content: " – " attr(data-type);
        color: #444;
        font-weight: 500;
    }

    .event-card .event-date {
        font-weight: 600;
        color: #000 !important;
        font-size: 14px !important;
    }

    /* Hide the old type column (assumes it’s the 4th .event-location) */
    .event-card .event-location:nth-of-type(4) {
        display: none !important;
    }

    .event-card .event-name,
    .event-card .event-location,
    .event-card .event-results {
        font-size: 13px !important;
        word-break: break-word !important;
        text-align: left !important;
    }

    .event-list-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 480px) {
    .event-card .event-name,
    .event-card .event-location,
    .event-card .event-date,
    .event-card .event-results {
        font-size: 12px !important;
    }
}

/*$$$$  Test  $$$$$
/* Mobile only - Hide by default 
.mobile-only {
    display: none;
}

/* Show only on screens 768px wide or less 
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}

/* Desktop only Show by default 
.desktop-only {
    display: block;
}

/* Hide on screens 768px wide or less (mobile) 
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}
*/

 /*$$$$$$$$   End Test $$$$$$*/


/* UFO History page container */
.ufo-history-page {
  background: #fff;
  padding: 0 20px;
}

/* Main title */
.ufo-history-page span.ufoweb_dark_16pt {
  display: block;
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 10px;
}

/* Top paragraphs */
.ufo-history-page .intro-text {
  padding: 0 20px;
  line-height: 1.6;
  color: #222;
}

/* List sections */
.ufo-history-page .ufo-lists {
  padding: 5px 25px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 8px;
  color: #333;
}

/* List sections */
.ufo-rules-lists {
  padding: 5px 25px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 8px;
  color: #333;
  display: block;             /* Ensure it's not flex/grid */
  list-style-type: disc;      /* Default bullet style */
  list-style-position: outside; /* Standard positioning */
}

.ufo-rules-lists ul {
  list-style-type: disc;         /* Restore bullets */
  list-style-position: outside;  /* Normal placement */
  margin: 10px 0 10px 20px;      /* Add spacing & indent */
  padding-left: 20px;            /* Ensure bullets align properly */
}

.ufo-rules-lists li {
  display: list-item;            /* Reset in case it's overridden */
  margin-bottom: 6px;            /* Small spacing between items */
}


/* Flags at end of each row */
.ufo-history-page .ufo-lists img {
  vertical-align: middle;
  margin-left: 8px;
  position: relative;
  top: 2px; /* adjust alignment downward */
}
/****************************************/
/* Responsive typography for small screens */
@media (max-width: 768px) {
  .ufo-history-page span.ufoweb_dark_16pt {
    font-size: 1.5rem;
  color: #1c1c1c;
  }
  .ufo-history-page span.ufoweb_dark_15pt {
    font-size: 1.2rem;
  }
  .ufo-history-page .ufo-rules-lists {
  	  padding: 5px 25px;
  margin-bottom: 10px;
    font-size: 0.95rem;
    padding: 8px 12px;
  color: #1c1c1c;
  }
}

@media (max-width: 380px) {
  .ufo-history-page span.ufoweb_dark_16pt {
    font-size: 1.3rem;
  }
  .ufo-history-page span.ufoweb_dark_15pt {
    font-size: 1.1rem;
  color: #1c1c1c;
  }
  .ufo-history-page .ufo-rules-lists {
    font-size: 0.9rem;
    padding: 6px 10px;
  color: #1c1c1c;
  }
}
