/**
 * 9.0 - Main file
 * 	9.1 - main
 */

// ---------------------------------------------------------
// Normalize
// ---------------------------------------------------------
// img {
// 	border: 0;
// 	max-width: 100%;
// }

// ---------------------------------------------------------
// Scaffolding
// ----------------------------------------------------------
// .site {
// 	.clearfix();
// 	position: relative;
// }

body {
    &.boxed-layout {
        background-color: @body-bg;
        background-image: url("@{body-bg-image}");
        background-position: @body-bg-align;
        background-repeat: @body-bg-repeat;
        background-attachment: @body-bg-attachment;
        .background-cover(@body-bg-cover );

        .site {
            margin: 0 auto;
            position: relative;
            padding: 0px;
            background-color: @site-background;
            // border: 1px solid @site-border-color;
            // border: 1px solid @site-border-color-rgba;
            .box-shadow(@site-box-shadow );

            width: @site-width;
            max-width: unit(@site-max-width, px);
        }
    }

    @media (min-width: @grid-float-breakpoint) {
        &.navbar-fixed-left-layout {
            padding-left: @navbar-side-width;
        }

        &.navbar-fixed-right-layout {
            padding-right: @navbar-side-width;
        }
    }

    &.nice-scroll {
        position: relative;
        padding-right: @nice-scroll-width  !important;

        .nicescroll-rails {
            background: #666;
            z-index: 9001 !important;
        }
    }
}

.noo-sidebar {
    &.sidebar-right {
        float: right;
    }

    &.sidebar-left {
        float: left;
    }

    @media (max-width: @screen-sm-max) {

        &.sidebar-right,
        &.sidebar-left {
            float: none;
        }
    }
}

.noo-main {
    &.left-sidebar {
        float: right;

        @media (max-width: @screen-xs-max) {
            float: none;
        }
    }
}

.noo-main {

    //padding-top: @grid-gutter-width;
    @media (min-width: @screen-md-min) {
        //padding-top: 80px;
    }

    .home-classic & {
        padding-top: 0;
    }
}

.noo-sidebar {
    padding-top: @grid-gutter-width;

    @media (min-width: @screen-md-min) {
        padding-top: 40px;
    }

    .home-classic & {
        padding-top: 0;
    }
}

.main-content {
    >.row {
        position: relative;
    }
}

.noo-sidebar-line {
    display: none;
}

.wp-caption {
    background: transparent;
    border: 0;
    max-width: 100%;
    padding: @grid-gutter-width @grid-gutter-width @grid-gutter-width 0;

    @media (max-width: @screen-xs-max) {
        padding: 0;
    }

    &.alignright {
        padding: @grid-gutter-width 0 @grid-gutter-width @grid-gutter-width;

        @media (max-width: @screen-xs-max) {
            padding: 0;
        }
    }

    .wp-caption-text {
        text-align: center;
        margin-top: 10px;
    }
}

.gallery-caption {
    margin-left: 0;
    margin-bottom: 10px;
    padding: 0px 10px;
}

.bypostauthor {
    margin: 0;
    padding: 0;
}

#wpstats {
    display: none;
}

.sticky {
    margin-bottom: @grid-gutter-width;
}

.alignleft {
    float: left;
    margin-right: 15px;
}

.alignright {
    float: right;
    margin-left: 15px;
}

.aligncenter {
    display: block;
    margin: 15px auto;
}

.noo-menu {
    margin-right: auto !important;
    margin-left: auto !important;
}

// Style Our Services
//-----------------------------
.our-service {
    .service-icon {
        i {
            width: 100px !important;
            height: 100px !important;
            line-height: 80px !important;
            border-radius: 50%;
            border: 10px solid rgba(0, 0, 0, 0.15) !important;
            -webkit-transition: 0.4s;
            -o-transition: 0.4s;
            transition: 0.4s;
            background: rgba(255, 255, 255, 0.15);
        }

    }

    &:hover {
        .service-icon i {
            border: 10px solid rgba(0, 0, 0, 0.3) !important;
            background: rgba(240, 231, 151, 0.3);
        }

        a {
            border-bottom: 1px solid #fff !important;
        }
    }
}


// our customer recomment
//------------------------
.testimonial-desc {
    font-size: @font-size-base + 8;
    font-style: italic;
    font-weight: 300;
    width: 90%;
    text-align: center;
    margin: @grid-gutter-width auto (@grid-gutter-width / 2) auto;
}

.our-customer-info {
    text-align: center;

    .custom-desc {
        text-align: left;
        color: #bbbbbb;
        font-style: italic;
        font-weight: 300;

        h4 {
            font-style: normal;
            font-weight: bold;
            font-size: @font-size-large;
            margin-bottom: 0;
        }
    }
}

// .noo-slider .caroufredsel_wrapper .sliders .slide-item .our-customer-info img {
// 	display: inherit;
// 	max-width: 100%;
// 	width: auto;
// 	float: right;
// 	padding-top: @grid-gutter-width / 2;
// }
// .noo-slider.testimonial-slide {
// 	.slider-indicators {
// 		left: 50%;
// 		transform: translateX(-50%);
// 		-webkit-transform: translateX(-50%);
// 		right: auto;
// 		top: 0;
// 		a {
// 			color: #d6d6d6;
// 			border: 2px solid #d6d6d6;
// 			background: #d6d6d6;
// 		}
// 		a.selected {
// 			border: 2px solid @brand-primary;
// 			background: @brand-primary;
// 		}
// 	}
// }

// Style slideshow Homepage
//--------------------------

.slide-home-info {
    position: absolute;
    left: 0;
    top: 50%;
    background: rgba(0, 0, 0, 0, 4);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    min-height: 270px;
}


@-webkit-keyframes inpulse {
    0% {
        -webkit-transform: scale(1, 1);
        opacity: 1;
    }

    50% {
        -webkit-transform: scale(.9, .9);
        opacity: .8;
    }

    100% {
        -webkit-transform: scale(1, 1);
        opacity: 1;
    }
}

@-moz-keyframes inpulse {
    0% {
        -moz-transform: scale(1, 1);
        opacity: 1;
    }

    50% {
        -moz-transform: scale(.9, .9);
        opacity: .8;
    }

    100% {
        -moz-transform: scale(1, 1);
        opacity: 1;
    }
}

@-o-keyframes inpulse {
    0% {
        -o-transform: scale(1, 1);
        opacity: 1;
    }

    50% {
        -o-transform: scale(.9, .9);
        opacity: .8;
    }

    100% {
        -o-transform: scale(1, 1);
        opacity: 1;
    }
}

@keyframes inpulse {
    0% {
        transform: scale(1, 1);
        opacity: 1;
    }

    50% {
        transform: scale(.9, .9);
        opacity: .8;
    }

    100% {
        transform: scale(1, 1);
        opacity: 1;
    }
}

.inpulse {
    -webkit-animation: inpulse 4s infinite;
    -moz-animation: inpulse 4s infinite;
    -o-animation: inpulse 4s infinite;
    animation: inpulse 4s infinite;
}


[data-parallax="1"].parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-attachment: fixed;
    background-position: 50% 0;
    background-repeat: repeat;
    .bg-cover ();

    @media (max-width: @screen-sm-min) {
        &[data-parallax_no_mobile="0"] {
            background-position: 50% 50% !important;
            background-attachment: scroll;
        }
    }

    // body.boxed-layout & {
    // 	z-index: 0;
    // }
}

.noo-call-to-action {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 60px;
    padding-right: 60px;
    margin-left: 0;
    margin-right: 0;

    @media (max-width: @screen-xs-max) {
        padding-left: @grid-gutter-width;
        padding-right: @grid-gutter-width;

        .btn-thirdary {
            padding: 10px @grid-gutter-width  !important;
        }
    }
}


// Style homepage
//------------------
.home {
    .noo-main {
        padding-top: 0;
    }
}

.wp-block-cover-image p:not(.has-text-color),
.wp-block-cover-image h1:not(.has-text-color),
.wp-block-cover-image h2:not(.has-text-color),
.wp-block-cover-image h3:not(.has-text-color),
.wp-block-cover-image h4:not(.has-text-color),
.wp-block-cover-image h5:not(.has-text-color),
.wp-block-cover-image h6:not(.has-text-color),
.wp-block-cover-image .wp-block-subhead:not(.has-text-color),
.wp-block-cover p:not(.has-text-color),
.wp-block-cover h1:not(.has-text-color),
.wp-block-cover h2:not(.has-text-color),
.wp-block-cover h3:not(.has-text-color),
.wp-block-cover h4:not(.has-text-color),
.wp-block-cover h5:not(.has-text-color),
.wp-block-cover h6:not(.has-text-color),
.wp-block-cover .wp-block-subhead:not(.has-text-color) {
    color: @white;
}

.has-background {
    padding: 20px;
}

.alignnone,
.aligncenter,
.alignleft,
.alignright,
.alignwide {
    clear: both;
}

[class*="__inner-container"]>*:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) {
    margin-left: auto;
    margin-right: auto;
}