body {
    background-image: url("../images/background.png");
    background-size: cover;
    color: white;
    font-family: Helvetica;
}

#companytitle{
    text-align: center;
    font-size: 4rem;
    font-weight:bold;
    margin-bottom: 6rem;
}
#subtitle{
    text-align: center;
    margin: 1rem 0 2rem 0;
    padding: 0 5rem;
}

#subtitle2{
    text-align: center;
    margin: 1rem 0;
    font-size: 1rem;
    padding: 0 4rem;
}


.loginblock{
    font-size: 1.5rem;
}


.loginblock input::placeholder {
    color: gray;
}

.loginblock input {
    margin: 0.6rem 0;
    width: 90%;
    line-height: 3rem;
    font-size: medium;
    border: transparent;
    border-radius: 3px;
    padding-left: 1rem;
    padding-top: 0.5rem;
}

a, a:hover {
    color: white;
}

#main_block{
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 31rem;
}

.navbar {
    display: none;
}

.navbar.index {
    display: block;
    background: #E1E1E1;
    padding: 2rem 3rem 2rem 0;
}

.navbar.index .nav-link{
    float: right;
    color: black;
    padding: 0;
    margin-top: -0.8rem;
}


p.lostp, .alt-btn {
    margin-top: 1rem;
}

.center-items{
    display: flex;
    flex-direction: column;
    align-items: center;
}

p.lostp a, .alt-btn a{
    color: white;
    text-decoration: underline;
}

p.submit{
    margin-top: 3.5rem;
}

.btn-submit{
    color: white;
    font-size: 1.25rem;
    border: #E1E1E1 solid 0.3rem;
    border-radius: 100px 100px 100px 100px;
    padding: 0.5rem 2rem;
    background: transparent;
}

p.rememberme {
    display: flex;
    align-items: center;
        margin-top: 2rem;
    padding-left: 3rem;
}

p.rememberme input {
    height: 1.25rem;
    width: 1.25rem;
    border: #929C9E solid 0.5rem;
}

p.rememberme label {
    margin-bottom: 0;
    margin-left: 1rem;
}

.detailblock{
    border: solid white 1px;
    color: white;
    border-radius: 5px;
    padding: 0.7rem;
    width: 90%;
    margin: 3.5rem 0 0 1.5rem;
}

.detailtitle{
    font-weight: bold;
}

.mainblockfooter{
    margin: 2rem 0 0 1.5rem;
    width: 90%;
}

.errorlist li {
    background: none;
    width: inherit;
    list-style: none;
    color: #F8C85D;
}

.messages li.error {
    background: none;
    width: 100%;
    text-align: center;
    list-style: none;
    color: #F8C85D;
    font-size: 1rem;
}

footer{
    display: none !important;
}

.main_container {
    padding: 1.5rem 0em 1.5rem 2rem;
    flex-grow:1;
    margin-bottom: 4rem;
}

.main_left{
    width: 35%;
    margin-right: 3rem;
    float:left;
    margin-bottom: 4rem;
}

.main_right{
    width: 55%;
    float: right;
}

.front_image{
    background-image: url("../images/fp-first-img.png");
    background-repeat: no-repeat;
    /*background-size: contain;*/
    background-position: center right;
    background-size: auto 100%;
    height: 75%;
    margin: 5% 0rem 0 0;
}

#companytitle.index {
    font-size: 3rem;
    margin: 4.5rem 0 2rem 0;
    text-align: left;
    text-wrap: nowrap;
}

.initial_text {
    font-size: 1rem;
}

ul.points-index {
    font-size: 1.3rem;
    line-height: 2.5rem;
    margin-top: 1.5rem;
}

.final-index {
    display: flex;
    margin-top: 2rem;
}

span.doc_img {
    background-image: url("../images/finaltext.png");
    background-repeat: no-repeat;
    height: 4.7rem;
    width: 3.7rem;
    display: inline-block;
    background-size: contain;
    background-position: center center;
}

span.txt {
    font-size: 1.2rem;
    display: inline-block;
    padding: 1rem 0 0rem 1.5rem;
}

.navbar.index {
    display: block;
    background: #E1E1E1;
    padding: 2rem 3rem 2rem 0;
}

footer.index {
    display: block !important;
    background: #E1E1E1;
    height: 3.5rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}



/*
@media (min-width:1215px) {
    .front_image{
        background-position: center right;
    }
}

@media (min-width:320px)  { /* smartphones, iPhone, portrait 480x320 phones  }
@media (min-width:481px)  { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide.  }
@media (max-width:1170px) {
    .main_right {
        width: 50%;
    }
    .front_image{
        background-position: center left;
    }
}

@media (max-width:777px) {
    .main_right {
        width: 45%;
    }
    .main_left {
        width: 40%;
        margin-right: 1rem;
        margin-left: 1rem;
    }
    .front_image{
        background-size: auto 100%;
        background-position: center left;
    }
}


@media (max-width:700px) {
    .main_right {
        width: 55%;
    }
    .main_left {
        width: 35%;
        margin-right: 1rem;
        margin-left: 1rem;
    }
    .front_image{
        background-size: auto 100%;
        background-position: center left;
    }
}

@media (min-width:961px)  { } */

@media (min-width: 1200px) {
    .front_image{
        background-position: center right;
    }
}
@media ((min-width: 1200px) and (min-height: 850px)) {
    .front_image{
        background-position: center left;
    }
}

@media (max-width: 1200px) {
    .main_left {
        width: 40%;
        margin-right: 2rem;
        margin-left: 2rem;
    }
    .main_right {
        width: 50%;
    }
}

@media ((max-width: 1200px) and (min-height: 670px)) {
    .front_image{
        background-position: center left;
    }
}

@media(max-width: 992px) {

    .front_image{
        background-position: center left;
    }
}
@media((max-width: 992px) and (max-height: 460px)) {

    .front_image{
        background-position: center right;
    }
}

@media (max-width: 768px) {
    .main_right {
        width: 45%;
    }
    .main_left {
        width: 40%;
        margin-right: 1rem;
        margin-left: 1rem;
    }
    .front_image{
        background-size: auto 100%;
        background-position: center left;
    }
}

@media ((max-width: 768px) and (max-height: 370px)) {
    .front_image{
        background-position: center right;
    }
}


@media (max-width: 600px) {
    .main_right {
        width: 55%;
        margin-top: 4.5rem;
    }
    .main_left {
        width: 35%;
    }
    .front_image{
        background-size: auto 100%;
        background-position: center left;
    }
    #companytitle.index {
        margin-top: .5rem;
    }
}

@media (max-height: 560px) {
    footer.index{
        display: none !important;
    }
}
