#top-modules {
    padding: 20px 0 0 0;
}

/* * * * * * * * * * * * * * * * * * * * *
 * Instagram & Facebook section type
 * * * * * * * * * * * * * * * * * * * * */
.grid_row {
    text-align: center;
    margin: auto;
}

.instagram .grid_col {
    width: 33%;
    display: inline-block;
}

.social_photo {
    border-top: inherit;
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    display: block;
}

.instagram {
    line-height: 0;
}

.instagram img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    -ms-interpolation-mode: bicubic;
}

.square {
    float: left;
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

h1.social_title {
    color: #982f8b;
    text-align: center;
    margin-bottom: 20px;
}

.facebook img {
    width: 100%;
}

.instagram .instagram_post {
    cursor: pointer;
}

/* * * * * * * * * * * * * * * * * * * * *
 * Text section
 * * * * * * * * * * * * * * * * * * * * */
.social_wrapper {
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
    background-color: #383838;
    color: white;
    display: block;
    padding: 1.3% 0 2%;
    margin-bottom: 35px;
    word-break: break-all;
}

.social_wrapper h2 {
    border: none;
    /*padding: 15px 0;*/
    color: #fff;
    font-weight: 400;
    text-align: center;
}

.social_wrapper hr {
    background-position: top;
    background-size: 10px 1px;
    background-repeat: repeat-x;
    margin-bottom: 10px;
}

.social_follow {
    float: none;
    display: inline-block;
    position: relative;
    margin-right: 15px;
    padding: 10px;
    border-radius: 15px 15px 15px 15px;
    -moz-border-radius: 15px 15px 15px 15px;
    -webkit-border-radius: 15px 15px 15px 15px;
    border: 2px solid #fff;
    background-color: #383838;
    color: #fff
}

.social_buttons .social_follow:last-child {
    margin-right: 0px;
}

.social_follow:hover {
    background-color: rgb(152, 47, 139);
    color: #fff;
}

.social_subtext {
    color: #fff;
    text-align: center;
    margin: 0 auto;
    font-size: 17px;
    padding: 15px 0 25px;
}

.social_buttons {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -25px;
}

/* * * * * * * * * * * * * * * * * * * * *
 * Blog section
 * * * * * * * * * * * * * * * * * * * * */
.blog_wrapper {
    width: 70%;
    margin: auto;
}

.blog_wrapper .row {
    margin-bottom: 20px;
}

.blog_wrapper a:focus, .blog_wrapper a:hover {
    color: inherit;
    text-decoration: inherit;
}

.blog_image {
    width: 100%;
    max-width: 220px;
}

.blog_text {
    text-align: left;
    color: #000000;
    font-size: 18px;
    font-style: italic;
    padding: 5px 0;
}

.blog_subtext {
    text-align: left;
    font-size: 14px;
    color: rgb(152, 47, 139);
}

.shop_now {
    padding-bottom: 20px;
    padding-top: 20px;
}

/* * * * * * * * * * * * * * * * * * * * *
 * Youtube section
 * * * * * * * * * * * * * * * * * * * * */

.youtube_video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.youtube_video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.youtube_text {
    text-align: left;
    padding: 10px 0 0 0;
    font-size: 15px;
}
.youtube_row {
    padding-bottom: 30px;
}
/* * * * * * * * * * * * * * * * * * * * *
 * Instagram popup
 * * * * * * * * * * * * * * * * * * * * */

#instagramGallery {
    z-index: 9999;
    width: 100%;
    position: fixed;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 18px;
}

#instagramGallery div {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    position: relative;
}

#instagramGallery .wrapper {
    background-color: rgba(0, 0, 0, .5);
    bottom: 0;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    left: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1;
}

#instagramGallery .profile_text {
    box-sizing: border-box;
    margin: 0 -24px auto;
    align-items: center;
    flex-direction: row;
    /*height: 78px;*/
    margin-right: 0;
    padding: 20px 0 20px 10px;
    right: -287px;
    position: absolute;
    top: 90px;
    width: 287px;
    overflow-y: auto;
    word-break: break-word;
    word-wrap: break-word;
}

#instagramGallery .modal {
    min-height: 100%;
    z-index: 1;
}

#instagramGallery .modal {
    padding: 0 40px;
    -moz-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0px, 0px, 0px);
}

#instagramGallery .modal::after,
#instagramGallery .modal::before {
    content: "";
    display: block;
}

#instagramGallery .close_btn {
    background: 0 0;
    border: none;
    cursor: pointer;
    height: 36px;
    outline: none;
    overflow: hidden;
    position: absolute;
    right: -10px;
    top: -40px;
    z-index: 2;
}

#instagramGallery .close_btn::before {
    color: #fff;
    content: "\00D7";
    display: block;
    font-size: 36px;
    font-weight: 600;
    line-height: 36px;
    padding: 0;
    margin: 0;
}

#instagramGallery .modal_wrapper {
    margin: auto;
    max-width: 900px;
    width: 100%;
    background-color: #fff;
    padding: 0;
}

#instagramGallery .text_section {
    align-items: center;
    flex-direction: row;
    border-bottom: 1px solid #efefef;
    height: 78px;
    margin-right: 0px;
    padding: 20px 0 20px 10px;
    right: -287px;
    position: absolute;
    top: 0px;
    width: 287px;
}

#instagramGallery .image_section {
    background-color: #000;
    /* -webkit-box-pack: center; */
    /* -webkit-justify-content: center; */
    -ms-flex-pack: center;
    /* justify-content: center; */
    margin-right: 335px;
    /*min-height: 450px;*/
}
#instagramGallery .image_wrapper::before {
    display: block;
    content: '';
    padding: 100% 0 0 0;
}
#instagramGallery .image_wrapper {
    display: block;
    overflow: hidden;
}

#instagramGallery .actual_image {
    left: 0;
    position: absolute;
    top: 0;
}

#instagramGallery .actual_image {
    /*! height: 100%; */
    width: 100%;
}

#instagramGallery .profile_title {
    /*margin-left: 12px;*/
}

#instagramGallery a,
#instagramGallery a:visited {
    color: #003569;
    text-decoration: none;
}

#instagramGallery .profile_link {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 5px;
    margin-left: -5px;
}

#instagramGallery .profile_link,
#instagramGallery .profile_link:visited {
    color: #262626;
}

#instagramGallery .profile_wrapper {
    background-color: #fafafa;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

#instagramGallery .profile_wrapper::after {
    border: 1px solid rgba(0, 0, 0, .0975);
    border-radius: 50%;
    bottom: 0px;
    content: "";
    left: 0px;
    pointer-events: none;
    /*position: absolute;*/
    right: 0px;
    top: 0px;
}

#instagramGallery .profile {
    height: 100%;
    width: 100%;
}

#instagramGallery .arrows {
    width: 48px;
    height: 48px;
    border-color: #000;
    position: absolute;
    top: 50%;
    margin-top: -31px;
    color: #fff;
    cursor: pointer;
}

#instagramGallery .prev {
    border-bottom: 6px solid;
    border-left: 6px solid;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    left: -50px;
}

#instagramGallery .next {
    border-bottom: 6px solid;
    border-left: 6px solid;
    -moz-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    right: -50px;
}


#instagramGallery .modal_wrapper{
    max-height: 90vh;
}

.iphone #instagramGallery .modal_wrapper{
    max-height: 75vh;
}
/* * * * * * * * * * * * * * * * * * * * *
 * Responsive
 * * * * * * * * * * * * * * * * * * * * */

/*Desktop*/
@media (min-width: 964px) {
    .social_photo {
        margin-bottom: 30px;
    }
}

/*Tablet*/
@media (max-width: 963px) {
    .social_photo {
        margin-bottom: 3px;
    }

    #instagramGallery .arrows {
        width: 30px;
        height: 30px;
    }

    #instagramGallery .next {
        right: -25px;
    }

    #instagramGallery .prev {
        left: -25px;
    }

    #instagramGallery .modal_wrapper {
        max-width: 600px;
    }

    .blog_wrapper {
        width: 100%;
    }

    .grid_row.instagram {
        margin-right: -1.5px;
        margin-left: -1.5px;
    }

    .grid_row.instagram .col-xs-4 {
        padding-right: 1.5px;
        padding-left: 1.5px;
    }

    h1.social_title {
        line-height: 40px;
    }
}

/*Phone*/
@media (max-width: 380px) and (orientation: portrait) {
    #instagramGallery .profile_text {
        height: 200px;
        margin: 0;
        padding: 10px 10px 0 10px;
        right: inherit;
        bottom: inherit;
        width: 100%;
        top: inherit;
        left: inherit;
        position: relative;
        word-wrap: break-word;
        word-break: break-word;
        overflow-y: scroll;
        display: initial;
    }
}
@media (max-width: 500px) and (orientation: portrait) {
    #instagramGallery .profile_text p {
        max-height: 100px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    #instagramGallery .image_section {
        margin-right: 270px;
        min-height: inherit;
        max-height: 80vh;
    }
    #instagramGallery .text_section {
        width: 270px;
        right: -270px;
    }
    #instagramGallery .profile_text {
        width: 260px;
        right: -260px;
    }
}
@media (max-width: 380px) {
    .social_wrapper .social_follow .fa-2x {
        font-size: 1.5em !important;
    }

    h2.social_text {
        line-height: 40px;
    }

    #instagramGallery .arrows {
        width: 30px;
        height: 30px;
    }

    #instagramGallery .next {
        right: -25px;
    }

    #instagramGallery .prev {
        left: -25px;
    }

    .social_wrapper .social_buttons {
        bottom: -20px;
    }

    .grid_row.instagram {
        margin-right: -1.5px;
        margin-left: -1.5px;
    }

    .grid_row.instagram .col-xs-4 {
        padding-right: 1.5px;
        padding-left: 1.5px;
    }

    #instagramGallery .profile_text {
        height: 100%;
        max-height: 200px;
    }
    #instagramGallery .text_section {
        height: 38px;
        padding: 5px 0 5px 10px;
    }

    .blog_text {
        font-size: 15px;
    }

    .blog_subtext {
        font-size: 12px;
    }

    .blog_wrapper {
        width: 100%;
    }

    h1.social_title {
        line-height: 40px;
    }

    .blog_wrapper.row {
        margin-bottom: 30px;
    }

    .fullwidth-footer {
        margin-top: 20px;
    }

}

@media (max-width: 963px) and (orientation: portrait) {

    #instagramGallery .image_section {
        /* top: 0px; */
        margin-right: 0;
        background-color: transparent;
    }

    #instagramGallery .text_section {
        right: 0;
        top: 0;
        width: 100%;
        position: relative;
/*        position: absolute;
        height: 50px;
        margin-right: 0;
        padding: 0 0 0 10px;*/
    }

    #instagramGallery .profile_text {
        margin: 0;
        padding: 10px;
        right: 0;
        bottom: 0;
        width: 100%;
        top: inherit;
        position: inherit;
    }
}

/* * * * * * * * * * * * * * * * * * * * *
 * Various fixes
 * * * * * * * * * * * * * * * * * * * * */

.clearfix {
    clear: both;
}

.oc2 .fa-2x {
    font-size: 2em !important;
}

.button:focus, .button:hover {
    text-decoration: none;
}

#footer .row {
    margin-right: 0;
    margin-left: 0;
}
