_page.scss 9.91 KB
#main{
    position: relative;

.entry-content{
    position: relative;

}   
}
.entry-footer{
    display: none;
}

.side-menu-page{
    #page-sidebar{
        min-width: 20rem;
        @media screen and (max-width: 62.5rem){
            min-width: 20rem;
            width:100%;
        }
    }
    #main{
        width: calc(100% - 21.25rem);
        @media screen and (max-width: 62.5rem){
            width:100%;
        }
    }
}


#content:not(.search-content){
    display: flex;
}

.entry-header.page{
    position: relative;
    height: 100%;
    overflow: hidden;
    min-height: 37.5rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

  
    .search-box:focus-within #search-box-content,
    .search-box:hover #search-box-content{
        display: block;
    }

    .search-box:focus-within .search-button,
    .search-box:hover  .search-button{
        display: none;
    }

    .search-box.show .search-button{
         display: none;
    }

    .advance-search-button{
        @media only screen and (max-width: 48.875rem) {
            display: none;
        }


    }
    

.search-box{
    background-color: #fff;
    border-radius: 1.25rem ;
    max-width: 90%;
    margin: auto;
    margin-top: 2.5rem;
    padding:  0rem 6.25rem ;
    position: relative;
    @media only screen and (max-width: 48.875rem) {
        padding:  0rem 0.625rem ;
    }

    .search-button{
        height: 4rem;
        width: 4rem;
        text-indent: -624.9375rem;
        position: absolute; 
        right: 0rem;
        top: 1.25rem;
        background-color: #fff;
        border-radius: 0.625rem;
        &:after {
            content: "";
            position: absolute;
            left: 0rem;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34.157' height='34.157' viewBox='0 0 34.157 34.157'%3E%3Cg id='Group_1039' data-name='Group 1039' transform='translate(-919.807 -2612.691)'%3E%3Cline id='Line_1' data-name='Line 1' x2='14.277' y2='14.277' transform='translate(938.626 2631.511)' fill='none' stroke='%23000' stroke-width='3'/%3E%3Cg id='Ellipse_1' data-name='Ellipse 1' transform='translate(919.807 2612.691)' fill='%23fff' stroke='%23000' stroke-width='3'%3E%3Ccircle cx='13.235' cy='13.235' r='13.235' stroke='none'/%3E%3Ccircle cx='13.235' cy='13.235' r='11.735' fill='none'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            background-size: contain;
            width: 2.25rem;
            height:2.25rem;
            top: 0.8125rem;
            left: 0.75rem;
        }
    }

    #search-box-content{
       display: none;
       position: relative;
    }
    #search-box-content.show{
        display: block;
    }
   
            
    
    h4{
        font-size: 2.8125rem !important; 
        line-height: 3.3125rem;
        text-align: center;
        font-weight: lighter;
        font-family: "PT Sans",sans-serif;
        @media only screen and (max-width: 48.875rem) {
            font-size: 2.1875rem !important; 
            line-height: 2.5rem;  
        }
    }
    .searchandfilter{
        width: calc(100% - 6.25rem);
        @media only screen and (max-width: 48.875rem) {
            width: calc(100% - 0rem);
            padding-left: 2.5rem;
        }
        display: inline-block;
    }
    
    .searchandfilter ul{
      padding-left: 0rem;
    }
    .searchandfilter h4{
        font-size: 2.8125rem !important; 
        line-height: 3.3125rem;
        text-align: center;
        font-weight: lighter;
        font-family: "PT Sans",sans-serif;
    }
    .sf-field-search{
            display: inline-block;
            width: calc(100% - 5rem);
            padding: 1.125rem 0 1.6875rem 0;
            label{
                width: 90%;
                position: relative;
                display: inline-block !important;
                margin: auto;
                margin-left: 10%;
                &:after {
                    content: "";
                    position: absolute;
                    left: -3rem;
                    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34.157' height='34.157' viewBox='0 0 34.157 34.157'%3E%3Cg id='Group_1039' data-name='Group 1039' transform='translate(-919.807 -2612.691)'%3E%3Cline id='Line_1' data-name='Line 1' x2='14.277' y2='14.277' transform='translate(938.626 2631.511)' fill='none' stroke='%23000' stroke-width='3'/%3E%3Cg id='Ellipse_1' data-name='Ellipse 1' transform='translate(919.807 2612.691)' fill='%23fff' stroke='%23000' stroke-width='3'%3E%3Ccircle cx='13.235' cy='13.235' r='13.235' stroke='none'/%3E%3Ccircle cx='13.235' cy='13.235' r='11.735' fill='none'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
                    background-size: contain;
                    width: 2.063rem;
                    height: 2.063rem;
                    top: 1.2rem;
                }
               
            }
            input[name="_sf_search[]"]{
                width: 100%;
                border: 0;
                border-bottom: 0.0625rem solid #707070;
                border-radius: 0;
                font-size: 1.75rem;
                font-weight: 400;
                line-height: 1.5;
                color: #212529;
                padding: 0.375rem 0.75rem;
                margin: auto;       
                }
      }

        .sf-field-submit{
            display: inline-block !important;
                input[name="_sf_submit"]{
                    border-radius: 50%;
                    padding: 0;
                    height:2.5rem;
                    width: 2.5rem;
                    margin-top: -0.6rem;
                    margin-left: 1rem;
                    font-size: 1.125rem;
                    font-family: "PT Sans",sans-serif;
                    font-weight: 700;
                    background: #e00;
                    color: #fff;
                    border: 0;
                    text-transform: uppercase;
                    transition: none;
                    display: inline-block !important;
                    &:hover {
                        background:#669999;
                    }
                }
        }
}
.advance-search-button{
    right: 0.625rem;
}
}
#page-wrapper{
margin: 0.625rem 1.875rem 0 1.875rem;
    @media(max-width: 48rem) {
       // margin: 2.5rem 2.5rem 0 2.5rem;
    }
.breadcrumb{
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
    a{
        text-decoration: none;
        text-transform: capitalize;
    }
    span{
        margin: 0rem 0.625rem;
    }

   
}
h1{
    font-size: 2.8125rem;
    line-height: 3.25rem;
    font-weight: bold;
}
h1+p {
    font-weight: bold;
}
}
.top_parent{
    font-weight: bold;
    font-size: 1.25rem;
    line-height: 1.5625rem;
    text-decoration: none;
}

.side-menu{
    list-style: none;
    margin-top: 0rem;
    padding-left: 0.9375rem;
   
    li{
        margin-bottom: 0.875rem;
   
        a{
            text-decoration: none;
            font-size: 1.25rem;
            line-height: 1.5625rem;
        }
        a:hover{
            text-decoration: underline;
            position: relative;
            &:before{
                content: "";
                position: absolute;
                left: -0.9375rem;
                top: 0.5rem;
                border-radius: 50%;
                width: 0.5625rem;
                height: 0.5625rem;
                background: #EE0000 0% 0% no-repeat padding-box;
            }
           
        }
        
     
    }
    .children{
    .has-children{
        position: relative;
        &:after{
            position: absolute;
            content: "";
            width: 0.875rem;
            height: 0.5625rem;
            top: 0.625rem;
            margin-left: 0.625rem;
            transform: rotateX(180deg);
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14.462" height="8.769" viewBox="0 0 14.462 8.769"><path id="Path_1387" data-name="Path 1387" d="M18.55,187.453c.5.507.993,1.01,1.49,1.508q1.791,1.789,3.585,3.575a.8.8,0,0,0,1.188,0c.227-.234.46-.462.691-.692a.787.787,0,0,0,0-1.179l-3.223-3.224q-1.563-1.565-3.125-3.131a.872.872,0,0,0-.585-.279.833.833,0,0,0-.643.278q-1.206,1.21-2.413,2.42l-3.285,3.286c-.224.224-.448.446-.67.671a.783.783,0,0,0,.008,1.157l.685.684a.8.8,0,0,0,1.206,0l2.908-2.9,2.106-2.1Z" transform="translate(-11.305 -184.028)"/></svg>');
        }
    }
    .children{
        padding-left: 1.25rem; 
        display: none;
    }
    .children:has(.current_page_item){
        display: block;
    }
     a.opened:after{
        transform: rotateX(0deg);
    }


    }
    ul{
        list-style: none;
        margin-top: 0.875rem;
        padding-left: 0.9375rem;
        li{
          
        }
    }
}
   
    .current_page_item{
       
        a{
            font-weight: bold;
            text-decoration: underline;
           
        }
        li{
            a{
                font-weight: 300;
                text-decoration: none;
            }
        }
    }


@media only screen and (max-width: 62.5rem) {
#page-sidebar{
    display: none;
}
#main{
    width: 100%;
   
}
}


.pi  {

    min-height:9.375rem;
    @media(min-width: 64rem) {
        min-height:12.5rem;
        text-align: center;
        justify-content: center;
        width: 100%;
        height: auto;
    }
    .recharts-wrapper {
        margin:0 auto;
    }
    h3 {
        color:#000;
        font-family:Gotham,Helvetica,Arial,sans-serif;
        font-weight: 700;
        margin:0;
    }   
    svg {
        height:12.5rem;
        overflow: visible;
    }
    svg:lang(en) {
        height:18.75rem;
    }
    @media(max-width: 48rem) {
       h3 {
           text-align:center;
       }
       svg {
           height:12.5rem;
       }
       svg:lang(en) {
            height:12.5rem;
        }
    }
}
#error-404-wrapper{
    .container{
        width: 100%;
        display: block; 
    }
.error-404{
    .entry-header{
        min-height:50vh;
    }
  #search-box-content {

            display: block !important;
    }
}
}