﻿/* Sharepoint reset
-------------------------------------------------------------- */
.ms-webpart-zone {
    display: block;
}

/* Pictures links
-------------------------------------------------------------- */
.picture-links-loading-wrapper img {
    width: 100px;
}

.picture_links_container {
    margin-top: 60px;
}

.picture_links_item {
    position: relative;
    background: #fff;
    color: #245282;
    border: 1px solid #245282;
    display: block;
    padding-top: 90px;
    height: 170px;
    text-align: center;
    margin-bottom: 20px;
    -o-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
    -webkit-box-shadow: 0 4px 5px #cccccc;
    box-shadow: 0 4px 5px #cccccc;
}

.picture_links_item:hover {
    -webkit-box-shadow: 0 13px 25px 0 rgba(0, 0, 0, 0.3), 0 6px 7px 0 rgba(0, 0, 0, 0.19);
    box-shadow: 0 13px 25px 0 rgba(0, 0, 0, 0.3), 0 6px 7px 0 rgba(0, 0, 0, 0.19);
}

.picture_links_item:visited,
.picture_links_item:hover {
    color: #245282;
}

.picture_links_img_container {
    position: absolute;
    background: #245282;
    top: -35px;
    left: 50%;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    border-radius: 50%;
    margin-left: -50px;
}

.picture_links_img_container img {
    max-width: 40px;
}

.picture_links_text_container {
    max-width: 80%;
    margin: auto;
}

.picture_links_text_container p {
    margin: 0;
    font-weight: bold;
}

/* Responsive
-------------------------------------------------------------- */
@media (max-width: 991px) {
    .picture_links_item {
        padding-top: 85px;
        margin-bottom: 50px;
    }
    .picture_links_img_container {
        width: 90px;
        height: 90px;
        line-height: 90px;
        margin-left: -45px;
    }
}

@media (max-width: 580px) {
    .picture_links_item {
        height: 150px;
    }
    .picture_links_container .col-xs-6 {
        width: 100%;
        min-height: initial !important;
    }
    .picture_links_container .col-xs-6:last-child .picture_links_item:last-child {
        margin-bottom: 20px;
    }
    .picture_links_text_container p {
        font-size: 15px;
    }
}

@media (max-width: 450px) {
    .picture_links_item {
        padding-top: 70px;
    }
    .picture_links_img_container {
        width: 70px;
        height: 70px;
        line-height: 70px;
        margin-left: -35px;
        top: -25px;
    }
    .picture_links_img_container img {
        max-width: 33px;
    }
}