/* General page layout */

.home-content-wrapper {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.home-main-content {
    width: 100%;
}

.home-sidebar {
    width: 25%;
    min-width: 250px;
    padding: 0 1em;
    flex: 1;
}

.container {
    max-width: 100%;
}

.text-light {
    color: white;
}

h5.text-light {
    color: #f5f5f5;
}

.text-dark {
    color: #111;
}

h5.text-dark {
    color: #222;
}


/* -----------------
    Main slider styles
----------------- */

#main-slider .carousel-cell {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    min-height: 65vh;
}

#main-slider .flickity-viewport {
    height: 77vh !important;
}

.flickity-prev-next-button {
    background-color: rgba(255, 255, 255, .5);
}

#main-slider .cell-content {
    width: 100%;
    height: 100%;
}

#main-slider .cell-inner-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1.8em 4.5em;
    color: white;
}

#main-slider .cell-inner-content * {
    text-align: center;
}

#main-slider .cell-inner-content h1 {
    font-weight: bold;
}

#main-slider .cell-inner-content h5 {
    margin: 0;
    font-weight: bold;
    font-size: 1.4em;
}

.flickity-page-dots {
    bottom: 5px;
}


/* 
    Slider bottom buttons styles
*/

.slider-bottom-extention {
    padding: 3em 2em;
    background-color: whitesmoke;
    min-height: 260px;
    display: flex;
    align-items: center;
}

.slider-bottom-extention .blocks {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.slider-bottom-extention .block {
    padding: 5px 15px;
    flex: 1;
    display: flex;
}

.slider-bottom-extention .block a {
    padding: 2em 1em;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #111;
    font-size: 1.2em;
    font-weight: bold;
    background-color: var(--darkblue);
    border: 2px solid var(--darkblue);
    color: white;
}

.slider-bottom-extention .block a i {
    margin-right: 1em;
    font-size: 2em;
}

.slider-bottom-extention .block.fc-block a {
    background-color: var(--red);
    border: 2px solid var(--red);
}

.slider-bottom-extention .block.rs-block a {
    background-color: #337ab7;
    border: 2px solid #337ab7;
}

.slider-bottom-extention .block a:hover {
    color: var(--darkblue);
    background-color: white;
}

.slider-bottom-extention .block.fc-block a:hover {
    color: var(--red);
    background-color: white;
}

.slider-bottom-extention .block.rs-block a:hover {
    color: #337ab7;
    background-color: white;
}

.slider-bottom-extention .block a p {
    margin: 0;
    transition: .3s;
}

@media (max-width: 528px) {
    .slider-bottom-extention .block a p {
        font-size: 14px;
    }
    .slider-bottom-extention .block a {
        justify-content: flex-start;
    }
}


/* -----------------
    END - Slider styles
----------------- */

@media (max-width: 768px) {
    .home-content-wrapper {
        padding: 0;
    }
    #main-slider .cell-inner-content h1 {
        font-size: 23px;
        margin-bottom: 10px;
    }
    #main-slider .cell-inner-content h5 {
        margin: 0;
        font-size: 1em;
    }
    .slider-bottom-extention {
        padding: 2em 0;
    }
}