﻿    /*************************************
		FIRGROVE HOLDINGS
        CSS STYLES
        Developed 18/01/2021
        Justin Kercher
        Apollo Internet Media


        COLOUR REF:

        LT GREY: #e5e5e5

        FIRGROVE HOLDINGS:
        DK GREEN: #035606
        LT GREEN: #67913b

        TURNBURY PROJECTS:
        DK BLUE: #3b4b5a
        LT BLUE: #587db4

        UPHAM:
        DK TURQUOISE: #1d6161
        LT TURQUOISE: #2e9898

        FIRGROVE AIR MANAGEMENT:
        DK BLUE: #001952;
        LT BLUE: #00a9dd

	*************************************/
    @-webkit-viewport   { width: device-width; }
    @-moz-viewport      { width: device-width; }
    @-ms-viewport       { width: device-width; }
    @-o-viewport        { width: device-width; }
    @viewport           { width: device-width; }	

    @import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

    /*************************************
		Convenience Styling
	*************************************/
    html, form, body { height: 100%; }
    body { font-family: 'Lato', sans-serif; color: #333; padding: 0px; margin: 0px; text-align: left; font-size: 16px; line-height: 1.5; }
    
    form { display: flex; flex-direction: column; }

    b, strong, label, th { font-weight: 700; }

    a img { border: 0px none; }
    h1, h2 {  margin-top: 0px; }
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.4em; }
    h3 { font-size: 1.6em; }
    
    p { margin-top: 0px; }
    a { color: #000; text-decoration: underline; }
        a:hover { color: #000; text-decoration: none; }
    
    /*************************************
		Classes
	*************************************/
    .img-center { margin-left: auto; margin-right: auto; float: none; width: auto; }

    /* tick list */
    ul.tick-list { list-style: none; padding: 0px; margin: 0px; }
        ul.tick-list li { position: relative; display: block; padding-left: 1.2em; }
        ul.tick-list li:before { content: "\f058"; position: absolute; top: 0.3em; left: 0px; display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;  }

    /* buttons */
    .button { display: block; padding: 10px 30px; background-color: #333; color: #fff; border: 0px; border-collapse: collapse; text-transform: uppercase; margin: 15px 0px; text-decoration: none !important; text-align: center;
              font-size: 16px; text-transform: uppercase;
              -webkit-transition: all 0.5s ease-in-out;  transition: all 0.5s ease-in-out; }
        .button:hover { background-color: #eaeaea; color: #fff; transform: scale(1.1); }

    /* hide all special classes by default*/
    .firgrove-holdings, .firgrove-air, .upham, .turnbury { display: none; }

    /* Show special classes based on body class*/
    body.firgrove-holdings-page .firgrove-holdings, body.upham .upham, body.firgrove-air-page .firgrove-air, body.upham-page .upham, body.turnbury-page .turnbury { display: block; }
    
    /* Background colours */
    .bg-lt-grey { background-color: #e5e5e5; }
    .bg-col, .bg-col2, .bg-col a, .bg-col2 a { color: #fff; }
    .bg-col, .button {  background-color: #333; /* neutral by default*/ }
    .bg-col2, .button:hover { background-color: #999; /* neutral by default*/}

    body.firgrove-holdings-page .bg-col, body.firgrove-holdings-page .button  { background-color: #035606; }
    body.firgrove-air-page .bg-col, body.firgrove-air-page .button {  background-color: #001952; }
    body.turnbury-page .bg-col, body.turnbury-page .button  { background-color: #3b4b5a; }
    body.upham-page .bg-col, body.upham-page .button, .btn-upham-developments { background-color: #1d6161; }

    body.firgrove-holdings-page .bg-col2, body.firgrove-holdings-page .button:hover, .btn-firgrove-group  { background-color: #67913b; color: #fff; }
    body.firgrove-air-page .bg-col2, body.firgrove-air-page .button:hover, .btn-firgrove-air-management { background-color: #00a9dd;  color: #fff; }
    body.turnbury-page .bg-col2, body.turnbury-page .button:hover, .btn-chaluke-estates-ltd { background-color: #587db4; color: #fff; }
    body.upham-page .bg-col2, body.upham-page .button:hover, .btn-meadow-view { background-color: #2e9898; color: #fff; }

    .btn-firgrove-group:hover { background-color: #035606; color: #fff; } 
    .btn-firgrove-air-management:hover { background-color: #001952; color: #fff; }
    .btn-turnbury-projects:hover { background-color: #3b4b5a; color: #fff; }
    .btn-upham-developments:hover, .btn-meadow-view:hover { background-color: #1d6161; color: #fff; }

    /* Article listings */
    .article-listing-item { position: relative; }
        .article-listing-item .article-image-wrap { position: relative; overflow: hidden; }
            .article-listing-item .article-image-wrap img { transition: all 0.5s ease-in-out; }
        .article-listing-item:hover img { transform: scale(1.1); }

    .news-listing-item { margin-bottom: 15px; padding-bottom: 15px; border-bottom: solid 1px #dedede; }
        .news-listing-item .badge { font-size: inherit; font-weight: normal; padding: 8px; }

    /*************************************
		Main Layout Styles
	*************************************/

    #site-wrap { flex: 1 0 auto; }

    #site-header { }
        #site-header #top-bar a { display: inline-block; position: relative; color: inherit; text-decoration: none !important; }

            body.firgrove-holdings-page #top-bar a:hover { color: #67913b !important; }
            body.firgrove-air-page #top-bar a:hover { color: #00a9dd !important; }
            body.turnbury-page #top-bar a:hover { color: #587db4 !important; }
            body.upham-page #top-bar a:hover { color: #2e9898 !important; }

            #site-header #top-bar a + a:before { content: "|"; margin: 0px 5px; display: inline-block; text-decoration: none !important; }
        #site-header .row { position: relative; }
        #site-header #site-logo img { display: block; max-width: 80%; width: auto; margin-left: auto; margin-right: auto; }

    #site-content { }

    #site-footer { flex-shrink: 0; }
        #site-footer a { color: inherit; text-decoration: none !important; }

    /*************************************
		Banner
	*************************************/
    #site-banner { }
    #site-banner .carousel-item { text-decoration: none !important; }
    #site-banner .carousel-caption { position: relative; display: none; color: #fff; display: block; padding: 15px; left: auto; top: auto; bottom: auto; right: auto; text-align: left; font-size: 1.5em;  }
    #site-banner .carousel-caption .button { margin-top: 15px; margin-bottom: 15px; }

		 
			
    /************************************
	    BOOTSTRAP RESPONSIVE OVERRIDES
    ************************************/
    .newsTitle { color: inherit !important; text-decoration: none !important; }

    .btn { text-decoration: none !important; }
    .btn-primary, .pagination > a.active { background-color: #67913b; border-color: #67913b; }
        .btn-primary:hover { background-color: #333; border-color: #333; }

    .icon-bar { background-color: #fff; }

    /* SM */
    @media (min-width: 576px) {

    }
    
    /* MD */
    @media (min-width: 768px) {
        /* Classes */
        .button { display: inline-block; }
        .button + .button { margin-left: 5px; }
    }

    /* LG */
    @media (min-width: 992px) {
        /* Header */
        #site-header #top-bar a { display: inline-block; position: relative; margin: 0px 15px; }
            #site-header #top-bar a + a:before { content: "|"; margin: 0px 5px; display: inline-block; text-decoration: none !important; }

        /* Footer */
        #site-footer a { display: inline-block; position: relative; }
            #site-footer a + a:before { content: "|"; margin: 0px 5px; display: inline-block; text-decoration: none !important; }

        /* Banner */
        #site-banner .carousel-item:before { position: absolute; top: 0; left: 0; right: 0; bottom: 0; content: ""; background-color: rgba(0,0,0,0.3); z-index: 1; }
            #site-banner .carousel-item img { position: relative; z-index: 0; }
        #site-banner .carousel-caption { background-color: transparent !important; position: absolute; left: 60%; top: 50%; right: auto; bottom: auto; font-size: 1.6em;
                                         -webkit-transform: translateY(-50%); transform: translateY(-50%); color: #fff; z-index: 10; }
        #site-banner .carousel-caption h1 { margin: 0px !important; }
        #site-banner .carousel-caption .button { display: inline-block; margin-bottom: 0px; }
    }

    /* XL */
    @media (min-width: 1200px) {
        #site-banner .carousel-caption { font-size: 2.2em; }
    }