﻿* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
#map {
  height: 100%;
}
.main {
  width: 100%;
  height: 100vh;
  background: #196cae url('https://trkmedia.ollcdn.net/uploads/public/euro2016/14619362315249.jpg') no-repeat top center / cover;
}
.ratio-inner {
    position: relative;
    height: 0;
}
.gm-style-iw {
    min-height: 320px;
}
.ratio-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    vertical-align: top;

}
.ratio-main {
    padding-top: 55.88%;
}

.social {
  margin-left: 72.5%;
  margin-top: 36%;
}
.social > span {
  width: 7%;
  display: inline-block;
}
.social > span.count {
  color: #fff;
  font-size: 12px;
  vertical-align: bottom;
  margin: 0px 0 0 -7px;
}
.social > span.count div {
  overflow: hidden;
    margin-bottom: -4px;
}

.social img {
  cursor: pointer;
  width: 100%;
}
.prizes {
  width: 100%;
  background: #fff url('https://trkmedia.ollcdn.net/uploads/public/euro2016/14619363672892.jpg') no-repeat center / cover;
  padding: 0 20px 20px 20px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  align-items: center;
  webkit-justify-content: space-around;
  justify-content: space-around;
  -ms-flex-pack: center;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;}

.prizes .text {
  border: 1px solid #d2d2d2;
  background: #fff;
  width: 35%;
  padding: 20px;
  min-width: 300px;
  margin: 30px 0 0 0;
}

.prizes .image {
  width: 55%;
  padding: 0 20px;
  text-align: center;
  min-width: 360px;
  margin: 30px 0 0 0;
}
.prizes .image img {
  width: 80%;
}

.schedule {
  width: 100%;
  background: url('https://trkmedia.ollcdn.net/uploads/public/euro2016/14619363608802.jpg') no-repeat center / cover;
  text-align: center;
  padding-bottom: 30px;
  color: #fff;
  font-size: 1.2em;
  font-family: inherit;
}

.schedule img {
  width: 50%;
}

.schedule a.button {
  background-color: #f9b920;
}

a.button {
  display: inline-block;
  margin: auto;
  padding: 10px 20px;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 20px;
}

.controls {
  margin-top: 10px;
  border: 1px solid transparent;
  border-radius: 2px 0 0 2px;
  -moz-box-sizing: border-box;
  height: 36px;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.margin-top-map {
  margin-top: 10px !important;
  margin-left: 10px !important;
}

#pac-input {
  background-color: #fff;
  font-family: Roboto;
  font-size: 15px;
  font-weight: 300;
  margin-left: 12px;
  padding: 0 11px 0 13px;
  text-overflow: ellipsis;
  width: 300px;
}

#pac-input:focus {
  border-color: #4d90fe;
}

.pac-container {
  font-family: Roboto;
}

#social_connect, #social_connect2, #social_connect3 {
   display: none;
}


.connect-options {
  margin-bottom: 0px;
  zoom: 1;
}
.connect-options:before,
.connect-options:after {
  display: table;
  content: "";
}
.connect-options:after {
  clear: both;
}
.connect-options button {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  width: 25.00%;
  padding: 0;
  background: none;
  font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #546673;
  text-align: center;
  border: none;
}
.connect-options button .auth-container {
  display: inline-block;
  padding: 15px;
  border-radius: 64px;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all 0.2s ease 0s;
  -moz-transition: all 0.2s ease 0s;
  -ms-transition: all 0.2s ease 0s;
  -o-transition: all 0.2s ease 0s;
  transition: all 0.2s ease 0s;
}
.connect-options button .auth-container img {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto;
}
.connect-options button .auth-container:hover {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
  cursor: pointer;
}
.connect-options button:focus {
  outline: 0;
  opacity: 0.8;
}
.button-container {
  overflow: hidden;
  margin: 0;
  padding: 0;
  text-align: center;
}
.facebook-auth .auth-container {
  background-color: #3B5998;
}
.twitter-auth .auth-container {
  background-color: #4099FF;
}
.google-auth .auth-container {
  background: url('https://trkmedia.ollcdn.net/uploads/public/euro2016/14619366834656.png') no-repeat center / cover;
  width: 75px;
  box-sizing: border-box;
  height: 75px;
}

.vk-auth .auth-container {
  background-color: #537599;
}
.social_block {
  width: 300px;
}
.social_block h1 {
  font-size: 24px;
  text-align: center;
}

.social_connect2 {
  text-align: center;
  width: 300px;
}
.social_connect2 img{
  width: 50px;
  border-radius: 50%;
}
h1.social_connect{
  font-size: 24px;
  text-align: center;
  margin: 0;
  padding: 0;
}
.info h4 {
  margin: 0;
  padding:0;
}

.info {
  max-width: 300px;
}

#last_messages {
  left: 0 !important;
  /*bottom: 0;*/
  width: 100%;
  height: 80px;
  background: rgba(10, 73, 138, 0.91);
  overflow: hidden;
//  -webkit-justify-content: space-between;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
//  justify-content: space-between;
//  -ms-flex-pack: justify;
  /* flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap; */


}
#last_messages .text {
  height: 60px;
  width: 90px;
  line-height: 1.0;
  font-size: 1.1em;
  color: #fff;
  padding: 4px 0 0 8px;

}



#last_messages .container {
  height: 50px;
  width: 0px;
  /*-webkit-transition: all 1s ease-out 0s;
  -moz-transition: all 1s ease-out 0s;
  -o-transition: all 1s ease-out 0s;
  transition: all 1s ease-out 0s;*/
}
#last_messages .message {
  width: 260px;
  min-width: 260px;
  height: 50px;
  padding: 10px 10px 5px 10px;
  box-sizing: border-box;

}
#last_messages .message > div {
  display: inline-block;
  width: 100%;
  max-width: 185px;
  height: 60px;
  vertical-align: top;
  line-height: 1.0;
}
#last_messages .message img {
  width: 50px;
  height: 50px;
  display: inline-block;
  border-radius: 25px;
  border: 2px solid #f9b920;
  box-sizing: border-box;
}

#last_messages .message div.info {
  height: 50px;
  color: #fff;
  width: 100%;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  /*-ms-flex-align: center;
  -webkit-align-items: center;*/
  -webkit-box-align: center;
  align-items: left;
  flex-direction: column;
  padding-left: 10px;
}

#last_messages .message .info  .add {
  padding: 4px 0;
  font-size: 9px;
}
#last_messages .message .info .text_message {
  font-style: italic;
}

#find-location {
  width: 300px;
}
#pac-input {
  display: block;
}
.myClass {
  margin-top: -12px;
  margin-left: -4px;
  position: absolute;
  width: 100%;
  text-align: center;
  left: 0;
  font-weight: 900;
}

.mdl-button--raised.mdl-button--colored {
  background: #dc5041 !important;
}

#last_messages {
    -webkit-filter: grayscale(100%);
       -moz-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
         -o-filter: grayscale(100%);
            filter: grayscale(100%);
}

@media screen and (max-width: 800px) {
  .schedule img {
    width: 80%;
  }
}

@media (orientation: portrait) {
  .schedule img {
    width: 80%;
  }
  .prizes .text {
    width: 80%;
  }

  .prizes .image {
    width: 100%;
  }
  .prizes .image img {
    width: 100%;
  }

  #map {
    height: 100%;
  }
}
