.container{
    max-width:1150px;
    width:100%;
    margin:0 auto;
    padding:0 15px;
}

.icon-square{
    @include flexbox();
    @include align-items(center);
    @include justify-content(center);
    border-radius:2px;
    height:40px;
    width:40px;
}

.icon-circle{
    @include flexbox();
    @include align-items(center);
    @include justify-content(center);
    border-radius:50%;
    height:50px;
    width:50px;
}

.form{
    .form-control{
        width: 100%;
        height: 50px;
        border:1px solid $gray;
        border-radius: 3px;
        margin-bottom:15px;
        padding-left: 15px;
        font-size: 1.4rem;
        font-weight: 400;
        color:$black-light;
        font-family: 'Roboto', sans-serif;
        @include placeholder(){
            font-size: 1.4rem;
            font-weight: 400;
            color:$black-light;
            font-family: 'Roboto', sans-serif;
        }
        &.error{
            border-color:red;
        }
    }
    textarea{
        padding-top:15px;
        min-height: 80px;
    }
    .select {
        position: relative;
        display: block;
        width: 100%;
        height: 50px;
        overflow: hidden;
        margin-bottom:15px;
        select {
            -webkit-appearance: none;
            -moz-appearance: none;
            -ms-appearance: none;
            appearance: none;
            outline: 0;
            box-shadow: none;
            border-radius: 3px;
            border:1px solid $gray;
            background: $white;
            background-image: none;
            &.error{
                border-color:red;
            }
        }
        select {
            width: 100%;
            height: 50px;
            margin: 0;
            padding: 0 0 0 15px;
            color: $black-light;
            font-size: 1.4rem;
            font-weight: 400;
            color:$black-light;
            font-family: 'Roboto', sans-serif;
            cursor: pointer;
            &::-ms-expand {
                display: none;
            }
        }        
        &:after {
            font-family: 'fontello';
            content: '\e805';
            position: absolute;
            top: 16px;
            right: 15px;
            pointer-events: none;
            @include transition();
            color: $yellow;
        }
    }

    label.error {
        display: none !important;
    }
}

.btn-default{
    @include flexbox();
    @include align-items(center);
    @include justify-content(space-between);
    @include transition();
    width: 100%;
    height: 50px;
    border-radius: 3px;
    border-color:transparent;
    font-size: 1.4rem;
    color:$black;
    padding:0 20px;
    letter-spacing: 1px;
}

.media-default{
    margin-bottom:50px;
    h3{
        font-weight: 400;
        font-size: 3.2rem;
        color:$black;
        margin-bottom: 50px;
    }
    .item{
        @include flexbox();
        margin-bottom:40px;
        .icon-circle{
            background:$yellow;
            font-size: 5rem;
            color: $white;
            margin-right: 20px;
            height: 50px;
            @include flex-basis(50px);
        }
        .media-body{
            width:calc(100% - 70px);
        }
        h4{
            font-weight: 500;
            font-size: 2rem;
            color:$black;
            margin-bottom:10px;
        }
        p{
            font-weight: 400;
            font-size: 1.6rem;
            color:#898989;
            margin-bottom:20px;
            font-family: 'Roboto', sans-serif;
            line-height: 1.4
        }
        a{
            font-size: 1.4rem;
            color:$black;
            i{
                @include transition();
                color:$yellow;
                margin-left: 20px;
            }
            &:hover{
                color:$yellow;
                i{
                    margin-left: 30px;
                }
            }
        }
    }
    .more{
        @include justify-content(center);
        display: none;
        background: $yellow;
        color: $black;
        margin-bottom:30px;
    }
}

.highlight-two{
    @include flexbox();
    position: relative;
    margin-bottom: 50px;
    section{
        @include flexbox();
        @include align-items(center);
        width:50%;
        height: 460px;
        .text{
            max-width:calc(100% - 200px);
            h2{
                font-size: 3.2rem;
                font-weight: 500;
                margin-bottom: 20px;
            }
            p{
                font-size:1.6rem;
                font-family: 'Roboto', sans-serif;
                line-height: 1.5
            }
            .btn-default{
                margin-top:40px;
            }
        }
        &.first{
            background: $black url('../img/layout/mask-manutencao-de-servidores.png') no-repeat center;
            padding-left:50px;
            h2{
                color:$yellow
            }
            .btn-default{
                background: $yellow;
                max-width: 180px;
                color:$black;
            }
        }
        &.last{
            @include justify-content(flex-end);
            background: $yellow url('../img/layout/mask-cabeamento-estruturado.png') no-repeat center;
            h2{
                color:$black;
            }
            .text{
                padding-right: 50px;
                p{
                    color: $white;
                }
            }
            .btn-default{
                background: $black;
                color:$white;
                max-width: 180px;
            }
        }
    }
    img{
        position: absolute;
        top:-73px;
        left:50%;
        transform:translate(-50%, 0);
    }
}

.get-a-quote{
    @include flexbox();
    padding:40px;
    background:$yellow;
    border-radius: 2px;
    position: relative;
    margin-top: 120px;
    margin-bottom: 50px;
    article{
        @include flexbox();
        @include align-items(center);
        @include justify-content(space-between);
        width: calc(100% - 330px)
    }
    h5{
        font-size: 2.2rem!important;
        color: $black!important;
        margin-bottom: 10px;
    }
    p{
        font-size: 1.4rem!important;
        color: $white!important;
    }
    .btn-default{
        background: $white;
        color: $black;
        max-width: 180px;
        margin: 0 60px;
    }
    img{
        position: absolute;
        bottom:0px;
        right: 10px;
    }
}

.page{
    padding:50px 0;
    .text{
        h1{
            font-size: 3.2rem;
            color:$black;
            font-weight: 500;
            margin-bottom:40px;
        }
        p{
            font-size: 2.4rem;
            font-weight: 400;
            font-family: 'Roboto', sans-serif;
            color:#666666;
        }
    }
}

.talk-to-experts{
    padding:0 15px;
    form{
        position: relative;
        padding:20px;
        background:$white;
        border-radius: 2px;
        h2{
            text-transform: uppercase;
            color:$yellow;
            font-weight: 500;
            font-size: 1.2rem;
            margin-bottom: 10px;
        }
        h1{
            font-size: 2rem;
            font-weight: 400;
            color:$black;
            margin-bottom:13px;
        }
        .btn-default{
            background: $yellow;
            &:hover{
                background: $black;
                color:$white;
            }
        }
    }
}

.accordion{
    .accordion-toggle{
        @include transition();
        @include flexbox();
        @include align-items(center);
        @include justify-content(space-between);
        padding:30px 0;
        border-top:1px solid #E2E2E2;
        font-size: 2rem;
        font-weight: 500;
        cursor: pointer;
        .action{
            display: block;
            width: 52px;
            height: 52px;
            border:1px solid #E2E2E2;
            border-radius: 50%;
            position: relative;
            margin-left: 20px;
            @include transition();
            &:after, &:before{
                content:'';
                display: block;
                background: #E2E2E2;
                position: absolute;
                top:50%;
                left: 50%;
                transform: translate(-50%, -50%);
                @include transition();
            }
            &:after{
                width: 18px;
                height: 4px;
                border-radius: 20px;
                background: #E2E2E2;
            }
            &:before{
                height: 18px;
                width: 4px;
                border-radius: 20px;
            }
        }
        &.active{
            color:$black-dark;
            .action{
                &:after{
                    background: $black-dark;
                }
                &:before{
                    height: 0;    
                }
            }
        }
    }
    .accordion-content{
        display: none;
        padding-bottom:30px;
        h3{
            font-size: 1.6rem;
            color:$black-dark;
            font-weight: 500;
            margin-bottom:10px;
        }
        &.active{
            display: block;
        }
        ul{
            list-style: disc;
            li{
                color:#666666;
                font-size: 16px;
                display: block;
                font-family: 'Roboto', sans-serif;
                margin-bottom:10px;
                &:before{
                    content:'';
                    display: block;
                    width: 5px;
                    height: 5px;
                    background: #666666;
                    border-radius: 50%;
                    float: left;
                    margin:8px 8px 0 0;
                }
            }
        }
    }
}

.related{
    width: 100%;
    padding-top:30px;
    border-top:1px solid $gray-light;
    margin-top: 80px;
    h2{
        font-size:3.2rem;
        font-weight: 500; 
        color:$black;
        margin-bottom:30px;
    }
    .item{
        h5{
            font-size: 1.8rem;
            color:$black-dark;
            font-weight: 500;
            margin-bottom:20px;
        }
        img{
            margin-bottom: 20px;
        }
        span{
            font-size: 1.4rem;
            color:$black-dark;
        }
        i{
            @include transition();
            color:$yellow;
            margin-left: 20px;
        }
        &:hover{
            color:$yellow;
            i{
                margin-left: 30px;
            }
        }
    }
    .owl-dots{
        width: 100%;
        text-align: center;
        margin-top:50px;
        .owl-dot{
            display: inline-block;
            margin-right:10px;
            span{
                display: block;
                width:14px;
                height: 14px;
                border:2px solid $black;
                border-radius: 50%;
                @include transition();
            }
            &.active{
                span{
                    background:$gray-light;
                    border-color:$gray-light;
                }
            }
            &:last-child{
                margin:0;
            }
        }
    }
}


.map-wrap {
    position: relative;
    float: left;
    width: 100%;
    overflow: hidden;
    #map {
        position: relative;
        float: left;
        width: 100%;
        height: 450px;
        margin-bottom: 80px;
        display: block;
    }

    .maps-content {
        position: absolute;
        right: 40px;
        bottom: 80px;
        box-sizing: border-box;
        width: 300px;
        background: $black;
        padding: 30px 30px 0 30px;
        color: white;
        font-size: 16px;
        line-height: 1.4;
        a {
            display: block;
            padding: 20px 0;
            color: $yellow;
            i {
                float: right;
            }
        }
    }
}

.loading{
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    background: #fff;
    opacity: 0.8;
    z-index: 9;
    display: none;
    span {
        display: block;
        width: 100px;
        height: 100px;
        background: url(../img/svg/loading.svg);
        background-size:100%;
        -webkit-animation-name: spin;
        -webkit-animation-duration: 4000ms;
        -webkit-animation-iteration-count: infinite;
        -webkit-animation-timing-function: linear;
        -moz-animation-name: spin;
        -moz-animation-duration: 4000ms;
        -moz-animation-iteration-count: infinite;
        -moz-animation-timing-function: linear;
        -ms-animation-name: spin;
        -ms-animation-duration: 4000ms;
        -ms-animation-iteration-count: infinite;
        -ms-animation-timing-function: linear;
        animation-name: spin;
        animation-duration: 4000ms;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
        position: absolute;
        top: 50%;
        left: 50%;
        margin:-50px;
    }
    
    @-ms-keyframes spin {
        from {
            -ms-transform: rotate(0deg);
        }
        
        to {
            -ms-transform: rotate(360deg);
        }
    }
    
    
    @-moz-keyframes spin {
        from {
            -moz-transform: rotate(0deg);
        }
        
        to {
            -moz-transform: rotate(360deg);
        }
    }
    
    
    @-webkit-keyframes spin {
        from {
            -webkit-transform: rotate(0deg);
        }
        
        to {
            -webkit-transform: rotate(360deg);
        }
    }
    
    
    @keyframes spin {
        from {
            transform: rotate(0deg);
        }
        
        to {
            transform: rotate(360deg);
        }
    }
}

@include breakpoint(870px){
    .page{
        padding:30px 0;
    }
    .media-default{
        margin-bottom: 0;
        .item{
            .icon-circle{
                font-size: 6rem;
            }
        }
    }
    .highlight-two{
        @include flex-wrap(wrap);
        margin-bottom: 0;
        section{
            width: 100%;
            height: auto;
            padding:50px;
            margin-bottom:30px;
            .text{
                max-width: 100%;
                padding-right: 0!important;
            }
        }
        img{
            display: none;
        }
    }
}

@include breakpoint(768px){
    .get-a-quote{
        margin-top: 0;
        img{
            display: none;
        }
        article{
            width: 100%;
        }
        .btn-default{
            margin:0 0 0 30px;
        }
    }
    .related{
        .container{
            padding-right: 0;
        }
        .owl-carousel{
            .owl-stage{
                padding-left: 0!important;
            }
        }
    }
}

@include breakpoint(580px){
    .media-default{
        .more{
            @include flexbox();
        }
    }
    .get-a-quote{
        margin-bottom: 30px;
    }

    .map-wrap{
        float: none;
        height: 530px;
        .maps-content{
            position: relative;
            right: 0;
            width: 100%;
            float: left;
        }
        #map{
            margin-bottom:0;
        }
    }
}

@include breakpoint(375px){
    .get-a-quote{
        article{
            @include flex-wrap(wrap);
        }
        .btn-default{
            margin:30px 0 0 0;
        }
    }
}