@media (min-width: 1200px) {
    .container{
        max-width: 1280px;
    }
    #chatRow {
        padding-left: 15px!important;
    }
    #loadingCircle {
        margin-bottom: 41px;
        margin-left: 12px;
    }
    #askButton {
        margin-top: -100px!important;
    }
	
	.stream-box {
		margin-top: 20px;
	}
}

@media (max-width: 1200px) {
    .container{
        max-width: 1200px;
    }
    .video-window {
        padding-bottom: 20px!important;
    }
    .chat-window {
        min-height: 400px;
    }
    .chat-window-only {
        padding-left: 15px!important;
        padding-right: 15px!important;
    }
    .video-with-chat-only {
        padding-left: 15px!important;
        padding-right: 15px!important;
    }
    .qa-window-only {
        padding-left: 40px!important;
        padding-right: 40px!important;
    }
    #askButton {
        margin-top: 30px!important;
        width: 100px;
    }
    #askButtonContainer {
        text-align: left!important;
    }
    #loadingCircle {
        margin-bottom: -23px;
        margin-left: 12px;
    }
	
	.stream-box {
		margin-top: 10px;
	}
}

@media (max-width: 992px) {
    body {
        overflow-x: hidden;
    }
    .footer-xl {
        display: none;
    }
    .footer-lg {
        display: inline!important;
    }
    #footer-wrap {
        min-width: 0px!important;
        max-width: 940px;
    }
    #emText {
        margin-right: -110px!important;
        font-size: 20pt!important;
    }
}

@media (max-width: 768px) {
    #emText {
        font-size: 19pt!important;
        margin-right: 10px!important;
    }
    #companyLogo {
        margin-left: 0px!important;
    }
    #titleContainerRow {
        padding-top: 30px!important;
        padding-bottom: 25px!important;
    }
    #socialRow {
        padding-top: 20px!important;
    }
    #askButtonContainer {
        text-align: center!important;
    }
    #askButton {
        margin-left: 8.3%;
    }
    .companyLogoSpacer {
        display: none;
    }
    .rowEndSpacer {
        display: none;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 576px;
    }
    #emLogo {
        max-height: 80px;
        max-width: 75px;
        margin-left: -20px;
        margin-top: 6px;
    }
    #emText {
        font-size: 12pt!important;
        margin-top: 26px!important;
        max-width: 110px!important;
    }
    #socialJoin {
        margin-bottom: 7px;
    }
    .chat-window {
        margin-bottom: -10px;
    }
    #askButton {
        margin-left: 9.8%;
    }
}

@media (max-width: 490px) {
    #askButton {
        margin-left: 11.6%;
    }
}

@media (max-width: 425px) {
    #emLogo {
        margin-left: -28px;
    }
}

@media (max-width: 410px) {
    #emText {
        display: none;
    }
    #companyLogo {
        max-height: 85px!important;
        margin-top: -6px!important;
    }
    #companyLogoContainer {
        padding-top: 0px!important;
        padding-bottom: 0px!important;
        margin-top: 4px!important;
        margin-bottom: -20px!important;
    }
    #bg-mask {
        top: 120px!important;
        height: 820px!important;
    }
}

body {
    background: url('../images/taust2_green_cut.png') no-repeat center top;
    font-family: 'PT Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

h3 {
    color: #000 !important;
}

h6 {
	color: #045523 !important;
}

#bg-mask {
    position: absolute;
    z-index: -1;
    top: 160px;
    width: 100%;
    min-width: 940px;
    height: 800px;
    background: white;
    background: none;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.95) 10%, rgba(255, 255, 255, 1.0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, rgba(255, 255, 255, 0.95)), color-stop(100%, rgba(255, 255, 255, 1.0)));
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.95) 10%, rgba(255, 255, 255, 1.0) 100%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0.95) 10%, rgba(255, 255, 255, 1.0) 100%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0.95) 10%, rgba(255, 255, 255, 1.0) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 10%, rgba(255, 255, 255, 1.0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#E8FFFFFF, endColorstr=#FFFFFFFF, GradientType=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient( startColorstr=#E8FFFFFF, endColorstr=#FFFFFFFF, GradientType=0)";
}

#companyLogo {
    max-height: 115px;
    background: rgba(0, 0, 0, 0);
    padding-top: 15px;
    padding-bottom: 15px;
    opacity: 1.00;
}

#companyLogoContainer {
    max-height: 100px;
}

#emText {
    font-family: 'pracharregular', Arial, Helvetica, sans-serif;
    font-weight: bold;
	color:#ff7361;
    text-align: right;
    font-size: 23pt;
    margin-top: 55px;
    margin-right: -125px;
}

#emTextPlaceholder {
     display: none;
}

#emLogo {
    height: 113px;
    width: 90px;
    opacity: 0.70;
    object-fit: cover;
}

#logoutButton {
    width: 150px;
}

#footer-wrap {
    text-align: center;
    background-position: center top;
    background-repeat: no-repeat;
    background-image: url('../images/joon.png');
    min-width: 940px;
    font-family: 'PT Sans', Arial, Helvetica, sans-serif;
    color: #777777;
    color: #59595b;
    font-size: 12px;
}

.footer-lg {
    display: none;
}

#socialTwitter {
    margin-right: 22px;
    margin-left: 22px;
}

#description {
    color: #333;
}

.chat-window {
    color: #333;
}

.chat-window iframe {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#askButton {
    margin-top: 0px;
    width: 120px;
}

#questionLabel {
    margin-top: 20px;
}

#questionInput {
    resize: none;
}

#chatRow {
    height: 98%;
}

#loadingCircle {
    visibility: hidden;
}

#socialRow {
    margin-top: -10px;
}

#titleContainerRow {
    margin-top: 75px;
}


.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: #ff7361 !important;
    border-color: #ff7361 !important;
}

@media (prefers-reduced-motion: reduce) {
    .fade {
       transition: opacity .10s linear!important;
        transition-property: opacity!important;
        transition-duration: 0.10s!important;
        transition-timing-function: linear!important;
        transition-delay: 0s!important;
    }

    .fade:not(.show) {
        opacity: 0!important;
    }

    .modal.fade .modal-dialog {
    transition: -webkit-transform .3s ease-out!important;
    transition: transform .3s ease-out!important;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out!important;
    -webkit-transform: translate(0,-50px)!important;
    transform: translate(0,-50px)!important;
    }

    .modal.show .modal-dialog {
    -webkit-transform: none!important;
    transform: none!important;
    }
}

.switch {
  position: relative;
  display: inline-block;
  margin: 0 5px;
}

.switch > span {
  position: absolute;
  top: 10px;
  pointer-events: none;
  font-family: 'Helvetica', Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  width: 50%;
  text-align: center;
}

input.check-toggle-round-flat:checked ~ .off {
  color: #ff7361;
}

input.check-toggle-round-flat:checked ~ .on {
  color: #fff;
}

body.et :lang(ru) {
  display: none;
}
body.ru :lang(et){
  display: none;
}

.switch > span.on {
  left: 0;
  padding-left: 2px;
  color: #ff7361;
}

.switch > span.off {
  right: 0;
  padding-right: 4px;
  color: #fff;
}

.check-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.check-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input.check-toggle-round-flat + label {
  padding: 2px;
  width: 97px;
  height: 35px;
  background-color: #ff7361;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
}
input.check-toggle-round-flat + label:before, input.check-toggle-round-flat + label:after {
  display: block;
  position: absolute;
  content: "";
}

input.check-toggle-round-flat + label:before {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  background-color: #ff7361;
  -webkit-
  
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
}
input.check-toggle-round-flat + label:after {
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: 48px;
  background-color: #fff;
  -webkit-border-radius: 52px;
  -moz-border-radius: 52px;
  -ms-border-radius: 52px;
  -o-border-radius: 52px;
  border-radius: 52px;
  -webkit-transition: margin 0.2s;
  -moz-transition: margin 0.2s;
  -o-transition: margin 0.2s;
  transition: margin 0.2s;
}

input.check-toggle-round-flat:checked + label {
}

input.check-toggle-round-flat:checked + label:after {
  margin-left: 40px;
}