/* 
    Created on  : Sep 20, 2016, 4:15:31 PM
    Author      : Sergiu
    Role        : Page Title style
*/

header.page-header .cat-title-wrapper {
    position: relative;
    text-align: center;
    display: table;
    margin: 0 auto 20px auto;
}

header.page-header .cat-title-wrapper h1 {
    color: #FFF;
    text-transform: uppercase;
    font-size: 32px;
    border-bottom: 1px solid #c62258;
    font-weight: 600;
    letter-spacing: 1px;
}

header.page-header .cat-title-wrapper .expand-cat {
    display: none;
    position: absolute;
    right: -60px;
    top: 0;
    width: 40px;
    height: 40px;
    background: #c62258;
    border-radius: 100%;
    cursor: pointer;
}

header.page-header .cat-title-wrapper .expand-cat.show {
    display: block;
}

header.page-header .cat-title-wrapper .expand-cat:before,
header.page-header .cat-title-wrapper .expand-cat:after {
    display: block;
    position: absolute;
    content: "";
    background: #303346;
}
    
header.page-header .cat-title-wrapper .expand-cat:before {
    width: 4px;
    height: 26px;
    top: 7px;
    left: 18px;
    transform: scaleY(0);
    transition: transform 0.2s linear;
}

header.page-header .cat-title-wrapper .expand-cat:after {
    width: 26px;
    height: 4px;
    top: 18px;
    left: 7px;
}

header.page-header .category-description {
    background: #FFF;
    overflow: hidden;
    transition: height 0.5s ease;
    -moz-box-shadow:    inset  0  50px 50px -50px #696868, 
                        inset  0 -50px 50px -50px #696868;
    -webkit-box-shadow: inset  0  50px 50px -50px #696868, 
                        inset  0 -50px 50px -50px #696868;
     box-shadow:        inset  0  50px 50px -50px #696868, 
                        inset  0 -50px 50px -50px #696868;
}

header.page-header .category-description .category-description-wrapper {
    max-width: 65.141em;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0 20px 0;
}

header.page-header.closed .category-description {
    height: 0!important;
    transition: height 0.3s linear;
}

header.page-header.closed  .expand-cat:before {
/*    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);*/
    transform: none;
}

header.page-header .category-description p {
    display: block;
}

@media screen and (max-width: 768px) {
    header.page-header .cat-title-wrapper h1 {
        font-size: 24px;
    }
    
    header.page-header .cat-title-wrapper .expand-cat {
        top: -5px;
    }
    
    .main-navigation .handheld-navigation {
        top: 53px;
        right: -10px!important;
        width: calc(100% + 20px)!important;
        padding: 10px!important;
    }
    
}

@media screen and (min-width: 480px) and (max-width: 65.141em) {
    header.page-header .category-description .category-description-wrapper {
        padding: 50px 25px 25px 25px;
    }
}

@media screen and (max-width: 480px) {
    header.page-header .category-description .category-description-wrapper {
        padding: 30px 10px 10px 10px;
    }
    
    header.page-header .cat-title-wrapper {
        margin: 30px 0 20px 10px;
    }
}