﻿/*Custom fixes*/
/*Shared*/

footer > div {
    max-width: 1064px;
    margin-left: auto;
    margin-right: auto;
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0 55px;
    justify-content: space-between;
}
@media only screen and (max-width: 1135px) {
    footer > div {
        align-items: center;
        flex-direction: column;
    }
    body footer {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: auto;
        padding: 25px 0;
    }
}

.row.headers h3 {
    font-size: 1.3em;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .leftwhensmall {
        text-align: left !important;
    }
}
@media only screen and (max-width: 500px) {
    .leftwhensmall {
        text-align: right !important;
        position: relative;
        top: 10px;
        padding-right: 0;
        right: -25px;
    }
}

body .max.centering {
    max-width: 1064px;
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}


@media only screen and (min-width: 992px) and (max-width: 1064px) {
    .entry-wrapper {
        max-width: 350px !important;
    }
    .aligntop .entry-wrapper {
        max-width: 275px !important;
    }
    .aligntop2 .entry-wrapper {
        max-width: none !important;
    }
}
@media only screen and (min-width: 930px) and (max-width: 991px) {
    .entry-wrapper {
        max-width: 350px !important;
    }
    .aligntop2 .entry-wrapper {
        max-width: 75% !important;
        margin-left: 12.5%;
    }
}

@media only screen and (max-width: 991px) and (min-width: 900px) {
    .aligntop  .entry-wrapper {
        max-width: 345px !important;
    }
}
@media only screen and (max-width: 900px) and (min-width: 825px) {
    .aligntop  .entry-wrapper {
        max-width: 305px !important;
    }
}
@media only screen and (min-width: 768px) and (max-width: 824px) {
    .aligntop .entry-wrapper {
        max-width: 275px !important;
    }
}
.aligntop .entry-wrapper {
    align-items: stretch;
}
@media only screen and (min-width: 1501px) {
    .aligntop {
        margin-left: 0;
        margin-right: 0;
        width: 75%;
        padding: 0;
        border: 0;
    }
    .aligntop .entry-wrapper:nth-child(odd), .aligntop .entry-wrapper:nth-child(even) {
        margin-left: 70px;
    }
}
@media only screen and (min-width: 1200px) and (max-width: 1500px) {
    .aligntop .entry-wrapper:nth-child(even) {
        margin-left: 108px;
    }
}
@media only screen and (max-width: 991px) and (min-width: 768px) {
    .aligntop {
        justify-content: space-between;
    }
}
@media only screen and (max-width: 991px) and (min-width: 768px) {
    .aligntop .entry-wrapper:nth-child(odd), .aligntop .entry-wrapper:nth-child(even) {
        margin-left: 60px;
    }
}
@media only screen and (min-width: 1350px) and (max-width: 1500px) {
    .aligntop .entry-wrapper {
        max-width: 375px !important;
    }
}
@media only screen and (min-width: 1201px) and (max-width: 1349px) {
    .aligntop .entry-wrapper {
        max-width: 325px !important;
    }
}

@media only screen and (max-width: 767px) {
    .content .aligntop2 .large .header .ranking {
        margin-top: 0;
    }
    .aligntop2 .dates {
        margin-top: 0;
    }
    .col-xs-6.col-m-5.button-push.makethis94onmobile {
        width: 94% !important;
        text-align: right !important;
    }
}
@media only screen and (max-width: 853px) {
    .aligntop2 .entry-wrapper .sub {
        padding-top: 44px;
    }
}
@media only screen and (max-width: 500px) {
    .aligntop2 .funtions i+i+i {
        left: 40px;
        margin-top: 45px !important;
    }
    .content .aligntop2 .large .sub .funtions {
        margin-bottom: 40px;
    }
}
@media only screen and (max-width: 600px) {
    .aligntop2 .entry-wrapper .sub .user-wrapper {
        position: unset;
        margin: 0 auto 20px auto;
        display: block;
    }
    .content .aligntop2 .large .sub {
        padding-left: 32px;
    }
    .content .aligntop2 .large .header {
        height: 75px;
    }
    .aligntop2 .dates {
        margin-top: -22px;
    }
    .content .aligntop2 .large .header .place-wrapper {
        width: 100% !important;
        display: inline-block !important;
        height: 58px;
        margin-right: 25px;
        padding-top: 0;
        text-align: center;
    }
    .content .aligntop2 .large .header .ranking {
        width: 100% !important;
        display: unset;
        float: right;
        padding-top: 0;
        text-align: right;
        padding-left: 35px;
    }
    .content .aligntop2 .large .sub .funtions {
        margin-top: 25px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 929px) {
    .entry-wrapper {
        max-width: 275px !important;
    }
    .aligntop2 .entry-wrapper {
        max-width: 75% !important;
        margin-left: 12.5%;
    }
}
.aligntop {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
}
.aligntop .entry-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}
.aligntop .entry-wrapper .image {
    top: 65px;
}
.aligntop .entry-wrapper .sub {
    flex-grow: 1;
}
@media only screen and (max-width: 767px) {
    .aligntop {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }
    .aligntop .entry-wrapper {
        max-width: 420px !important;
    }
}

body .max.centering #vertical-ticker1,
body .max.centering #vertical-ticker2 {
    left: 0 !important;
    float: none;
    flex: 0 0 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

@media only screen and (max-width: 767px) {
    body .max.centering #vertical-ticker2 {
        flex: 0 0 100%;
    }
}

body .content {
    min-height: 825px;
}

body .max.centering #vertical-ticker1 li,
body .max.centering #vertical-ticker2 li {
    margin-left: 0 !important;
}

.entry-wrapper .sub {
    padding-top: 18px;
}
#vertical-ticker1 .entry-wrapper .sub,
#vertical-ticker2 .entry-wrapper .sub {
    height: 98px !important;
    overflow: hidden;
}


@media only screen and (max-width: 1064px) and (min-width: 930px) {
    #vertical-ticker1 .entry-wrapper .sub,
    #vertical-ticker2 .entry-wrapper .sub {
        height: 118px !important;
    }
}
@media only screen and (max-width: 475px) and (min-width: 415px) {
    #vertical-ticker1 .entry-wrapper .sub,
    #vertical-ticker2 .entry-wrapper .sub {
        height: 118px !important;
    }
}

@media only screen and (max-width: 414px) {
    #vertical-ticker1 .entry-wrapper .sub,
    #vertical-ticker2 .entry-wrapper .sub {
        height: 138px !important;
    }
}
@media only screen and (max-width: 929px) and (min-width: 768px) {
    #vertical-ticker1 .entry-wrapper .sub,
    #vertical-ticker2 .entry-wrapper .sub {
        height: 138px !important;
    }
}

.sub {
    padding-right: 10px;
}
@media (min-width: 1199px) {.content-margin-top.max-width.background{padding-left:90px;}}


.custom-padding{padding-left:0px!important;}
@media (max-width: 767px) {

    .place {
        margin-left: 0px !important;
    }
	.content-margin-top.max-width.background {
    padding-left: 0px;
}
}


@media (max-width: 600px) {
    .header.header1 h1 {
        margin-top: 50px;
    }

    .positiontoplogo {
        margin-left: 0 !important;
    }
}

@media only screen and (max-width: 600px) {
    .fb-like.staysmaller {
        display: inline-block !important;
        position: relative;
        top: 50px;
    }
}

/*Frontpage*/
@media (max-width: 767px) {
    .col-xxs-12.col-xs-12.col-s-4.place {
        margin-left: 0 !important;
        padding-left: 50px;
    }

    .col-xs-6.col-m-5.button-push {
        width: 100% !important;
    }
	
}

@media (max-width: 992px) {
    .fb_iframe_widget {
        left: 0 !important;
        padding-left: 0 !important;
    }

    .top-bar .btn {
        margin-left: 4px !important;
    }
}

.content .large .header {
    min-height: 58px !important;
}


.fa.fa-quote-left.fa-lg {
    margin-left: 5px;
}
.entry-wrapper .sub .fa.fa-quote-right.fa-lg {
    padding-left: 10px;
}
.content-margin-top > p {
    margin-left: -40px !important;
}

