﻿

body {
    font-size: 0.9rem;
    background-color: black;
    font-family: 'Asap', sans-serif;
    margin: 0px;
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Asap', sans-serif;
    /*color: #313131;*/
    /*color: #ff6a00;*/
}

h1, h2, h3{
    font-weight:700;
}

.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Asap', sans-serif;
    /*color: #313131;*/
    /*color: #ff6a00;*/
}
p{
    color:rgba(58, 56, 56, 1);
    font-size:1rem;
    
}
.no-js .top-bar {
    display: none;
}


/*  Navigation section */
    nav.tob-bar
    {
        text-align: center;
    }

@media screen and (min-width: 10em) {
    .mypad{
        padding-top:40px;
        padding-bottom:40px
    }

    .fgallery {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        height: 160vh;
        overflow: hidden;
    }
    .bannertextmain {
        font-size: 2.5rem;
    }
    .drilldown a {
        background-color: #900c0c;
    }
    .drilldown .is-drilldown-submenu{
        background-color:transparent;
    }

        .drilldown .is-drilldown-submenu a {
            padding: 2rem 1rem;
        }
}


 @media screen and (min-width: 40em) {
        .no-js .top-bar {
            display: block;
        }

        .no-js .title-bar {
            display: none;
        }

        .bannertextmain {
            font-size: 4.5rem;
        }

            .bannertextmain h2 {
                font-size: 1.8rem;
            }

    .mypad {
        padding-top: 80px;
        padding-bottom: 80px
    }

    .mypad2 {
        padding-bottom: 40px;
        padding-top: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }


    .fgallery {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        height: 90vh;
        overflow: hidden;
    }


    .dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a::after {
        border-color: white transparent transparent
    }

    }

#mainnav {
    background-color: #900c0c;
    color: whitesmoke;
    margin-top:10px;
}

.dropdown.menu a {
    padding: 2rem 1rem;
    text-transform:uppercase;
    width:100%;
}
.dropdown.menu .is-active>a{
    color:white;
    background-color:black;
}

.menu .myactive > a {
    background-color: #900c0c;
    color: white;
}

.menu > li > a {
    display: block;
    padding: 1.5rem 1.5rem;
    line-height: 1;
    font-size: 0.75rem;
    color: white;
    text-transform: capitalize;
    
    -webkit-transition: background-color 1s;

    margin-right: 4px;
}

    .menu > li > a:hover {
        background-color: black;
        color: white;
    }

.dropdown.menu > li.is-dropdown-submenu-parent > a:after {
    border: none;
}

.is-dropdown-submenu > li {
    width: 100%;
    background-color: #900c0c;
}
    /* End Navigation section */
.banner {
  
    border-bottom:solid 3px silver;
}
.banneroverlay {
    min-height: 80vh;
    background-color:rgba(49, 49, 49, 0.58)
}

.bannertextmain{
    color:#dc9908;
    font-weight:700;
}
.banneroverlay .h4{
    color:white;
}
/* Content section */
.content {
    background-color: whitesmoke;
}




    .contentbox {
    }

    .subcontentbox {
        display: block;
        min-height: 200px;
        border: solid 1px silver;
        background-color: white;
    }


.quotebg {
    background-image: url('../resources/images/pipfix.jpg');
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}
    .quotebghover{
        background-color:rgba(58, 56, 56, 0.74) ;
        color:white;
    }
    .quotebghover h3{
        color:whitesmoke;
    }

.whyusbg {
    background-color: #900c0c;
    color: white;
    min-height: 70vh;
}
.whyusbg h3{ color:whitesmoke}
.whyuspic {
    background-image: url('../resources/images/whyus.JPG');
    background-position: top center;
    background-size: 110%;
    /*animation-name: bgtrans;
    animation-duration: 10s;*/
}

.whyusbg  h4{
    color: white;
}

/*@keyframes bgtrans {
    0% {
        background-size:105%;
    }

    20% {
        background-size: 110%;
    }

    40% {
        background-size: 115%;
    }

    60% {
        background-size: 110%;
    }
    80% {
        background-size: 105%;
    }
    100% {
        background-size: 105%;
    }
}*/

.hover {
    background-color: rgba(0, 0, 0, 0.50);
}
.service h5{
    text-transform:uppercase;
}

.fgallery {
    display: grid;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    overflow: hidden;
}

    .fgallery img {
        object-fit: cover;
    }

.container {
    position: relative;
    text-align:center;
    color:white;
    /*width: 50%;*/
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.56);
    overflow: hidden;
    width: 100%;
    height: 100%;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: .3s ease;
    transition: .3s ease;
    cursor:pointer;
}

.container:hover .overlay {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 40%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.title-panel-decor {
    position: relative;
    top: 15%;
    /* right: calc(100% + 35px); */
    right: 92%;
    width: 80%;
    height: 0;
    font-size: 0;
    line-height: 0;
    border-top: 1px solid #e1e1e1;
}


    /* Content section */
footer {
    min-height: 35vh;
    /*width:101%;*/
    color: white;
    /*background-color: #313131;*/
    /*margin-left:-5px;*/
    background-color: #900c0c;
}
footer h6{
    font-weight:700;
}
footer a{ color:whitesmoke}

    .newsdiv {
        border-bottom: solid 1px silver;
        padding: 5px;
        display: inline-block;
        min-width: 90%;
    }

    .datediv {
        display: block;
        width: 40px;
        height: 50px;
        background-color: #0099CC;
        color: white;
        float: left;
        padding: 5px;
        margin: 10px;
        font-size: 16px;
    }

    .newstext {
        font-size: 14px;
    }





    textarea {
        height: 140px;
    }

    select {
        height: 35px;
    }

[type=color], [type=date], [type=datetime-local], [type=datetime], [type=email], [type=month], [type=number], [type=password], [type=search], [type=tel], [type=text], [type=time], [type=url], [type=week], textarea{
    border:none;
    border-bottom:solid 1px darkred;
    padding-top:25px;
    padding-bottom:25px;
}


.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2.5s;
    animation-name: fade;
    animation-duration: 2.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}


.silver{
    color:silver;
}

.gray{ 
    color:dimgray;
}