/*
Theme Name: 0319_w_agenda
Theme URI: https://agenda.wales
Author: Simon Bradwick
Author URI: https://egino.co.uk
Description: A theme made with the Twitter Bootstrap Plugin, for the NPSPCC and Cardiff University (along with Croatoan Design).
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 
Text Domain: 0319_w_agenda

This theme, like WordPress, is licensed under the GPL.
I used the Twenty Fifteen theme to start the layout - tip of the hat to them.
*/

@font-face {font-family:avenir;src: url(https://agenda.wales/all_resources/13_font/avenir.ttc);}

/* FOUNDATION */

body {min-height:900px;width:100%;font-family:'Muli', sans-serif, "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;background-color:rgb(255,251,218) !important;}
.container-fluid {padding-right:0;padding-left:0;}
.top-gap {padding: 15px 0 0 0;}
.gap-right {margin-right:3.5%;}
.center {text-align:center;}
.align_middle {vertical-align:middle;}
.img-circle {width:150px;}
.hidden-overflow {overflow:hidden;}
a, a:hover, p, h1, h2, h3, h4 {color: rgb(255,255,255);}
.post img {width:100%;height:auto;}
.post-wrap {margin-bottom:5%;}
.row {padding:0;margin:0;}
img {object-fit:contain;}

/* PARALLAX HOMEPAGE */

.pad-section {
padding: 50px 0;
}
.pad-section img {
width: 100%;
}

/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
.container-fluid, .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {padding-left:0;padding-right:0;}
.mobile_hidden {display:none !important;}
.larger_than_mobile_hidden, .ipad_hidden {display:block;}
	.dropdown-menu > li > a, .dropdown-menu > li > a:hover {color:rgb(255,251,218);background-color:rgb(43,98,95);}.dropdown-menu {padding:0;}
.header_nav {visibility:hidden;}.word_scatter{height:300px;background: url(https://agenda.wales/all_resources/05_word_cloud/cloud-2.png) no-repeat center center fixed;} .footerz{height:250px;} .header {z-index:0;height:500px;background: url(https://agenda.wales/agenda_0319/agenda_top_mobile.png) no-repeat center center fixed;}.blog_post {overflow:hidden;max-width:400px;}.issuu-isrendered {max-width:350px;}
		/*0319 */
	.orange_side {border-style: solid;
border-width: 34px 0px 61px;
-moz-border-image: url(https://agenda.wales/agenda_0319/orange_border.png) 34 0 61 ;
-webkit-border-image: url(https://agenda.wales/agenda_0319/orange_border.png) 34 0 61;
-o-border-image: url(https://agenda.wales/agenda_0319/orange_border.png) 34 0 61 ;
border-image: url(https://agenda.wales/agenda_0319/orange_border.png) 34 0 61;
		}
	.orange_side_color {background-color:#e58938;min-height:510px;}
	.green_side {border-style: solid;
border-width: 34px 34px 61px 34px;
-moz-border-image: url(https://agenda.wales/agenda_0319/green_border_2.png) 34 34 61 34;
-webkit-border-image: url(https://agenda.wales/agenda_0319/green_border_2.png) 34 34 61 34;
-o-border-image: url(https://agenda.wales/agenda_0319/green_border_2.png) 34 34 61 34;
border-image: url(https://agenda.wales/agenda_0319/green_border_2.png) 34 34 61 34;}
.green_minus_leftz {margin-left:-34px;}
	.green_side_color {background-color:#2b625f;min-height:510px;}
.top_not {z-index:1;margin:-34px 0px -61px;background-color:transparent;}
.top_not p {margin:0;}
.wordscatterz img {max-width:100%;max-height:100%;}
.orange_tab-wrap {height:100%;z-index:1;margin:-34px 0px -61px;position:relative;}
.green_tab_wrap {height:100%;z-index:2;margin:0px -34px -61px 0px;position:relative;}
.colour_tabs img {padding:0 0 2em 20px;}
.colour_tab_wrap {}
.top_menu_font a {font-size:20px;font-weight:bold;color:rgb(255,251,218) !important;}
h1, h2, h3, h4, h5 {font-weight:bold;color:rgb(255,251,218) !important;}
.hr_stripe img {padding:2em 50px 2em 0;}
.footer {z-index:0;position:relative;}
.temp_footer {text-align:center;padding:2em 0 2em 0;}
.temp_footer img {max-width:100% !important;}
.footer_border {
-moz-border-radius: 30px;
-webkit-border-radius: 30px;
border-radius: 30px; /* future proofing */
-khtml-border-radius: 30px; /* for old Konqueror browsers */}
.footer_social {background-color:#3c3c3b;height:auto!important;}
.social_icon img {padding:5px 0 5px 0;}

.download_0319 {
border-style: solid;
border-width: 34px 0px 61px;
-moz-border-image: url(https://agenda.wales/agenda_0319/orange_border.png) 34 0 61 repeat;
-webkit-border-image: url(https://agenda.wales/agenda_0319/orange_border.png) 34 0 61 repeat;
-o-border-image: url(https://agenda.wales/agenda_0319/orange_border.png) 34 0 61 repeat;
border-image: url(https://agenda.wales/agenda_0319/orange_border.png) 34 0 61 repeat;
}
.download_inner_0319 {
background-color:#e58938;
	height:100%;
overflow:hidden;}

.download_0319_2 {
border-style: solid;
border-width: 20px 20px 20px 20px;
-moz-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_green.png) 20 20 20 20;
-webkit-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_green.png) 20 20 20 20;
-o-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_green.png) 20 20 20 20;
border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_green.png) 20 20 20 20;
}
.download_inner_0319_2 {
background-color:#2b625f;
	overflow:hidden;}
.keep_right {float:right;width:50%;z-index:2;position:absolute;top:-15px;left:40%;}
.keep_left {float:left;width:50%;z-index:1;position:relative;}
.download_tabs {margin-top:-30px;overflow:visible;position:relative;z-index:0}
.download_buttons {top:78%;position: absolute;z-index:2;}
.download_row {position:relative;z-index:1;}
.visible {display:block;}
.not_visible {display:none !important;}

	/* end of 0319 */

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
	.mobile_hidden {display:block !important;;}
.larger_than_mobile_hidden, .ipad_hidden {display:none !important;}
.header_nav {visibility:hidden;}.word_scatter{height:400px;background: url(https://agenda.wales/all_resources/05_word_cloud/cloud-2.png) no-repeat center center;} .footerz{height:250px;} .header {height:700px;background: url(https://agenda.wales/agenda_0319/agenda_top_mobile.png) no-repeat center center;}.blog_post {overflow:hidden;max-width:600px;}.issuu-isrendered {max-width:500px;}}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px)  {

	.mobile_hidden {display:block !important;;}
.larger_than_mobile_hidden, .ipad_hidden {display:none !important;}
	.header {height:500px;background: url(https://agenda.wales/agenda_0319/agenda_top_desktop.png) no-repeat center center fixed;}
	
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.download_tabs {margin-top:-80px;}
.nav_font {font-size:.8em;}
.issuu-isrendered {min-height:600px;}
.issuu-isrendered {max-width:1050px;}
.blog_post {overflow:hidden;max-width:1000px;}

.header_nav {visibility:visible;}
.header_nav_mobi {visibility:hidden;}
.word_scatter {height:600px;background: url(https://agenda.wales/all_resources/05_word_cloud/cloud-2.png) no-repeat center center fixed;}
.footerz {height:600px;}
.content
{border-style: solid;
border-width: 34px 0px 61px;
-moz-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_green.png) 34 0 61 ;
-webkit-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_green.png) 34 0 61;
-o-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_green.png) 34 0 61 ;
border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_green.png) 34 0 61;
border-image-repeat: space;}
.download {
border-style: solid;
border-width: 34px 0px 61px;
-moz-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_red.png) 34 0 61 repeat;
-webkit-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_red.png) 34 0 61 repeat;
-o-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_red.png) 34 0 61 repeat;
border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_red.png) 34 0 61 repeat;
}
.media_cat {
border-style: solid;
border-width: 34px 0px 61px;
-moz-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_orange.png) 34 0 61 repeat;
-webkit-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_orange.png) 34 0 61 repeat;
-o-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_orange.png) 34 0 61 repeat;
border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_orange.png) 34 0 61 repeat;}
.resources_cat 
{border-style: solid;
border-width: 34px 0px 61px;
-moz-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_light_blue.png) 34 0 61 repeat;
-webkit-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_light_blue.png) 34 0 61 repeat;
-o-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_light_blue.png) 34 0 61 repeat;
border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_light_blue.png) 34 0 61 repeat;}
.ambassadors_cat{
border-style: solid;
border-width: 34px 0px 61px;
-moz-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_purple.png) 34 0 61 repeat;
-webkit-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_purple.png) 34 0 61 repeat;
-o-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_purple.png) 34 0 61 repeat;
border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_purple.png) 34 0 61 repeat;
}
.pager_strip {
border-style: solid;
border-width: 34px 0px 61px;
-moz-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_blue.png) 34 0 61 repeat;
-webkit-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_blue.png) 34 0 61 repeat;
-o-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_blue.png) 34 0 61 repeat;
border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_blue.png) 34 0 61 repeat;
}
.training_and_events_cat{

border-style: solid;
border-width: 34px 0px 61px;
-moz-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_yellow.png) 34 0 61 repeat;
-webkit-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_yellow.png) 34 0 61 repeat;
-o-border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_yellow.png) 34 0 61 repeat;
border-image: url(https://agenda.wales/all_resources/03_coloured_strips/full_border_yellow.png) 34 0 61 repeat;}

}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: @screen-lg-min) {
	.nav_font {font-size:1em;}}

.header {

position: relative;

width:100%;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;

z-index:0;
}

.header_padding {
padding:30px 0 0 30px;
}

.content {
height:100%;
width:100%;



z-index:1;
margin:-34px 0px -61px;
position:relative;
}

.content_inner {
background-color: rgb(44,97,94);
height:100%;
padding:0 10px 30px 10px;
}

.content_inner img {
height:100%;
width:100%;
}

.word_scatter {

position: relative;
width: 100%;
-webkit-background-size: contain;
-moz-background-size: contain;
-o-background-size: contain;
background-size: contain;

z-index:0;
}

.download, .download_0319 {
height:100%;
width:100%;


z-index:1;
margin:-34px 0px -61px;
position: relative;
}


.download_inner {
background-color: rgb(166,88,96);
height:100%;
overflow:hidden;
}

.download_inner img {
max-height:100%;
width:100%;
}

.footer {
background: url(https://agenda.wales/all_resources/00_background/background_two.png) repeat center center fixed;
position: relative;
width: 100%;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

.footer_inner {

}

.footer_padding {
padding:50px 0 30px 0;
}


/* PAGINATION */

.pager li > a {background-color:transparent;border: 1px solid #fdfdfd;}
.pager li > a.hover {background-color:#fdfdfd;border: 1px solid #fdfdfd;}

/* BLOG STRIPS */

.spacer {
background: url(https://agenda.wales/all_resources/00_background/background_two.png) no-repeat center center fixed;
height: 200px;
position: relative;
width: 100%;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;

z-index:-1;
position:relative;
}

.media_cat {
height:100%;
width:100%;


z-index:1;
margin:-34px 0px -61px;
position:relative;
}

.media_cat_inner {
background-color: rgb(227,133,57);
height:100%;}

.media_cat_inner img {
height:100%;
overflow:hidden;}

.resources_cat {
height:100%;
width:100%;

z-index:1;
margin:-34px 0px -61px;
position:relative;
}

.resources_cat_inner {
background-color: rgb(90,166,163);
height:100%;}

.resources_cat_inner img {
height:100%;
overflow:hidden;
}

.training_and_events_cat {
height:100%;
width:100%;

z-index:1;
margin:-34px 0px -61px;
position:relative;
}

.training_and_events_cat_inner {
background-color: rgb(217,197,69);
height:100%;}

.training_and_events_cat_inner img {
object-fit:cover;
}

.ambassadors_cat {
height:100%;
width:100%;

z-index:1;
margin:-34px 0px -61px;
position:relative;
}

.ambassadors_cat_inner {
background-color: rgb(92,74,135);
height:100%;}

.ambassadors_cat_inner img {
height:100%;
overflow:hidden;}

.pager_strip {
height:100%;
width:100%;

z-index:1;
margin:-34px 0px -61px;
position:relative;
}

.pager_strip {
background-color: rgb(60,101,150);
height:100%;}

.pager_strip img {
height:100%;
overflow:hidden;}

/* BLOG POSTS */
.blog_posts img {
padding: 0 5px 5px 5px;
}
.blog_posts {overflow:hidden;}

/* NAV */

/* Minor style rules for presentational purposes */

/* Actual navmenu CSS */

#nav{
 
}

#nav, #nav li{
    display: block;
    list-style: none;
    position: relative;
    z-index: 82;
}
    #nav > li{
        float: left;
        z-index: 82;
    }
        #nav > li:hover{
            background: transparent repeat-x top left;
        }
    
        #nav a{
            display: block;
            line-height: 37px;
            padding: 0 0.5em;
            z-index: 82;
            position: relative;
            color: #fff;
        }
            #nav a:hover{
                color: #fff;
		text-decoration:underline;
            }
    
        /* Subnav Menu */
        #nav .submenu{
            display: none;
            position: absolute;
            z-index: 80;

			border-radius: 10px;
        
            left: 0px;
            top: 37px;
            min-width: 100%;
        
        }
            #nav .submenu li{
                display: block;
                line-height: 27px !important;
            }
                #nav .submenu li:hover{
                    	
                }
            
                #nav .submenu a{
                    display: block;
                    line-height: 27px !important;
                    white-space: nowrap;
                }
            
                #nav > li:hover .submenu{
                    display: block;
                }
                    /* Hide next level of subnavigation */
                    #nav > li:hover > .submenu .submenu{
                        display: none;
                    }


                #nav .padding{
                    display: block;
                    position: absolute;
                    z-index: 78;
                
                    width: 100%;
                    height: 100%;
                
                    top: 0px;
                    left: 0px;
                    background: none !important;
                }
                    /* Padding amount for first-level dropdown */
                    #nav > li > .submenu > .padding{
                        width: 160%;
                        left: -15%;
                        height: 140%;
                    }
            
                #nav .buffer{
                    display: block;
                    position: absolute;
                    bottom: 0px;
                    right: 100%;
                
                    width: 100%;
                    height: 100%;
                    background: #000 !important;
                }
            
                #nav .shadow{
                    display: none !important;
                }
    
        /*  Third-level Subnavigation */
            #nav .submenu .submenu{
                position: absolute;
                left: 100%;
                top: -1px;
            }
                #nav .submenu .submenu .padding{
                    width: 150%;
                    top: -35%;
                    height: 170%;
                }
                /*  Show subnavigation */
                #nav > li:hover .submenu li:hover > .submenu{
                    display: block;
                    z-index: 70 !important;
                }
    



        /* CSS3 Transition Handling */
        #nav.use-trans li > .submenu{
            opacity: 0;
            display: block !important;
            left: -9999px !important;
        
            -moz-transition:        0.2s opacity ease-in, 0s left linear 0.22s;
            -webkit-transition:     0.2s opacity ease-in, 0s left linear 0.22s;
            -khtml-transition:      0.2s opacity ease-in, 0s left linear 0.22s;
            -icab-transition:       0.2s opacity ease-in, 0s left linear 0.22s;
            -ms-transition:         0.2s opacity ease-in, 0s left linear 0.22s;
            -o-transition:          0.2s opacity ease-in, 0s left linear 0.22s;
            transition:             0.2s opacity ease-in, 0s left linear 0.22s;
        }
            /* Hide next level of subnavigation */
            #nav.use-trans > li:hover > .submenu .submenu{
                display: block !important;
                left: -9999px !important;
            }

        
            /* Hover */
            #nav.use-trans > li:hover > .submenu,
            #nav.use-trans > li > .submenu li:hover > .submenu{
                opacity: 1 !important;
            
                -moz-transition-delay:      0s;
                -webkit-transition-delay:   0s;
                -khtml-transition-delay:    0s;
                -icab-transition-delay:     0s;
                -ms-transition-delay:       0s;
                -o-transition-delay:        0s;
                transition-delay:           0s;
            }
                #nav.use-trans > li:hover > .submenu                {   left: 0px !important;   }
                #nav.use-trans > li > .submenu li:hover > .submenu  {   left: 100% !important;  }


        /*  Running Border on Subnavigation
        -   Stable implementation requires an additional span tag at the end of each anchor tag.
        */
        #nav ul a{
            position: relative;
        }
            #nav ul a span{
                
                position: absolute;
                bottom: 0px;
                left: 0px;
                height: 1px;
                width: 100%;
            }



        /*  Outlining Rules for Debugging */
        .padding    {   outline-color: red;     }
        .buffer     {   outline-color: blue;    }
    
        .showbounds .padding,
        .showbounds .buffer{
            outline-style: solid;
            outline-width: 1px;
        }


/* Theming can go here */
#nav{

}
    #nav > li{
    border-left: 0px solid #000;
    border-right: 0px solid #000;
    }
    #nav > li:first-child{
        border-left: 0 !important;
    }

    #nav > li:hover{
    
    }

    #nav .submenu li{
        
border-radius: 10px;
    }

/* AGENDA PDF */