/*
Theme Name: fortalleza
Theme URI: http://wordpress.org/themes/fortalleza
Author: Tok Digital
Author URI: http://tokdigital.cc
Version: 1.0.0
Text Domain: fortalleza

Tok Digital WordPress Theme © 2012-2016


DEFAULT COLORS

#bc4242 - 1 (red)

*/

*{
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;    
}

a,
.transition,
.item-project .photo-project img,
:before, :after{
    transition: all 0.3s; 
    box-sizing: border-box;
}

@font-face {
    font-family: AkzidenzGrotesk;
    src: url(font/AkzidenzGrotesk/AkzidenzGrotesk-LightOsF.otf);
}

@font-face {
    font-family: AkzidenzGroteskCond;
    src: url(font/AkzidenzGrotesk/AkzidenzGrotesk-Cond.otf);
}

@font-face {
    font-family: AkzidenzGroteskCond;
    font-weight: bold;
    src: url(font/AkzidenzGrotesk/AkzidenzGrotesk-BoldCond.otf);
}


@font-face {
    font-family: AkzidenzGroteskCond;
    font-weight: 300;
    src: url(font/AkzidenzGrotesk/AkzidenzGrotesk-LightCond.otf);
}

/*
* Tags
*/

body{
    font-family: 'AkzidenzGrotesk', sans-serif;
    color: #6a6a6a;
    background: url(images/background.png);
}

img{
    display: block;
    max-width: 100%;
    height: auto;
}

p{ font-size: 14px; }
small{font-size: 12px;}
.navigation-menu.footer .current-menu-item,
a:hover{text-decoration: underline; cursor: pointer;}

/*
* Class
*/

.alignright{ text-align: right; }
.alignleft{ text-align: left; }
.aligncenter{ text-align: center; }

img.alignright{ float: right; margin: 10px 0 10px 10px; }
img.alignleft{ float: left; margin: 10px 10px 10px 0; }
img.aligncenter{ margin: 10px auto; }

.flex{display: flex;}

.f-center{align-items: center;}

.f-start{align-items: flex-start;}

.f-end{align-items: flex-end;}

.j-center{justify-content: center;}

.j-end{justify-content: flex-end;}

.d-column{flex-direction: column;}

.f-wrap{flex-wrap: wrap;}

.between{justify-content: space-between;}

#wrapper .f-half > *{width: 48%;}

.container{
    max-width: 1290px;
    margin: auto;
    padding: 0 20px;
}

#wrapper .current-forever,
#wrapper .none{display: none;}

.button,
.btn-link{
    display: inline-block;
    padding: 4px 9px;
    font-size: 15px;
    font-family: AkzidenzGroteskCond;
    color: #FFF;
    text-transform: uppercase;
    border: 1px solid #bc4242;    
    border-radius: 3px;
    background: #bc4242;    
}

.button:hover,
.btn-link:hover{
    color: #bc4242;
    text-decoration: none;
    background: #FFF;    
}

.button{border-radius: 5px;}

/*
* HEADER
*/

.main-footer,
.main-header{
    padding: 20px 0;
    box-shadow: 0 0 5px #7d7a7a;
    color: #FFF;
    background: #bc4242;
}

.main-header #branding img,
.main-header #branding{position: relative;}


.main-header #branding:before{    
    position: absolute;
    bottom: -20px;
    right: -30px;
    height: 120px;
    width: 1000px;
    border-bottom-right-radius: 50px 56px;
    border-top-right-radius: 60px 63px;
    content: '';
    background: #FFF;
}

/* MENU */

.navigation-menu.header a{
    display: block;
    padding: 10px 30px;
    font-size: 15px;
    text-transform: uppercase;
    background: #bc4242;
}

.navigation-menu.header .current-menu-item a,
.navigation-menu.header a:hover{
    text-decoration: none;
    color: #bc4242;
    background: #FFF;
}

/** SUBMENU **/

.navigation-menu .sub-menu{display: none;}

/*
* PAGE
*/

.main-content{
    margin: 40px auto;
    min-height: calc(100vh -  453px);
}

.entry-content{
    overflow: hidden;
    margin-bottom: 40px;
}

.header-post img{width: 100%;}

.header-post h1,
.entry-content h2{
    margin-bottom: 10px;
    font-family: AkzidenzGroteskCond;
    font-weight: normal;
    font-size: 30px;
    color: #bc4242;
    text-transform: uppercase;
}

.entry-content h3{
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: normal;
    color: #bc4242;
}

.entry-content pre{
    display: block;
    font-family: AkzidenzGroteskCond;
    font-size: 30px;
    font-weight: 300;
    color: #818181;
    white-space: normal;
}

.entry-content p{
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 20px;
}

.title-sections{
    margin-bottom: 30px;
    font-family: AkzidenzGroteskCond;
    font-weight: normal;
    font-size: 30px;
    color: #bc4242;
    text-transform: uppercase;
    text-align: center;
}

.entry-title{
    margin-bottom: 30px;
    line-height: 42px;
    font-size: 20px;
    font-weight: normal;
    color: #bc4242;
    text-transform: uppercase;
    border-bottom: 1px solid #b5b3b3;
}

.u-featured{    
    height: 400px;
    overflow: hidden;
    margin-bottom: 30px;
}

/* HOME */

/** SLIDE **/

.slide-home{
    padding: 20px;
    border-radius: 10px;
    background: #FFF;
}

.slide-home .capsule-project{
    position: relative;
    overflow: hidden;
    width: 60%;
    height: 420px;
}

.inner-project{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: translateY(0);
}

.inner-project.current{
    top: 50%;
    transform: translateY(-50%);
}

.inner-project img{min-width: 100%;}

.slide-home .module-project{
    width: calc(40%);
    margin-left: 20px;
    flex: 1;
}

.m-item-project{
    position: relative;
    padding: 10px;
    margin: 20px 0;
    cursor: pointer;
    box-shadow: 0px 2px 3px #FFF;
    border: 1px solid #FFF;
}

.m-item-project:first-of-type{margin-top: 0;}
.m-item-project:last-of-type{margin-bottom: 0;}

.m-item-project:before{
    position: absolute;
    bottom: -12px;
    left: 0;
    height: 1px;
    width: 100%;
    content: '';
    background: #c7c7c7;
}

.m-item-project:last-of-type:before{content: none;}

.m-item-project.current-forever,
.m-item-project.current,
.m-item-project:hover{
    box-shadow: 0px 2px 3px #CCC;
    border: 1px solid #bc4242;
}

.m-item-project h2{
    margin-bottom: 3px;
    font-size: 16px;
    color: #bc4242;
    text-transform: uppercase;
    width: calc(100% - 80px);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.m-item-project .btn-link{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

/* entry-content home */
.entry-content.home{margin: 40px auto;}

/* CLIENTES */

.entry-section-clients{margin-bottom: 80px;}

.section-clients{
    position: relative;
    padding: 30px 60px;
    border-radius: 10px;
    background: #FFF;
}

.entry-last-articles .bx-wrapper,
.section-clients .bx-wrapper{margin: auto;}

.c-slider-imagens .bx-wrapper .bx-viewport,
.entry-last-articles .bx-wrapper .bx-viewport,
.section-clients .bx-wrapper .bx-viewport{    
    position: relative;
    z-index: 10;
}

.section-clients .item-client{ height: 150px; }

/*.slide-home .bx-controls-direction,*/
.c-slider-imagens .bx-controls-direction,
.entry-last-articles .bx-controls-direction,
.section-clients .bx-controls-direction{
    position: absolute;
    display: flex;
    justify-content: space-between;
    top: 50%;
    left: 20px;
    width: calc(100% - 40px);
    transform: translateY(-50%);
}

.c-slider-imagens .bx-controls-direction a,
.slide-home .bx-controls-direction a,
.section-clients .bx-controls-direction a,
.entry-last-articles .bx-controls-direction a{ font-size: 0; }

.c-slider-imagens .bx-controls-direction a.bx-prev:before,
.c-slider-imagens .bx-controls-direction a.bx-next:before,
.slide-home .bx-controls-direction a.bx-prev:before,
.slide-home .bx-controls-direction a.bx-next:before,
.entry-last-articles .bx-controls-direction a.bx-prev:before,
.entry-last-articles .bx-controls-direction a.bx-next:before,
.section-clients .bx-controls-direction a.bx-prev:before,
.section-clients .bx-controls-direction a.bx-next:before{
    font-family: fontAwesome;
    font-size: 50px;
    color: #b7afaf;
    content: '\f104';
}

.c-slider-imagens .bx-controls-direction a.bx-next:before,
.slide-home .bx-controls-direction a.bx-next:before,
.entry-last-articles .bx-controls-direction a.bx-next:before,
.section-clients .bx-controls-direction a.bx-next:before{ content: '\f105';}

/* ARTIGOS BLOG */

.entry-last-articles{position: relative;}

.item-last-articles figure{
    overflow: hidden;
    height: 115px;
}

.item-last-articles h3{
    overflow: hidden;
    height: 110px;
    padding: 20px 10px;
    font-family: AkzidenzGroteskCond;
    font-size: 20px;
    font-weight: 300;
    color: #818181;
    background: #FFF;
}

/*
* CONTACT
*/

.make-field label{
    margin-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase;
}

.make-field input,
.make-field textarea{
    display: block;
    width: 100%;
    padding: 5px 10px;
    border: 1px solid #CCC;
}

.make-field textarea{height: 105px;}

.btn-submit{
    position: relative;
    padding: 5px 20px;
    text-transform: uppercase;
    color: #FFF;
    cursor: pointer;
    border: 1px solid #bc4242;
    transition: padding .3s;
    background: rgba(188, 66, 66, 1);
}

.btn-submit:before{
    position: absolute;
    overflow: hidden;
    top: 8px;
    right: 16px;
    max-width: 0;
    font-family: fontAwesome;
    font-size: 14px;
    content: '\f1d8';
}

.btn-submit:hover{
    padding: 5px 45px 5px 20px;
}

.btn-submit:hover:before{
    max-width: 17px;
}

.box-info-contact.first{margin-bottom: 40px}

.entry-content .box-info-contact p{ margin-bottom: 10px; }

.map-contact{margin-right: 20px;}

.feedback {
    margin-bottom: 40px;    
    padding: 15px 20px;
    color: #FFF;
    background: #8bc34a;
}

.feedback.error{
    background: #ff5722;
}

/*
* ARCHIVE PROJECT
*/

.item-project{
    text-align: center;
    width: calc(25% - 40px);
    margin: 0 20px 40px 20px;
}

.item-project .photo-project{
    position: relative;
    overflow: hidden;
    height: 170px;
    border: 1px solid #bababa;
}

.item-project .item-title-project{
    text-transform: uppercase;
    font-size: 15px;
    color: #bc4242;
}

.item-project .delivery-date{
    position: absolute;
    width: 100%;
    height: 170px;
    bottom: 0;
    left: 0;
    opacity: 0;
    font-family: AkzidenzGroteskCond;
    font-size: 48px;
    color: #FFF;
    background: rgba(0, 0, 0, 0.45);
}

.item-project .photo-project,
.item-project .item-title-project,
.item-project .local-project{margin-bottom: 10px;}

.item-project:hover a{ text-decoration: none; !important }

.item-project:hover .delivery-date{ opacity: 1; }
.item-project:hover .photo-project img{
    transform: scale(1.2);
}

/*
* SINGLE PROJECT
*/

.address-title{    
    text-transform: capitalize;
    font-size: 14px;
    font-style: italic;
    color: #777777;
}

.c-slider-imagens{
    position: relative;
    float: left;
    padding: 0 40px 40px 40px;
    max-width: 600px;
    max-height: 400px;
}

/*
.s-featured{
    float: left;
    max-width: 600px;
    margin: 0 40px 40px 40px; 
}
*/

.slide-projects{
    padding-top: 40px;
    margin-bottom: 40px;
    border-top: 1px solid #b5b3b3;
}

#wrapper .c-slider-imagens .bx-controls-direction{
    left: 5px;    
    width: calc(100% - 15px);
}

/*
* BLOG
*/

.list-blog,
header.header{width: 100%;}

.item-blog{ 
    height: 200px;
    margin-bottom: 40px;
    border: 1px solid transparent;  
    background: #FFF;
}

.item-blog:hover{
    box-shadow: 0 0 4px #7b7979;
    border: 1px solid #bc4242;    
}

.item-blog .photo-blog{
    width: 300px;
    flex-basis: 300px;
    flex-shrink: 0;
    overflow: hidden;
}

.item-blog > div{
    position: relative;
    padding: 10px 20px;
}

.item-blog h2{
    font-family: AkzidenzGroteskCond;
    font-weight: normal;
    font-size: 28px;
    color: #5a5a5a;
    text-transform: uppercase;
}

.item-blog .excerpt-blog{
    overflow: hidden;
    max-height: 0;
    margin-top: 10px;
    font-size: 16px;
    font-style: italic;
}

.item-blog:hover .excerpt-blog{
    max-height: 150px;
}

.item-blog .publication-date{
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-family: AkzidenzGroteskCond;
    font-weight: 300;
}

div.aligncenter{width: 100%;}

.btn-more-post{
    display: inline-block;
    font-family: AkzidenzGroteskCond;
    font-weight: normal;
    color: #908d8d;
    text-align: center;
    cursor: pointer;
}
.btn-more-post:hover{ color: #5a5a5a; }

.btn-more-post p{font-size: 18px;}
.btn-more-post i{
    font-size: 25px;
    line-height: 10px;
}

.btn-more-post.loading:hover,
.btn-more-post.loading{color: #bc4242;}

.btn-more-post.loading i{font-size: 15px;}
    
/*
* SINGLE
*/

.header-post{ position: relative; }

.date-published{
    position: absolute;
    font-size: 14px;
    top: 50px;
    right: 0;
    font-style: italic;
    color: #777;
}

.header-post .entry-title{margin-bottom: 60px;}

.header-post .excerpt{
    margin-bottom: 20px;
    font-size: 16px;
    font-style: italic;
}

.header-post .post-u-featured{
    overflow: hidden;
    max-height: 400px;
    margin-bottom: 30px;
}

/** SOCIAL **/

.social-networks{
    position: absolute;
    top: 5px;
    right: 0;
}

.btn-social{
    position: relative;
    display: block;
    height: 30px; 
    width: 30px;
    margin-left: 5px;
    text-align: center;
    text-decoration: none !important;
    color: #FFF;
    border-radius: 100%;
}

.btn-social:before{
    line-height: 30px;
    font-family: fontAwesome;
    font-size: 18px;
}

.btn-social.google{ background: #dd4c40; }
.btn-social.google:before{ content: '\f0d5'; font-size: 15px; }

.btn-social.twitter{ background: #2aaae0; }
.btn-social.twitter:before{ content: '\f099'; }

.btn-social.linkedin{ background: #007ab9; }
.btn-social.linkedin:before{ content: '\f0e1'; }

.btn-social.facebook{ background: #3a589b; }
.btn-social.facebook:before{ content: '\f09a'; font-size: 16px; }

.btn-social.whats{ background: #0dc143; }
.btn-social.whats:before{ content: '\f232'; }

/** COMMENTS */

.header-comments{ 
    position: relative;
    margin-bottom: 20px;
    padding: 20px 0 5px 0;
    border-bottom: 1px solid #bc4242;
}

.comment-reply-title{
    font-size: 14px;
    color: #bc4242;
}

.comments-form{
    padding: 40px;
    background: #FFF;
}

.comments-form > *{
    display: block;
    width: 100%;
    max-width: 400px;
    margin: auto;
}

.comments-form > textarea,
.comments-form > input{
    padding: 5px;
    margin-bottom: 20px;
}

.comments-form > textarea{height: 100px;}

::-webkit-input-placeholder {
    font-style: italic;
}

.i-comment-reply{
    margin-top: 10px;
    padding: 30px 60px;
    background: #FFF;
}

.comment-content-reply{
    margin-bottom: 10px;
    font-size: 18px;
    color: #848484;
}

.comment-title-reply{
    font-style: italic;
    color: #bc4242;
}

/*
* SIDEBAR
*/

.sidebar{ 
    width: 300px; 
    flex-basis: 300px;
    margin-left: 40px;
    flex-shrink: 0;
}


/*
* FOOTER
*/

.navigation-menu.footer li{
    margin: 0 25px;
    font-size: 12px;
    color: #FFF;
    text-transform: uppercase;
}

.navigation-menu.footer li a{
    display: block;
    padding: 10px 30px;
}

.cashier-info-footer{margin: 40px 0;}

.box-info-footer{max-width: 320px;}

#wrapper .footer-title{
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 15px;
    font-family: AkzidenzGrotesk; 
    color: #5d1818;
}

.box-info-footer p{margin-bottom: 10px;}

.fa.inner{
    width: 24px;
    margin-right: 5px;
    padding: 5px;
    color: #bc4242;
    text-align: center;
    border-radius: 100%;
    background: #FFF;
}

/* copyright */

.copyright{
    padding: 10px 0;
    margin-bottom: -20px;
    background: #484545;
}

.copyright p{
    font-size: 13px;
    color: #FFF;
}

/*
* RESPONSIVE
*/

@media (max-width: 1024px){

    .cashier-info-footer > img,
    .main-header #branding:before{
        display: none;
        content: none;
    }

    /*  HEADER  */

    .main-header{
        position: relative;
        background: #FFF;
    }

    .main-header #branding{margin: auto;}

    #wrapper .label-menu-icon.fa-bars{
        position: absolute;
        display: block;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        font-size: 30px;
        color: #bc4242;
        z-index: 9999;
    }

    .navigation-menu.header{
        position: fixed;
        top: 0;
        left: -101vw;
        height: 100vh;
        width: 100vw;
        z-index: 999;
        transition: left .3s;
        background: #bc4242;
    }
    
    .navigation-menu.header .menu.flex{
        height: 100%;
        flex-direction: column;
        justify-content: center;
    }
    
    .navigation-menu.header a{        
        padding: 20px 30px;
        font-size: 35px;
    }
    
    #wrapper #menu-icon:checked ~ .label-menu-icon.fa-bars{color: #FFF;}
    #menu-icon:checked ~ .container .navigation-menu.header{left: 0;}

    /* HOME   */

    .entry-content.home .flex img{
        max-width: 50%;
    }  

    /* PROJETOS    */

    .item-project{ width: calc(33.3% - 40px);}

    /* SINGLE PROJECT    */

    .s-featured{
        float: none;
        max-width: none;
        margin: 0 auto 20px auto;
    }

/*    .item-project:nth-of-type(n+4){display: none;}*/

    /* BLOG    */

    .sidebar{
        overflow: hidden;
        width: 230px;
        flex-basis: 230px;
    }

    .item-blog:nth-of-type(2n - 0){margin-right: 0;}

    .item-blog header h2{height: 120px;}

    .item-blog .excerpt-blog{top: 140px;}
    
    .item-blog:hover .excerpt-blog,
    .item-blog .excerpt-blog{max-height: 38px;}
    
    .c-slider-imagens{
        float: none;
        margin: auto;
    }

    /* CONTACT    */

    .ajust-responsive-contact{ flex-direction: column; }

    .btn-submit,
    #wrapper .ajust-responsive-contact > *{
        display: block;
        width: 100%;
    }

    .ajust-responsive-contact #contact{
        display: flex;
        justify-content: space-between;
    }

    .ajust-responsive-contact #contact > *{width: 48%;}

    .make-field textarea{height: 128px;}

    /* FOOTER   */

    .cashier-info-footer > img{}

    .navigation-menu.footer li a{padding: 10px;}

}

/*IPAD*/

@media (min-width: 700px) and (max-width: 1024px) and (orientation: landscape) {
    .item-blog .photo-blog {
        width: 200px;
        flex-basis: 200px;
    }
}


@media (max-width: 800px){
    .entry-content.home .flex img{display: none;}
    
    .blog .sidebar{display: none;}
}

/* SMARTPHONES*/

@media (max-width: 600px){
    
    .module-project,
    .navigation-menu.footer{display: none;}
    
    .container{padding: 0 10px;}
    
    .navigation-menu.header a{font-size: 20px;}
    
    /* HOME   */
    
    #wrapper .slide-home{padding: 0;}
    
    .slide-home .capsule-project{width: 100%; height: auto;}
    
    .capsule-project .inner-project{
        position: relative;
        top: 0;
        transform: translateY(0); 
    }
    
    .capsule-project .inner-project figure{
        position: relative;
        height: 200px;
        overflow: hidden;
    }
    
    .capsule-project .inner-project figure img{        
        position: absolute;
        left: 50%;
        height: 100%;
        width: auto;
        max-width: none;
        transform: translateX(-50%);
    }
    
    #wrapper .current-forever{
        display: block;
        margin: 5px;
        max-width: 350px;
    }
    
    .entry-section-clients{margin-bottom: 60px;}
    
    .section-clients{padding: 10px;}    
    
    .section-clients .item-client{height: 80px;}
    .entry-last-articles .bx-controls-direction, 
    .section-clients .bx-controls-direction{        
        left: 5px;
        width: calc(100% - 10px);
    }
    
    .slide-home .bx-controls-direction a.bx-next,
    .slide-home .bx-controls-direction a.bx-prev{
        position: absolute;
        top: 50%;
        left: 5px;
        transform: translateY(-50%);
        text-decoration: none !important;
    }
    
    .slide-home .bx-controls-direction a.bx-next{
        left: auto;
        right: 5px;
    }
    
    .slide-home .bx-controls-direction a.bx-prev:before,
    .slide-home .bx-controls-direction a.bx-next:before,
    .entry-last-articles .bx-controls-direction a.bx-prev:before,
    .entry-last-articles .bx-controls-direction a.bx-next:before,
    .section-clients .bx-controls-direction a.bx-prev:before,
    .section-clients .bx-controls-direction a.bx-next:before{        
        color: #FFF;
        text-shadow: 0 0 1px #000, 0 0 1px #000;
    }
    
    /* PROJETOS   */
    
    .item-project{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .c-slider-imagens{padding: 0;}
    
    #wrapper .c-slider-imagens .bx-controls-direction{z-index: 50;}
    
    /* BLOG   */
    
    .sidebar{display: none;}
    
    .item-blog{
        height: auto;
        flex-direction: column;
    }
    
    .item-blog .photo-blog{
        height: 200px;
        flex-basis: auto;
        width: 100%;
    }
    
    .item-blog h2{font-size: 26px;}
    
    .item-blog > div{padding: 10px 10px 40px 10px}
    
    .item-blog .excerpt-blog{max-height: 0;}
    .item-blog:hover .excerpt-blog{max-height: 0;}
    
    .item-blog .publication-date{
        right: 0;
        left: 0;
        text-align: center;
    }
    
    /*    */
    
    .u-featured{height: auto;}
    
    .item-last-articles h3{
        padding: 0;
        line-height: 20px;
        border: 5px solid #FFF;
    }
    
    /* CONTATO    */
    
    .list-slide-project,
    .box-info-contact,
    .ajust-responsive-contact #contact > *,
    .ajust-responsive-contact #contact{
        display: block;
        width: 100%;
    }
    
    .map-contact{
        width: 100%;
        margin: 0 0 10px 0;
    }
    
    /* FOOTER   */
    
    .cashier-info-footer{
        display: block;
    }
    
    .box-info-footer:first-of-type{margin-bottom: 40px;}
    
    
    /*
    * lightbox
    */
    .pp_hoverContainer,
    .pp_content,
    div.pp_pic_holder{
        width: 100% !important;
        background: none !important;
    }

    div.pp_pic_holder{
        position: fixed !important;
        top: 15vh !important;
        left: 0 !important;
    }

    .pp_hoverContainer{height: 100% !important;}

    #fullResImage{
        width: 90% !important;
        height: auto !important;    
        margin: auto;
    }
}