@charset "UTF-8";

html {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    margin: 0px;
    padding: 0px;
    width: 100%;
    /*   border:2px dotted yellow;  */
    font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
    font-size: 13px;

    background-color: #fafafa;
}


a,
a:hover,
a:active {
    color: #dc6f2a;
}


a:hover,
a:active {}

a.activated_account_login:hover,
a.activated_account_login:active {
    color: #0FDA0F;
    /* Avoid white link on white background. */
}

img {
    max-width: 100%;
}

h1,
h2,
h3 {
    color: #333;
}

div#content {
    background-color: #fafafa;
}

div#upper_part {
    background-color: white;
    width: 100%;
    /*border:2px solid red;*/
    /*box-sizing:border-box;*/
}

ul#mainmenu li.active a {
    background-color: transparent;
    outline: 1px solid #ccc;
    border-radius: 2px;
}

div#main_header {
    display: flex;
    margin: 0 auto;
    clear: left;
    align-items: center;
    max-width: 1200px;
}

div#logowrapper {
    border: 0px dashed magenta;
    width: 40%;
    padding: 7px 0px;
    margin-left: 12%;
    flex-grow: 1;
}

div#logowrapper a {
    margin-left: 0;
}

div#header_controls {
    flex-basis: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 12%;
}

#frontpage_login_button {
    margin-top: 0;
}

.signup_button_normal {
    min-width: 177px;
    min-height: 60px;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}


.signup_button_large {
    min-width: 150px;
    min-height: 90px;
    font-size: 30px;
    margin-top: 30px;
}

.signup_button_normal,
.signup_button_large {
    color: #0186BA;
}

#signup_button_backup {
    margin: 10px auto;
    width: 200px;
    display: block;
}

#signup_button_backup.hidden {
    display: none;
}

#content {}

.centered_content {
    max-width: 900px;
    border: 0px dashed magenta;
    margin: 0 auto;
}

#main_content {
    margin-top: 50px;
}

div#frontpage_header {
    position: relative;
}

div#frontpage_logocontainer {
    float: left;
}

.frontpage_separator {
    height: 30px;
}

.scaling_image {
    max-width: 100%;
    height: auto;
    width: auto;
    border: 0px dashed yellow;
}

div#mobimenu_activator {
    margin: 20px 20px 0 0;
    float: right;
    display: none;
}

#frontpage_content_wrapper {
    background-color: #F2EBE1;
    width: 100%;
    margin-top: 0px;
}

#frontpage_lang_selector {
    padding: 3px 10px 5px;
    color: #555;
    margin: 20px 7% 10px 10px;
    /* Note that the right margin is in percentage */
    border: 1px solid #ddd;
    background-color: #eee;
    background-color: inherit;
    border-radius: 5px 5px 5px 5px;
    height: fit-content;
    z-index: 1000;
    margin: 0;
    margin-right: 2ex;
    position: relative;
    border: 1px solid silver;
    background: white;
}

#frontpage_lang_selector a {
    color: #777;
    text-decoration: none;
}

#current_lang {
    display: flex;
    border: 1px solid white;
    padding: 3px 5px;
}

#current_lang_text {
    width: 150px;
    overflow-x: hidden;
}

#frontpage_lang_selector ul {
    display: none;
    list-style-type: none;
    padding: 3px 0px 0px 5px;
    width: calc(100% - 10px);
    top: 20px;
    left: 5px;
    position: absolute;
    background: white;
    border: 1px solid silver;
}

#frontpage_lang_selector ul a {
    padding: 6px;
    display: block;
}


.box {
    /*
   width:300px;
   height:300px;
   padding: 15px;
   border: 2px dashed red;
   */
}

#headline_wrapper {
    box-shadow: inset 0 5px 3px rgba(0, 0, 0, 0.3), inset 0 -5px 3px rgba(0, 0, 0, 0.3);
    background-image: url(../img/2015-08-30-turku-IMG_1220.JPG);
    background-size: cover;
}

@keyframes shader {
    0% {
        background-color: rgba(0, 28, 188, 0.35);
    }

    100% {
        background-color: rgba(0, 28, 188, 0.0);
    }
}

#headline_wrapper_shader {
    background-color: rgba(40, 40, 255, 0.0);
    heigth: 100%;
    padding: 80px;
    animation-name: shader;
    animation-duration: 7s;
}

.topshadow {
    border-top: 1px solid #aaa;
    box-shadow: inset 0 5px 4px rgba(0, 0, 0, 0.2);
    padding: 60px 0;
}

#headline {
    max-width: 750px;
    margin: 0 auto;
    background-color: transparent !important;
    color: #777;
    color: white;
    font-family: 'Nova Round';
    font-size: 45px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;

}

.border_dashed_red {
    border: 2px dashed red;
}

.button {
    background: url("/static/bg-btn-signup.png") repeat-x scroll 0 0 #FFAA22;
    box-shadow: 2px 3px 7px rgba(0, 0, 0, 0.5);
    height: 35px;
    padding: 0 16px;
    border-radius: 5px;
    cursor: pointer;
    text-shadow: 0 2px 0 #FFAAEE;
}

#frontpage_header {
    height: 100px;
    /*   background-color:#419A2B;  Not the same green... */
    /*   background-color:green;  */
}


#greeting {
    font-size: 15px;
    color: #5FF73F;
}




#frontpage_login {
    /*width:450px;*/
    padding: 10px;
    float: right;
    color: #FFFFFF;
    color: #eee;
    border: 2px solid #8b8;
    border-top: none;
    background-color: #787;
    border-radius: 0 0 5px 5px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}

#frontpage_login a {
    color: #ddd;
}

#frontpage_login tr {
    padding: 0 0 0 15px;
}

.inputtext {
    border-color: #1D2A5B;
    margin: 0;
    width: 140px;
    border: 1px solid #BDC7D8;
    font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
    font-size: 11px;
    padding: 3px;
    padding-bottom: 4px;
    color: #333333;
    line-height: 1.28;
}

.uiButton {
    /*
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
*/
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    line-height: 13px;
    padding: 2px 6px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;


    /*    background-color: #5B74A8;  */
    background-color: #5BB45b;
    color: #0FDA0F;
    background-color: #CCCCCC;
    background-position: 0 -147px;
    background-repeat: no-repeat;
}

#submit_button {
    cursor: pointer;
    border: 2px solid #eee;
    display: inline-block;
    font-family: 'Lucida Grande', Tahoma, Verdana, Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    outline: medium none;
    padding: 1px 3px 2px 3px;
    white-space: nowrap;
}


#contact_form label {
    min-width: 100px;
    display: block;
    float: left;
}

#frontpage_info {
    width: auto;
    float: left;
    margin-top: -14px;
}

#frontpage_infowrapper .side_padding {
    max-width: 500px;
    float: left;
}

#frontpage_register {
    min-height: 180px;
    border: 2px solid green;
    border-radius: 8px;
    padding: 15px;
    /*   float:right; */
    background-color: white;

    box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.5);
    margin: 0px auto 20px;
    ;
    max-width: 400px;
}


#frontpage_checkavailability {
    /*   border:2px dashed magenta;  */
}

#frontpage_promote_existing_sites {
    border: 2px solid green;
    padding: 15px;
    float: left;
}

#frontpage_checkavailability {
    border: 2px solid green;
    padding: 15px;
    float: left;

}

#frontpage_footer {
    width: auto;
    height: 100px;
    border-top: 1px solid silver;
    margin-top: 50px;
    padding-top: 15px;

}

#frontpage_footer>a:visited,
#frontpage_footer>a:hover,
#frontpage_footer>a:link {
    color: #999;
    text-decoration: none;
    margin: 0px 15px;
    font-size: 12px;
}

#copyright {
    margin-top: 10px;
}

#copyright>a:visited,
#copyright>a:hover,
#copyright>a:link {
    color: #555;
}



#frontpage_register2 {
    max-width: 400px;
    float: left;
    margin-top: 30px;
    padding: 20px 20px;
    font-size: 1.5em;
    width: 100%;
}

#frontpage_register2>span {
    color: #EF9024;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: bold;
}

#frontpage_register2 span:nth-of-type(2) {
    font-weight: normal;
}



#frontpage_register2 form {
    width: 80%;
}



#frontpage_register2 form input {
    width: 100%;
    /* -webkit-box-sizing:border-box;‌​
    -moz-box-sizing:border-box; */
    box-sizing: border-box;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.15);
    padding: 0.5em 0em 0.3em 1em;
    margin-top: 0.6em;
}







#sticker1 {
    color: magenta;
    float: right;
    background: url(/static/frontpage/Sticker1_v3.png);
    background-repeat: no-repeat;
    width: 250px;
    height: 250px;
    position: relative;
    top: -85px;
    right: 0px;
}

#sticker1 div {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    transform: rotate(11deg);
    letter-spacing: -0.1px;
    font-weight: bolder;
    text-align: center;
}

#sticker1 .row1 {
    position: absolute;
    top: 68px;
    left: 7px;
    font-size: 20px;
    font-weight: bolder;
    border: 0px dashed green;
    width: 170px;

}

#sticker1 .row1.ru,
#sticker1 .row1.nb,
#sticker1 .row1.fi {
    font-size: 15px;
}




#sticker1 .row2 {
    font-size: 16px;
}




#sticker2 {
    color: magenta;
    float: right;
    background: url(/static/frontpage/Sticker2_v3.png);
    background-repeat: no-repeat;
    width: 250px;
    height: 250px;
    position: relative;
    top: -40px;
    right: -40px;
}

#sticker2 span {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

#sticker2 .row1 {
    position: absolute;
    top: 60px;
    left: 17px;
    font-size: 20px;
    font-weight: bolder;
    letter-spacing: -0.1px;
    transform: rotate(-5deg);
}

#sticker2 .row2 {
    position: absolute;
    top: 90px;
    left: 40px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: -0.1px;
    transform: rotate(-5deg);
}

#cycler {
    position: relative;
    margin: 50px auto;
    margin-bottom: 10px;
}

#cycler div {
    position: absolute;
    z-index: 1;
    background-color: white;
    height: 240px;
    margin: 30px;
    width: 540px;
}

/* #cycler div p{position:absolute;top:10px;right:10px;color:white;margin:0;} */
#cycler div.active {
    z-index: 3
}

#cycler img {
    display: block
}

#cycler div img {
    float: right;
    margin-left: 20px;
}


#testimonials_wrapper {
    height: 280px;
}


#testimonials_wrapper button {
    position: absolute;
    bottom: 10px;
    left: 15px;
}


#testimonial_cycler {
    position: relative;
    margin: 0px auto;
}


#testimonial_cycler>div {
    position: absolute;
    z-index: 1;
    background-color: white;
    height: 200px;
    width: 260px;
    /*border:2px dashed blue;*/
    left: 10px;
    overflow-y: auto;
}

#testimonial_cycler div.active {
    z-index: 3
}

#testimonial_cycler img {
    display: block;
    width: 60px;
    float: right;
    margin-left: 10px;
}

/*

#testimonial_list_wrapper {
    max-width:600px;
    margin:0 auto;
}

#testimonial_list_item_wrapper {
   margin:5px 5px;
   border:2px solid silver;
   background-color:white;
   width:290px;
   box-sizing: border-box;
   padding:20px;
   display:block;
   height:180px;
   float:left;
   overflow:auto;
   border-radius:8px;
}


#testimonial_list_item_wrapper img {
    margin-left:10px;
    border:3px solid #fff;
    box-shadow:2px 2px 2px silver;
    width:60px;
}

*/

.news_item {
    /* style attribute padding:0px 20px;margin-bottom:50px; */
    display: flex;
    flex-direction: column;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    margin: 0 1rem;
}

.news_item:last-of-type {
    border-bottom: none;
}

.news_item>a {
    color: #289828;
    color: #F97301;
    float: none;
    text-align: right;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}


.news_item_header>a {
    color: #289828;
    color: #F97301;
}


.news_item_posting_date {
    display: none;
    color: #777777;
    float: right;
    font-style: italic;
}


div.centered_content>div.news_item {
    /* border:1px solid #ddd; */
    padding: 30px;
    background-color: white;
    margin-top: 0rem;
}

.news_item_read_more {
    /** style attribute: text-decoration: none;float:right;font-size:80%; **/
    font-size: 80%;
}

.frontpage_news_item {
    border: 0px dashed green;
}

.float_right {
    float: right;
}

.float_left {
    float: left;
}

.clear_both {
    clear: both;
}

.item_trailer {
    margin-bottom: 30px;
}

.input_text {
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 2px solid silver;
    display: block;
}


/* For the terms-page */
#terms {
    padding: 0px 0px;
    margin: 50px 100px 30px 150px;
}

#terms>a {
    color: #444444;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 0px solid #333333;
}

.strong {
    font-weight: bold;
}

td {
    text-align: center;
}

td.left {
    text-align: left;
    padding-left: 5px;
}



#frontpage_social_media {
    border: 0px dashed red;
    float: right;
    width: 292px;
}


/*
Images are wrapped in divs classed "SoMe_badge_image" with ids "SoMe_badge_imageX" where "X" is an integer specifying ordinal position. Below are some styles to get you started!
*/

.flickr_header,
.SoMe_badge {
    border-color: #999;
    background-color: #777;
}


.SoMe_badge {
    float: right;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 288px;
    /*	padding:10px; */
    border-width: 2px;
    border-style: solid;
    border-radius: 8px 8px 8px 8px;
    background-color: white;
}

.flickr_header {
    padding: 8px 0px 8px 20px;
    font-size: 1.4em;
    font-weight: bold;
    text-shadow: 0px 1px 1px #000;
    /*	box-shadow: 0px 7px 4px -2px #555;  
    border-radius: 8px 5px 0px 0px; */
}

#frontpage_social_media .flickr_header {
    color: white;
}


.SoMe_badge_uber_wrapper {
    margin-bottom: 20px;
}

#SoMe_badge_wrapper {
    padding: 0px 0 0px 0;
}

div.SoMe_badge img {
    /*border: 1px solid #777;*/
    border: 4px solid white;
    box-shadow: 2px 3px 4px 1px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 2px 3px 4px 1px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 2px 3px 4px 1px rgba(0, 0, 0, 0.4);
    margin: 0px 0px 5px 5px;
}


#SoMe_badge_source {
    text-align: left;
    margin: 0 10px 0 0px;
}


.SoMe_badge a {
    text-decoration: none;
    color: #F97301;
}


#frontpage_flickr .latest>a {
    color: white;
    text-decoration: none;
}

#frontpage_flickr .SoMe_badge_uber_wrapper {
    margin-top: 20px;
}

#frontpage_linkedin .SoMe_inner,
#frontpage_foursquare .SoMe_inner {
    padding: 0px 20px;
}

.side_padding {
    padding-left: 2ex;
    padding-right: 2ex;
}


/*  Lumia 920, portrait 320x480px */
/* Jans motorola has width 360px  */
@media (max-width: 480px) {
    .centered_content {
        max-width: 480px;
    }

    .side_padding {
        padding-left: 2ex;
        padding-right: 2ex;
    }

    .topshadow {
        padding-top: 2ex;
    }

    div#upper_part {
        background-color: white;
        width: 100%;
    }

    div#main_header {
        display: flex;
        height: auto;
        width: 100%;
    }

    div#logowrapper {
        border: 0px dashed magenta;
        padding: 0px;
        margin-left: 5%;
        flex-basis: 1;
    }

    div#header_controls {
        flex-basis: 1;
        display: flex;
        flex-direction: column;
        justify-items: right;
        margin-right: 1ex;
    }

    #frontpage_login_button {
        display: block;
        flex-basis: content;
        align-self: stretch;
        justify-self: stretch;
        margin: 0;
    }

    #frontpage_login_button .signup_button_normal {
        margin: 0;
    }

    .signup_button_normal {
        font-size: 3ex;
        min-width: auto;
        min-height: auto;
        padding: 0.5ex 0;
        width: 100%;
        height: 100%;
    }

    #headline_wrapper {
        box-shadow: inset 0 5px 3px rgba(0, 0, 0, 0.3);
    }

    #headline_wrapper_shader {
        background-color: rgba(40, 40, 255, 0.0);
        padding: 10px;
    }

    #headline {
        width: 100%;
        margin: 0 auto;
        border: 0px dashed magenta;
        background-color: transparent !important;
        color: #777;
        color: white;
        font-family: 'Nova Round';
        /*font-family: inherit;  */
        font-size: 2em;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
        text-align: center;
        word-wrap: break-word;
    }

    #frontpage_register2 {
        margin-top: 0px;
        padding: 20px;
        float: none;
        font-size: 1em;
        width: auto;
    }

    #frontpage_register2 form {
        width: 100%;
    }

    #sticker1 {
        display: none;
    }

    #frontpage_lang_selector {
        padding: 0;
        margin: 0;
        margin-bottom: 1ex;
        z-index: 1000;
        flex-basis: 1;
    }

    #frontpage_lang_selector ul {
        top: 12px;
    }

    #frontpage_lang_selector a {
        color: #777;
        text-decoration: none;
    }

    #frontpage_infowrapper {
        border: 0px dashed green;
    }

    #frontpage_signupbutton2 {
        margin: 0px;
        padding: 0px;
        text-align: center;
        margin-bottom: 20px;
    }

    #frontpage_signupbutton2 button {
        margin: 0px;
        padding: 0px;
    }

    #sticker2 {
        display: none;
    }

    #frontpage_social_media {
        border: 0px dashed red;
        float: right;
        width: 100%;
    }

    .SoMe_badge {
        width: 95%;
        float: none;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    #facebook_box {
        width: 95%;
        overflow: hidden;
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
}

@media (max-width:768px) {
    #testimonial_list_wrapper {
        max-width: 600px;
    }
}

@media (max-width: 360px) {
    #content {
        min-height: 100%;
    }
    .centered_content {
        width: calc(100% - 2 * 2ex);
        max-width: 360px;
    }

    #testimonial_list_item_wrapper {
        margin: 10px auto;
        float: none;
    }

    #main_header {
        padding-top: 7ex;
    }
    #mainmenu {
        display: block;
    }
    #hamburger {
        display: none;
    }
}

@media (min-width: 361px) {

}

/*  Lumia 920, portrait 320x480px */
@media (max-width: 320px) {
    .centered_content {
        width: 100%;
        max-width: 320px;
    }
}

/*   End of Lumia 920   */

@media (min-width: 415px) {
    #hamburger {
        display: none;
    }
}
