body,html {
  font-family: 'Roboto', sans-serif !important;
  background: #333332 !important;
}

.question body, html.question {
  background: #fff !important;
}

h1,h2,h3,span.main_header {
  font-family: 'PT Serif', serif;
}

span.main_header {
  font-size: 2em;
  color: #fff;
}

h3.header {
  margin: 0 !important;
}

.buttondemoBasicUsage section {
  background: #f7f7f7;
  border-radius: 3px;
  text-align: center;
  margin: 1em;
  position: relative !important;
  padding-bottom: 10px; }
.buttondemoBasicUsage md-content {
  margin-right: 7px; }
.buttondemoBasicUsage section .md-button {
  margin-top: 16px;
  margin-bottom: 16px; }
.buttondemoBasicUsage .label {
  position: absolute;
  bottom: 5px;
  left: 7px;
  font-size: 14px;
  opacity: 0.54; }
  .playlist-videos-container {
  padding-top: 4px;
}

.youtube-header {
    color: #3498db;
    margin-left: 60px;
    font-weight: 700;
    font-style: italic;
}
#ytplayer {
    margin-left: 20px;
}

.search-result-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    float: left;
    border: 2px solid #161f42;
}
.youtube-input {
    width: 300px;
    margin-left: 38px;
    margin-bottom: 5px;
}
.player-btns {
  margin-left: 38px;
  margin-bottom: 4px;
  
}
.search-result-meta {
    font-size: 10px;
    position: absolute;
    top: 28px;
    left: 60px;
    font-style: italic;
    color: #2c3e50;
}
.search-result-video {
    background: #bdc3c7;
    background: #EA9E97;
    border-radius: 7px;
    box-shadow: 0 1px 1px 0 #161F42;
    height: 44px;
    padding: 2px;
    margin-bottom: 3px;
    margin-left: 22px;
    width: 340px;
    position: relative;
}
.search-result-video:hover {
    cursor: pointer;
    background-color: #E98378;
    box-shadow: 0 1px 1px 0 #41525f;
}

.playlist-video {
    background: #2c3e50;
    border-radius: 7px;
    box-shadow: 0 1px 1px 0 #161F42;
    height: 44px;
    padding: 2px;
    margin-bottom: 3px;
    margin-left: 22px;
    width: 340px;
    position: relative;
}
.playlist-video:hover {
    cursor:pointer;
    background: #5B6E7B;
}
.playlist-video-title {
        color: #bdc3c7;
        float: left;
    font-size: 12px;
    margin-top: 10px;
    margin-left: 12px;
    font-weight: 700;
}
.search-result-title {
    float: left;
    font-size: 12px;
    margin-top: 10px;
    margin-left: 12px;
    font-weight: 700;
    color: #2c3e50;
}
.playlist-video-delete {
    font-size: 18px;
    color: #bdc3c7;
    float: right;
    margin-right: 12px;
  margin-top: 8px;
}
.search-result-add {
    font-size: 18px;
    float: right;
    margin-right: 12px;
    margin-top: 8px;
}
.playlist-btn {
    margin-top: 3px;
    margin-bottom: 3px;
}
#yt_video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; 
    height: 0; 
    overflow: hidden;
}
#yt_video iframe, #yt_video object, #yt_video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
                
.sprite {
  content: '';
  background: url(../images/sprite.png) no-repeat 0 0;
  position: absolute;
}
/*
@media only screen and (-webkit-min-device-pixel-ratio: 2), 
only screen and (min-device-pixel-ratio: 2) {
.sprite {
  content: '';
  background: url(../images/sprite2x.png) no-repeat 0 0;
  position: absolute;
}
}
*/
@media (max-width: 500px) {
  .flex-20, .layout-row>.flex-20 {
    display: none;
  }
  .md-whiteframe-z2 {
    width: 90%;
    margin-bottom: 40px;
  }
}
.sprite.logo {
  top: 12px;
  left: 1%;
  width: 300px;
  height: 60px;
  background-position: 0 0;
}

.question.en .sprite.logo {
  background-position: 0 -57px !important;
}


.sprite.lang {
    top: 20%;
    left: 7%;
    width: 43px;
    height: 28px;
}

.sprite.lang.ru {
    background-position: 45% 100%;
}

.sprite.lang.en {
    background-position: 28% 80%;
}

.sprite.lang.de {
    background-position: 46% 80%;
}

.sprite.lang.fr {
    background-position: 63% 80%;
}

.sprite.lang.it {
    background-position: 81% 80%;
}

.sprite.lang.es {
    background-position: 63% 100%;
}

.sprite.lang.jp {
    background-position: 98% 80%;
}

.sprite.lang.ar {
    background-position: 80% 99%;
}

.sprite.lang.sw {
    background-position: 28% 99%;
}

.sprite.yt_logo {
    position: relative;
    width: 63px;
    height: 47px;
    background-position: 3% 89%;
    margin-right: 20px;
}

header {
  position: relative;
  width: 100%;
  height: 90px;
  background: #cd201f;
}

.question header {
  background: #5C6BC0 !important;
}

md-optgroup md-option {
  padding-left: 37% !important;
}

header .md-select-value .md-text {
  color: #CD201F;
}

.md-select-value {
  min-height: 30px !important;
  min-width: 50px !important;
}

.md-select-value .md-text .sprite.lang {
  top: -60%;
  left: -3%;
}

header .md-select-value :first-child {
  overflow: visible;
}

.md-select-value .md-select-icon {
    margin: 0 0px 8px 0;
}

.md-select-value .md-select-icon:after {
  top: -7px !important;
  color: #fff;
  font-size: 1.15em;
}

md-input-container label:not(.md-container-ignore) {
    width: 150px;
}

.menu {
    width: 100%;
    height: 50px;
    background: #bd1b16;
}

.question .menu {
background: #3F51B5;
}

.menu .h_m {
  margin: 0;
    padding: 12px 0;
list-style-type: none;
text-align: center;
}

.menu .h_m li {
  display: inline;
}

.menu .h_m li a
{
  font-family: 'PT Serif', serif;
text-decoration: none;
    font-size: 1.15em;
padding: .2em 1em;
color: #fff;
opacity: 0.7;
transition: opacity 0.4s ease-out;
-webkit-transition: opacity 0.4s ease-out;
}

.menu .h_m li a:hover
{
color: #fff;
opacity: 1;
}

.l_s {
  position: absolute;
  top: 15px;
  right: 5%;
}

.main_content {
  position: relative;
  width: 100%;
  height: 100%;
}

.main_header_out {
      text-align: center;
}

.content {
  position: relative;
  margin-top: 40%;
  margin-top: 40vh;
  background: #fff;
  z-index: 2;
}

.question .content {
  margin-top: 0 !important;
}

#contents_out {
  text-align: center;
  background: #fff;
  z-index: 3;
}

.fixed {
  position: fixed !important;
  top: 8px;
}

md-card-title-text li, md-card-title-text ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center
}

md-card-title-text ul {
  margin-top: 20px !important;
}

md-card-title-text li, md-card-title-text a {
  display: block;
  text-align: left;
}

md-card-title-text a {
  padding: 10px 24px 10px 46px;
  color: #333 !important;
  font-weight: 500;
  text-decoration: none !important;
}

md-card-title-text a:hover {
  color: #B71C1C !important;
}

md-card-title-text a.active {
  color: #B71C1C !important;
}

.h_youtube {
  background: url(../images/h_youtube.gif) no-repeat center center fixed; 
  -webkit-background-size: 100% auto;
  -moz-background-size: 100% auto;
  -o-background-size: 100% auto;
  background-size: 100% auto;
  position: absolute;
  height: 100%;
  height: 100vh;
  width: 100%;
}

.h_question {
  background: url(../images/h_question.jpg) no-repeat center center fixed; 
  -webkit-background-size: 100% auto;
  -moz-background-size: 100% auto;
  -o-background-size: 100% auto;
  background-size: 100% auto;
  position: absolute;
  height: 100%;
  height: 100vh;
  width: 100%;
}

.h_appointment {
  background: url(../images/h_appointment.jpg) no-repeat center center fixed; 
  -webkit-background-size: 100% auto;
  -moz-background-size: 100% auto;
  -o-background-size: 100% auto;
  background-size: 100% auto;
  position: absolute;
  height: 100%;
  height: 100vh;
  width: 100%;
}


.main_info {
    position: relative;
    z-index: 2;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    display: -webkit-box;
}

.question .main_info {
    position: relative;
    z-index: 3;
    display:block !important;
}

.white-on-dark {
  color: #fff !important;
  opacity: .7 !important;
}

.h-white-on-dark {
  color: #fff !important;
}

.dark-on-white {
  color: #000 !important;
  opacity: .54 !important;
}

.h-dark-on-white {
  color: #000 !important;
  opacity: .87 !important;
}

.centered {
  text-align: center;
}

