html, body {
    font-family: 'Open Sans';
    font-weight: 400;
    color: #5a5a5a;
}

h1, h2, h3, h4, h5, h6, .menu-list a {
    font-family: 'Open Sans';
    font-weight: 700;
}
footer a:hover { text-decoration:underline}
.bg-parallax {
    /* background: linear-gradient(90deg, rgba(180, 180, 180, 0.3) 2%, rgba(220, 220, 220, 0) 100%), url(../img/parallax.png); */
    background-attachment: fixed;
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}

.page-item.active .page-link, .bg-secondary, .btn-secondary {
    background-color: #AB7BCA !important
}

.bg-primary, .btn-primary {
    background-color: #5686DA !important
}
.page-item.active .page-link {
    color:white;
}
.text-secondary {
    color: #AB7BCA !important
}

.text-primary {
    color: #5686DA !important
}

a {
    text-decoration: none;
    color: #5686DA
}

footer h1 {
    font-size: 16px;
}

.label-container {
    position: fixed;
    bottom: 48px;
    right: 105px;
    display: table;
    visibility: hidden;
}

.label-text {
    color: #FFF;
    background: rgba(51, 51, 51, 0.5);
    display: table-cell;
    vertical-align: middle;
    padding: 10px;
    border-radius: 3px;
}

.label-arrow {
    display: table-cell;
    vertical-align: middle;
    color: #333;
    opacity: 0.5;
}

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-image: linear-gradient(to top, #0ba360 0%, #3cba92 100%);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 7px #000;
    animation: bot-to-top 2s ease-out;
}


a.float+div.label-container {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s ease;
}

a.float:hover+div.label-container {
    visibility: visible;
    opacity: 1;
}

.card-img-top {
    height: 220px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#myCarousel .carousel-item {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.caption-animate .carousel-item.active .carousel-caption {
    left: 0;
    top: 25vh;
    bottom: auto;
    margin-top: 5%;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    text-shadow: 1px 2px 3px #333;
}

.caption-animate .carousel-item.active .carousel-caption.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.caption-animate .carousel-item.active .carousel-caption.hinge {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
}

.caption-animate .carousel-item.active .carousel-caption.flipOutX,
.caption-animate .carousel-item.active .carousel-caption.flipOutY,
.caption-animate .carousel-item.active .carousel-caption.bounceIn,
.caption-animate .carousel-item.active .carousel-caption.bounceOut {
    -webkit-animation-duration: .75s;
    animation-duration: .75s;
}

.caption-animate .carousel-item .carousel-caption.fadeIn,
.caption-animate .carousel-item .carousel-caption.fadeInDown,
.caption-animate .carousel-item .carousel-caption.fadeInDownBig,
.caption-animate .carousel-item .carousel-caption.fadeInLeft,
.caption-animate .carousel-item .carousel-caption.fadeInLeftBig,
.caption-animate .carousel-item .carousel-caption.fadeInRight,
.caption-animate .carousel-item .carousel-caption.fadeInRightBig,
.caption-animate .carousel-item .carousel-caption.fadeInUp,
.caption-animate .carousel-item .carousel-caption.fadeInUpBig {
    opacity: 0;
}


#myCarousel .carousel-item .container {
    position: relative;
}

.caption-animate .carousel-item.active .carousel-caption.right {
    left: auto;
    right: 0;
}

#myCarousel .carousel-item {
    height: 55vh;
}

#myCarousel .carousel-item>img {
    position: absolute;
    top: 0;
    left: 0;
    /* min-width: 100%; */
    height: 55vh;
}

.thumb-max {
    max-height: 100%;
    max-width: 100%;
}

.thumb-min {
    max-height: 90%;
    max-width: 90%;
}

.thumb-min,
.thumb-max {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.nav-paging {
    flex-wrap: wrap;
}

a.page-link[disabled] {
    color: #999;
    background: #e4e4e4;
}

.pagination, .nav-paging {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
}

.pagination-next, .pagination-previous {
    white-space: nowrap;
}

.page-item .page-link, .pagination-next, .pagination-previous {
    border-radius: 0 !important;
    display: inline-flex;
    justify-content: center;
    text-align: center;
}

a#menu-share:active {
    opacity: 0.75;
}

a#menu-share:hover>i {
    animation: rotate-out 0.5s;
}

a#menu-share i {
    animation: rotate-in 0.5s;
}

a#menu-share:hover>img {
    animation: rotate-out 0.5s;
}

a#menu-share img {
    animation: rotate-in 0.5s;
}




#portfolio .portfolio-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

#portfolio .portfolio-item .portfolio-wrap {
    overflow: hidden;
    position: relative;
    border-radius: 6px;
    margin: 0;
}

#portfolio .portfolio-item .portfolio-wrap:hover img {
    opacity: 0.4;
    transition: 0.3s;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    opacity: 0;
    transition: 0.2s linear;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info span {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    display: flex; align-items: center; text-align: center;
}


#portfolio .portfolio-item .portfolio-wrap .portfolio-info span:hover {
    color: #fff;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info p {
    padding: 0;
    margin: 0;
    color: #e2effe;
    font-size: 14px;
    text-transform: uppercase;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details {
    display: inline-block;
    line-height: 1;
    text-align: center;
    width: 36px;
    height: 36px;
    background: #007bff;
    border-radius: 50%;
    margin: 10px 4px 0 4px;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview i,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details i {
    padding-top: 6px;
    font-size: 22px;
    color: #fff;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview:hover,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details:hover {
    background: #3395ff;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview:hover i,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details:hover i {
    color: #fff;
}

#portfolio .portfolio-item .portfolio-wrap:hover {
    background: #003166;
}

#portfolio .portfolio-item .portfolio-wrap:hover .portfolio-info {
    opacity: 1;
}



@keyframes bot-to-top {
    0% {
        bottom: -40px
    }

    50% {
        bottom: 40px
    }
}

@keyframes scale-in {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes rotate-in {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-out {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}
