/*
Theme Name: Tangerine
Theme URI: http://www.tangerinecomunicacion.com
Author: Iván Burgos
Author URI: http://tangerinecomunicacion.com/
Description: Tema a medida para Tangerine Comunicación
Version: 1.0
Text Domain: tangerine
*/
 
@font-face {
    font-family: 'Commissioner';
    src: url('fonts/Commissioner-200.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Commissioner';
    src: url('fonts/Commissioner-300.woff2') format('woff2');

    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #ffffff;
    font-family: "Commissioner", Arial, sans-serif;;
    font-weight: 300;
    position: relative;
    font-size: 16px;
}

body.admin-bar,
body.admin-bar section.logo {
   top: 30px;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #D12F16;
    text-decoration: underline;
}
.entry-content  ul{
    padding-left: 35px !important;
}
.fondo-orange a,
.fondo-orangeOscuro a {
    color: #fff;
}

.fondo-orange a:hover,
.fondo-orange a:focus,
.fondo-orangeOscuro a:hover,
.fondo-orangeOscuro a:focus {
    color: #000;
}
p{
    margin-bottom: 16px;
}
nav a {
    text-transform: uppercase;
    font-size: 120%;
}

.fondo-orange {
    background-color: #D12F16;
}

.fondo-orangeOscuro {
    background-color: #D12F16;
}
#slider-home img {
	object-fit: contain;
    object-position: center;
    max-height: 60vh;
    margin-top: 40px;
    width: 100%;
    margin-bottom: 40px;
}
.home section h2 {
    color: #fff;
    font-size: 340%;
    font-weight: 100;
    line-height: 90%;
    margin: 0px 0 30px;
}
.home section.servicios h2{
    color:#D12F16;
}

.mt-10 {
    margin-top: 10px;
}

.pl-20 {
    padding-left: 20px;
}

h3#principal {
    bottom: -13px;
    color: #D12F16;
    font-weight: 100;
    font-size: 90px;
    margin: 0;
    position: absolute;
    text-transform: uppercase;
    width: 100%;
    z-index: 99;
    line-height: 90px;

}

h3#principal .container {
    padding: 0 108px 0 5px;
}

h1 {
    color: #D12F16;
    font-weight: 100;
    font-size: 420%;
    margin: 48px 0 32px;
    text-transform: uppercase;
}
.home h1{
    margin-bottom: -15px;
}

.navbar-nav > li {
    float: left;
    font-size: 90%;
}



#slider-home .item {
    background-color: white;
}

#slider-home,
.owl-item {
    overflow: hidden;
    position: relative;
}
.item-video{
    padding: 0px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}
.item-video video{
    max-height: 60vh;
    width: 100%;
}
.owl-item  .text{
    font-weight: 300;
    color:rgb(75, 75, 75);     
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 50%;
    line-height: 1;
}
.owl-item .text h3{
    margin: 0;
    line-height: 1.1;
}
.owl-item  .text h3 span{
    font-size: 80%;
}
.owl-wrapper-outer .owl-wrapper{
    display: flex!important;
}


section.logo {
    background-repeat: repeat-x;
    left: 0;
    position: sticky;
    right: 0;
    top: 0%;
    z-index: 9999;
    margin-top: 0;
    background-color: #fff;
    height: auto;
    transition: all 0.5s linear;
}



.logo .navbar-header img {
    width: 100%;
    padding: 0px;
    height: auto;
    max-width: 234px;
}

header.portada {
    overflow: hidden;
    position: relative;
}

footer header {
    font-size: 30px;
    border-bottom: 1px solid #000;
    padding: 5px;
    padding-top: 0;
}

footer header span {
    font-size: 75%;
}


address {
    padding: 7px 0 5px;
    font-size: 12px;
    font-style: normal;
}

.owl-carousel .owl-item,
.item {
    overflow: hidden;

}

section.fondo-orangeOscuro {
    color: #fff;
}

p.text-header {
    margin: 60px 0;
    font-size: 20px;
}

.servicios h2 {
    min-height: 40px;
    text-transform: uppercase;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
.servicios h3{
    display: flex;
    gap: 18px;
    align-items: center;
}
.servicios h3 .iconServicios{
    background-color: #D12F16;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50px;
}
.servicios h3 svg{
    width: 40px;
    height: 40px;
}

.container.servicios {
    padding-top: 50px;
    padding-bottom: 160px;
}




/* Online ********************************/

section.online {
    background-position: center top;
    background-size: cover;
    padding: 45px 0 37px;
}



.home .logo.menuFixed {
    margin-top: 0;
    /*	background-color: rgba(197, 54, 15, 0.8);*/
    height: auto;
}

.home .logo.menuFixed .navbar-default {
    margin-bottom: 0;
}

.back-orange {
    bottom: 0;
    color: #fff;
    left: 0;
    background-color: rgba(252, 69, 19, 0.8);
    padding: 20px;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    top: 0;
    opacity: 0;
    cursor: pointer;
    -webkit-transition: opacity 1s, -webkit-transform 1s;
    transition: opacity 1s, transform 1s;

}

.back-orange:hover {
    opacity: 1;
}

.back-orange p:last-child {
    font-size: 170%;
    left: 50%;
    line-height: 90%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.square-works {
    margin: 0px 10px 20px;
    position: relative;
}


/* contacto ********************************/

section.contacto {
    background: #D12F16;
    background: linear-gradient(0deg, #D12F16 55%, #871200 100%);
    color: white;
    min-height: 60vh;
    display: flex;
    align-items: center;
    margin-bottom: -60px;
}

section.contacto a, section.contacto p {
    color: white;
    display: block;
    width: 100%;
    overflow: hidden;
}
section.contacto .col-md-6  {
    font-size: 150%;
}
.wpcf7-form .control-label {
    font-weight: 300;
    padding-left: 0px;
}

.wpcf7-form input {
    margin-bottom: 10px;
}





div.wpcf7-mail-sent-ok,
div.wpcf7-validation-errors {
    border: 0px solid #398f14;
}


/* -- footer --*/

body > footer {
    border-top: 1px solid #000;
    padding: 20px;
    width: 100%;
    margin-top: 60px;
    background-color: #D12F16;
    font-size: 87%;
    font-weight: 300;
    color: #fff;

}




.site-footer__content {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    justify-content: space-between;
}

.site-footer__copyright {
    margin: 0;
}

.site-footer__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
footer nav a:hover {
    color: #000;
    text-decoration: none;
}

.site-footer__menu a {
    color: #fff;
    text-transform: initial;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #D12F16;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
    border: none;
}


/*single Post */

.single .entry-header {
    position: relative;
    z-index: 1;
    margin-bottom: 5px;
}

.single h1 {
    line-height: 100%;
    margin-top: 12px;
}

article.post {
    width: 100%;
    max-width: 1170px;

    margin: 50px auto 0;
}
.aligncenter{
    margin: auto;
    display: block;
}
article.post img {
    max-width: 100%;
    height: auto;
}

article:after,
article:before {
    display: table;
    clear: both;
    float: inherit;
    content: "";
}

.single .gallery img {
    border: 0px solid #cfcfcf!important;
}

body.single h4 {
    margin-left: 1%;
    border-bottom: 1px solid #ccc;
    margin-top: 50px;
}

ul.portfolio_list {
    list-style: none;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

ul.portfolio_list li {
    width: 18%;
    margin: 1%;
    height: auto;
    float: left;
    position: relative;

  width: 31.3%;
}
ul.portfolio_list .portfolio_back {
    overflow: hidden;
    right: 0px;
    text-transform: uppercase;
    top: 0px;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(252, 69, 19, 0.8);
    color: white;
    transition: opacity 1s ease 0s, transform 1s ease 0s;
}
ul.portfolio_list a:hover .portfolio_back{
    opacity: 1;
}
ul.portfolio_list .portfolio_label {
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    line-height: 90%;
    top: 50%;
    position: absolute;
    text-align: center;
    font-size: 170%;
}

.category .img-responsive,
.portfolio_list .img-responsive {
    max-width: 100%;
}


.navbar-default .navbar-toggle {
    background-color: #D12F16;
    border-color: #ddd;
}
form label{
    font-size: 14px;
    font-weight: 300;
}
@media (max-width: 1190px) {
    h3#principal .container {
        padding: 0 5px 0 5px;
    }
}


/* Responsive */

@media (max-width: 780px) {
    .logo .navbar-header img {
        width: 50%;
    }
    h3#principal {
        font-size: 55px;
        line-height: 100%;
    }

    section h2 {
        font-size: 70px;
        line-height: 100%;
    }
    p.text-header {
        margin: 55px 0 60px;

    }
    ul.portfolio_list li {
        margin: 1%;
        position: relative;
        width: 31.1%;
    }
    #menu-menu{
        display: flex;
        flex-direction: column;

        background-color: #fbe9e9;
    }
    #menu-menu.navbar-nav > li > a{
            padding-top: 20px;
            padding-bottom: 20px;
    }
    .site-footer__content {

        flex-direction: column-reverse;
    }
    .site-footer__menu {
        justify-content: center;
        font-size: 90%;
        gap: 20px;
    }

}
@media (max-width: 598px) {
.wp-block-media-text>.wp-block-media-text__content {
    padding: 0;

}
ul.portfolio_list .portfolio_back{
    display: none;
}
}

@media (max-width: 480px) {
    section.contacto .col-md-6 {
          font-size: 93%;
        line-height: 2;

    }
    body {
       font-size: 180%;
    }
    section h2 {
        font-size: 30px;
    }
    .logo .navbar-header img {
        width: 50%;
    }

    h3#principal {
        font-size: 32px;
        bottom: -5px;
    }
    h3#principal .container {
        padding: 0 15px;
    }
    section:not(.servicios) h2 {
        font-size: 40px;
        line-height: 100%;
        margin-top: 30px;
    }
     .owl-theme .owl-controls .owl-page span {
        height: 5px;
        margin: 5px 2px;
        width: 5px;
    }

    h1 {
        font-size: 220%;
       margin: 40px 0 20px;
    }
    .home h1{
        margin-bottom: -6px;
        margin-top: 0;
    }
    .home section h2 {
        font-size: 200%;
        margin: 0px 0 10px;
    }
    .item-video video{
        max-height: 30vh;
        width: 100%;
    }
    .owl-item .text {
        left: 0%;
        width: 100%;
        padding: 0 15px;    top: 10px;
        bottom: inherit;
    }
    .owl-item .text h3{
        font-size: 90%;
    
    }
    ul.portfolio_list li {
        width: 23%;
    }
    .container.servicios {

        padding-bottom: 50px;
    }
}



.owl-item .item > img {
    margin: 0;
}





.wp-block-quote{
    border-left: 5px solid #D12F16;
    margin: 20px 0 20px 30px !important;
}


.wp-block-separator {
    border: none;
    border-top: 5px solid;
    margin: 30px 0;
    width: 150px;    background-color: #D12F16;
    color: #D12F16;
}

.entry-content > *:not(.has-background) {
     max-width: 1170px;
     padding-left: 15px;
     padding-right: 15px;
     margin-left:  auto; 
     margin-right: auto;
}
.has-background{

    align-content: center;  
     margin-top: 30px;
    margin-bottom: 30px;
    padding-top: 30px;
    padding-bottom: 40px;
}
.has-background > * {
    max-width: 1170px;
      padding-left: 15px;
     padding-right: 15px;

}
h3.wp-block-heading{
    color: #D12F16;
    margin-top: 20px;
    margin-bottom: 18px;
}
.category-description{
    max-width: 800px;
    
}
.category-description img{
    max-width: 470px;
    margin-top: 15px;
    margin-bottom: 30px;
    width: 100%;
}

.wpcf7-not-valid-tip {
    background-color: #D12F16;
    position: absolute;
    top: 7px;
    left: 4px;
    font-size: 85%;
    color: #fff;
    border-radius: 15px;
    padding: 0 7px;
    pointer-events: none;
}
.wpcf7-validates-as-required:focus ~ .wpcf7-not-valid-tip{
    display: none;
}
.form-control:focus {
    border-color: #3b3b3b;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 12px rgba(0, 0, 0, .3);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 12px rgba(0, 0, 0, 0.3);
}
