@media (min-width: 768px){
    .square-box:hover {
        -webkit-box-shadow: 0 5px 10px 0 rgba(33,33,33,0.5) !important;
        -moz-box-shadow: 0 5px 10px 0 rgba(33,33,33,0.5) !important;
        box-shadow: 0 5px 10px 0 rgba(33,33,33,0.5) !important;
    }
}

.square-box{
    position: relative;
    width: 31.333%;
    overflow: hidden;
    /*background: #4679BD;*/
    float: left;
    border-radius: 3px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.square-box:before{
    content: "";
    display: block;
    padding-top: 100%;
}

.square-content{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: white;
}
.square-content div {
    display: table;
    width: 100%;
    height: 100%;
}

.square-content span {
    padding-left: 6%;
    padding-top: 6%;
    display: inline-block;
}

.square-content span.square-title {
    width: 100%;
}
.square-content span.square-desc {
    width: 90%; padding-top: 29%;
}

#front_page_choice_hor_container {
    display: flex;
    padding-bottom: 30px;
}


.front_page_choice_hor_p {
    color: white;
    /*font-size: 4.5vmin;*/
    font-size: 32px;
    line-height: 100%;
    font-weight: bold;
    /*font-weight: 600;*/
}
.front_page_choice_hor_p2 {
    /*font-size: 2.8vmin;*/
    font-size: 23px;
    font-weight: normal;
    color: white;
    line-height: 115%;
    padding: 5px;
}

.small_font_counter {
    font-size: 46% !important;
    color: #e1e1e1 !important;
}


.square-box {
    margin-right: 3%;
}
.square-box.box-configurator {
    background-image: url("../img/configurator_bg.jpg?v=2512231457");
}
.square-box.box-calculator {
    background-image: url("../img/rekentool_bg.jpg?v=2512231457");
}
.square-box.box-replacements {
    background-image: url("../img/vervanger_bg.jpg?v=2512231457");
    margin-right: 0%;
}

.square-box.box-replacements .front_page_choice_hor_p {
    color: #0064b9; width: 60%;
}
.square-box.box-replacements .front_page_choice_hor_p2 {
    text-shadow: 0 0 1px black;
}

@media screen and (max-width: 850px) {
    span.square-desc {
        padding-top: 10% !important;
    }

    .front_page_choice_hor_p2 {
        font-size: 3vw;
    }

    .front_page_choice_hor_p {
        color: #0064b9 !important;
        font-size: 6vw;
    }

    .featherlight-theme-nl {
        .front_page_choice_hor_p {
            color: white !important;
        }
    }

    .featherlight-theme-fr {
        .front_page_choice_hor_p {
            color: white !important;
        }
    }

    .featherlight-theme-it {
        .front_page_choice_hor_p {
            color: white !important;
        }
    }

    .featherlight-theme-cz {
        .front_page_choice_hor_p {
            color: white !important;
        }
    }

    .square-box.box-replacements {
        .front_page_choice_hor_p {
            color: #0064b9 !important;
        }
    }
}

@media screen and (max-width: 680px) {

    div#front_page_choice_hor_container {
        padding-top: 0px !important;
    }

    .small_font_counter {
        display: none;
    }

    .square-box{
        width: 100%;
        display: block;
        margin: auto;
        margin-bottom: 10px;
        height: 100px;
    }

    .square-box {
        background-position: center;
    }

    #front_page_choice_hor_container {
        display: block;
    }

    .square-content {
        padding: 10px;
    }

    .square-content span {
        padding-top: 0px !important;
        padding-left: 0px !important;
        display: inline;
    }


    .front_page_choice_hor_p {

        font-size: 5vw;
    }
    .front_page_choice_hor_p2 {
        font-size: 3vw;
    }
}

@media screen and (max-width: 480px) {
    .front_page_choice_hor_p {
        font-size: 5vw;
    }
    .front_page_choice_hor_p2 {
        font-size: 3.5vw;
    }
}

@media screen and (min-width: 768px) and (max-width: 1100px){
    .front_page_choice_hor_p {
        font-size: 25px;
    }
    .front_page_choice_hor_p2 {
        font-size: 15px;
    }
}

@media screen and (min-width: 641px) and (max-width: 768px){
    .front_page_choice_hor_p {
        font-size: 22px;
    }
    .front_page_choice_hor_p2 {
        font-size: 15px;
    }

    .small_font_counter {
        font-size: 52% !important;
        color: #e1e1e1 !important;
    }
}
