/*
Theme Name: Bega Cheese 3.0
Author: 2pi Software
Description: A custom Wordpress theme developed by James Thompson at 2pi Software.

Version: 1.1
Tags:  
*/
/* =WordPress Core
-------------------------------------------------------------- */

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='1' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");}


.col-md-10 {min-height:500px;}

.titlewrap .col-md-7 {
	padding-left:182px;/*left just in case required*/
    padding-left: 30px!important;
}
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;

}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
    background:#D6201A;
}

.wp-caption p {color: #fff;}
.btn img {width: 50%;}
.btn {background:#D6201A;width:25%;}
.btn2 a {background:#D6201A;color:#fff !important;width:50%;}
.wp-block-button.aligncenter.btn2 a {color: #fff !important;}
.page_item_has_children {background:none !important;}
.page_item_has_children a {background:#C09170;color:#fff;border-radius: 8px 0 0 8px;}
.page_item_has_children a:hover {background: #9D8576;}
.page_item_has_children li a {background: #9D8576;}
.page_item_has_children li a:hover {background:#000;}
.children {padding: 0;margin-left:15px;}
.children li{margin-top: 1px;border-radius:0 !important;font-size: 0.8em;background:#9D8576 !important;margin-left:-1px !important;width:101% !important;}
.children li:hover{background:#000;}
.children li a {padding-right:20px !important;border-radius: 0 !important;}
.topPush {margin-top:20px;}
.bottomPush {margin-bottom:50px;}
.content td {padding:0.4em 0.8em;}
.spacer {margin:5px;}
.col-md-3.col.prodtile {max-width: 32%;flex: initial;}
.circleimg img{
border-radius: 100%;
border: 5px solid #fff;
box-shadow: 0 5px 5px rgba(0,0,0,0.2);
width: 250px;
display:inline-block;
position:relative;
}

.circleimg {margin:1em;}

.flexcont {
    display: flex;}

.circleimg h3 {
    color: #D6201A;
    text-align: center;
    width: 250px;
    font-size: 1.2em;
    margin:1em 0;
}

.wpcf7-form-control.wpcf7-textarea, .wpcf7-form-control.wpcf7-text, .wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    background: #efefef;
    border: 0;
    padding: 0.8em 1em;
    border-radius: 6px;
}

.wpcf7-form-control.wpcf7-textarea {
    width: 42%;
}

.wpcf7-form-control.wpcf7-select {
    width: 402px;
    padding: 0.8em;
}

.wpcf7-form-control.wpcf7-submit {
    background: #D6201A;
    border: none;
    padding: 0.6em 1.5em;
    border-radius: 7px;
    color:#fff;
}

.wpcf7-form-control.wpcf7-submit:hover {
	background:#000;
	}


.wp-block-table.is-style-stripes {
    width: 100%;
    margin-bottom: 50px;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/*base html*/
html {
        font-family: 'Hind Vadodara', sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    position: relative;
    min-height: 100%;
}
body {
    margin: 0;
    margin-bottom: 320px;
        font-family: 'Hind Vadodara', sans-serif;

}
.headerspacer{
    height:200px;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    padding:32px;
    min-height: 300px;
    background-color: white;
    color: #999;
}

footer p{
    color: #999;
    margin-top:2px;
    margin-bottom:2px;
    line-height:35px;
    font-size:0.8em;
}

footer a{
    color: #999;
        font-size: 0.85em;

}

footer a:hover{
    color:black;
}

.copyright{
    margin-top:20px;
    font-size: 0.7em;
}
/*navbar*/
nav{

    max-width:75%;
    margin: 0 auto;
    margin-bottom:50px;

}

nav>div>ul>.menu-item{
    padding-left:20px;
}

.navbar .dropdown-menu li {
    width: 100%;
    margin-left: 0 !important;

}

.navbar .dropdown-menu li a{
    text-align: left;
    font-size:16.5px;
    padding-left:15px;
    padding-right:10px;
    color:#666!important;
    padding-top:9px;
    padding-bottom:9px;

    transition: 0.3s;
}
.navbar .dropdown-menu li a:hover{
    background:#D6201A!important;
    color:white!important;

}
.navbar{
    padding-top:0px!important;
    padding-bottom:0px!important;
}
.navbar-toggler{
    margin:0 auto;
    border: 0 none!important;
}
.menu-item{
    margin:0 auto;
}

.navbar-nav{
    margin:0 auto!important;
}
/*nav menu background*/
.navbar{
    background-color:#D6201A!important;
    border-radius:20px;

}



@media (max-width:767px){
    .menu-item{
        width:100%;
    }    


}
/*top level links*/
.nav > li > a{
    padding:10px 10px; 

}
.menu-item a{
    color:white!important;
    /*    background:#70798C!important;*/
        font-family: 'Hind Vadodara', sans-serif;
    text-align:center;
    font-size:1.1em;
    border:none;  

}


.menu-item a:hover{
    color:white!important;

}

.menu-item:focus, .menu-item a:focus{
    border:0px;
    outline:none!important;
}

/*dropdownmenu*/

.dropdown-menu{
    border-radius:0;
    padding:0px;
    border:0px;
    margin-top:0px;
   z-index:234324234234;


}



/*content areas*/
.wrapper{
    max-width:1200px;
    min-height: 250px
}
.content{
    background: white
}

.content a{
    color:#D6201A!important;
    

}

.content a:hover{
    color:#A70E06!important;
}
.wrapper,.sidebar{
    border-radius:5px;
    padding-bottom:10px;
}
body:not(.single) .content{
    padding-top:30px;
    padding-left:42px;
    padding-bottom:20px;

}

@media (max-width:670px){
    body:not(.single) .content{
        padding-left:10px;
}
}
.smallspacer{
    margin-top:30px;    

}

.mainpage{
    margin-bottom:70px;
}

p{
    color:#12100E  
}

.sidebar{
    background:lightgoldenrodyellow;
    min-height:200px;
    height:100%;
    padding:10px;
    max-width: 400px;


}

/*woocommerce*/

.woocommerce .col-1 , .woocommerce .col-2{
    max-width:48%;
}

/*dropdowncart*/
.cart-contents{
    color:black;
    font-weight: bold;
    display:inline-block;
    clear:none;
    background-color:inherit

}

.header-cart-count{
    display:inline-block;
    clear:none;
    padding:9px;
    font-size: 19px;
    color:black
}

.cart-contents:before {
    font-family: WooCommerce;
    content: "\e01d";
    font-size: 28px;
    margin-top: 0px;
    font-style: normal;
    font-weight: 400;
    padding-right: 5px;
    vertical-align: bottom;
    clear:none;
    display:inline-block;

}

.cart-contents-list{
    display:none;
}

body:not(.woocommerce-cart) .cart-contents:hover .cart-contents-list{
    display:block!important;
    position:absolute;
    list-style-type: none;
    margin-left:-150px;
    background:inherit;
    padding:5px;
    z-index: 44444;
    color:white;

}
.cart-contents-list a{
    color:white;
}


.woocommerce .widget_shopping_cart .cart_list li a.remove, .woocommerce.widget_shopping_cart .cart_list li a.remove {
    position: absolute;
    top: 0;
    left: 0;
    line-height: 20px;
}

@media screen and (max-width:765px){
    .cart-contents{
        display:none;
    }

}

.header-cart-link{
    position: absolute;
    right: 30px;
}


.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    color: #fff;
    text-decoration:none;
}

.navigation li {
    display: inline;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    background-color: #6FB7E9;
    border-radius: 3px;
    cursor: pointer;
    padding: 12px;
    padding: 0.75rem;
}

.navigation li a:hover,
.navigation li.active a {
    background-color: #3C8DC5;
}

#bkgvid{
    position: fixed;
    min-width: 100%;
    min-height:100%;
    top: 0px;
    z-index: -21;
    opacity: 0.4;
}

body.home{
    background:#008249;
}

.homeimg{
    width:250px;
    display: inline-block;
    position: relative;
	height:250px;
}

.homeimg img{
    max-width:200px!important;
}

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

.content a{
    color:#D6201A;

}

.content a:hover{
    color:#A70E06;
}

.row img{
    max-width: 101.3%;
    height:auto;

}

.homeimg h3 {
    color: white;
    position: absolute;
    top: 200px;
    text-align: center;
    width: 250px;
    font-size:1.2em;
}

.homelinkwrap{
    margin-bottom:0px;
    margin-top:50px;
}

.searchicon img{
    padding: 0 10px;
margin-left: -40px;
margin-right: 20px;
}

#searchbar{
   
    background: white;
    position: absolute;
    bottom: -45px;
    right: 1px;
    padding: 5px;
    border-radius: 5px;
    cursor: auto;

}

#searchsubmit{
    background:grey;
    border:none;
    border-radius:5px;
    box-shadow: none;
    height:30px;
    width:30px;
    color:white;
    cursor:pointer;
    transition: 0.2s all;
}

#searchsubmit:hover{
    background:lightgrey;
    color:grey;
}

input#search {
    background: #f1f1f1;
    border: none;
    padding: 3px;
}


.subm{
    width: 265px;
    padding: 0;
    margin-left: -29px;
    z-index: 123213;

}
.subm li{
    width: 100%;
    height: 60px;
    margin-top: 1px;
    line-height: 60px;
    list-style: none;
    text-align: right;
    border-radius: 8px 0 0 8px;
    font-size: 0.9em;
    color: #fff;
    background:#C09170;
}

.subm li:hover{
    background:#9D8576;
}

.subm li a{
    color:white;
    text-decoration: none;
    padding-right:20px;
    height:100%;
    width:100%;
    display:block;

}

.titlewrap{
    color:white;
    background:#D6201A;
    width:100%;
    display:flex;
    height:150px;
    padding:20px;
}

body{
 /*   background: #00683B url(images/bkg-products.jpg);*/
    background-size: cover;

}
/*investort*/
/*local*/
body.parent-pageid-12, body.page-id-12{
    background: #353338 url(images/bkg-corp.jpg);
    background-size: cover;
}

body.parent-pageid-12 .navbar, body.page-id-12 .navbar, body.parent-pageid-12 .titlewrap, body.page-id-12 .titlewrap{
    background: #353338!important;
}
/*dev*/

body.parent-pageid-9, body.page-id-9{
    background: #353338 url(images/bkg-corp.jpg);
    background-size: cover;
}

body.parent-pageid-9 .navbar, body.page-id-9 .navbar, body.parent-pageid-9 .titlewrap, body.page-id-9 .titlewrap{
    background: #353338!important;
}
.titlewrap a{
    color:white;
}
/*student page*/
/*local student*/
body.parent-pageid-42 .navbar, body.page-id-42 .navbar, body.parent-pageid-42 .titlewrap, body.page-id-42 .titlewrap{
    background: #48386A!important;
}

body.parent-pageid-42, body.page-id-42{
    background: url(images/student-bkg.jpg);
    background-size: cover;
}


.page-id-42 .subm li:nth-of-type(4n+1),.parent-pageid-42 .subm li:nth-of-type(4n+1){
    background:#005E5A;
}

.page-id-42 .subm li:nth-of-type(4n+2),.parent-pageid-42 .subm li:nth-of-type(4n+2){
    background:#58557A;
}
.page-id-42 .subm li:nth-of-type(4n+3),.parent-pageid-42 .subm li:nth-of-type(4n+3){
    background:#C01D43;
}
.page-id-42 .subm li:nth-of-type(4n+4),.parent-pageid-42 .subm li:nth-of-type(4n+4){
    background:#E59035;
}
.page-id-42 .subm li a{
    font-family: 'Amatic SC', sans-serif;
}
.page-id-42 .subm li:hover{
    background:black; 
}
/*dev student*/

body.parent-pageid-25 .navbar, body.page-id-25 .navbar, body.parent-pageid-25 .titlewrap, body.page-id-25 .titlewrap{
    background: #48386A!important;
}

body.parent-pageid-25, body.page-id-25{
    background: url(images/student-bkg.jpg);
    background-size: cover;
    background-position: center;
}
.page-id-25 .subm li:nth-of-type(4n+1),.parent-pageid-25 .subm li:nth-of-type(4n+1){
    background:#005E5A; 
}

.page-id-25 .subm li:nth-of-type(4n+2),.parent-pageid-25 .subm li:nth-of-type(4n+2){
    background:#58557A; 
}
.page-id-25 .subm li:nth-of-type(4n+3),.parent-pageid-25 .subm li:nth-of-type(4n+3){
    background:#C01D43; 
} 
.page-id-25 .subm li:nth-of-type(4n+4),.parent-pageid-25 .subm li:nth-of-type(4n+4){
    background:#E59035; 
}
.page-id-25 .subm li a{
    font-family: 'Amatic SC', sans-serif;
}
.page-id-25 .subm li:hover, .parent-pageid-25 .subm li:hover{
    background:black; 
}

.prodtile{
    border:1px solid #00000069;
    min-height:350px;
    margin-left:10px;
    margin-top:10px;
    min-width:240px;
}
.prodtile img{
    max-width: 95%;
    width:auto;
    max-height:180px;
    margin:0 auto;
    display:block;
    margin-top:10px;

}
.prodtile-image-container {
width:100%;
height:180px;
display:block;
}
.prodtitle{
    text-align: center;
    margin:20px 0px;
}

.prodwrapper {
/*    padding-left: 20px;*/
}
@media (max-width:768px){
    .prodwrapper{
        padding-left:0px;;
        margin-left:-20px;
    }


}

@media (max-width:556px){
    .prodtile{
        margin-left: 0px;
    }
}

@media (min-width: 768px){
.col-md-4.prodtile {
    -ms-flex: 0 0 29.333333%;
    flex: 0 0 29.333333%;
    max-width: 29.333333%;
}
}
.dropdown-toggle::after{
    display:none;
}

.footer .sociallinks{
    display:inline-block;
    opacity: 0.5;
}

.footermenu {
    position: absolute;
    right: 75px;
    top: 25px;

}

.footermenu ul {
    display: inline-block;
    float: left;

}

.footermenu li {
    list-style-type: none;
}


.footermenu li:first-child{
    font-weight: bold;
}

.siteorigin-widget-tinymce div{
    display: inline-block;
    
}

.siteorigin-widget-tinymce>p{
    display: none;
}
@media (min-width:1340px){
    .pagebanner{
        padding-left:33px;
    }
}
@media (max-width:1340px) and (min-width:1042px){
    body.page-template-default .content{
        padding-left:100px;
    }
    
    .pagebanner{
        padding-left:63px;
    }
}

@media (max-width:1041px) and (min-width:843px){
    .pagebanner{
        padding-left:76px;
    }
}

@media (max-width:842px) and (min-width:767px){
    body.page-template-default .content{
        padding-left:150px;
    }
    
    .pagebanner{
        padding-left:100px;
    }
}
@media (max-width:767px){
    .subm{
        width:auto!important;
        text-align:center;
        margin-left:0px;

    }

    .subm li{
        border-radius:8px!important;
        text-align: center;

    }
    .subm li a{
        padding-right:0px;
        min-width: 250px;
    }
}

.tile-box {
    display: inline-block;
    border: 1px solid grey;
    padding: 10px;
    margin: 10px;
    min-width: 250px;
    max-width:250px;
}

.tile-box img, .tile-box h3{
    text-align: center;
    margin:0 auto!important;
    display:block;

}

.sociallinks a {
    display: block;
}

.ar-link{
    display:block;
    text-align: center;
    margin:5px auto;
    width: 100%;
background: #d6201a;
border-radius: 8px;
padding: 10px 5px;
font-size: 0.9em;
color:#fff;
}

body .content .ar-link:hover {background:#A70E06;color:#fff !important;}
a.ar-link {color: #fff !important;}

.navigation li a, .navigation li a:hover, .navigation li.active a, .navigation li.disabled {

        background-color: #D6201A!important;
        color:white!important;
}

.navigation li a:hover, .navigation li.active a {
    background-color: #bf1c17!important;
}
@media (max-width:995px){
    .footer .footermenu{
        display:none!important;
    }



    .footertop{
        display: block;
        /* height: 100px; */
        margin: 0 auto;
        width: 220px;
    }

    body{
        margin-bottom:420px;
    }
}

@media (max-width:650px){
    body{
        margin-bottom:500px;

    }
}


/* DARRYL's CUSTOMISER CHANGES*/
nav {
width: 96%!important;
max-width: 1232px!important;	
}

nav>div>ul>.menu-item {
    padding-left: 0px!important;
		margin: 0!important;
}

nav>div>ul>li.menu-item > a:hover {
	background: rgba(0,0,0,.1);
}

@media only screen and (min-width:768px) and (max-width: 1200px) {
.nav li a,
.nav > li > a {
	font-size: 1.5vw!important;
	padding: 10px .8vw!important;
}
}

@media only screen and (min-width: 1201px) {
.nav > li > a {
	padding: 10px 10px!important;
}
}

a.searchicon img {
	width: 50px!important;
	margin-left: 0;
}

nav + .container-fluid {
	max-width: 96%;
}

.titlewrap {
	height: auto!important;
	border-radius: 10px 10px 0 0;
}

.titlewrap .col-3 {
	display: none;
}

img.pagebanner {
	padding-left: 0;
	min-width: 100%!important;
	max-width: 100%!Important;
	width: calc(100% + 30px)!important;
	max-width: calc(100% + 30px)!important;
	margin-right: 0px!important;
	transform: translateX(-15px);
}

.homeimg h3 {
	text-shadow: 2px 2px 6px rgba(0,0,0,.5);
}

.sociallinks {
		transform: translateX(50%);
}

@media only screen and (min-width: 1150px) {

.sociallinks {
		zztransform: translateX(-100%);
}
}
@media (min-width:767px){
    ul.subm {
	width: auto!important;
	margin-right: -15px;
}

    
}
ul.subm {
	width: auto!important;
	
}

body:not(.page-id-25)
.subm li {
    width: 100%;
    height: auto!important;
    line-height: 1.2em!important;
    list-style: none;
    font-size: 1em!important;
}
body.page-id-25
.subm li {
    background: #fff!important;
}

body.page-id-25 .subm li:nth-of-type(4n+1), body.parent-pageid-25 .subm li:nth-of-type(4n+1) {
    background: #005E5A!important;
}
.page-id-25 .subm li:nth-of-type(4n+2), .parent-pageid-25 .subm li:nth-of-type(4n+2) {
    background: #58557A!important;
}
.page-id-25 .subm li:nth-of-type(4n+3), .parent-pageid-25 .subm li:nth-of-type(4n+3) {
    background: #C01D43!important;
}
.page-id-25 .subm li:nth-of-type(4n+4), .parent-pageid-25 .subm li:nth-of-type(4n+4) {
    background: #E59035!important;
}

.page-id-25 .subm li.page_item:hover, .parent-pageid-25 .subm li.page_item:hover {
    background: black!important;
}

.page-id-25 .subm li,
.parent-pageid-25 .subm li {
    height: auto!important;
    line-height: 1.2em!important;
    text-align: left!important;
    font-size: 1em!important;
    color: #fff!important;
}

.subm li a {
	padding: 10px;
}

.page-id-25 .subm li a,
.parent-pageid-25 .subm li a,
.page-id-25 .subm li a:hover,
.parent-pageid-25 .subm li a:hover {
	color: #fff!important;
}

.subm li a:hover {
		color: #D6201A!important;
			color: #fff!important
}

body:not(.single) .content {
    padding: 30px 20px 30px 20px!important;
}

.wp-block-image.btn {
	padding-top: 30px;
}
.wp-block-image.btn:hover {
	background: #004812;
}
.btn figcaption {
	color: #fff!important;
	font-size: 1em;
}

footer a:hover {
	color: #D6201A!important
}

@media only screen and (min-width: 1350px) {
.footermenu {
    position: absolute;
    right: auto!important;
		left: 45%
}
}

.footertop,
.copyright {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

/*-------------------------*/
