html,
body {
    height: 100%;
}

#w0 .container,
#w1 .container,
#w2 .container  {
    max-width: 1366px;
    width: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

a,
a:active,
a:focus,
a:hover {
   /*outline: 0 !important;*/
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* css platform */

/* Common */

.actions.pull-right {
    display: none;
}

html, body {
    min-height: 100%;
}

body {
    /* background-color: #e6ebf0; */
    background: url('../images/bg.jpg');
    font-family: 'Lato', sans-serif;
}



/* Header */

.navbar-inverse .navbar-nav > .open > a, 
.navbar-inverse .navbar-nav > .open > a:hover, 
.navbar-inverse .navbar-nav > .open > a:focus {
    background: #4b79cd;
    opacity: 0.8;
}

.navbar {
    background-color: #4b79cd;
    border: none;
    border-radius: 0;
}

.navbar-bell{
	margin-top: -30px;
}

.nav.navbar-nav a {
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    font-family: 'Oswald', sans-serif;
}

#lang-selector {
    display: inline-block;
    float: right;
    position: relative;
    right: 150px;
    top: 15px;
}

.language-picker.button-list a:hover {
    color: #fff;
    opacity: 1;
}

.user-menu a {
    color: #4b79cd !important;
}

.user-menu.active a,
.user-menu.active a:hover {
    color: #fff !important;
}

.user-menu.active a:hover {
    background: #4b79cd;
}

/* Change default active behaviour */
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    background-color: transparent;
}

/* Bubble Bottom, source: http://ianlunn.github.io/Hover/ */
.hvr-bubble-bottom {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
.hvr-bubble-bottom:before {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  content: '';
  border-style: solid;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  left: calc(50% - 10px);
  bottom: 0;
  border-width: 10px 10px 0 10px;
  border-color: #4b79cd transparent transparent transparent;
}
.hvr-bubble-bottom:hover:before, .hvr-bubble-bottom:focus:before, .hvr-bubble-bottom:active:before {
  -webkit-transform: translateY(10px);
  transform: translateY(10px);
}

.content-max {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-brand img {
   margin-top: -8px;
}

.breadcrumb {
    padding: 8px 15px 10px 0;
}

.nav__title {
    font-size: 18px;
    letter-spacing: 2px;
    font-family: 'Oswald', sans-serif;  
    color: #fff;
    text-align: center;
}

.nav__title span {
    text-transform: uppercase;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.nav__title .fa {
    float: left;
    font-size: 28px;
    color: #fff;
}

.user-notifications {
    min-width: 70px;
}

.user-photo {
	width: 35px;
	height: 35px;
	margin-top: -6px;
}

.user-photo-menu a {
    padding: 15px 0 10px 15px !important;
    pointer-events: none;
}

.hvr-bubble-bottom a,
a.dropdown-toggle {
    color: #f1f1f1 !important;
}

.breadcrums-mobile {
    display: none;
}

/* Login */

.social-login {
    text-align: center;
}

.control-label {
    color: #337ab7;
    font-family: "Oswald";
    font-size: 18px;
}

.btn-sign-in {
    background-color: #84b733;
    border-color: #829f2b;
}

.btn-sign-in:hover {
    background-color: #6f9b28;
    border-color: #6f9b28;
}

/* Screen */

div#preloader {

    position: absolute;
    left: -9999px;
    top:  -9999px;
}

div#preloader img {

    display: block;
}

.screen {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 20px;
    min-height: auto;
    background-color: #fff;
    text-align: center;
    padding-bottom: 20px; 
    /*border: 1px solid #ddd;*/
}

.screen__title {
    background-color: #4b79cd;
    padding: 13px 0;
    font-size: 18px;
    letter-spacing: 2px;
    font-family: 'Oswald', sans-serif;
}

.screen__title a i {
	position: absolute;
    left: 0;
    margin-left: 25px;
}

.screen__title span {
    text-transform: uppercase;
    color: #fff;
}

.screen__title .fa {
    color: #fff;
    font-size: 28px;
}

.screen_info {
    padding: 30px 0 20px 0;      
}

.screen__info__text {
    margin-top: 20px;
    font-size: 18px;
    padding: 0 50px;
}

.screen__info__help {
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 18px;
    text-align: left;
}

.screen__info__text span {
    display: block;
}

.screen__info__text .orig {
    color: #4b79cd;
    
}

.screen__info__text .trans {
    color: #aaa;
}

/* Audiochuncks screen */

.info_audiochunks {
    /*padding: 20px 10px;*/
    padding: 20px 5px;
}

.main_images_audiochunks img{
    border-radius: 12px;
    max-width: 180px;
    margin: 10px; 
}

.text_audiochunks {
    display: inline-block;
    font-size: 18px;
    /*margin-bottom: 10px;*/
    /*margin-top: 20px;*/
    max-width: 450px;
    width: 100%;
}

.text_audiochunks span {
    display: block;
    text-align: left;
}

#phrase_second span, #tutorial_phrase_second span{
    text-align: right;
}

.text_audiochunks img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	border-radius:100%;
}

.text_audiochunks .orig {
    color: #4b79cd;  
}

.text_audiochunks .trans {
    color: #aaa;
}
.player_mini {
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    height: 27px;
    width: 27px;
}

.player_mini a:focus{
	outline: 0;
}

.player_mini span {
    /*background: #000 none repeat scroll 0 0;*/
    background: url(../images/spritePlay48.png) 0 0;
    height: 27px;
    width: 27px;
    margin: -15px auto 0;
    position: relative;
    cursor: pointer;
    display: block;
}

.playing span{
	background-position: 0 27px;
}

.text_audiochunks__img{
	float: left;
	width: 25%;
}

#phrase_second .text_audiochunks__img, #tutorial_phrase_second .text_audiochunks__img{
	float: right;	
}

.text_audiochunks__img img{
	cursor: pointer;
}

.text_audiochunks__content, .text_audiochunks__example{
	float: right;
    padding: 20px 30px;
    width: 75%;
}

#phrase_second .text_audiochunks__content, 
#tutorial_phrase_second .text_audiochunks__content,
.text_audiochunks__example{
	float: left;
}

.text_audiochunks__example{
	border: dashed;
	border-color: #aaa;
}

.text_audiochunks__example .orig{
	color: #fb964e;
}

#phrase_second .text_audiochunks__content, 
#phrase_second .player_mini, 
#response, .text_audiochunks__content_step3 {
	display:none;
	/*visibility: hidden;*/
}

#response .btn-success{
	margin-right: 5px;
}

#response .button--wrong{
	margin-left: 5px;
}

#phrase_second img{
	cursor: default;
}

.audiochunks-buttons{
    display: inline-block;
    margin-bottom: 10px;
    margin-top: 20px;
    max-width: 600px;
    width: 100%;
}

.audiochunks-buttons .info-image{
	float: left;
	width: 30%;
	text-align: right;
	padding-top: 45px;
	font-size: 40px;
	color: #aaa;
	cursor: default;
}

.audiochunks-buttons #response, .audiochunks-buttons .check-button{
	float: right;
 	padding: 20px; 
    width: 70%;
    text-align:left;
}

#info-pop-up-text {
  display: none;
  position: absolute;
  width: 280px;
  padding: 10px;
  background: #eeeeee;
  color: #000000;
  border: 1px solid #1a1a1a;
  text-align: left;
  border-radius: 12px;
  border-color: #ccc;
}

#info-pop-up-text p{
	font-size: 13px;
}

/* end audiochunks */

.screen .button {
    margin-top: 10px;
    min-width: 180px;
    background-color: #59c079;
    padding: 9px 12px;
}

.screen .button:hover {
    background-color: #4da869;
}


.screen .button--wrong{
    margin-top: 10px;
    min-width: 180px;
    background-color: #D86868;
    padding: 9px 12px;
    border-color: #D86868;
}

.screen .button--wrong:hover {
    background-color: #D86868;
    border-color: #D86868;
    /*background-color: #CB3838;*/
    /*border-color: #CB3838;*/
}

.screen .button--access {
    margin-top: 10px;
    min-width: 180px;
    background-color: #aaa;
    color: #fff;
    padding: 9px 12px;
    border: none;
}

.screen .button--disabled {
    margin-top: 30px;
    min-width: 180px;
    background-color: #ddd;
    color: #aaa;
    padding: 9px 12px;
    border: none;
    cursor: default;
    pointer-events: none;
}

.screen  .button--option {
    min-width: 180px;
    background-color: #fb964e;
    color: #fff;
    padding: 9px 12px;
    border: none;
} 

.option .btn-success:active:hover {
    background-color: #59c079 !important;
}

a.wrong {
    background-color: #D86868 !important;
}

a.right {
    background-color: #59c079 !important;
}

.screen ul {
    list-style: none;
    width: 100%;
    padding: 0;
}

.grid {
    display: block;
    max-width: 500px;
    margin: 0 auto;
}

.grid img {
    margin: 5px;
    padding: 7px;
    border: 3px solid #ccc;
    border-radius: 0;
    width: 100%;
    max-width: 200px;
}

.screen__info__text p:first-child {
    margin-top: 20px;
}

.img--wrong {
    border: 3px solid #d86868 !important;
}

.img--right {
    border: 3px solid #59c079 !important;
}

/* audiotokens */



#audiotokens-screen .button--disabled{
	margin-top: 10px;
}

#audiotokens-screen .button{
	margin-top: 10px;
}

#audiotokens-screen img{
	max-width: 200px;
	width: 100%;
	border-radius: 12px;
}

.grammar-image {
    margin-top: 0;
}

.grammar-image img{
	max-width: 68px;
}

/* Player */
#player {
    height: 200px;
}

#cp_container_1 {
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
}

#cp_container_1 ul {
    list-style: outside none none;
    margin: 0 auto;
    padding: 0;
    height: 104px;
   	position: absolute;
    width: 104px;
}

.cp-controls li {
    display: block;
    left: 50%;
    list-style-type: none;
    margin-left: -26px;
    position: relative;
    right: 0;
    top: 26px;
    width: 52px;
}


/* Bubble Bottom, source: http://ianlunn.github.io/Hover/ */
.hvr-bubble-bottom {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
.hvr-bubble-bottom:before {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  content: '';
  border-style: solid;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  left: 50%;
  margin-left:-10px;
  bottom: 0;
  border-width: 10px 10px 0 10px;
  border-color: #4b79cd transparent transparent transparent;
}
.hvr-bubble-bottom:hover:before, .hvr-bubble-bottom:focus:before, .hvr-bubble-bottom:active:before {
  -webkit-transform: translateY(10px);
  transform: translateY(10px);
}


/* box-scene */
.box-scene {
    text-align: center;
}

.box-journey {
    width: 200px;
    border: 1px solid #ddd;
	margin: 0 auto 20px;
}

.box-journey--disabled a.disabled {
    pointer-events: none;
}

.box-journey--disabled .box-journey__title {
    color: #aaa;
}

.box-journey--disabled .box-journey__img img {
    opacity: 0.4;
    filter: alpha(opacity=40); /* msie */
}

.box-journey--disabled a:hover .box-journey__title  {
    text-decoration:none;
    background-color: #fff !important;
    color: #aaa !important;
    text-shadow: none !important;
}

.box-journey a {
    text-decoration: none;
}

.box-journey__img img {
    width: 100%;
    background: #fff;
    height: 160px;
}

.box-journey__title {
    padding: 10px;
    min-height: 60px;
    line-height: 20px;
    text-align: center;
    background-color: #fff;
    color: #000;
}

.box-journey a:hover .box-journey__title {
    background-color: #59c079;
    color: #fff;
    text-shadow: 1px 1px #000;
    /** TODO: transition **/
}

.option {
    padding: 5px 0;
}

.box-hovered{
	padding: 10px;
    text-align: center;
    background-color: #59c079;
    color: #fff;
    text-shadow: 1px 1px #000;
    min-height: 60px;
    line-height: 18px;
}

/* Badges */

#badges-list,
#answer-list {
	background: #fff;
	margin: 20px auto;
	padding: 20px;
}

#badges-list .row .col-xs-6 {
    min-height: 185px;
}

#answer-list {
    max-width: 979px;
}

.badge-item {
	height: 170px;
	padding: 10px 0;
	/* Not useful for badges */
	text-align: left; 
}

.badge-image {
	width: 30%;
	float:left;
}

.badge-text {
	width: 70%;
	float:right;
}

.badge-image img {
	height: 100px;
	width: 100px;
}

/* UserBadges */

#userbadges-list {
	max-width: 979px;
	background: #ddd;
	margin: 0 auto;
	padding: 0 20px;
}

.userbadge-item, .userbadge-item-disabled{
	height: 100%;
        min-height: 100px;
	padding: 10px 0;
}

.userbadge-image {
	width: 100%;
	text-align:center;
}

.userbadge-text {
	width: 100%;
	text-align:center;
}

.userbadge-image img {
	height: 72px;
	width: 72px;
}

.userbadge-item-disabled{
	opacity: 0.5;
}

/* Contact form */
#contact {
	max-width: 700px;
	margin: 0 auto;
	padding: 20px 0;
	text-align: left
}

/* Charts */
#translationResult, #testResult{
	max-width: 400px;
	margin-top: 20px;
}

/* Test */

.btn.btn-success.button--option:active:hover {
	background: #fb964e !important; 
}

#test-options-step1, #test-options-step2, #test-options-step3, 
#test-options-step4, #test-options-step5{
	padding: 20px 0;
}

#test-options-step1 a, #test-options-step3 a, #test-options-step5 a{
	white-space: normal;
}

#test-options-step1 ul, #test-options-step3 ul, #test-options-step5 ul{
	padding: 0;
}

.img-test-step1 img, #test-options-step2 img, #test-options-step4 img{
	width: 180px;
	height: 180px;
	border-radius: 12px;
	object-fit: cover;
}

#test-options-step2 img, #test-options-step4 img{
	margin: 0 20px;
}

.test-player, .vocabulary-player{
	margin: 30px 0;
}

.test-player span, .vocabulary-player span{
	margin: 0;
	position: static; 	
	background: url(../images/spritePlay.png) 0 0;
    height: 64px;
    width: 64px;	
}

.test-player .playing span, .vocabulary-player.playing span{
	background-position: 0 64px;
}

.test-player .player_mini, .vocabulary-player .player-mini{
	height: 64px;
    width: 64px;	
}

/* Diary */

.other-paths .form-control {
    width: auto;
    min-width: 120px;
    margin: 0 auto;
}

.diary-question-images{
	margin-top: 30px;

}

.diary-question-images img{
	max-width: 150px;
	border-radius: 12px;
	margin: 10px 15px;
}

#diary-question-screen .screen__info__text{
	margin: 0 50px;
	padding: 0;
	text-align: left;
}

#diary-question-screen .screen__info__text p:first-child{
	margin: 0;
}

.diary-text{
	padding: 0 50px;
}

#gtranslate {
    margin-bottom: 15px;
    display: inline-block;
}
.field-userdiaries-response{
	text-align: left;
}

#button-publish, #button-save{
	margin-top: 0;
	display: inline-block;
}

#button-save{
	margin-right: 10px;
	background-color: #aaa;
	border-color: #aaa;
}

#button-publish{
	margin-left: 10px;
}

#comment-detail .row{
	margin: 0;
}

#comment-detail .screen_info{
	padding: 0 20px;
}

.response-box{
    margin:auto;
    padding: 20px;
    background-color:#f1f2f3;
}

.response-box img {
    width: 72px;
    height: 72px;
    border-radius: 100%;
}

.response-box h2 {
    margin-top: 5px;
}

.response-box h3 {
    margin-top: 5px;
}

.response-box h4,
.response-box h5 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.response-box p {
    text-align: left;
    font-size: 18px;
    margin-top: 20px;
}

.response-box .user-flag {
    text-align: center;
    margin-top: 0;
}

.response-box .user-flag img {
    width: auto;
    height: auto;
    border-radius: 0%;
}

.user-diary-answer{
	width: 100%;
	margin: 30px 0;
}

.no-comment-alert{
	color: #CC2626;
}

#comment-list {
    max-width: 1119px;
    margin: 0 auto;
}

.comment-responses{
	padding-left: 40px;
}

.comment-second-responses{
	padding-left: 80px;
}

.comment {
    background-color: #f1f2f3;
    min-height: 118px;
    margin-bottom: 20px;
    max-width: 700px;
    text-align: left;
}

#copy-comment {
    max-width: 1119px;
    margin: 30px auto 0;
    text-align: right;
}

#copy-comment a i {
    padding-right: 5px;
}

.comment-box-new {
    max-width: 1119px;
    margin: 0 auto;
}

.row .comment-box{
	margin: 20px 0;
    max-width: 700px;
    padding: 0;
}

.comment-data {
    height: auto;
    padding: 0 10px;
}

.comment-data h2{
	margin-top: 0;
	font-size: 13px;
}

.comment-data p{
	font-size: 10px;	
}

.comment-image {
    height: 70px;
    padding: 10px;
    width: 100%;
}

.comment-image img {
    border-radius: 100%;
    height: 50px;
    width: 50px;
}

.comment-text {
    float: right;
    height: 80%;
    padding: 10px 5px;
    width: 80%;
    overflow: hidden;
}

.comment-text h2 {
    font-size: 15px;
    margin: 0;
    font-weight: bold;
}

.comment-text p{
	font-size: 14px;
	margin: 0;
	height: auto;
	overflow: hidden;
}

.comment-options-buttons {
    height: 40px;
    margin-bottom: 15px;
    max-width: 700px;
    text-align: right;
}

.comment-options-buttons .button, 
.comment-options-buttons .button--wrong,
.comment-options-buttons .button--disabled
{
	min-width: 100px;
	padding: 5px;
	margin: 0 0 0 5px;
	height: 32px;
}

.comment-button{
	text-align: right;
}

#user-diary-list .screen_info{
	padding-left: 20px;
	padding-right: 20px;
    padding-top: 0px;
    padding-bottom: 0;
}

.question-info {
	font-size: 20px;
	max-width: 1100px;
	max-height: 189px; 
	overflow: hidden;
	margin: 0 auto 30px;
	background-color: #95E0EF;
	padding: 10px;
}

.user-diary-item {
	margin: 20px auto 0;
	height: 250px;
	background-color: #f1f2f3;
	padding: 20px;
	overflow: hidden;
}

.user-diary-image {
	width: 180px;
	height: 100px;
	text-align: center;
	margin: 0 auto;
}

.user-diary-image img {
	width: 100px;
	height: 100px;
	border-radius: 100%;
}

.user-diary-text, .comment-text {
	text-align: left;
	font-size: 16px;
}

.user-diary-text h3 {
    margin: 0;
    color: #4b79cd;
    padding-bottom: 0;
    line-height: 48px;
}

.user-diary-data {
    text-align: center;
}

.user-diary-data h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.user-diary-data h4 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.user-diary-text {
    width: 85%;
    float: right;
    padding-top: 20px;
    height: 144px;
    overflow: hidden;
}

.user-diary-text p {
    word-wrap: break-word;
    font-size: 18px;
    line-height: 24px;
}

#mceu_14 {
    visibility: hidden;
}

.user-diary-info {
    width: 15%;
    float: left;
    margin-top: 20px;
}

.comment-main-info {
    float: left;
    height: 100%;
    text-align: center;
    width: 20%;
    background: #ddd;
}
.user-diary-text h2 {
	margin-top: 0;
}

/*
.user-diary-button {
	text-align: right;
	margin: 0 auto;
	max-width: 1100px;
}
*/

.user-diary-button {
    position: relative;
    bottom: 10px;
    float: right;
    text-align: right;
}

.button--hide {      
	background-color: #aaa;
	margin: 0 0 0 5px;
	min-width: 100px;
    padding: 5px;
    border-color: #aaa;
} 

.button--hide:hover {
	background-color: #7f7f7f;
	border-color: #6e6e6e;
}

.comment-box{
	margin: 0 auto;
	max-width: 1000px;
	padding: 0 20px;
	margin-top: 50px;
}

.comment-hidden, .hide-button, .comment-row-right .comment-options-buttons, .comment-hide-responses{
	display: none
}

#comment-detail .pagination{
	width: auto;
}

.modal-footer {
	text-align: center;	
}

.comment-display-buttons{
    float: right;
    height: 26%;
    padding: 0 10px 5px 0;
    text-align: right;
    width: 80%;
}

.comment-display-buttons img
{
	width: 25px;
}

.hide-all-comment-button {
	min-height: 140px;
	height: 100% !important;
}

.spacer{
	clear: both;
}

.show-responses-button{
	margin-right: 10px;
}

.hide-btn {
    display: none !important;
}

/* Plots */

.plots .player_mini {
    /*display: none;*/
    position: absolute;
    right: 10px;
    top: 0;
}

.plots .screen{
	padding: 0;
}

.plots .screen img{
	width: 100%;
	height: 100%;
}

.plots .screen_info{
	padding: 0;
	position: relative;
}

.plot-text{
	left: 0;
	right: 0;;
    border-radius: 12px;
    bottom: 20px;
    font-size: 18px;
    margin: 0 30px;
	background-color: rgba(255,255,255,0.9);
    padding: 20px 50px 20px 50px;
    position: absolute;	
}

.plot_text p:first-child{
	margin-top: 20px;
}

.plots .button{
	margin-top: 10px;
	opacity: 1.0;
}

.plots .screen_info img {
    width: 100%;
}

/* vocabulary */
.vocabulary-screen .screen_info{
	padding-bottom: 0;
}

.vocabulary-screen .button{
	margin-top: 0;
}	

.vocabulary-screen img{
	width: 180px;
	height: 180px;
	object-fit: cover;
	border-radius: 12px;
	
}	

.vocabulary-screen .grid img:hover, 
#test-options-step2 img:hover,
 #test-options-step4 img:hover { 
	-moz-box-shadow: 0 0 10px #aaa; 
	-webkit-box-shadow: 0 0 10px #aaa; 
	box-shadow: 0 0 10px #aaa; 
}

.vocabulary-screen .grid img{
	max-width: 200px;	
	border-radius: 0;
	cursor: pointer;
}

#player-step1, #player-step2, #player-step3{
	width: 64px;
	height: 64px;
}

/* Breadcrumbs */
.breadcrumb{
	background-color: transparent;
}

/* Language */
#language-selector {
    margin: 20px auto;
    max-width: 300px;
    padding-left: 10px;
    padding-right: 10px;
}

/* Profile & gender */
.start-journey {
    max-width: 400px;
    margin: 20px auto;
}


#list-genders {
    list-style: none;
    padding: 0;
}

#list-genders li {
    display: inline-block;
    margin-right: 15px;
}

#list-genders li a.selected img {
    border: 3px solid #5cb85c;
}

.upload-photo {
    margin: 0 auto 25px;
    max-width: 480px;
    text-align: center;
}

/* Profile */
.img-avatar-settings{
	width: 25px;
	height: 25px;
	margin-right: 5px;
}
	
#profile-gender {
    margin: 12px 0 0;
}

#profile-gender label {
    margin-right: 10px;
}

#profile-gender input {
    margin: 4px 6px 0;
}

.dropdown.open a.dropdown-toggle {
    background: #4b79cd !important;
}

.navbar-nav > li > .dropdown-menu {
    min-width: 300px !important;
    padding: 5px;
}

.tuto-click,
.tuto-click-left {
    display: none;
}

.comment-box-new,
#copy-comment {
    display: none;
}

#mceu_13-0 {
    display: none;
}

/* Home Call to action */
.btn-call-action {
    background: #e67e22 !important;
    border-color: #e67e22 !important;
    font-size: 18px;
    font-weight: bold;
}

.btn-call-action:hover {
    background: #c8660f !important;
    border-color: #c8660f !important;
}


@media (max-width: 1280px) {
    .user-diary-info {
        width: 25%;
    }
    .user-diary-text {
        width: 75%;
    }
}

/* responsive */
@media (min-width: 767px) and (max-width: 992px) {
    #w0 .container {
        width: 100%;
    }
}


@media (max-width: 767px) {
    
    .comment .comment-display-buttons button{
	min-width: 30px;
    }
    
    .screen {
        margin: 0;
    }
    
    .screen_info {
        padding: 5px 0;
    }
    
    
    .screen__info__text {
        margin: 10px 5px;
        padding: 0;
    }
/*    
    .screen_info img {
        width: 160px;
    }
*/    
    /* contact */
    .site-message .screen__info__help,
    .site-message #contact {
        padding: 0 20px;
    }
    
    .screen button {
        min-width: 100%;
    }
    
    .navbar {
        margin-bottom: 10px;
    }
    
    .navbar-nav .open .dropdown-menu {
        background: #fff;
    }
    
    .navbar-nav .open .dropdown-menu .user-menu:hover {
        background: #f1f1f1;
    }
    
    body {
        /*background: #fff;*/
        background: url('../images/bg.jpg');
    }

	/* badges */
	.badge-image {
		width: 50%;
		float:left;
	}
	
	.badge-text {
		width: 50%;
		float:right;
	}
	
	/* audiochunks */
	
	#audiotokens-screen img {
	    margin-top: 10px;
	}
	
	.audiochunks-buttons .info-image{
		position: absolute; 
		bottom: 5px;
		width: 100%;
		text-align:center;
		padding:0; 
		max-width: 600px;
	}
	
	.audiochunks-buttons #response, .audiochunks-buttons .check-button{
		float: none;
	    width: 100%;
	    text-align:center;
	}
	
	#info-pop-up-text {
	  position: static;
	  width: 100%;
	  margin-bottom: 20px;
	}
	
	.main_images_audiochunks img{
		max-width: 130px;
	}
	
	.text_audiochunks img {
		width: 60px;
		height: 60px;
	}
	
	/* Diary */
	
	.user-diary-item {
    	height: auto;
	}
	
	.user-diary-info {
    	width: 100%;
	}
	
	.user-diary-text {
    	width: 100%;
    	text-align: center;
	}
	
	.diary-text{
		padding: 0 20px;
	}
	
	#diary-question-screen .screen__info__text{
		margin: 20px;
	}
	
	.comment-box{
		padding: 0;
	}	
	
	.user-diary-image{
		width: 120px;
		height: 120px;

	}
	
	.user-diary-image img{
		width: 120px;
		height: 120px;
	}
	
	#comment-detail .screen_info,
	#user-diary-list .screen_info{
		padding: 0;
	}
	
	#comment-detail .screen,
	#user-diary-list .screen {
	    border: none;
	}
	
	.breadcrumb {
    	margin-bottom: 10px;
    	padding: 8px 0 0;
	}
	
	.user-diary-button, .comment-options-buttons{
		text-align: center;
		width: 100%;	
	}
	
	/* Plots */	
	.plots .player_mini {
        display: block;
        position: relative;
    }
	
	.plot-text{
		position: static;
		margin: 20px 10px;
		padding: 0;
	}
	
	/* Test */
	.img-test-step1 img, #test-options-step2 img, #test-options-step4 img{
		width: 150px;
		height: 150px;
	}
		
	/* Navbar */
	.user-photo-menu {
		display: none !important;	
	}
	

}

@media (min-width: 480px) and (max-width: 767px){
    .plots .button {
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    #gtranslate {
        float:none;
    }
    
    header {
        height: 85px !important;
    }
    
    #lang-selector {
        float: none;
        text-align: center;
        display: block;
        right: 0;
        
    }
}

@media (max-width: 480px) {
    
    .breadcrums-mobile {
        display: block;
    }
    
    .breadcrums {
        display: none;
    }
    
    .user-notifications {
        /*display: none !important;*/
    }
    
    .footer {
        margin-top: 20px;
    }
    
    iframe {
        width: 100% !important;
    }
    
    body {
        background: #fff;
    }
    
    .content-max h1 {
        text-align: center;
    }
    
    .diary-question-images img {
        width: 100px;
    }
    
    .grid img {
        width: 140px;
    }
    
    .breadcrumb {
        text-align: center;
        padding: 8px 0;
    }
    
    /* contact */
    .site-message .screen__title {
        display: none;
    }
    
    .site-message .screen__info__help,
    .site-message #contact {
        padding: 0;
    }
    
    /* Menus */
    #journey-screen .col-xs-6,
    #scenes-screen .col-xs-6,
    #viewscenes-screen .col-xs-6,
    #audiotokens-list-screen .col-xs-6,
    #select-language-screen .col-xs-6
    {
    	width: 100%;
    }
    
    /* Plots */
    .plots .screen img {
        width: 100%;
        height: auto;
    }
    
    /* badges */
    .badge-item {
    	height: auto;
    }
    
    .badge-image {
		width: 100%;
		float:none;
		text-align: center;
	}
	
	.badge-text {
		width: 100%;
		float:none;
		text-align: center;
	}
	
	    .badge-item {
    	height: auto;
    }
    
    .userbadge-image {
		text-align: center;
	}
	
	.userbadge-text {
		text-align: center;
	}
	
	#badges-list .row div {
    	width: 100%;
	}
	
	/* Vocabulary */
	.vocabulary-screen img{
		width: 130px;
		height: 130px;
	}
	
	/* audiocards */
	.tuto-click {
	    display: block;
        position: absolute;
        right: 40px;
        top: 20px;
    }
    
    .tuto-click-left {
        display: none;
        position: absolute;
        top: 220px;
        left: 30px;
    }
    
    .tuto-click img {
        width: 50px !important;
        height: 80px;
        border-radius: 0 !important;
    }
    
    .tuto-click-left img {
        width: 40px !important;
        height: 80px;
        border-radius: 0 !important;
    }
	
	
	/* audiochunks */
	
	.text_audiochunks {
    	margin-top: 0;
    	line-height: 1.2;
	}
	
	.text_audiochunks__img{
		/*float: none;*/
		/*width: 100%;*/
	}
	
	.text_audiochunks__content, .text_audiochunks__example {
	    /*padding: 10px;*/
	    padding: 10px 10px 0 0;
	}
	
	.main_images_audiochunks img{
		max-width: 100px;
	}
	
	.main_images_audiochunks{
		display: default;
	}
	
	.info_audiochunks #response a {
    	margin-top: 0;
    	margin-bottom: 10px;
	}
	
	.info_audiochunks .check-button a {
	    margin-top: 0;
	}

	#phrase_second .text_audiochunks__img, 
	#tutorial_phrase_second .text_audiochunks__img,
	.text_audiochunks__content, 
	.text_audiochunks__example{
		/*float: none !important;*/
	    /*width: auto;*/
	}
	
	.text_audiochunks__example{
		margin: 8px 0;
		position: relative;
	}
	
	#phrase_second .text_audiochunks__content, #phrase_second .player_mini, #response, .text_audiochunks__content_step3 {
    	display: none;
	}
	
	.audiochunks_step3 .text_audiochunks__content_step3 {
    	visibility: hidden;
    	display: block;
	}
	
	.text_audiochunks span{
	    /*text-align: center;*/
	    padding-left: 15px;
	}
	
	#phrase_second span, #tutorial_phrase_second span{
	    padding-left: 0px;
	}
	
	#response .btn-success{
		width: 100%;
	}

	#response .button--wrong{
		width: 100%;
	}
	
	#response .btn-success{
		margin-right: 0;
	}

	#response .button--wrong{
		margin-left: 0;
	}
	
	/* test */
	#test-options-step2 img, #test-options-step4 img{
		margin-bottom: 40px;
	}
	/* Diary */
	.comment-text p {
    	line-height: 1.5;
	}
		
	.diary-text{
		padding: 0 10px;
	}
	
	.charNum{
	    right: 10px !important;
	}
	
	#diary-question-screen .screen__info__text{
		margin: 20px 10px;
		text-align: center;
	}
	
	.diary-question-images img{
		margin-top: 15px;
	}
	
	.comment-button{
		text-align: center;
		width: 100%;
	}
	
	.user-diary-info,
    .user-diary-text {
        width: 100%;
    }
    
    .user-diary-item {
        height: auto;
    }
	
	.user-diary-image{
		text-align: center;
		width: 100%;
		height: 100px;

	}
	
	.user-diary-image img{
		width: 100px;
		height: 100px;
	}
	
	.user-diary-info, .comment-main-info{
		display: inline;
	}
	
	.user-diary-data, .user-diary-text, .comment-data, .comment-text{
		text-align: center;
	}
	
	.user-diary-button{
		max-width: auto;
		width: 100%;
	}
	
	.comment {
		height: auto;
	}
	
	.comment-image{
		width: 100%;
		text-align: center;
	}
	.comment-image img{
		width: 50px;
		height: 50px;
	}
	
	.comment-responses{
		padding-left: 20px;
	}

	.comment-second-responses{
		padding-left: 40px;
	}
	
	.comment-display-buttons{
		margin-top: 7px;
	}
	
	.comment-text {
	    height: auto;
	    width: 100%;
	    float: none;
	    line-height: 15px;
	}
	
	.comment-display-buttons{
		float: none;
		width: 100%;
		height: 30px;
		text-align: center;
		padding: 0 5px 5px;
	}
	
	.field-userdiaries-response{
		text-align: center;
	}
	
	#button-save, #button-publish{
		margin: 10px;
	}
	
	.comment-main-info{
		float: none;
		
	}
	
	.hide-all-comment-button {
		min-height: 54.5px;
	}
}


.screen__title a i{margin-left:10px;}
.screen__title.stick{position: fixed; width: 100%; left: 0; top: 0; z-index: 99;}
#profile-form .btn-file{border-radius:4px;}
#profile-form .file-input-new{width: 150px; margin: 0 auto}
#profile-form .file-input-new .input-group-btn {  margin: 0 auto !important; display: block !important; width: 150px;}
@media(max-width:767px){
#profile-form .col-xs-offset-4.col-xs-4{margin:0; padding:0; width:100%;}
}

#notifications .user_image img{
    max-width: 35px;
}
.comment-display-buttons a:hover,.comment-display-buttons a:focus{
    text-decoration: none;
    outline: none;
}

.translated_text{
    text-align: left;
    margin: 20px 0px;
    border: 1px solid;
    border-radius: 4px;
    padding: 12px;
}

.tooltip-inner{
    border: 1px solid #cdcdcd !important;
    background: white !important;
    color: black !important;
    box-shadow: -1px 1px 20px 0 rgba(0,0,0,0.3) !important;
}

.tooltip-arrow{
    border-bottom-color: white !important;
    top: 1px !important;
}

.tooltip{
    opacity: 1 !important;
}

.tooltip-inner {
    width: 200px !important;
}

.translated-block{
    position: relative;
    background-color: #f8f8f8;
    border-left: 2px solid #adadad;
    margin: 2px;
    margin-top: 0;
    padding: 6px;
    font-size: 12px;
    line-height: 1.4;
    font-style: italic;
}

.google-translate{
    display: block;
    color: #444;
    position: relative;
    left: -5px;
    top: -5px;
    line-height: 28px;
    font-size: 10px;
    margin-bottom: 5px;
}

.translated-block .icon{
    position: relative;
    top: -3px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    background-image: url(Google-Translate-icon.png);
    width: 28px;
    height: 28px;
}

.selected_text{
    background: #cdffb3;
    border-radius: 4px;
    padding-left: 1px;
    padding-right: 1px;
}

.translate_whole_sentence{
    width: 40px !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    margin-bottom: 5px;
}

.translated_sentence .translated-block{
    font-size: 16px;
}

.translated_sentence{
    text-align: left;
    width: 90%;
    margin: 0 auto;
}