html {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

a.fff:hover, a.fff:focus {
    color: #fff;
}

#content {
    overflow: visible;
}

.header-bar {
    background-color: #173d91;
}

.header-bar-phone {
    font-size: 24px;
    color: #fff;
    line-height: 33px;
    padding: 10px 0;
}

.header-bar-phone i {
    background-image: url(../images/phone_icon.png);
    background-size: cover;
    height: 33px;
    width: 38px;
    margin-right: 5px;
    float: right;
}

.bold {
    font-weight: 600;
}

.italic {
    font-style: italic;
}

.navbar-brand {
    background-image: url("../images/primaria_logo.png");
    background-size: contain;
    width: 76%;
    background-repeat: no-repeat;
    margin-top: 20px;
}

.navbar-header {
    padding: 15px;
    width: 55%;
}

.navbar-nav {
    margin-top: 20px;
    padding: 15px 0;
}

.navbar-default {
    background-color: transparent;
    border-color: transparent;
}

.navbar-default .navbar-nav > li > a {
    color: #1a171b;
    font-size: 18px;
}

.selectorHeader {
    color: #fff;
    display: inline-block;
    height: 55px;
    line-height: 55px;
    margin-right: 15px;
    font-size: 18px;
    padding: 0 15px;
}

.selectorHeader:hover, .selectorHeader:focus {
    color: #fff;
}

.headerActive {
    background-color: #e30613;
}

.index_image-1 {
    background-image: url("../images/index_bg_1.jpg");
    height: 465px;
    width: 100%;
    background-size: cover;
    padding-top: 15px;
}

.index_image-1 p {
    position: absolute;
    top: -60px;
    right: 30px;
    color: #173d91 !important;
    text-shadow: none;
    font-weight: 400;
    font-size: 18px !important;
}

.block {
    display: block !important;
}

.cfff {
    color: #fff !important;
}

.c67696a {
    color: #67696a !important;
}

.cc51c1c {
    color: #c51c1c !important;
}

.ce30613 {
    color: #e30613 !important;
}

.c635f5f {
    color: #635f5f !important;
}

.c173d91 {
    color: #173d91 !important;
}

.bge30613 {
    background-color: #e30613;
}

.bg173d91 {
    background-color: #173d91;
}

.fs14 {
    font-size: 14px !important;
}

.fs16 {
    font-size: 16px !important;
}

.fs18 {
    font-size: 18px !important;
}

.fs20 {
    font-size: 20px !important;
}

.fs24 {
    font-size: 24px !important;
}

.fs30 {
    font-size: 30px !important;
}

.fs36 {
    font-size: 36px !important;
}

.fs48 {
    font-size: 48px !important;
}

.mTop162 {
    margin-top: 162px;
}

.mTop136 {
    margin-top: 136px;
}

.lh1 {
    line-height: 1 !important;
}

.lh14 {
    line-height: 1.4 !important;
}

.shadow {
    text-shadow: #000 1px 1px 10px;
}

.selector h2 {
    font-size: 14px;
    color: #fff;
    margin: 0;
}

.selector h3 {
    font-size: 18px;
    color: #fff;
    margin: 0;
}

.selector-box {
    background-color: #e30613;
    padding: 10px;
}

.selector p {
    font-size: 14px !important;
    margin: 0 !important;
    color: #fff !important;
}


/* DESKTOP DEFS */
.desktopElement {
    display: inherit !important;
}

.mobileElement {
    display: none !important;
}

.selector {
    width: 780px;
    margin: auto;
    margin-top: -250px;
    position: relative;
    margin-bottom: 140px;
}

.selector h2 {
    color: #fff;
    font-size: 18px;
    margin: 0;
    margin-bottom: 20px;
    font-weight: 400;
}

.selector h3 {
    font-size: 30px;
    color: #fff;
    margin: 0;
    font-weight: 400;
}

.selector p {
    font-size: 18px !important;
    margin: 0 !important;
}

.footer {
    padding-bottom: 20px;
    box-shadow: 1px 3px 4px #f8f8f8;
    margin-bottom: 30px;
}

.box-1 {
    padding: 30px;
    min-height: 305px;
}

.box-2 {
    background-image: url(../images/img_ambu.png);
    background-size: contain;
    background-color: #173d91;
    background-repeat: no-repeat;
    padding: 30px;
}

.box-3 {
    background-image: url(../images/img_nosotros.png);
    background-size: contain;
    background-color: #575757;
    background-repeat: no-repeat;
    padding: 30px;
}

.box-4 {
    background-image: url(../images/img_4x4.png);
    background-size: cover;
    background-color: #fff;
    background-repeat: no-repeat;
    height: 385px;
    padding: 30px;
    position: relative;
}

.box-4 h3 {
    position: absolute;
    bottom: 0;
}

.box-5 {
    background-image: url(../images/img_traslados.png);
    background-size: cover;
    background-color: #fff;
    background-repeat: no-repeat;
    height: 385px;
    padding: 30px;
    position: relative;
}

.box-5 h3 {
    position: absolute;
    bottom: 0;
}

.mBottom0 {
    margin-bottom: 0;
}

ul {
    list-style-position: inside;
}

.img_servicios {
    background-image: url("../images/img_servicios.png");
    background-size: 46px 46px;
    height: 46px;
    width: 46px;
    display: block;
}

#contacto {
    background-image: url("../images/img_contacto.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-position: center 50px;
}

#contacto .wrapperContacto {
    width: 750px;
    margin: auto;
    margin-top: -20px;
    position: relative;
    background-color: #f2f1f1;
    padding: 30px;
}

.button.button-border {
    border: none;
    background-color: #173d91;
    color: #fff;
}

.button.button-border:not(.button-fill):hover {
    background-color: #173d91;
}

.wrapperMoreInfo {
    width: 750px;
    margin: 25px auto;
    padding: 30px 0;
}

.form-control {
    height: 50px;
    background: #fff;
}

.wrapperMenuFooter {
    background-color: #e5e5e4;
}

.wrapperMenuFooter a.selectorHeader {
    color: #5c5c59;
}

.wrapperMenuFooter a.selectorHeader.headerActive {
    color: #fff;
}

.wrapperMenuFooter .social {
    color: #1a171b;
    font-size: 18px;
    line-height: 55px;
    display: table;
    height: 55px;
}

.wrapperMenuFooter .social span {
    display: table-cell;
    vertical-align: middle;
    padding-right: 10px;
}

.wrapperMenuFooter .social i {
    font-size: 30px;
    color: #3c5c9a;
    display: table-cell;
}

/*+ SLIDER */
.anim-slider{background-color: #fff;}
.anim-slide{opacity: 0;}
.anim-slide-this{opacity: 1;}

li.anim-slide:nth-of-type(1){background:#fff url("../images/personas_slider_1.jpg") 100%/cover;}
li.anim-slide:nth-of-type(2){background:#fff url("../images/personas_slider_2.jpg") 100%/cover;}
li.anim-slide:nth-of-type(3){background:#fff url("../images/personas_slider_3.jpg") 100%/cover;}

li.anim-slide1:nth-of-type(1){background:#fff url("../images/empresas_slider_1.jpg") 100%/cover;}
li.anim-slide1:nth-of-type(2){background:#fff url("../images/empresas_slider_2.jpg") 100%/cover;}
li.anim-slide1:nth-of-type(3){background:#fff url("../images/empresas_slider_3.jpg") 100%/cover;}
li.anim-slide1:nth-of-type(4){background:#fff url("../images/empresas_slider_4.jpg") 100%/cover;}

li.anim-slide:nth-of-type(1)>h1
{
    position: static;
    display: inline-block;
    margin: 0;
    font-size:40px;
    padding: 0px 25px;
}
li.anim-slide h1.pos1 {
    background-color: transparent;
    color: #173d91;
    width: 25%;
    top: 10%;
    right: 15%;
    position: absolute;
    font-size: 36px;
    line-height: 1.1;
    text-align: left;
}
li.anim-slide h1.pos1#looks1,
li.anim-slide h1.pos1#looks2 {
    background-color: transparent;
    color: #fff;
    top: 20%;
}
li.anim-slide h1.pos2 {
    background-color: transparent;
    color: #070707;
    width: 25%;
    top: 50%;
    right: 15%;
    position: absolute;
    font-size: 24px;
    line-height: 1.1;
    text-align: left;
}
li.anim-slide h1.pos2#amazing1,
li.anim-slide h1.pos2#amazing2 {
    color: #fff;
    top: 45%;
}
li.anim-slide .asociate {
    background-color: #c51c1c;
    color: #fff;
    width: 25%;
    top: 75%;
    right: 15%;
    position: absolute;
    font-size: 24px;
    border: none;
    text-align: center;
}
li.anim-slide h1.pos3{
    background-color:transparent;
    color:#fff;
    background-image: url(../images/precio_bg.png);
    width: 182px;
    height: 182px;
    background-size: cover;
    top: 20%;
    right: 42%;
    position: absolute;
    padding-top: 60px;
}

li.anim-slide h1.pos3 span {
    position: relative;
}

li.anim-slide.anim-slide1 h1.pos1 {
    top: 21%;
}

li.anim-slide.anim-slide1 h1.pos2 {
    top: 56%;
    font-size: 19px;
}

li.anim-slide.anim-slide1 h1.pos1#looks1 {
    top: 35%;
}

li.anim-slide.anim-slide1 h1.pos2#amazing2 {
    top: 65%;
}

li.anim-slide.anim-slide1 h1.pos1#looks3 {
    top: 32%;
}

.bx-wrapper {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
}

.cobertura {
    background-color: #173d91;
}

.cobertura .container {
    background-image: url(../images/img_cobertura.jpg);
    height: 620px;
    background-size: cover;
    background-repeat: no-repeat;
}

.servicios_row_1 {
    background-image: url(../images/servicios_bg_1.jpg);
    padding-bottom: 245px;
    background-repeat: no-repeat;
    background-position: bottom center;
}

.institucional_row_1 {
    background-image: url(../images/institucional_bg_1.jpg);
    padding-bottom: 290px;
    background-repeat: no-repeat;
    background-position: bottom center;
}

.institucional_row_4 {
    background-image: url(../images/institucional_bg_2.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    min-height: 397px;
    padding-top: 155px;
}

.institucional_row_6 {
    background-image: url(../images/institucional_bg_3.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    min-height: 369px;
    padding-top: 115px;
}

.servicios_row_3 {
    background-color: #173d91;
}

.servicios_row_4 {
    background-image: url(../images/servicios_bg_2.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 369px;
}

#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 30px;
    background: #f5f5f5;
    color: #444;
    cursor: pointer;
    border: 0;
    border-radius: 2px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
}
#back-to-top:hover {
    background: #e9ebec;
}
#back-to-top.show {
    opacity: 1;
}

a.asociate {
    background-color: #c51c1c;
    color: #fff;
    width: 290px;
    font-size: 30px;
    border: none;
    text-align: center;
    display: block;
    margin: auto;
    margin-bottom: -45px;
    z-index: 9999999999;
    position: relative;
    margin-top: 30px;
}

/* MOBILE DEFS */
/*
and (orientation: portrait)
and (orientation: landscape)
*/
@media all and (min-device-width : 1024px) and (max-device-width : 1024px) and (min-device-height : 1366px) and (max-device-height : 1366px) and (min-width: 1366px) and (max-width: 1366px) and (orientation: landscape) {
    .desktopElement {
        display: none !important;
    }

    .mobileElement {
        display: block !important;
    }

}

@media all and (min-device-width : 1024px) and (max-device-width : 1024px) and (min-device-height : 1366px) and (max-device-height : 1366px) and (min-width: 1024px) and (max-width: 1024px) and (orientation: portrait) {
    .desktopElement {
        display: none !important;
    }

    .mobileElement {
        display: block !important;
    }

}

@media all and (max-width: 1024px) and (max-height: 768px) and (orientation: landscape) {
    .desktopElement {
        display: none !important;
    }

    .mobileElement {
        display: block !important;
    }

    .box-4 {
        height: 595px;
        background-position: center;
    }
}

@media all and (max-width: 768px) and (max-height: 1024px) and (orientation: portrait) {
    .desktopElement {
        display: none !important;
    }

    .mobileElement {
        display: block !important;
    }

    .index_image-1 {
        background-image: url("../images/index_bg_1_mob.png");
        height: 204px;
    }

    .navbar-header {
        width: auto;
    }

    .navbar-toggle {
        margin-top: 25px;
    }

    #contacto .wrapperContacto, .wrapperMoreInfo {
        width: 100%;
    }

    li.anim-slide:nth-of-type(1){background:#fff url("../images/personas_slider_1_mob.jpg") 100%/cover;}
    li.anim-slide:nth-of-type(2){background:#fff url("../images/personas_slider_2_mob.jpg") 100%/cover;}
    li.anim-slide:nth-of-type(3){background:#fff url("../images/personas_slider_3_mob.jpg") 100%/cover;}

    li.anim-slide.anim-slide1:nth-of-type(1){background:#fff url("../images/empresas_slider_1_mob.jpg") 100%/cover;}
    li.anim-slide.anim-slide1:nth-of-type(2){background:#fff url("../images/empresas_slider_2_mob.jpg") 100%/cover;}
    li.anim-slide.anim-slide1:nth-of-type(3){background:#fff url("../images/empresas_slider_3_mob.jpg") 100%/cover;}
    li.anim-slide.anim-slide1:nth-of-type(4){background:#fff url("../images/empresas_slider_4_mob.jpg") 100%/cover;}

    li.anim-slide h1.pos3 {
        width: 130px;
        height: 130px;
        background-size: cover;
        top: 40%;
        right: 45%;
        padding-top: 35px;
    }

    li.anim-slide h1.pos3 .fs48 {
        font-size: 36px !important;
    }

    li.anim-slide h1.pos1 {
        color: #fff;
        width: 44%;
        top: 47%;
        right: 3%;
        font-size: 18px;
        text-shadow: 1px 1px 1px #000;
    }

    li.anim-slide h1.pos2 {
        display: none;
    }

    li.anim-slide .asociate {
        width: 45%;
        font-size: 20px;
    }

    li.anim-slide h1.pos3#place1 {
        top: 15%;
        right: 15%;
    }

    li.anim-slide h1.pos1#looks1, li.anim-slide h1.pos1#looks2 {
        top: 50%;
        font-size: 24px;
        right: 15%;
    }

    li.anim-slide.anim-slide1 h1.pos1#looks3 {
        top: 73%;
        font-size: 24px;
        right: 10%;
    }

    li.anim-slide.anim-slide1 h1.pos1#looks1 {
        top: 50%;
        right: 10%;
    }

    li.anim-slide.anim-slide1 h1.pos1 {
        top: 58%;
        font-size: 24px;
        right: 15%;
    }
}

@media all and (max-width: 768px) and (orientation: landscape) {
    .desktopElement {
        display: none !important;
    }

    .mobileElement {
        display: block !important;
    }

    .navbar-header {
        width: auto;
    }

    .navbar-toggle {
        margin-top: 25px;
    }

    #contacto .wrapperContacto, .wrapperMoreInfo {
        width: 100%;
    }

    li.anim-slide:nth-of-type(1){background:#fff url("../images/personas_slider_1_mob.jpg") 100%/cover;}
    li.anim-slide:nth-of-type(2){background:#fff url("../images/personas_slider_2_mob.jpg") 100%/cover;}
    li.anim-slide:nth-of-type(3){background:#fff url("../images/personas_slider_3_mob.jpg") 100%/cover;}

    li.anim-slide.anim-slide1:nth-of-type(1){background:#fff url("../images/empresas_slider_1_mob.jpg") 100%/cover;}
    li.anim-slide.anim-slide1:nth-of-type(2){background:#fff url("../images/empresas_slider_2_mob.jpg") 100%/cover;}
    li.anim-slide.anim-slide1:nth-of-type(3){background:#fff url("../images/empresas_slider_3_mob.jpg") 100%/cover;}
    li.anim-slide.anim-slide1:nth-of-type(4){background:#fff url("../images/empresas_slider_4_mob.jpg") 100%/cover;}

    li.anim-slide h1.pos3 {
        width: 130px;
        height: 130px;
        background-size: cover;
        top: 40%;
        right: 45%;
        padding-top: 35px;
    }

    li.anim-slide h1.pos3 .fs48 {
        font-size: 36px !important;
    }

    li.anim-slide h1.pos1 {
        color: #fff;
        width: 44%;
        top: 47%;
        right: 3%;
        font-size: 18px;
        text-shadow: 1px 1px 1px #000;
    }

    li.anim-slide h1.pos2 {
        display: none;
    }

    li.anim-slide .asociate {
        width: 45%;
        font-size: 20px;
    }

    li.anim-slide h1.pos3#place1 {
        top: 15%;
        right: 15%;
    }

    li.anim-slide h1.pos1#looks1, li.anim-slide h1.pos1#looks2 {
        top: 50%;
        font-size: 24px;
        right: 15%;
    }

    li.anim-slide.anim-slide1 h1.pos1#looks3 {
        top: 73%;
        font-size: 24px;
        right: 10%;
    }

    li.anim-slide.anim-slide1 h1.pos1#looks1 {
        top: 50%;
        right: 10%;
    }

    li.anim-slide.anim-slide1 h1.pos1 {
        top: 58%;
        font-size: 24px;
        right: 15%;
    }

}

@media all and (max-width: 736px) and (orientation: landscape) {
    .index_image-1 {
        background-image: url("../images/index_bg_1_mob.png");
        height: 204px;
    }
}

@media all and (max-width: 732px) and (orientation: landscape) {

}

@media all and (max-width: 732px) and (max-height: 412px) and (orientation: landscape) {

}

@media all and (max-width: 667px) and (orientation: landscape) {

}

@media all and (max-width: 667px) and (max-height: 375px) and (orientation: landscape) {

}

@media all and (max-width: 640px) and (orientation: landscape) {
    .desktopElement {
        display: none !important;
    }

    .mobileElement {
        display: block !important;
    }

}

@media all and (max-width: 640px) and (max-height: 360px) and (orientation: landscape) {

}

@media only screen and (max-width: 640px) {
    .selector {
        width: 90%;
        margin: auto;
        margin-top: -55px;
        position: relative;
        margin-bottom: 40px;
        background-color: #e30613;
        padding: 40px;
    }

    .institucional_row_4 {
        background-position: bottom left;
    }
}


@media all and (max-width: 568px) and (orientation: landscape) {

}

@media only screen and (max-width: 414px) {
    .index_image-1 p {
        font-size: 18px !important;
    }

    .index_image-1 p {
        position: relative;
        top: 0;
        right: 0;
        color: #fff !important;
        text-shadow: 1px 1px 1px #000;
        font-weight: 400;
        font-size: 18px !important;
    }

    .selectorHeader {
        margin-right: 1px;
        font-size: 13px;
        padding: 0 5px;
    }

    .header-bar .col-lg-6 {
        width: 50%;
        float: left;
        padding: 0;
    }

    .header-bar-phone {
        padding-top: 10px !important;
    }

    .mTop136 {
        margin-top: 178px;
    }

    .servicios_row_3 h3.margin-top-100 {
        margin-top: 50px;
    }

    .servicios_row_4 h3.fs36 {
        font-size: 30px !important;
    }

    .servicios_row_4 p.fs36 {
        font-size: 24px !important;
    }

    .header-bar-phone span {
        font-size: 13px;
    }

    .wrapperMoreInfo .fs18 {
        font-size: 20px !important;
    }
}

@media all and (max-width: 414px) {
    .desktopElement {
        display: none !important;
    }

    .mobileElement {
        display: block !important;
    }

    .selector h2 {
        font-size: 30px;
    }

    .selector-box {
        border: 2px solid #fff;
    }

    .index_image-1 {
        height: 290px;
    }

    .box-4 {
        height: 260px;
        background-position: bottom center;
    }

    .box-5 {
        height: 260px;
        background-position: right;
    }
}

@media all and (max-width: 414px) and (orientation: portrait) {

}

@media all and (max-width: 375px) and (orientation: portrait) {

}

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

}

@media all and (max-width: 360px) {
    .index_image-1 {
        height: 255px;
    }
}

@media all and (max-width: 320px) and (orientation: portrait) {

}

@media all and (max-width: 320px) {
    .index_image-1 {
        height: 225px;
    }

    .box-4 {
        height: 260px;
        background-position: bottom center;
    }

    .box-5 {
        height: 260px;
        background-position: right;
    }
}
