.pl-6 {
    padding-left: 4.500rem !important;
}

.p-lead,
.p-lead p {
    font-size: 1.375rem;
    font-weight: 300;
    line-height: 1.5;
}

.btn {
    font-size: 1.125rem;
}

.flex-item-center {
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

#home-carousel .carousel-item {
    height: 100%;
}

.carousel-item .carousel-background-image {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
}

.portfolio-detail {
    max-width: 25.375rem;
}

.blog-detail {
    max-width: 38rem;
}

#home-carousel .carousel-item {
    padding-bottom: 7rem;
}

.blog-detail h1,
.blog-detail p,
.blog-detail a {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.blog-detail.move p,
.blog-detail.move a {
    opacity: 1;
    transform: translateY(0px);
    width: auto;
}

.carousel-control-next-icon {
    width: 1.5rem;
    background: url(../images/slide-ar-next-hover.png) no-repeat center center;
    background-size: contain;
    opacity: .4;
}

.carousel-control-prev-icon {
    width: 1.5rem;
    background: url(../images/slide-ar-hover.png) no-repeat center center;
    background-size: contain;
    opacity: .4;
}

.carousel-control-next-icon:hover,
.carousel-control-prev-icon:hover {
    opacity: 1;
}

.blog-date {
    font-size: 4.75rem;
}

.blog-date span {
    font-size: 1.875rem;
}

.blog-meta {
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.blog-detail .blog-meta,
.title-inner,
.blog-detail .p-lead,
.portfolio-detail p,
.portfolio-detail a {
    transform: translateY(2rem);
    transition: all ease .5s;
    opacity: 0;
    position: relative;
}

.active .blog-detail .blog-meta,
.active .title-inner,
.active .blog-detail .p-lead,
.active .portfolio-detail p,
.active .portfolio-detail a {
    transition-delay: 0.1s;
    transform: translateY(0rem);
    opacity: 1;
}

.btn-icon:hover {
    color: #fff;
}

.btn-icon .icon {
    width: 2.750rem;
    height: 2.750rem;
    vertical-align: middle;
    border-radius: 50%;
    margin: 0;
    margin-right: 0.7rem;
    background: #d4b33d url(../images/slide-ar-next-hover.png)no-repeat center;
    background-size: 1.375rem;
}

.btn-icon:hover .icon {
    background: #fff url(../images/ar-right.png)no-repeat center;
    background-size: 1.375rem;
    left: 0;
}

#XMLID_4_ {
    stroke-dasharray: 150;
    stroke-dashoffset: 300;
    fill: none;
    stroke: #fff;
}

.active svg #XMLID_4_ {
    -webkit-animation: draw 15s 1;
    animation: draw 15s 1;
}

@keyframes draw {
    from {
        stroke-dashoffset: 150;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes draw {
    from {
        stroke-dashoffset: 150;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.blog-indicators .container {
    height: auto;
}

.indicator-label {
    font-size: 1.25rem;
    font-weight: 300;
    margin-left: 1rem;
}

.indicator-label label {
    display: block;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.5rem;
    cursor: pointer;
}

.blog-indicators .container {
    justify-content: center !important;
}

.blog-indicators li {
    height: 1px;
    width: 20px;
}

.blog-indicators .active {
    background-color: #d4b33d;
}

.blog-main {
    overflow: hidden;
}

.container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.container .carousel-indicator {
    margin-left: auto;
    margin-right: auto;
    bottom: 0;
}

.blog-indicators .carousel-indicators {
    margin-left: 0;
    margin-right: 0;
}

.blog-indicators .container {
    -ms-flex-pack: justify!important;
    justify-content: space-between!important;
}

.blog-indicators .carousel-indicators {
    bottom: auto;
    top: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.blog-indicators {
    width: 100%;
    margin: 0;
    position: absolute;
    height: 7rem;
    bottom:1vw;
    left: 0;
}

.blog-indicators li {
    width: auto;
    height: auto;
    text-indent: 0;
    background-color: transparent;
    opacity: .4;
    display: flex;
    align-items: center;
}

.blog-indicators .active {
    background-color: transparent;
    opacity: 1;
}

ul.blog-indicators {
    margin: 0;
    bottom: 0;
}

.blog-indicators li::before,
.blog-indicators li::after {
    display: none;
}

@media (min-width: 1200px) {
    .carousel-item .container {
        max-width: 66.14%;
    }
	
}

@media (max-width: 1100px) {
    html {
        font-size: 12px;
    }
    .blog-indicators li svg {
        transform: scale(0.5);
    }
    .indicator-label label {
        font-size: 1rem;
    }
    .blog-indicators li {
        align-items: flex-start;
    }
    .indicator-label {
        font-size: 1rem;
        margin-left: 0
    }
    .blog-indicators .carousel-indicators {
        top: 0;
    }
    .carousel-background-image.layer2 {
        background: url(../images/banner2-ipad.jpg) center !important;
    }
    .carousel-background-image.layer4 {
        background: url(../images/banner3-ipad.jpg) center !important;
    }
	body .carousel-item .carousel-background-image{ background-size:cover !important; }
}

@media(max-width: 991px) {
    html {
        font-size: 14px;
    }
    .blog-indicators {
        padding: 0 40px;
    }
    .portfolio-detail p {
        font-size: 1.5rem;
    }
    .blog-indicators li {
        text-indent: 0;
    }
    .blog-indicators .active,
    .blog-indicators li {
        opacity: 0.5;
        height: auto;
        background: transparent;
        width: auto;
        font-weight: 700;
    }
    .blog-indicators .active {
        opacity: 1
    }
    .blog-indicators li p {
        font-size: 3rem;
        margin: 0;
    }
    .portfolio-detail {
        text-align: center;
        max-width: 100%;
    }
    .carousel-indicators .indicator-label,
    .carousel-indicators svg {
        display: none;
    }
    .blog-detail .position-relative {
        position: static !important;
    }
    .blog-arrows {
        position: fixed;
        bottom: 2.5rem;
        left: 0;
        right: 0;
    }

    .carousel-background-image.layer1 {
    background: url(../images/banner1-ipad-p.jpg) no-repeat top center !important;
    background-size: contain !important;
    }

    .carousel-background-image.layer2 {
    background: url(../images/banner2-ipad-p.jpg) no-repeat top center !important;
    background-size: contain !important;
    }

    .carousel-background-image.layer3 {
    background: url(../images/banner3-ipad-p.jpg) no-repeat top center !important;
    background-size: contain !important;
    }

    .carousel-background-image.layer4 {
    background: url(../images/banner4-ipad-p.jpg) no-repeat top center !important;
    background-size: contain !important;
    }

    .carousel-background-image.layer5 {
    background: url(../images/banner5-ipad-p.jpg) no-repeat top center !important;
    background-size: contain !important;
    }

    .flex-item-center {
        align-items: flex-start;
        padding-top: 10rem;
    }

}

@media all and (max-width: 767px) {

    .flex-item-center {
    padding-top:11rem;
    }
    .portfolio-detail p {
        margin: 4rem 0;
    }
    html {
        font-size: 7.3333px;
    }
    .btn-icon .icon {
        width: 30px;
        height: 30px;
    }
	 .blog-indicators li p{ font-size:5rem; color:#545454; }
	 .blog-indicators li.active p{ color:#fff; }
.blog-main .blog-indicators.animate-bottom {
    padding: 0;
}
.blog-main .blog-indicators.animate-bottom{ margin-bottom:1.4rem; }
.blog-main .blog-indicators.animate-bottom li {
    margin: 0 1.5rem 2rem;
}
    .portfolio-detail p {
        font-size:1.7rem;
    }
    .btn {
        font-size: 1.4rem;
    }
	
    #home-carousel .carousel-item {
        padding-bottom: 2rem;
    }
    html,
    body,
    .canvas,
    main,
    .window-height {
        height: 100%;
    }
    
    .blog-meta.mb-5 {
        margin-bottom: 10rem !important;
    }
    .p-lead.pl-6 {
        padding-left: 3rem !important;
    }
    .social-nav li {
        margin-right: 2.5rem;
    }
    .slick-next,
    .slick-prev {
        height: 3.6rem !important;
        width: 3.6rem !important;
        background-size: 1.8rem !important;
        top: -4rem !important;
    }
    .menu-logo {
        width: 18.3rem;
    }
    .navbar-toggle.navBtnActive {
        top: 2.4rem;
        right: 1.5rem;
    }
    #bs-navbar {
        padding: 5.8rem 4.3rem 4.3rem 4.3rem;
    }
    .portfolio-detail a {
        display: block;
    }
    .btn {
        font-size: 2rem
    }
}

@media (max-width: 575px) {
    .blog-meta .blog-arrows {
        display: none !important;
    }
}

@media(max-width:36px){
	.portfolio-detail p{ font-size:1.6em; }
	}