/*
Theme Name: RGPS MK III
Theme URI: https://www.rgps.co.uk
Author: RGPS
Author URI: https://rgps.co.uk/
Description: The New and Improved RGPS Theme built upon _s & Twitter Bootstrap
Version: 1.0.0
License: GNU General Public License v3.0 /
License URI: http://www.gnu.org/licenses/gpl-3.0.html

body {
	word-wrap: break-word;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}


/* Images and wp-captions should always fit and be responsive */
img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	max-width: 100%;
	border-radius: 4px;
	padding: 0 10px;
}
.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: center;
	margin-top: 10px;
}

/* WP Gallery */
.gallery {
	margin-bottom: 1.5em;
}
.gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.gallery dd {
	margin: 0;
}
.gallery-caption {
	display: block;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}


/* Content */
.main-content-inner {
	padding-bottom: 1.5em;
}
.hentry {
	margin: 0 0 1.5em;
}
.sticky {
	display: block;
}
.bypostauthor {
	display: block;
}


/* Clearing */
.clear {
	clear: both;
}

/* Navigation */

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:active>.dropdown-menu, .dropdown-submenu:hover>.dropdown-menu {
display: block;
}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:active>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}


/* Here some needed widget styles
 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
.widget { margin-bottom: 2em; }
.widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }

/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */
.widget_search .search-form input[type="submit"] { display: none; }

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
 * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */
 .comment .children { margin-left: 1.5em; }

/**
* Some WP Theme Repository requirements
*/

.sticky {
}

.gallery-caption {

}

.bypostauthor {

}

.entry-meta {
	clear: both;
}

/*
 == Quick CSS styling tips ==

 You can start off in a rough direction with some minimal styles.
 See below for some tips. ;)


 == Want to have the whole site wrapped? ==

 Just fill the .container class with some background color to have a the whole site "wrapped".
 This works so easy because every main part is wrapped only once into a container class by bootstrap.
 Try out by decommenting the next line and go from there.

 .container { background: #f9f9f9; border-right: 1px solid #eee; border-left: 1px solid #eee; }


 == Want to wrap just the content and sidebar in Bootstrap style? ==

 That one is a great example to show that some things are much cleaner and easier to do via just adding some HTML classes.
 In this case, we will add just one CSS class "panel", look for example at the beginning in content.php!


 == Infinite Scrolling by Jetpack ==
 You can enable this cool feature by simply decommenting the lines below and make sure you use the same classes on the right place in your html..

/* Globally hidden elements when Infinite Scroll is supported and in use.
 * Older / Newer Posts Navigation (the pagination, must always be hidden), Theme Footer only when set to scrolling.. */

/*
.infinite-scroll .page-links,
.infinite-scroll.neverending .site-footer {
	display: none;
}
*/

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */

/*
.infinity-end.neverending .site-footer {
	display: block;
}
*/

/* Hey, if you don't need my comments anymore, just delete me! :)  */


/* styles for _rgpsmk3_pagination und _rgpsmk3_link_pages */
nav form.tk-page-nav,
nav .input-group,
nav .input-group-btn,
nav .form-control {
    display: inline;
}

/* styles for _rgpsmk3_pagination und _rgpsmk3_link_pages */

/* COMMON */

@font-face {
    font-family: 'DK Lemon Yellow Sun';
    src: url('includes/fonts/DKLemonYellowSun.woff2') format('woff2'),
        url('includes/fonts/DKLemonYellowSun.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body{
	font-size:18px;
	font-family:futura-pt;
	font-weight: 100;
}

h1{
	font-size:3em;
	font-family: "DK Lemon Yellow Sun";
}
h2{
	font-size:2em;
	font-family: "DK Lemon Yellow Sun";
}
h3{
	font-family: "DK Lemon Yellow Sun";
}

.wiggle{
	font-family: "DK Lemon Yellow Sun";
}

section{
	padding-top:100px;
	padding-bottom:100px;
	position: relative;
}

#intro{
	background-color:#5abfc6;
	color:#fff;
}
.red{
	color:#de4b4b;
}
.yellow{
	color:#e9bc27;
}

.spikes{
	position:absolute;
	bottom:0px;
	height:15px;
	left:0px;
	width:100%;
	background-image: url("includes/images/spike.svg");
	background-repeat: repeat-x;	
}
.spikes_w{
	position:absolute;
	bottom:0px;
	height:15px;
	left:0px;
	width:100%;
	background-image: url("includes/images/spike_w.svg");
	background-repeat: repeat-x;	
}
.spikes_top{
	position:absolute;
	top:-15px;
	height:15px;
	left:0px;
	width:100%;
	background-image: url("includes/images/spike.svg");
	background-repeat: repeat-x;	
}

/* NAV */
#hamburger_s, .closebtn{
	position:absolute;
	top:1.5vw;
	right:1.5vw;
	width:30px;;
	height:auto;
	transition: all 0.4s;
	cursor:pointer;
	z-index: 999;
}
#hamburger, .closebtn{
	position:absolute;
	top:6vw;
	right:5vw;
	width:30px;;
	height:auto;
	transition: all 0.4s;
	cursor:pointer;
	z-index: 999;
}
.grad{
	background-color:#5abfc6;
}
#hamburger:hover,#hamburger_s:hover, .closebtn:hover {
transform: scale(1.05);
}

/* HEADER */
#h_head{
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	box-shadow: inset 0 0 0 2000px rgba(20,100,255,0.4);
}
#h_head_text{
	margin-top:12vh;
	margin-bottom:12vh;
	color:#fff;
	text-align:center;
}
#logo{
	position: relative;
	width:650px;
	height:auto;
}

/* NAVIGATION */

.overlay {
	width: 100%;
    height: 0%;
    position: fixed;
    left: 0;
    top: -6em;
    overflow: hidden;
    transition: 0.5s;
	z-index:1000;
	
}

.overlay-content {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
	transform: translate(0%,-50%)
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 2em;
    color: #fff;
    display: block;
	text-transform: uppercase;
	transition: all 0.4s;
	font-weight: bold;
    letter-spacing: 2px;
}

.overlay a:hover, .overlay a:focus {
    transform: scale(1.05);
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}


/* Intro */
#intro_text{
	font-size:1.2em;
	letter-spacing:1px;
	font-family: futura-pt;
	opacity:0;
}
.wiggle{
	font-family: "DK Lemon Yellow Sun";
	transform: translateY(30px);
	display: block;
	font-size:1.5em;
}
.intro_bug{
	position:absolute;
	width:8%;
	height:auto;
	right:15%;
	bottom:-40px;
}
/* Meet Ladybirds */
#team_text{
	text-align:center;
}
#team_text p{
	font-family: futura-pt;
		font-size:1em;
	letter-spacing:1px;
	font-weight: 100;
}
.team_image{
	height:55vh;
	width:auto;
}
#team_slider{
	text-align:center;
}
.slick-slide{
	text-align:center;
}
.slick-slide img{
	display:inline-block;
	text-align:center;
}
@-webkit-keyframes MOVE-BG {
   from {
     transform: translateX(0)translateY(-50%)
   }
   to { 
     transform: translateX(-50%)translateY(-50%);
   }
}

.ladybird_strip{
	position:absolute;
	width:200%;
	left:0%;
	right:-100%;
	height:20vh;
	z-index: 0;
	background-color:red;
	top:50%;
	transform:translateY(-50%);
	border-top:3px solid #333333;
	border-bottom:3px solid #333333;
	background-image: url("/wp-content/themes/rgpsmk3/includes/images/pattern.svg");
	animation-name: MOVE-BG;
  animation-duration: 20s;
 animation-timing-function: linear;
  animation-iteration-count: infinite;
	
}
.rel{
	position:relative;
	margin-top:100px;
}
.team_name{
	position:absolute;
	font-size:2em;
	bottom:10%;
	left:65%;
	color:#de4b4b;
	background-color:#fff;
	padding:10px;
	border-radius: 12px;
	line-height: 0.8em;
	font-family: "DK Lemon Yellow Sun";
}
.team_small{
	font-size:0.6em;
	color:#333;
}
#myNav{
	font-family: "DK Lemon Yellow Sun";
}

/* Love Ladybirds */
#love_ladybirds{
	text-align:center;
	color:#fff;
}
#love_ladybirds h2{
	margin-bottom:100px;
}
.blue_strip{
	position:absolute;
	width:100%;
	height:70%;
	z-index: 0;
	background-color:#5abfc6;
	top:0%;	
}
.kid_block{
	border:10px solid #e9bc27;
	background-color:#fff;
	border-radius:20px;
	height:auto;
	min-height:200px;
	padding:30px;
	position:relative;
	color:#333;
	text-align:left;
}
.kid_block_inner{
	width:65%;
}
.kid_block_inner h3{
	color:#e9bc27;
}
.kid_block img{
	position:absolute;
	right:5%;
	bottom:5%;
	width:30%;
	transition:all 0.5s;
}
.kid_block img:hover{
	transform:translateY(-15px);
}

/* News */
#home_news{
	background-color:#f9f9f9;
	color:#333333;
	padding:0px;
}
.news_title{
	padding-top:100px;
	text-align:right;
}
.news_inner{
	background-color:#5abfc6;
	color:#fff;
	padding:20px;	
	font-size:1em;
}
.news_inner a{
	color:#fff;
text-decoration: none;
	border:1px solid #fff;
	padding:7px;
	margin-top:20px;
	transition:all 0.4s;
}
.news_inner a:hover{
	background-color:#fff;
	color:#5abfc6;
}
.smaller{
	font-size:0.8em;
}

.news_sing{
	background-position: center;
	background-size: cover;
	padding:20px;
	padding-top:150px;
}

/* Home Enquiry */
#home_enquiry{
	text-align:center;
}
a.enq_btn{
	text-decoration: none;
	color:#333;
}
a.enq_btn{
	font-size:1em;
	border-radius: 10px;
	border:1px solid #333;
	padding:20px;
	display: inline-block;
	margin-top:50px;
	transition: all 0.3s;
	text-transform: uppercase;
}
a.enq_btn:hover{
	border-radius: 10px;
	border:1px solid #5abfc6;
	background-color:#5abfc6;
	padding:20px;
	color:#fff;
}

/* Footer */

footer{
	position:relative;
	background-color:#5abfc6;;
	color:#fff;
	padding-top:50px;
	padding-bottom:50px;
	text-align:center;
}
footer img{
	height: 20px;
    margin-right: 8px;
	margin-left: 15px;
}


#np_text{
	font-size:1em;
	letter-spacing:1px;
	text-align:center;
	margin-bottom:100px;
	font-weight: 100;
	font-family:futura-pt;
}
#np_text h1{
	font-size:2em;
}
#np_text.coco{
	font-family: futura-pt;
	font-size: 0.8em;
    text-align: left;
    line-height: 1.8em;
    font-weight: 100;
}

.blog_ind{
    padding: 20px;
	margin-bottom:20px;
	background-color:#fff;
	text-align:center;
	border: 1px solid #333;
}
.team_ind{
    padding: 20px;
	margin-bottom:20px;
	background-color:#fff;
	text-align:center;
	border: 1px solid #333;
}
.team_ind img{
	width:50%;
}
.news_head_img{
	background-position:center;
	background-size:cover;
	height:200px;
	width:100%;
}
button{
	background-color: #fff;
    border: 1px solid #333;
    color: #333;
    transition: all 0.4s;
    padding: 8px;
    font-size: 0.6em;
	font-family:futura-pt;
    letter-spacing: 1px;
    text-transform: uppercase;
	border-radius:5px;
}
button:hover{
	background-color: #e9bc27;
}
#contact_sec{
	text-align:center;
}
.container-fluid.yellow{
	margin-bottom:50px;
	margin-top:40px;
}
button a, button a:hover, button a:visited{
	color:inherit;
	text-decoration: none;
}
.about_main{
	font-family: futura-pt;
	font-weight: 100;
	font-size:1em;
}


	 /* HD+ Large Desktop, Wide Screens */
    @media only screen and (max-width : 2000px) {
		

    }
	
	 /* Large Desktop, Wide Screens */
    @media only screen and (max-width : 1600px) {
		

    }


    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {
		#logo{
	position: relative;
	width:350px;
	height:auto;
}
	}

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
.kid_block{
	margin-bottom:100px;
}
.blue_strip{

	height:100%;
}
	
    }

    /* Small Devices, Tablets */ 
    @media only screen and (max-width : 768px) {
#logo{
	position: relative;
	width:50%;
	height:auto;
}
    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {

    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {

    }

