:root {
    --blue: #ffd162;
    --darkgrey: #2c2e30;
    --blue: #2c8cbc;
}

.news-grid {
    padding: 0 0 50px 0;
    margin-top: 20px;
}

.news-grid .box-content i {
    font-weight: 400;
}

.news-grid .box-33 {
    -webkit-box-shadow: 0 0px 4px 0 #e8e8e8;
    -moz-box-shadow: 0 0px 4px 0 #e8e8e8;
    -ms-box-shadow: 0 0px 4px 0 #e8e8e8;
    -o-box-shadow: 0 0px 4px 0 #e8e8e8;
    box-shadow: 0 0px 4px 0 #e8e8e8;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}

.box-grid {
    width: 102%;
    float: left;
    padding: 0;
    margin: 0 -1%;
}


/* Boxar 25% */

.box-25 {
    background-color: #fff;
    width: 23%;
    display: inline-block;
    position: relative;
    text-align: left;
    text-decoration: none;
    float: left;
    overflow: hidden;
    padding: 0;
    border: 1px solid #ccc;
    margin: 1%;
}

.box-25 .box-image-container {
    text-align: center;
    width: 100%;
    float: left;
}

.box-25 .box-image-container img {
    width: 100%;
    height: auto;
}

.box-25 .box-content {
    float: left;
    width: 100%;
    padding: 20px;
}

.box-25.thumb h2 {
    text-align: center;
}

a.box-25:hover {
    border: 5px solid #FFCC00;
}


/* Boxar 33% */

.box-33 {
    background-color: #fff;
    width: 31.33%;
    display: inline-block;
    position: relative;
    text-align: left;
    text-decoration: none;
    float: left;
    overflow: hidden;
    padding: 0;
    margin: 1%;
}

.box-33 .box-image-container {
    text-align: center;
    width: 100%;
    float: left;
}

.box-33 .box-image-container img {
    width: 100%;
    height: auto;
}

.box-33 .box-content {
    float: left;
    width: 100%;
    padding: 30px;
}


/* Boxar 50% */

.box-50 {
    background-color: #37b1ea;
    width: 49%;
    display: inline-block;
    position: relative;
    text-align: left;
    text-decoration: none;
    float: left;
    overflow: hidden;
    padding: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.box-50:nth-child(odd) {
    margin: 0 0 2% 1%;
}

.box-50:nth-child(even) {
    margin: 0 1% 2% 0;
}

.box-50 .box-content {
    float: left;
    width: 100%;
    padding: 30px;
    color: #fff;
}

.box-50 .box-content h2 {
    color: #fff;
}

.box-50 a {
    color: #ffffff;
}


/* Boxar 100 med bild till höger */

.box-100ih {
    width: 98%;
    display: inline-block;
    position: relative;
    text-align: left;
    text-decoration: none;
    float: left;
    overflow: hidden;
    padding: 0;
    margin: 1%;
}

.box-100ih .box-image-container {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../images/symbol.png);
    text-align: center;
    width: 50%;
    float: right;
    height: 100%;
}

.box-100ih .box-content {
    float: left;
    width: 50%;
    padding: 60px 60px 30px 0;
}


/* Boxar 100 med bild till vänster */

.box-100iv {
    width: 98%;
    display: inline-block;
    position: relative;
    text-align: left;
    text-decoration: none;
    float: left;
    overflow: hidden;
    padding: 0;
    margin: 1%;
}

.box-100iv .box-image-container {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../images/symbol.png);
    text-align: center;
    width: 50%;
    float: left;
    height: 100%;
}

.box-100ih .box-image-container img,
.box-100iv .box-image-container img {
    display: none;
}

.box-100iv .box-content {
    float: left;
    width: 50%;
    padding: 60px 0 30px 60px;
}

.box-100ih a {
    color: #ffffff;
}

.startboxes {
    width: 100%;
    display: flex;
    max-width: 1240px;
    margin: 15px auto;
    flex-wrap: wrap;
}

.fourbanger {
    width: 50%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.box-25box {
    width: calc(50% - 20px);
    margin: 10px;
    text-align: center;
    position: relative;
}

.box-25box:hover.box-25box .box-content-holder {
    background-color: #2c8cbc;
    color: #fff;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.box-25box .box-content-holder {
    width: 100%;
    height: 100%;
    background: #f8f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 80%;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.box-25box .box-content {
    position: absolute;
    top: 0;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.box-25box .box-content h2 {
    font-size: 16px;
}

.box-25box .fa {
    margin-bottom: 20px;
    font-size: 42px;
}

.loneranger {
    background: #f8f7f7;
    text-align: center;
    width: calc(50% - 20px);
    margin: 10px;
    display: flex;
    padding: 40px;
}

.box-50box {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box-50box span {
    font-size: 12px;
}

.box-50box span.time {
    margin-bottom: 10px;
}

.box-50box-blue {
    background-color: #2C8CBC;
    color: #fff;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(50% - 20px);
    margin: 10px;
}

.box-50box-blue span {
    font-size: 12px;
}

.box-50box-blue span.time {
    margin-bottom: 10px;
}

.box-50box-blue .box-content {
    padding: 40px;
}

.box-50box-blue .box-content p {
    width: 100%;
    padding: 0 0 25px 0;
}

.btn {
    text-align: right;
    background-color: #fff;
    color: #2C8CBC;
    font-weight: bold;
    padding: 5px 20px;
    border-radius: 20px;
}

.btn-blue {
    background-color: var(--blue);
    border: 3px solid var(--blue);
    color: white !important;
    padding: 10px 20px;
    cursor: pointer;
}

.btn-blue:hover {
    text-decoration: underline;
}

.box-50box-prod {
    width: calc(50% - 20px);
    float: left;
    background-color: #f8f7f7;
    margin: 10px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.box-50box-prod:hover {
    opacity: .9;
    text-decoration: none;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.box-50box-prod .box-content {
    padding: 40px;
}

.product-img {
    padding-top: 56.25%;
    background-size: cover;
    background-position: center center;
}

.box-100boxblue {
    width: 100%;
    background-color: #2c8cbc;
    color: #fff;
    padding: 80px 10px;
    width: calc(100% - 20px);
    margin: 0 10px 10px;
}
.box-100boxblue .box-content p {
  width: 100%;
  padding: 0 0 25px 0;
}

.box-100boxblue .box-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.box-100boxblue .box-content h1 {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
}

.btn-holder {
    width: 100%;
    padding: 0 0 80px;
    text-align: center;
}

.box100-btn {
    background-color: #2c8cbc;
    padding: 10px 40px;
    color: #fff;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.box100-btn:hover {
    text-decoration: none;
    background-color: #222;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.box-33mont {
    width: 31.33%;
    margin: 0 1% 30px;
    background-color: #f8f7f7;
}

.box-33mont .product-img {
    padding-top: 82.25%;
}

.box-33mont .box-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.flexWrap {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@media all and (max-width: 768px) {
    .startboxes {
        flex-direction: column;
        margin: 20px auto;
    }
    .fourbanger {
        width: 100%;
    }
    .loneranger {
        width: calc(100% - 20px);
    }
    .box-50box-prod {
        width: calc(100% - 20px);
    }
    .box-33mont {
        width: 98%;
        float: left;
        margin: 0 1% 30px;
        background-color: #f8f7f7;
    }
    .flexWrap {
        display: flex;
        flex-direction: column;
    }
    .box-50box-blue {
        width: calc(100% - 20px);
        margin: 10px;
    }
    .box-50box-blue .box-content {
        padding: 20px;
    }
}