body {
    min-width: 700px;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

a, a:hover, a:visited {
    text-decoration: none;
    color: #039;
}

.clear {
    clear: both;
}

.memory-game-outer-wrapper {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7066ba+0,4bd5da+38,4bd5da+83,c8d59d+92 */
    background: #7066ba; /* Old browsers */
    background: -moz-linear-gradient(top, #7066ba 0%, #4bd5da 38%, #4bd5da 83%, #c8d59d 92%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #7066ba 0%, #4bd5da 38%, #4bd5da 83%, #c8d59d 92%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #7066ba 0%, #4bd5da 38%, #4bd5da 83%, #c8d59d 92%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7066ba', endColorstr='#c8d59d', GradientType=0); /* IE6-9 */
    /*background: url(../images/top_bg.png) no-repeat 0 0 #BCDBF1 ;*/
}

html body .layout-content-reset {
    float: none;
}

/*body {
    min-width: 800px;
}*/
.main {
    margin: 0;
    padding: 0;
}

.highscores {
    width: 300px;
}

.highscoresloading {
    padding: 80px;
}

.preload {
    width: 460px;
    min-height: 240px;
    border-radius: 14px;
    margin: 120px auto 120px auto;
    text-align: center;
}

.preload div {
    padding-top: 10px;
}

.title {
    float: left;
    font-size: 30px;
    color: #fff;
}

.mainarea {
    position: relative;
    display: flex;
}

.mainarea > .feedbacks {
    flex: 1 30%;
}

.mainarea > .boardcontainer {

    flex: 1 70%;
}

.commands {
    color: #000;
    width: 650px;
    height: 61px;
    border-bottom: 5px solid white;
    margin: 0 0 20px;
    display: flex;
    justify-content: space-between;
}

.commands .command {
    display: flex;
    flex: 0;
    cursor: pointer;
}

.commands .text-area {
    color: #003399;
    text-transform: uppercase;
    line-height: 44px;
    vertical-align: middle;
    white-space: nowrap;
    padding-left: 5px;
    padding-right: 5px;
}

#memorygame {
    padding-bottom: 120px;
    padding-top: 60px;

}

#memorygame > div {
    min-height: 300px;
    border-radius: 8px;
    margin: 0 auto;
    background-color: rgba(240, 255, 255, .55);
    padding: 20px;
    box-sizing: border-box;
    margin: 15px;
}

.memory-game-outer-wrapper {
    overflow: hidden;
    /*padding-bottom: 80px;*/
}

.memory-game-outer-wrapper:after, .memory-game-outer-wrapper:before {
    display: block;
    content: ' ';
    height: 120px;
    width: 100%;
    bottom: 0;
    left: 0;
    position: absolute;

}

.memory-game-outer-wrapper:after {
    background: url('../images/paralax-2.png') repeat-x;
    animation: slide 150s linear infinite;
    pointer-events: none;
}

.memory-game-outer-wrapper:before {
    background: url('../images/paralax-1.png') repeat-x;
    animation: slide 500s linear infinite;
    pointer-events: none;
}

@keyframes slide {
    from {
        background-position: 0;
    }
    to {
        background-position: -3289px;
    }
}

.highscores {
    color: #336699;
}

.highscores table {
    width: 277px;
    font-size: 16px;
    float:left;
}

/*.highscores .choice_buttons
{
    left:300px;
    margin: 50px auto 20px auto;
}*/
.highscores .scores {
    margin-top: 16px;
    padding: 0 20px;
}

.scores .right {
    color: #ff601c;
    font-weight: bold;
    text-align: right;
}

.choice_screen {
    position: relative;
    display: flex;
}

.choice_text_wrapper {

    padding-top: 71px;
    padding-left: 30px;
    /*position: absolute;
    top: 71px;
    left: 300px;
    right: 20px;*/

}

.choice_text {
    font-size: 14px;
    color: #463c9e;
}

.highscores .choice_text {
    top: 40px;
}

.choice_buttons_container {
    width: 100%;
    /*text-align: center;*/
    position: relative;
    margin-top: 2em;
}

.choice_buttons {
    display: inline-block;
    /*margin: 100px auto;*/
    /*    left:300px;
        top:150px;
        position: absolute;*/
}

button,
.button {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#689c17+0,89c132+100 */
    background: #689c17; /* Old browsers */
    background: -moz-linear-gradient(top, #689c17 0%, #89c132 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #689c17 0%, #89c132 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #689c17 0%, #89c132 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#689c17', endColorstr='#89c132', GradientType=0); /* IE6-9 */
    text-transform: uppercase;
    font-size: 19px;
    color: white;
    border-radius: 14px;
    border: 4px solid white;
    margin-right: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    position: relative;
    letter-spacing: 0.1em;
    padding: 12px 18px;
}

button.difficulty_level_1,
button.difficulty_level_2 {
    padding: 12px 18px 12px 48px;

}

button.difficulty_level_2 {
    background-color: #fb4d00;
    background: #fb4d00;
}

button.difficulty_level_1:before,
button.difficulty_level_2:before {
    content: ' ';
    width: 32px;
    height: 38px;
    display: block;
    background: url('../images/button-icon-difficulty-level-1.png');
    position: absolute;
    left: 9px;
    top: 4px;
}

button.difficulty_level_2:before {
    top: 2px;
    height: 42px;
    background: url('../images/button-icon-difficulty-level-2.png');

}

button:disabled {
    background: #ffbc9f;
}

.star_choice img {
    width: 280px;
}

.star_choice {
    /*    position: absolute;
    */
}

.soundonoff {
    display: none;
}

.boardcontainer {
    /*float: left;*/
}

.boarditem {
    display: flex;
    padding-left: 40px;
    box-sizing: border-box;
    background-repeat: no-repeat;
}

.boarditem .label {
    /*height: 42px;*/
    line-height: 42px;
    font-size: 16px;
    text-transform: uppercase;
    text-shadow: -1px -1px 0 #6b74be,
    1px -1px 0 #6b74be,
    -1px 1px 0 #6b74be,
    1px 1px 0 #6b74be;
    color: white;
    letter-spacing: 0.05em;
}

.boarditem .value {
    height: 42px;
    line-height: 42px;
    font-size: 20px;
    color: #f71e25;
    font-weight: bold;
    padding-left: 14px;
    background-position: 0 50%;
    letter-spacing: 0.05em;
}

.boarditem.tries {
    padding-left: 37px;
    background-image: url('../images/panel_heart.png');
}

.boarditem.score {
    padding-left: 42px;
    background-image: url('../images/panel_trophy.png');
}

.boarditem.bonus {
    background-image: url('../images/panel_star.png');
}

.board {
    width: 660px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tilecontainer {
    -webkit-perspective: 600px;
    -moz-perspective: 600px;
    -ms-perspective: 600px;
    -o-perspective: 600px;
    perspective: 600px;
    width: 102px;
    height: 68px;
    float: left;
    margin: 0.5% 0.5%;
}

.tileplaceholder {
    visibility: hidden;
    position: relative;
}

.tile {
    width: 100%;
}

.tile img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    display: block;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    height: inherit;
    width: inherit;
    /*outline: 1px solid #bbb;*/
    border: none;
}

.tile, .tile img {
    -webkit-transition: -webkit-transform 0.5s;
    -moz-transition: -moz-transform 0.5s;
    -ms-transition: -ms-transform 0.5s;
    -o-transition: -o-transform 0.5s;
    transition: transform 0.5s;
}

.tile .back, .tile .front {
    position: absolute;
    top: 0;
}

.tile .back {
    -webkit-transform: rotateY(180deg);
    -moz-transform: perspective(600px) rotateY(180deg);
    -ms-transform: perspective(600px) rotateY(180deg);
    -o-transform: perspective(600px) rotateY(180deg);
    transform: perspective(600px) rotateY(180deg);
}

.tile .front {
    -webkit-transform: rotateY(0deg);
    -moz-transform: perspective(600px) rotateY(0deg);
    -o-transform: perspective(600px) rotateY(0deg);
    -ms-transform: perspective(600px) rotateY(0deg);
    transform: perspective(600px) rotateY(0deg);
}

.tile.flipped .front {
    -webkit-transform: rotateY(180deg);
    -moz-transform: perspective(600px) rotateY(180deg);
    -o-transform: perspective(600px) rotateY(180deg);
    -ms-transform: perspective(600px) rotateY(180deg);
    transform: perspective(600px) rotateY(180deg);
}

.tile.flipped .back {
    -webkit-transform: rotateY(360deg);
    -moz-transform: perspective(600px) rotateY(360deg);
    -o-transform: perspective(600px) rotateY(360deg);
    -ms-transform: perspective(600px) rotateY(360deg);
    transform: perspective(600px) rotateY(360deg);
}

.handcursor {
    cursor: pointer;
}

*:focus {
    outline: none;
}

.infos {
    justify-content: space-between;
    width: 650px;
    text-transform: uppercase;
    display: flex;
}

.infos .ng-binding .ng-binding {
    font-weight: bold;
    color: #bf1700;
}

.feedbacks {
    /*    position: absolute;
        top: 105px;
        bottom: 0;
        right: 6px;
        padding: 0;
    */
    width: 207px;
    /*background-color: #ebf3fa;*/
    /*border-radius: 0 10px 10px 0;*/
    min-height: 330px;
    z-index: 10;
}

.flag-info-padding {
    padding-top: 20px;
}

.flagInfo img {
    width: 100%;
    height: 100%;
}

.flagInfo {
    padding: 25px 0 0;
    height: 34px;
}

.flagInfoThumb {
    padding: 0;
    float: left;
    width: 51px;
    height: 34px;
}

.flagInfoCountry {
    float: left;
    height: 34px;
    line-height: 34px;
    padding-left: 8px;
}

.feedbackstar {
    position: relative;
}

.feedbackstar img,
.endfeedback img {
    margin: auto;
    max-width: 130px;
    display: block;
}

.endfeedback {
    padding: 20px 0 0 0;
}

.endfeedback .showfeedback-image{
    position: relative;
    padding-top: 25px;
    margin-bottom: 25px;
    bottom: unset;
}

.endfeedback_text {
    /*padding: 0 18px 0 20px;*/
    font-size: 16px;
    font-weight: bold;
}

.endfeedback_findmore {
    margin-bottom: 20px;
    /*padding: 0 18px 0 20px;*/
}

.endfeedback_star {
    position: absolute;
    bottom: 80px;
    right: 12px;
}

.endfeedback_star img {
    width: 60%;
}

.endfeedback_next {
    /*    position: absolute;
        bottom: 10px;
        width: 100%;*/
    /*text-align: center;*/
}

.fadein {
    opacity: 1;
}

.fadein.ng-hide {
    opacity: 0;
}

.fadein.ng-hide-add,
.fadein.ng-hide-remove {
    -webkit-transition: 0.5s linear all;
    transition: 0.5s linear all;
}

.morebuttons {
    clear: both;
    position: absolute;
    top: 10px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
}

.morebuttons a {
    color: white;
}

.morebuttons .morebutton {
    cursor: pointer;
    text-shadow: -1px -1px 0 #3c309b,
    1px -1px 0 #3c309b,
    -1px 1px 0 #3c309b,
    1px 1px 0 #3c309b;
    flex: 0;
    font-size: 13px;
    line-height: 55px;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    white-space: nowrap;
}

.morebuttons .morebutton img {
    margin-right: 5px;
    vertical-align: top;
    max-width: 52px;
}

.endscore {
    color: #bf1700;
}

.flags {
    visibility: hidden;
    overflow: hidden;
    height: 1px;
    width: 1px;
}

.landmark-info-image img{
    max-width: 100%;
    border-bottom-width: 5px;
    border-bottom-style: solid;
}

.landmark-info-name {
    text-transform: uppercase;
    text-align: center;
    margin-top: 5px;
    color: #003399;
    font-weight: 700;
    font-size: 18px;
}

.landark-info{
    padding-top: 25px;
}

.showfeedback-image{
    position: absolute;
    width: 100%;
    bottom: -140px;
}

.showfeedbacknomatch .showfeedback-image{
    bottom: -360px;
}

.land-border-dark-blue{
    border-bottom-color: #123A53;
}
.land-border-gray{
    border-bottom-color: #837B6F;
}
.land-border-light-blue{
    border-bottom-color: #71BEAD;
}
.land-border-blue{
    border-bottom-color: #25A9E0;
}
.land-border-green{
    border-bottom-color: #B9D02D;
}
.land-border-red{
    border-bottom-color: #C22E32;
}
.land-border-brown{
    border-bottom-color: #986144;
}

/***************************************Responsiveness***************************************/

@media only screen and (max-width: 984px) {
    .memory-game-outer-wrapper {
    min-height: 1000px;
  }
    .landmark-info-image img{
        margin: auto;
        max-width: 210px;
        display: block;
    }

    .showfeedback-image,
    .landark-info{
        vertical-align: middle;
        display: inline-block;
    }

    .showfeedback-image{
        position: static;
        bottom: unset;
    }

    .showfeedbackmatch .showfeedback-image{
        width: auto;
    }

    .landark-info{
        width: 60%;
    }

    .landmark-info-name{
        font-size: 16px;
    }

    .flag-info-padding{
        padding-top: 25px;
    }

    .mainarea {
        flex-direction: column;
    }

    .feedbacks {
        background-size: 120px;
        min-height: 220px;
        width: 600px;
        padding: 0;
        position: relative;
        left: 25px;
        top: -3px;
        clear: both;
        border-radius: 0 0 10px 10px;
    }

    html body .game.suspended:after {
        background-size: 136px;
        background-position: left 100% bottom 50px;
    }

    .tilecontainer {
        -webkit-perspective: 550px;
        -moz-perspective: 550px;
        -ms-perspective: 550px;
        -o-perspective: 550px;
        perspective: 550px;

    }

    #memorygame {
        width: auto;
    }

    /*#memorygame
    {
        margin-top: 10px;
    }*/
    .menu-browse,
    .js .euMenu ul {
        display: none;
    }

    .layout-noright .layout-content {
        margin-left: 0;
        padding: 0 15px;
    }

    .main {
        float: none;
        width: 100%;
        height: 100%;
    }

    .highscores {
        float: none;
        width: 100%;
    }

    .preload {
        width: 100%;
    }

    .choice_screen {
        width: 100%;
    }

    .star_choice {
        top: 60px;
    }

    /*.choice_buttons {
        margin: 140px auto;
    }*/
    .choice_text {
        text-align: center;
        top: 124px;
        left: auto;
    }

    table.best {
        margin: 0 auto;
    }

    .commands {
        width: auto;
        height: auto;
    }

    .boardcontainer {
        float: none;
    }

    .board {
        width: 98%;
        margin: 0 auto;
    }

    .chooselevel, .pause, .soundonoff, .restart {
        float: left;
        text-align: center;
        width: 23%;
        padding: 0 1%;
        word-wrap: break-word;
    }

    .infos {
        width: 95%;
        margin: 0 auto;
    }

    .feedbacks {
        color: #000;
        /*margin: 0 auto;*/
        padding: 0;
        width: 100%;
        min-height: 150px;
        top: 0;
        left: 0;
    }

    .flagInfoContainer {
        padding: 0;
    }

    .flagInfo {
        padding: 20px 0 0 20px;
    }

    .feedbackstar{
        height: auto;
        position: static;
        margin-top: 20px;
    }

    .tilecontainer {
        width: 15.6%;
        height: 20%;
    }

    .tile {
        transform-style: preserve-3d;
    }

    .morebuttons {
        /*width: 100%;*/
    }

    .endfeedback {
        text-align: center;
        padding-top: 4px;
    }

    .endfeedback_star {
        bottom: -4px;
        right: auto;
        left: 7%;
    }

    .endfeedback_star img {
        width: 40%;
    }

    .endfeedback_text, .endfeedback_findmore {
        padding: 0px 10px 0 10px;
    }

    .endfeedback_next {
        padding-left: 10px;
        padding-top: 30px;
    }
}

@media only screen and (max-width: 600px) {
    .tilecontainer {
        -webkit-perspective: 350px;
        -moz-perspective: 350px;
        -ms-perspective: 350px;
        -o-perspective: 350px;
        perspective: 350px;

    }

    .layout-noright .layout-content {
        margin-left: 0;
        padding: 0;
    }

    .layout-noright .layout-content {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .morebuttons .handcursor {
        color: #039;
        font-size: 1.2em;
        line-height: 2.3em;
    }

    .morebuttons div {
        float: none;
        margin-right: 0;
        width: 100%;
        margin-bottom: 10px;
    }

    .commands {
        margin: 20px auto;
        width: 100%;
    }

    .morebuttons .handcursor {
        padding: 0 20px;
    }

    .highscores .choice_text {
        top: 117px;
    }

    /*.highscores .choice_buttons
    {
        margin: 128px auto 20px auto;
    }*/
    .chooselevel, .pause, .soundonoff, .restart {
        font-size: 12px;
    }
}

/*.game {
    overflow: hidden;
}*/
.memory-game-outer-wrapper  {
  position: relative;
}
.memory-game-outer-wrapper > .memory-game {
    height: 100%;
    /*overflow: hidden;*/
    position: relative;
}

.game.suspended:after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 44px;
    bottom: 113px;
    background-image: url(../images/pause.png);
    background-size: 220px;
    background-repeat: no-repeat;
    background-position: 100% 90%;
    display: block;
    pointer-events: none;
}

.main {
    height: 100%;
}

.username-field {
    text-transform: uppercase;
    font-size: 19px;
    padding: 4px 18px;
    border-radius: 14px;
    border: 4px solid white;
    margin-right: 20px;
    position: relative;
    letter-spacing: 0.1em;
}

.end-score .choice_text {
    font-size: 2em;
}

.flags-table .text-area {
    float: left;
}

.info-overlay-wrapper,
.info-overlay {
    display: none;
    overflow-y: auto;
    position: relative;
    /*pointer-events: none;*/
}

.info-overlay-wrapper.more,
.info-overlay-wrapper.howto {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    background-color: rgba(0, 0, 0, 0.84);
}

.info-overlay-wrapper.more .info-overlay-more,
.info-overlay-wrapper.howto .info-overlay-howto {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    min-height: 300px;
    border-radius: 8px;
    margin: 0 auto;
    background-color: rgba(240, 255, 255, .85);
    padding: 60px;
    box-sizing: border-box;
    margin: 60px;
}

.info-overlay-wrapper .button {
    margin-top: 50px;
    display: block;
}

.info-overlay .close {
    background-image: url('../images/icon-close-window.png');
    width: 43px;
    height: 43px;
    display: block;
    top: 20px;
    left: 20px;
    position: absolute;
    cursor: pointer;
}

.main-image.find-out {
    margin-top: 30px;
    margin-left: 30px;
}

.main-image {
    max-height: 200px;
    float: left;
}

.more_info_link {
    max-width: 40px;
}

.main-image-block,
.flag-block {
    display: flex;
    margin-bottom: 20px;
}

.flag-block .image-area,
.main-image-block .image-area {
    margin-right: 20px;
}

.flag-block .image-area img {
    height: auto;
    max-width: 250px;
}

.flag-block .text-area p:nth-child(1) {
    margin-top: 0;
    padding-top: 0;
}

.clear {
    clear: both;
}

.flag-small {
    margin-right: 20px;
}

.title1 {
    font-family: Arial, Helvetica, sans-serif;
    color: #005293;
    font-size: 24px;
    font-weight: bold;
}

.line2 {
    border: 1px solid #00CCFF;
}

.text3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #005293;
}

html, body,
.memory-game-outer-wrapper,
.memory-game-inner-wrapper,
.memory-game-content {
    height: 100%;
}

.highscores .choice_text {
    top: 40px;
    width: 1000px;
    overflow: hidden;
}

@media only screen and (min-width: 700px) {
  .no-small-screens-notice {
    display: none;
  }
}
@media only screen and (max-width: 700px) {
  .memory-game-content {
    /*display: none;*/
  }
  .no-small-screens-notice {
    padding:40px 0;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: #004494;
    background-image: url(../images/no-mobile.png);
    background-size: 100px 100px;
    background-position:center 100px; 
    background-repeat:no-repeat; 
    color: white;
    z-index: 100;
  }
}