/*
Theme Name: Chesterfield Observatory
*/
@font-face {
    font-family: 'Lato-Black';
src: url('https://chesterfield-observatory.co.uk/wp-content/themes/cas/fonts/Lato-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-Bold';
    src: url('https://chesterfield-observatory.co.uk/wp-content/themes/cas/fonts/Lato-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-Regular';
    src: url('https://chesterfield-observatory.co.uk/wp-content/themes/cas/fonts/Lato-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --base-font:            'Lato-Regular', sans-serif;
    --base-size:            18px;

    --font-regular:         400;
    --font-bold:            700;
    
    --black:                #141f25;
    --white:                #ffffff;
    --blue:                 #0077BE;
    --dark-blue:            #0b2348;
    --light-grey:           #f9f9f9;
    --dark-grey:            #f2f2f2;
       
   --section-padding:       5rem;
}


/* Main CSS
-------------------------------------------------------------- */
body { 
    font-family: var(--base-font);
    font-size: var(--base-size);
    color: var(--black);
    background-color: var(--light-grey);
}
   

/* typography */

h1,h2,h3,h4,h5,h6 {
    color: var(--black); 
}

    h1.display {
        font-family: 'Lato-Black';
        font-weight: 900;
        font-size: 32px;
    }

        @media only screen and (min-width : 576px)  { h1.display { font-size: 40px; } }    
        @media only screen and (min-width : 768px)  { h1.display { font-size: 48px; } }
        @media only screen and (min-width : 992px)  { h1.display { font-size: 56px; } }
        @media only screen and (min-width : 1200px) { h2.display { font-size: 72px; } }

    h2.display {
        font-family: 'Lato-Black';
        font-weight: 900;
        font-size: 28px;
    }

        @media only screen and (min-width : 768px)  { h2.display { font-size: 32px; } }
        @media only screen and (min-width : 992px)  { h2.display { font-size: 40px; } }
        @media only screen and (min-width : 1200px) { h2.display { font-size: 48px; } }
        
    h3.display {
        font-family: 'Lato-Black';
        font-weight: 900;
        font-size: 28px;
    }

        @media only screen and (min-width : 768px)  { h3.display { font-size: 32px; } } 
        @media only screen and (min-width : 992px)  { h3.display { font-size: 40px; } }       
        @media only screen and (min-width : 1200px) { h3.display { font-size: 48px; } } 

.subheading  {
    font-family: 'Lato-Regular', sans-serif;
    font-weight: 400;
    font-size: 24px;
}

.text-blue    {color: var(--blue);}
.text-black   {color: var(--black);}
.text-bold    {font-weight: var(--font-bold);}
.text-regular {font-weight:var(--font-regular);}
.uppercase    {text-transform: uppercase;}

a {
    color: var(--blue); 
    text-decoration:none;
}

    a:hover, a:focus {
        color: var(--blue); 
        text-decoration:underline;
    }
 
p {
    font-size: var(--base-size);
}

b, strong {
    font-family: 'Lato-Bold', sans-serif;
    font-weight: 700;
}

/* attributes */
.relative    { position:relative; }
.absolute    { position:absolute; }
.no-overflow { overflow:hidden; }

.section-padding {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.bg-cover  { background-size: cover; }
.bg-center { background-position: center center; }

.visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

    .visual.left {
        left: 0;
        right: auto;
    }
  

/* buttons */
.btn {
    border-radius: 3px;
    font-family: 'Lato-Bold', sans-serif;
    font-weight: 700;
    font-size: 18px;
    padding: 10px 25px;
    position:relative;
    transition: color 1s ease-in-out,background-color 1s ease-in-out,border-color 1s ease-in-out,box-shadow 1s ease-in-out;
}

    .btn:hover, .btn:focus {
        border-radius: 3px;
        box-shadow:none;
        outline:0;
        text-decoration:none;
    }

.btn-blue {   
    border: 1px solid var(--blue);
    background: var(--blue);
    color: var(--white);   
    height: 52px;
    display:flex;
    justify-content:center;
    align-items:center;
    transition: .5s ease-in-out 0s;
}


    .btn-blue:hover, .btn-blue:focus {
        border: 1px solid var(--dark-blue);
        background: var(--dark-blue);
        color: var(--white);   
        transform: scale(1.07);
    }
    
.btn-banner {   
    border: 1px solid var(--blue);
    background: var(--blue);
    color: var(--white);   
    min-width: 236px;
    height: 66px;
    display:flex;
    justify-content:center;
    align-items:center;
    transition: .5s ease-in-out 0s;
}

    .btn-banner:hover, .btn-banner:focus {
        border: 1px solid var(--dark-blue);
        background: var(--dark-blue);
        color: var(--white);   
        transform: scale(1.07);
    }
    
.btn-map {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--black);  
    font-size: 14px;
    font-family: 'Lato-Regular', sans-serif;
    font-weight: 400;
    height: 46px;
    padding: 5px 16px 5px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    transition: .2s ease-in-out 0s;
}
    
.btn-link {
    padding:0; 
    text-decoration:none;
    font-family: 'Lato-Regular', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--white);
    position:relative;
}
	
	.btn-link.blue {
		color: var(--blue);
	}

    .btn-link::after {
        content:'';
        position:absolute;
        height:2px;
        left:0;
        bottom:0;
        width:0;
        background: var(--white);
        transition: width 0.4s; 
    }

		.btn-link.blue::after {
			background: var(--blue);
		}

    .btn-link:hover {
        color: var(--white);
        padding:0; 
        text-decoration:none;
    }      

		.btn-link.blue:hover {
			color: var(--blue);
		} 
    
        .btn-link:hover::after {
            width:100%;
        }
		
.wp-block-file__button {   
	border-radius: 3px;
    font-family: 'Lato-Bold', sans-serif;
    font-weight: 700;
    font-size: 18px;
    padding: 12px 25px;
    position:relative;
    //transition: color 1s ease-in-out,background-color 1s ease-in-out,border-color 1s ease-in-out,box-shadow 1s ease-in-out;
    border: 1px solid var(--blue);
    background: var(--blue);
    color: var(--white);   
    height: 52px;
    //display:flex;
    //justify-content:center;
    align-items:center;
    transition: .5s ease-in-out 0s;
	display: inline-block;
	opacity:1;
}


    .wp-block-file__button:hover, .wp-block-file__button:focus {
        border: 1px solid var(--dark-blue);
        background: var(--dark-blue);
        color: var(--white);   
        transform: scale(1.07);
		border-radius: 3px;
        box-shadow:none;
        outline:0;
        text-decoration:none;
		opacity:1;
		padding: 10px 25px;
    }

/* navbar styling */
.lock-scroll {
    overflow: hidden;
}

.navbar-nav li .dropdown-menu {
    //display: block;
}

    @media only screen and (min-width : 1200px) {
        .navbar-nav li .dropdown-menu {
            display:none;
            //display:block;
            //visibility: hidden;
            //opacity: 0;
            //transition: all 1s ease;
        }

        .navbar-nav li:hover .dropdown-menu {
            display: block;
           // opacity: 1;
           // visibility: visible;
        }
    }

.navbar {
    height: 70px;
}

    @media only screen and (min-width :1200px) {
        .navbar {
            height: 100%;
            padding: 0;
        }
		
		.navbar-nav {
			transition: .04s ease-in-out;	
		}
		
		.navbar-nav.show {
			opacity:0;
			visibility:hidden;
		}
			
    }

.navbar .navbar-brand {
    font-size:inherit;
}

.menu-navbar-container {
    width:100%;
}

.navbar ul {}

    @media only screen and (min-width : 1200px) {
        .navbar ul {
           margin-top:0;
        }
    }
    
    .navbar ul li {
        position: relative;
        display: block;
    }
    
        @media only screen and (min-width : 1200px) {
            .navbar ul li {
                opacity: 1;
                transition:opacity .6s ease-in-out;
                -moz-transition: opacity .6s ease-in-out;
                -webkit-transition:opacity .6s ease-in-out;
                visibility: visible;
            }
            
            .navbar li a::before {
                position: absolute;
                z-index: -1;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                border-radius:3px;
                background-color: var(--dark-blue);
                content: "";
                transition:all .6s cubic-bezier(.34,.9,.7,1);
                -webkit-transform:scaleX(0);
                -ms-transform: scaleX(0);
                transform: scaleX(0);
                -webkit-transform-origin:50%;
                -ms-transform-origin: 50%;
                transform-origin: 50%;
            }
            
            .navbar li:hover a::before {
                color: inherit;
                -webkit-transform:scaleX(1);
                -ms-transform: scaleX(1);
                transform: scaleX(1);
            }
            
        }     

ul.dropdown-menu {
    margin-top: 0px;
    background-color: transparent;
    border:none;
}

    @media only screen and (min-width :1200px) {
        ul.dropdown-menu {
            border: 1px solid rgba(0,0,0,.15);
            border-radius: 3px;
            background-color: #fff;
        }
        
        .navbar li ul.dropdown-menu li {
            transition: all 0.6s ease;
        }
        
            .navbar li ul.dropdown-menu li a::before {
                position: absolute;
                z-index: -1;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                border-radius:3px;
                background-color: transparent;
                content: "";
                transition:none;
                -webkit-transform:scaleX(0);
                -ms-transform: scaleX(0);
                transform: scaleX(0);
                -webkit-transform-origin:50%;
                -ms-transform-origin: 50%;
                transform-origin: 50%;
            }
        
            .navbar li ul.dropdown-menu li:hover,
            .navbar li ul.dropdown-menu li:focus {
                background-color: transparent;
                text-decoration: none;
            }
            
            .navbar li ul.dropdown-menu li:hover a,
            .navbar li ul.dropdown-menu li:focus a {
                color: var(--blue);
                text-decoration:none;
                background-color: transparent;
            }
    }

.dropdown-item {
    color: #ffffff;
    font-family: 'Lato-Regular', sans-serif;
    font-weight: 400;
    font-size: 18px;
	padding-top: 12px;
    padding-bottom: 12px;
}

    @media only screen and (min-width : 1200px) {
        .dropdown-item {
            text-align: left;
            padding: 8px 16px;
            color: var(--black);
            font-family: 'Lato-Regular', sans-serif;
            font-weight: 400;
            font-size: 18px;
			padding-top: 4px;
			padding-bottom: 4px;
        }
    }

    .dropdown-item:hover,
	.dropdown-item:focus {
        background-color: transparent;
        color: var(--blue);
        text-decoration:none;
    }

    .dropdown-item.active, .dropdown-item:active {
        color: var(--blue);
        text-decoration: none;
        background-color: transparent;
    }
	
.mobile-dropdown {
  float: right;
  position: absolute;
  right: 0;
  top: 11px;
}

button.dropdown-toggle {
	background-color: transparent;
	border:1px solid white;
	color: #fff;
	padding:3px 0px 0px 3px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

    @media only screen and (min-width: 1200px) {
        button.dropdown-toggle {
            display: none;
        }
    }

    .dropdown-toggle::after {
        border: none;
    }
	
	    @media only screen and (min-width: 1200px) {
			.dropdown-toggle::after {
				border-top: .3em solid;
				border-right: .3em solid transparent;
				border-bottom: 0;
				border-left: .3em solid transparent;
			}
		}

.navbar-header {
    height:54px;
}

    a.nav-link {
        color: #ffffff;
        font-family: 'Lato-Regular', sans-serif;
        font-weight:400;
        font-size:18px;
		padding-top: 12px;
		padding-bottom: 12px;
    }
    
        @media only screen and (min-width: 1200px) { 
            a.nav-link {
                color: #ffffff;               
                padding-right: 14px !important;
                padding-left: 14px !important;
                padding-top:10px;
                padding-bottom:10px;
                border-radius:3px;
				font-size:18px;
            }    
            
            header.scrolled a.nav-link {
                color: #737373;
            }
            
                header.scrolled .navbar li:hover a.nav-link {
                    color: #ffffff;
                }
                
            .single a.nav-link,
            .page-template-basic a.nav-link {
                color: #737373;
            }
            
                .single .navbar li:hover a.nav-link,
                .page-template-basic .navbar li:hover a.nav-link {
                    color: #ffffff;
                }
        }

        a.nav-link.active, a.nav-link:hover, a.nav-link:focus {
            color: #ffffff;       
            text-decoration:none;
        }
        
            @media only screen and (min-width: 1200px) { 
                a.nav-link.active, a.nav-link:hover  {
                    //color: #ffffff;
                    //background-color: var(--blue);
                }    
            }



        .current-menu-parent a.nav-link {
            color: #ffffff;       
        }

            @media only screen and (min-width: 1200px) { 
                .current-menu-parent a.nav-link {
                    //color: #ffffff;
                    //background-color: var(--blue);
                }    
            }

.navbar-toggler {
    z-index: 10;
    position: relative;
    top: 18px;
    padding: 0;
}

    .navbar-toggler:focus, .navbar-toggler:active {
        outline: 0!important;
        box-shadow:none!important;
    }

.navbar-collapse {
    transition: all 0.3s ease;
    display: block;
    position: fixed;
    top: 0px;
    bottom: 0;
    padding: 20px;
    left: -120%;
    width: 100%;
    margin-top:70px;
}

    .logged-in .navbar-collapse {
        margin-top:115px;
    }

        @media only screen and (min-width: 783px) {
            .logged-in .navbar-collapse {
                margin-top:100px;
            }
        }

    .navbar-collapse.show {
        left: 0;
        z-index: 5;
        background: #0D0D0D;
        overflow:scroll;
        border-top: 1px solid #fff;
    }

    @media only screen and (min-width: 1200px) {
        .navbar-collapse {
            position:static;
            padding: 0;
            margin-top:0;
        }

        .logged-in .navbar-collapse {
            margin-top:0;
        }
    }
    
    .navbar-toggler span {
       display: block;
       background-color:#fff;
       height: 2px;
       width: 25px;
       margin-top: 0;
       margin-bottom: 6px;
       -webkit-transform: rotate(0deg);
       -moz-transform: rotate(0deg);
       -o-transform: rotate(0deg);
       transform: rotate(0deg);
       position: relative;
       left: 0;
       opacity: 1;
    }

    .navbar-toggler span:nth-child(1),
    .navbar-toggler span:nth-child(3) {
       -webkit-transition: transform .35s ease-in-out;
       -moz-transition: transform .35s ease-in-out;
       -o-transition: transform .35s ease-in-out;
       transition: transform .35s ease-in-out;
    }

    .navbar-toggler:not(.collapsed) span:nth-child(1) {
        position: absolute;
        left: 0px;
        top: 6px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
        opacity: 0.9;
    }

    .navbar-toggler:not(.collapsed) span:nth-child(2) {
        height: 12px;
        visibility: hidden;
        background-color: transparent;
    }

    .navbar-toggler:not(.collapsed) span:nth-child(3) {
        position: absolute;
        left: 0px;
        top: 6px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
        opacity: 0.9;
    }


/*Header */
.notice-banner {
    background-color: #ff6000;
    padding: 10px;
	padding-top: 80px;
	height:auto;
}

    @media only screen and (min-width: 1200px) {
        .notice-banner {
            height:75px;
			padding-top: 10px;
        }
    }

	.notice-banner p {
		margin-bottom:0;
		font-family: 'Inter-Regular', sans-serif;
		font-weight: 400;
		color: #ffffff;
		font-size: 15px;
	}
	
.notice-banner.footer {
    background-color: #ff6000;
    padding: 24px;
	padding-top:24px !important;
	height:auto;
}

header {
    background-color: var(--black); 
     width: 100%;
     position: fixed;
     z-index: 10;
}

    @media only screen and (min-width: 1200px) { 
        header {
            background-color: transparent;
            height: 120px;
            z-index: 10;
            position: absolute;
            transition: .5s ease;
            -webkit-transition: .5s ease;
            -moz-transition: .5s ease;
        }        
        
        .fill-header header {
            background-color: #ffffff; 
        }     
        
        header.fixed-header {
            position: fixed;
            //top: 0;
        }
        
        header.shrink {
            height: 90px;
        }
        
        .single header,
        .page-template-basic header {
            border-bottom:1px solid #737373;
        }
        
        header.scrolled {
            background-color: #ffffff;
            border-bottom:1px solid #EFEFEF;
            //box-shadow: 3px 4px 18px rgba(0, 0, 0, 0.09);
        } 

        header .logo {
            width:120px;
            transition: ease-in-out .6s;
            -webkit-transition: ease-in-out .6s;
            -moz-transition: ease-in-out .6s;
            position: absolute;
            top: 0;
        }
              
         header.scrolled .logo {
            width:85px;
        }
    }
	
	@media only screen and (min-width: 1200px) { 
        header.push-down {
            position: absolute;
			//top:75px;
        } 
		
		header.push-down.fixed-header {
            position: absolute;
            //top:75px;
        }

		header.push-down.fixed-header.new-fixed-header {
            position: fixed;
			top:0;
        }  		
		
		.logged-in header.push-down {
			//top: 105px;
        }   
		
		.logged-in header.push-down.new-fixed-header  {
			position: fixed;
			top: 30px;
        } 
	}

header .small-logo {
	color: #fff;
  font-size: 16px;
  line-height: 0;
  display: flex;
  align-items: center;
  text-decoration:none;
}
	
	
.search-box {
    position: relative;
    width: 60px;
    height: 60px;
	margin-left: 10px;
}


.searchbar{
    margin-bottom: auto;
    margin-top: auto;
    height: 60px;
    background-color: var(--dark-blue);
    border-radius: 30px;
    padding: 10px;
	position: absolute;
    right: 0;
}

    .search_input{
    color: white;
    border: 0;
    outline: 0;
    background: none;
    width: 0;
    caret-color:transparent;
    line-height: 40px;
    transition: width 0.4s linear;
    }

    .searchbar.show > .search_input{
		padding: 0 40px 0 10px;
		width: 450px;
		caret-color:#ffffff;
		transition: width 0.4s linear;
    }

    .searchbar.show > .search_icon{
		background: white;
		color: #e74c3c;
    }

    .search_icon{
		height: 40px;
		width: 40px;
		float: right;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 50%;
		color:white;
		text-decoration:none;
		margin-top: -40px;
		z-index: 2;
		cursor: pointer;
		position: relative;
    }
	
		.search_icon img.magnifying-glass {
			filter: brightness(0) invert(1);	
			transition: .04s ease-in-out;			
		}	
		
			//.searchbar.show .search_icon img {
			//	filter:none;
			//}
		
		.searchbar .search_icon img.magnifying-glass {
			opacity:1;
			//visibility:visible
			transition: all 0.4s;
			-webkit-transition: all 0.4s;
		}
		
			.searchbar.show .search_icon img.magnifying-glass {
				opacity:0;
				//visibility:hidden
			}
		
		
		.searchbar .search_icon img.cross{
			opacity:0;
			transition: all 0.4s;
			-webkit-transition: all 0.4s;
			position:absolute;
		}
		

		.searchbar.show .search_icon img.cross{
			opacity:1;
			//visibility:visible
		}
			
			

/* Front Page */
.jumbotron {
	position: relative;
    min-height: 450px;
    padding-top: 70px;
}

      @media only screen and (min-width: 768px) {
        .jumbotron {
          height: 620px;
        }
      }

    @media only screen and (min-width: 992px) {
        .jumbotron {
            //height: 100vh;
            //min-height: 600px;
            //padding-top: 0;
        }
    }
            
            @media (min-height: 723px) and (min-width: 992px) {
                //.jumbotron {
                //    height: 80vh;
                //    min-height: 650px;
                //}
            }
                        
        @media only screen and (min-width : 1200px) { 
            .jumbotron {
                //height: 80vh;
                height: 600px;
                padding-top: 120px;
            }   
        }

           
    .jumbotron h1.heading {
        font-family: 'Lato-Black', sans-serif;
        font-weight: 900;
        font-size: 48px;
        line-height: 48px;
    }

        @media only screen and (min-width : 576px) { 
            .jumbotron h1.heading {
                font-size: 48px;
                line-height: 48px;
            }   
        }

        @media only screen and (min-width : 768px) { 
            .single .jumbotron h1.heading,
            .single .jumbotron h2.heading  {
                font-size: 48px;
            } 
        }
    
        @media only screen and (min-width : 992px) { 
            .jumbotron h1.heading {
                font-size: 64px;
                line-height: 64px;
            }   
            
            .single .jumbotron h1.heading,
            .single .jumbotron h2.heading {
                font-size: 48px;
            } 
        }

#home-links {}

	#home-links .box-outer {
		//background-image: url(images/logo-mask.png);
		height: 430px;
		background-position:bottom left!important;
		background-size: cover!important;
		color: #fff;
	}
		
		#home-links .box-outer .heading {
			font-family: 'Lato-Bold', sans-serif;
			font-weight: 700;
			font-size: 40px;
			line-height: 42px;
		}
	
	#home-links .groups {
		//background-image: url(images/group-visits.png);
		height: 430px;
		background-position:bottom left!important;
		background-size: cover!important;
		color: #fff;
	}
		
		#home-links .groups .heading {
			font-family: 'Lato-Bold', sans-serif;
			font-weight: 700;
			font-size: 38px;
			line-height: 40px;
		}	

	#home-links .events {
		//background-image: url(images/whats-on.png);
		height: 430px;
		background-position:bottom left!important;
		background-size: cover!important;
		color: #fff;
	}
		
		#home-links .events .heading {
			font-family: 'Lato-Bold', sans-serif;
			font-weight: 700;
			font-size: 40px;
			line-height: 42px;
		}	
		
	#home-links .overlay {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: #0b2348a6;
		opacity: 0;
		transition:0.6s ease-in-out;	  
	}
	
	#home-links a {
		text-decoration:none;
	}
		#home-links a:hover {
			text-decoration:none;
		}
	
		#home-links a:hover .overlay {
			opacity:1;
		}

#home-whatsup {
    background: linear-gradient(rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.6) 100%),url(images/subscribe-banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
	color:#ffffff;
}
}

/* inner page general styles */

.jumbotron.inner {}

    .jumbotron.inner.small {
        height: 400px;
        min-height: auto;
    }  
    
        @media only screen and (min-width : 1200px) { 
            .jumbotron.inner.small { 
                height: 400px; 
                padding-top: 120px;
            }        
        }
        
    .jumbotron.inner.basic { 
        height: auto; 
        min-height: 100%;
    }
    
    
    .jumbotron.inner.single {
        min-height: 300px;
        height: 50vh;
    }

        @media only screen and (min-width : 1200px) { 
            .jumbotron.inner.single {
                min-height: 500px;
                height: 60vh;
            }
        }
        
        .jumbotron.inner.single h1 {
            font-size:32px;
        }
        
            @media only screen and (min-width : 768px) { 
                .jumbotron.inner.single h1 {
                  font-size:32px;
                }
            }

            @media only screen and (min-width : 992px) { 
                .jumbotron.inner.single h1 {
                  font-size:32px;
                }
            }
        
            @media only screen and (min-width : 1200px) { 
                .jumbotron.inner.single h1 {
                  font-size:36px;
                }
            }
        
            .jumbotron.inner.single .custom-bg  {
                position: absolute;
                right: 0;
                top: 0;
                width: 50%;
                height: 100%;
                background-repeat: no-repeat;
                background-size: cover;
                background-position: center;
            }    
            
            @media only screen and (min-width : 1400px) { 
                .jumbotron.inner.single .custom-bg  {
                    width: 41.66666667%;
                }      
            }
    
.rank-math-breadcrumb,
.rank-math-breadcrumb p,
.rank-math-breadcrumb a {
    font-family: 'Lato-Regular', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #ffffff;
}    

    .jumbotron.inner.single .rank-math-breadcrumb p {
        font-size: 18px;
        color:#38B6FF;
    }
    
    .jumbotron.inner.single .rank-math-breadcrumb a,
    .jumbotron.inner.single .rank-math-breadcrumb .separator {
        font-size: 18px;
        color:#ffffff;
    }

#gallery {}

	#gallery .wp-block-image img {
		height: 350px;
		object-fit: cover;
		object-position: bottom right;
	}


/* contact us page */
    
#contact-page {}

    #contact-page .card {
        border-radius:0;
        border: none;
        border-top: 9px solid var(--blue);
        box-shadow: 0 3px 15px 0px rgba(0, 0, 0, 0.1);
    }

    
   
/* Post */
#blog article {
    background-color: #ffffff;
    border-radius:10x;
    height: 100%;
    filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.07));
}

    #home-blog .img-box,
    #blog article .img-box {
        width: auto;
        height: 250px;
        overflow: hidden;
    }

    #home-blog img,
    #blog article img {
        object-fit: cover;
        object-position: center;
        height: 100%;
        z-index: 1;
        transition: transform .8s ease-out;
    }
    
    #home-blog .card:hover img,
    #blog article:hover img{
        transform: scale(1.2);
    }

    #home-blog .card a,
    #blog article a,
	#blog.search-page a {
        color:var(--black);
        font-family: 'Lato-Regular', sans-serif;
        font-weight: 400;
        font-size: 18px;
        text-decoration:none;
    }

    #home-blog .card .heading,
    #blog article .heading {
        color:var(--black);
        font-family: 'Lato-Bold', sans-serif;
        font-weight: 700;
        font-size: 22px;
    }
    
.single .wp-block-heading {
    margin-bottom: 24px;
}

#blog.search-page input[type="text"] {
	background-color: #f6f6f6;
	color: #000;
	width: 100%;
	height: 100%;
	border:1px solid grey;
	border-radius:0;
	padding:15px 20px;
	margin-top: 5px;
	margin-bottom: 15px;
}

	#blog.search-page #searchsubmit {
	    border-radius:3px;
		font-family: 'Lato-Bold', sans-serif;
		font-weight: 700;
		font-size: 18px;
		padding:10px 25px;
        position: relative;
		transition: .5s ease-in-out 0s;
	    border: 1px solid var(--blue);
	    background: var(--blue);
	    color: var(--white);
	}
	
	#blog.search-page #searchsubmit:hover, #blog.search-page #searchsubmit:focus {
		border: 1px solid var(--dark-blue);
		background: var(--dark-blue);
		color: var(--white);
		transform: scale(1.07);
}
	


/* Post End */

/* Inner Page */





/* Inner Page End */

.sidebar .heading {
    font-family: 'Lato-Bold', sans-serif;
    font-weight: 700;
    font-size: 32px;
}

.sidebar .box {
	background-color: #FFF;
	border-radius:10px;
	box-shadow: 0 3px 15px 0px rgba(0, 0, 0, 0.1);
}

.sidebar a {
	text-decoration:none;
}

.sidebar .card {
	border-radius:0;
	box-shadow: 0 3px 15px 0px rgba(0, 0, 0, 0.1);
	border:none;
	color: var(--black);
}

	.sidebar .card .news-title {
		font-family: 'Lato-Bold', sans-serif;
		font-weight: 700;
		font-size: 22px;
	}

.accordion {}

    .accordion-item {
        border: none;
        border-top: 1px solid #E7E7E7;
        border-bottom: 1px solid #E7E7E7;
		background-color: #f9f9f9;
    }

        .accordion-item:first-of-type {
          border-top-left-radius: 0;
          border-top-right-radius: 0;
        }
        
            .accordion-item:first-of-type .accordion-button {
                border-top-left-radius: 0;
                border-top-right-radius: 0;
            }

    .accordion-button {
        font-family: 'Lato-Bold', sans-serif;
        font-weight: 700;
        font-size: 20px;
        color: var(--black);
        padding: 1rem 1.25rem 1rem 2.25rem;
		background-color: #f9f9f9;
    }
    
        .accordion-button::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
            left: 0;
            position: absolute;
            transform: rotate(-90deg);
          }
    
            .accordion-button:not(.collapsed)::after {
                    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
                    transform: rotate(0deg);
                }
    
    .accordion-button:not(.collapsed) {
          color: var(--black);
          background-color: #f9f9f9;
    }
    
    .accordion-button:focus {
        border-color: #E7E7E7;
        box-shadow: none;
    }

#subscribe {
    background: linear-gradient(rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.6) 100%),url(images/subscribe-banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
}


/* Contact Form */
.wpcf7 p {
    margin-bottom:0;
}

.contact input[type="text"], .contact input[type="email"], .contact input[type="tel"], .contact input[type="date"], .contact textarea {
    border: 1px solid #3c4858 !important;
    background:none;
    padding:16px 16px;
    width: 100%;
    font-size: 18px;
    color: #3c4858;
}
    
    .contact input[type="text"]:focus, .contact input[type="email"]:focus, .contact input[type="tel"]:focus, .contact input[type="date"]:focus, .contact textarea:focus {
        outline: 2px solid #ea9719 !important;
        background:transparent;
    }
    
    .contact.dark input[type="text"], .contact.dark input[type="email"] {
        border: 1px solid #ffffff !important;
        background:#ffffff;
        padding:16px 16px;
        width: 100%;
        font-size: 18px;
        color: var(--black);
    }

.contact input[type="date"] {
    width: auto;
}

.contact textarea {
    height: 100px;
}

.contact select {
    background:transparent;
    border:none;
    border:1px solid #3c4858;
    padding:14px 16px;
    -webkit-appearance:auto;
    -moz-appearance:auto;
    appearance: auto;
}

.captcha .quiz-box {
    width: 100%;
    background-color: var(--dark-grey);
    padding: 11px 14px;
}

.captcha label {
    display: inline !important;
    font-family: 'Lato-Regular', sans-serif;
	font-weight: 400;
}

.captcha .wpcf7-quiz-label {
    margin-right: 10px;
    color: var(--black);
}
.contact .captcha input[type="text"] {
    width: 60%;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

//::-webkit-input-placeholder { /* WebKit browsers */
//  opacity: 0.7;
//  color: var(--black);
//}
//:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
//  opacity: 0.7;
//  color: var(--black);
//}
//::-moz-placeholder { /* Mozilla Firefox 19+ */
//  opacity: 0.7;
//  color: var(--black);
//}
//:-ms-input-placeholder { /* Internet Explorer 10+ */
//  opacity: 0.7;
//  color: var(--black);
//}





/* Contact Form End */

/* Sitemap */





/* Sitemap End */

/* 404 */





/* 404 End */

/* Footer */

footer {
  color: #ffffff;
  font-family: 'Lato-Regular', sans-serif;
  font-weight: 400;
  font-size: 16px;
  background:#0D0D0D;
}

	footer .footer-logo {
		width:200px;
	}

    footer .heading {
        color: #ffffff;
        font-family: 'Lato-Bold', sans-serif;
        font-weight: 700;
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    footer li {
        margin-bottom: 8px;
    }
    
    footer a {
        color: #ffffff;
    }
    
        footer a:hover, footer a.active {
            color: #38B6FF;
            text-decoration:none;
        }


    footer .img-hover {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition:opacity 0.6s ease-out;
    } 
    
        footer .img-hover:hover {
            opacity: 1;
        }


/* Footer End */

.pagination a, .pagination span {
  display: block;
  float: left;
  margin: 0 4px 0 0;
  padding: 0 10px ;
  text-decoration: none;
  min-width: 38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: #ffffff;
  background: var(--blue);
}

	.pagination .current {
		background: var(--dark-blue);
		color: #fff;
	}
	
	.pagination a:hover {
		color: #fff;
		background: var(--dark-blue);
	}

/* Mobile Queries
-------------------------------------------------------------- */

/* Max Width */
@media (max-width: 495px) {}
@media (min-width: 576px) {}
@media (max-width: 768px) {}
@media (max-width: 992px) {}

/* min Width */
@media only screen and (min-width : 480px) {}
@media only screen and (min-width : 768px) {}
@media only screen and (min-width : 992px) {}
@media only screen and (min-width : 1200px) {}
