/*
Theme Name: Carncot Theme 2014
Theme URI: http://blacksheepdesign.co.nz
Author: Blacksheepdesign 
Author URI: http://www.blacksheepdesign.co.nz/
Author Design: Stacey Cottrill - stacey@blacksheepdesign.co.nz - blacksheepdesign.co.nz
Author Front-end and magic stuff: Miguel Garrido - miguel@blacksheepdesign.co.nz - miguel.co.nz
Description: The Carncot wordpress theme developed by Blacksheepdesign. This theme works with magic fields 2 and supports custom Post type, BOOM!.
Version: 1.0
*/

/* Reset selectors and commons properties */
body,header,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,label,textarea,p,blockquote,th,td { margin:0; padding:0; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { display:block; }
a { text-decoration:none; outline:0 none; color:inherit; }
a img { border:0 none; }
hr { border:0 none; display:block; }
input[type='submit'] { border:0 none; }

.right, img.alignright { float:right; }
.left, img.alignleft { float:left; }

.inline { display:inline;}
.inline-block { display: inline-block; }

.none, .ui-tabs-hide { height:0 !important; width:0 !important; opacity:0; display:none !important; }
.hide { text-indent: -9999999px; }
.hidden { overflow:hidden; }
.block { display:block;}
.inline-block { display: inline-block; }
.fixed { position: fixed; }
.relative { position: relative; }
.indent { text-indent: -99999px; display: block; }


.ul-horz { display: block; }
.ul-horz li { display:inline-block; }
.ul-horz li a { display: block; }

.table-wrap { display:table; width:100%; height:100%;}
.table-cell { display: table-cell; vertical-align:middle; text-align: center; text-shadow:0 1px 0 #CCC; padding:0 1em; }
.text-center { text-align:center; }
.text-right { text-align:right; }
.text-left { text-align:left; }
.text-break { word-break:break-all; }
.uppercase { text-transform: uppercase; }

.table-wrap { display:table; width:100%; height:100%;}
.table-cell { display: table-cell; vertical-align:middle; }

.zindex10 { z-index:10; }

.chromeframe { background-color:#ffb; font: normal bold 12px Arial, Helvetica, sans-serif; border-bottom:2px solid #DDD; padding:10px; margin-bottom:10px; position: fixed; z-index:10000; width:100% ;}
.chromeframe a { color:#00f; text-decoration: underline; }
blockquote { margin-left:25px; }
fieldset {border: none;}

.clear:before, .clear:after { content: " "; display: table; }
.clear:after { clear: both; }
.clear{ *zoom: 1; }

/* Transitions */
.tbg { transition: background .3s; -moz-transition: background .3s; -webkit-transition: background .3s; -o-transition: background-color .3s; }
.tcolor { transition: color .3s; -moz-transition: color .3s; -webkit-transition: color .3s; -o-transition-property: color; -o-transition-duration:.3s; }
.t03 { -moz-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s; }
.t05 { -moz-transition: all .5s; -webkit-transition: all .5s; -ms-transition: all .5s; }
.t1 { -moz-transition: linear all 1s; -webkit-transition: linear all 1s; -ms-transition: all 1s; transition: .3s linear all 0;}

/* Body & General Wrapper */
html, body { margin:0; padding:0; height:100%; width:100%; color:rgb(50,50,50); }

body { margin:0; padding:0; 
	font-size:1em;
	font-family:Helvetica,Arial,Sans-Serif; 
	-webkit-font-smoothing: antialiased; 
}

/*.wrapper { width:90%; margin:0 auto; overflow:hidden; }*/

/* Text Selection */
::selection { background: #333; color:#fff; }
::-moz-selection { background: #333; color:#fff; text-shadow:0 0 1px #333; }

/* Fonts */
.droid { font-family: 'Droid Sans', sans-serif; font-weight:400; }

/* Colors */
.white { color:#fff; }
.blue { color:rgb(10,47,81);}
.cyan { color:rgb(44,186,157);}
.orange { color:rgb(241,91,71);}
.lorange { color:rgba(241,91,71,.5);}

/* Bgcolors */
.bgwhite { background-color:#fff; }

/*.bgblue { background-color:rgb(10,47,81);}*/
.bgblue { background-color:rgba(10,47,81,.90);}
.bgblue90 { background-color:rgba(10,47,81,.90);}
.bgblue100 { background-color:rgb(10,47,81);}
.bgsblue50 { background-color:rgb(126,146,163);}

/*.bgcyan { background-color:rgb(44,186,157);}*/
.bgcyan { background-color:rgba(44,186,157,.90); }
.bgcyan50 { background-color:rgb(145,215,201);}
.bgcyan90 { background-color:rgba(44,186,157,.90);}


/*.bgorange { background-color:rgb(241,91,71);}*/
.bgorange { background-color:rgba(241,91,71,.9);}
.bgorange50 { background-color:rgba(241,91,71,.5);}
.bgsorange50 { background-color:rgb(243,168,157);}
.bgorange90 { background-color:rgba(241,91,71,.9);}

/* loading */
.op03 { opacity:.3; }


/* Margin Padding Width */
.mtm50 { top:-50px; }
.mtm150 { top:-135px; }
.ml5 { margin-left:5px; }
.ml100 { margin-left:100px; }

.mb5 { margin-bottom:5px;}
.mb20 { margin-bottom:20px;}
.mb35 { margin-bottom:35px;}
.mb70 { margin-bottom:70px;}
.mb135 { padding-bottom:135px; }
.pt60.mb135 { padding-bottom:70px; }  /*when they are together*/

.mr5 { margin-right:5px; }
.mr15 { margin-right:15px;}

.p12 { padding:12px; }
.p20 { padding:20px; }
.p05 { padding:5px 10px; }
.p0 { padding:0; }
.pt60 { padding-top:60px; }

.pb35 { padding-bottom:35px }
.pb80 { padding-bottom:80px; }

.mt35 { margin-top:35px;}
.mt70 { margin-top:70px;}

.width640 { width:640px; box-sizing:border-box; }
.width480 { width:480px; box-sizing:border-box; }



/* The Content */
.content .entry-content h3,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 { margin:1em 0 0.5em; line-height:1.3em; padding: 0; }

.sidebar .item-list .item p,
.entry-content ol li,
.entry-content ul li,
.entry-content,
p { font-weight:400; font-size:.85rem; }

.entry-content img.size-large,
.entry-content .wp-caption { max-width:100%; height:auto; }
.entry-content .wp-caption { margin-top:35px;}
.entry-content .wp-caption-text { margin-bottom:35px; }

.entry-content ol,
.entry-content ul { margin: 1em 0; padding-left:1.25em; }
.entry-content a { text-decoration: underline; color:rgba(10,47,81,.90);}
.entry-content a:hover { opacity:.5; }
.entry-content a.email { text-decoration: none; color:rgb(50,50,50); }

.entry-content p img.aligncenter { display: block; margin:0 auto; padding:10px; }

.entry-content iframe { max-width:100%; margin-top:1rem; margin-bottom:1rem; }

.small li,
p.small { font-size:.85em;}

.entry-content, p { line-height:1.6; margin-bottom:.5em; }
ol li, ul li { line-height:1.6 }
p:last-child { margin-bottom:0; }
h3 { font-size:1.25em;}
h2 { font-size:1.6em;}

/* MAIN Elements */
.wrapper { position: relative; min-height:100%; min-width:100%; background-color:rgb(245,245,245); }
#main { background-color:rgb(245,245,245); position: relative; z-index:5; left:0;
-webkit-transition: left ease .3s, .3s opacity ease .2s, margin-left ease .3s;
-moz-transition: left ease .3s, .3s opacity ease .2s, margin-left ease .3s;
-ms-transition: left ease .3s, .3s opacity ease .2s, margin-left ease .3s;
-o-transition: left ease .3s, .3s opacity ease .2s, margin-left ease .3s;
transition: left ease .3s, .3s opacity ease .2s, margin-left ease .3s;
}

#main { margin-left:270px; }
#main.main-side-on { left:270px; }
#main.main-side-on { opacity:.4; }

.top-slider { position: relative; overflow: hidden; background-color: #e0e0e0;}

iframe.youtube,
.top-slider,
.top-slider .list,
.top-slider .item { height:650px; }

.top-slider.unload .list { opacity:0; }
.top-slider .list { opacity:1; }

.top-slider .item { width:100%; 
	position:relative; 
	/*
	height:100%;
	background-position:105px 0;*/
	-webkit-background-size:cover; background-size:cover; 
	background-attachment:fixed; 
} 


.top-slider .item { position: absolute; top:0; left:0; }
.top-slider .list { width:100%; height:100%; }
.top-slider .slider-content { position: absolute; width:100%; }
.top-slider .slider-content.bottom { bottom:70px; }
.top-slider .slider-content.top { top:140px; }
.top-slider .slider-content .title { padding:12px; margin-bottom:5px; }
.top-slider .slider-content .entry-content { padding:12px; }

/* .content-wrapper should have padding-left:105px */
.content-wrapper { width:960px; margin:0 auto;}

/* Main Sidebar */
.logo { margin-top:25px; margin-bottom:25px; }
.main-side-wrapper { height:100%; overflow: hidden; position: relative; margin-left:35px; }

body.main-side-on,
body.main-side-on > div.wrapper { overflow-x: hidden; }

#to-main-side { display: none; 
-webkit-transition: ease left .3s;
-moz-transition: ease left .3s;
-ms-transition: ease left .3s;
-o-transition: ease left .3s;
transition: ease left .3s;
}
#to-main-side.on { left:320px; }

#main-side { position: fixed; width:270px; height:100%; z-index:20; left:0; 
-webkit-transition: left ease .3s;
-moz-transition: left ease .3s;
-ms-transition: left ease .3s;
-o-transition: left ease .3s;
transition: left ease .3s;
}

/* responsive menu vertical */
/*.logged #main-side .relative-on.bottom,*/
#main-side .relative-on.bottom { position:relative; margin-top:70px; bottom:0; }
#main-side.on { left:0; }
#main-side .main-side-wrapper.relative-on { height:auto; }
#main-side .main-side-wrapper.relative-on.fixed { position: fixed; width:235px; }
#main-side .main-side-wrapper.relative-on.fixed-top { position: fixed;}


#main-side.off { left:-270px; }
#main-side nav { font-size:1.125rem;}
#main-side .wp-menu a { font-size:0.85em; padding:12px 5px 0 0; color:#fff; text-indent:12px; display: block; line-height: 100%; }
#main-side .wp-menu > ul > li > a:after { padding-top:.85em; content:" "; display: block; border-bottom:1px solid rgba(255,255,255,0.3); margin-right:40px;}

#main-side .wp-menu > ul > li > a.active,
#main-side .wp-menu > ul > li > a:hover { background-color: #fff; color:rgb(10,47,81); background-color: rgb(245,245,245); }

#main-side .wp-menu > ul > li > a + ul { display: none; }
#main-side .wp-menu > ul > li > a.active + ul { display: block; }


#main-side .wp-menu li:last-child a:after { border-bottom:0 none;}
#main-side ul { list-style:none; }

/*.logged #main-side .bottom { bottom:52px; }*/
#main-side .bottom { position: absolute; bottom:20px; width:100%; }

#main-side ul.child { font-size:.85rem; padding-bottom:.65em; border-left:1px solid rgba(255,255,255,0.3); margin-left:12px; }
#main-side ul.child a { position: relative; }

#main-side ul.child a.active:before,
#main-side ul.child a:hover:before { content: "•"; position: absolute; left:-15px; top:13px; background-color:rgb(10,47,81); } 

#main-side {
	-webkit-transition: left ease .3s;
	-moz-transition: left ease .3s;
	-ms-transition: left ease .3s;
	-o-transition: left ease .3s;
	transition: left ease .3s;
}



/* .content Elements */
.content { position: relative; overflow: hidden; width:660px; }

h3.title,
.content h3 { padding:12px; font-size:1.3em; line-height:1.3em; }

h4.title,
.content h4 { padding:12px; font-size:1.25em; }

/*
USAGE
<div class="op-close">
    <a href="#" class="close" rel="">
        <i class="icon-angle-right"></i>
        <i class="icon-angle-left"></i>
    </a>
</div>
*/
.lightbox .op-close { right:37px; top:30px; }
.op-close { position: absolute; right:28px; }

/*.logged .dbox .op-close,*/
.op-close { top:15px; }

/*.logged .op-close { top:42px; }*/

.op-close .close { color:rgb(150,150,150); letter-spacing:-6px; font-size:2em; }

.content-news-events .entry-content,
.content .entry-content { color:rgb(50,50,50); font-size:1em; line-height:145%; }

.content .entry-content.white { color:#fff; }
.content .entry-content h3 { padding-left:0; }

.content .content-box-contact { }
.content .content-box-contact i { font-size:.9em; margin-right:9px ; }
.content .content-box-contact h3 {  }

.content-thumbnail img { display: block; width:100%; height:auto; }

/* eleemts on About, Show and Tell, Teaching and learning */
.span-4.dbox > .item { display:inline; float: none; cursor:pointer; }

.span-4.dbox > .item .header,
.span-4.dbox > .item .image { width:25%; display: inline-block; margin-bottom:-4px; margin-right:-4px; }

/*.<span class="close">[Close Menu]</span>*/
.span-4.dbox .info-content { padding:40px 70px; }

.span-4.dbox .item + .info { display: none; }
.span-4.dbox .item.active + .info { display: block; }

/* custom span-4 */
.content-people.span-4.dbox .item + .info,
.content-papers.span-4.dbox .item + .info,
.content-term.span-4.dbox .item + .info { margin-top:0px;  }
.content-term.span-4.dbox .item > .image { position: relative; overflow: hidden; width:240px; height:240px; }
.content-term.span-4.dbox .item > .image img { min-width:100%; min-height:100%; height:auto; width:auto; }
.content-term.span-4.dbox .item > .image .image-desc { display: none; }
.content-term.span-4.dbox .item:hover > .image .image-desc { display: block; }

.content-papers.span-4.dbox .item { margin-bottom:0;}

/* template content overlap */
.template-box .entry-content h3 { margin-top:0; font-size:1.65em; }


/*-webkit-animation: open_dbox .3s linear 0s infinite alternate;
.span-4.dbox .item + .info { height:0;}
@-webkit-keyframes open_dbox { from { height:0; } to { height:100%; }  }*/

.span-4 .item .image img { width:100%; display: block; height: auto; } 
.span-4 .info { position: relative; float:left; width:100%; box-sizing:border-box; }
.span-4 .info .entry-content { padding:30px 20px;}
.span-4 .info .info-contact { margin-left:50px; margin-top:30px;}
.span-4 .info .info-contact

.span-4 .info .image img { display: block; width:100%; height:auto;}
.span-4 .info .image .image-desc,
.span-4 .item .image .image-desc { position: absolute; bottom:10px; left:10px; width:160px; padding:3px 10px; box-sizing:border-box; }

.span-4 .info .info-loading { text-align: center; padding:2em; color:rgb(150,150,150); }
.span-4 .info .info-loading i {
display: inline-block;
-webkit-animation:rotate .7s infinite linear; 
-moz-animation:rotate .7s infinite linear; 
-ms-animation:rotate .7s infinite linear; 
animation:rotate .7s infinite linear; 
}


@-webkit-keyframes rotate {
	0% { -webkit-transform:rotate(0deg); }
	100% { -webkit-transform:rotate(180deg); }
}



/* .sidebar Elements */
.sidebar { width:220px; }
.sidebar .item-list .item:first-child,
.sidebar .item:first-child { padding-top:0; }

.sidebar .item p { margin:0 }
.sidebar .item p a { font-size:1.3em; line-height:120%; }
.sidebar .item a:hover { opacity: .5; }

.sidebar-item-title { padding:0 0 6px; }

.sidebar .h3-icon { position: absolute; right:0; top:0; font-size:1.45em; padding:0 .4em;}
.sidebar .item-list .item { padding:20px 0; border-bottom:1px solid rgb(10,47,81);  }
.sidebar .item-list .item:last-child { border-bottom:0 none; }
.sidebar .item-list .item p.date { line-height:130%; padding-bottom:5px; }

.sidebar .item-sqbox { display: block; width:100%; height:170px; box-sizing:border-box; }
.sidebar .item-sqbox > p { position: absolute; bottom:20px; }
.sidebar .item-sqbox i.icon  { display: block; font-size:2.5em; margin-bottom:10px; }
.sidebar .item-sqbox:hover i { text-decoration: none;}

/* Index */
.content-prospectus img { max-width:380px;}
/* index form */
.content-prospectus-form .form-contact { max-width:300px; }
.content-prospectus-form h3 { padding:24px 0 24px 0;}
.content-prospectus-form .op-close { right:32px; }


.prospectus-p { position: absolute; bottom: 240px; left: 400px; }
.content-box-contact { padding:50px 0; }
.content-box h3 { padding:20px;}
.bgblue a { color:#fff; text-decoration:none; }

/* Show and Tell */
.content-term .info h3 { border-bottom:1px solid rgb(10,47,81); padding-left:0; }
.content-term .item .info .entry-content { padding-left:0; }

/* Teaching and Learning */

.content-papers.span-4.dbox > .item .header { margin-bottom: 0; }
.content-papers .header h3 { position: relative; bottom:0; padding-top:36px; padding-bottom:10px; padding-left:20px; white-space:nowrap; max-width:120px; text-overflow: ellipsis; }

.content-people .item:not(.active) > div.image:hover,
.content-people.on .item:not(.active) > div.image,
.content-term .item:not(.active) > div.image:hover,
.content-term.on .item:not(.active) > div.image,
.content-papers .item:not(.active) > div.bgblue:hover,
.content-papers.on .item:not(.active) > div.bgblue { opacity:.6; }

.content-papers .item > div.bgblue:hover { cursor:pointer; }

.content-papers .info-content .image { max-width:240px; }
.content-papers .info-content .image img { max-width:240px; max-height:240px; }


.span-2 .item.img img { display: block; width:100%; height:auto; }
.list-two .item .entry-content { padding:20px 12px; }

/* About */
.content-people .item img { width:100%; height:auto; display: block; }

/* Useful information */
.item-list-terms .item { box-sizing:border-box; padding:10px; }
.item-list-terms .item .border { height:100px; border-bottom:1px solid rgb(0,49,82); }
.item-list-terms .item p.date { margin-bottom:0; font-size:.85em;}
.item-list-terms .item p.title { color:rgb(0,49,82); }

/* News and events */
.icon-box { width:51px; height:51px; line-height:51px; }

.search-form,
.list-entries { width:660px; }

.list-entries .date { margin-bottom: 0;}
.list-entries h3 { margin:5px 0;}
.list-entries .item { border-bottom:1px solid rgb(0,49,82); margin-bottom:25px; padding-bottom:25px; }
.list-entries .item > h3:hover { opacity:.5; }
.list-entries .item:last-child { border-bottom:0 none; }
.list-entries .item.loaded { 
-webkit-animation:show-up .5s 1 linear;
-moz-animation:show-up .5s 1 linear;
-ms-animation:show-up .5s 1 linear;
animation:show-up .5s 1 linear;
}

@-webkit-keyframes show-up {
	0% { opacity:0; }
	100% { opacity:1; }
}

#list-opts a { width:51px; height:51px; line-height:51px; text-align: center; font-size:1.4em; background-color:rgb(243,168,157); }
#list-opts a:hover,
#list-opts a.active { background-color:rgba(241,91,71,.9); }

/*#list-views > .item { display: none; }
#list-views > .item.active { display: block;}
*/

#page-category a.active { text-decoration: underline; }

.page-navigation a {position: relative; width:130px; display: block; margin:0 auto; }
.page-navigation a span.icon { display:inline-block; position: absolute; text-align: center; width:100%; top:17px; left:0; font-size:1.2em; }


.item-list-aside ul { margin:1em 0 2em; }
.item-list-aside ul li { list-style:none}
.item-list-aside ul li:before { content:"•"; padding-right:10px;}

.item-print a { font-size:1.6em; }
.item-print a:hover { text-decoration: none; background-color:rgba(10,47,81,.50); }

/* News and events Single */
.single-news-event h3.title { padding:12px 0; border-bottom:1px solid rgb(0,49,82); }
.item-back { position: relative; float:left; margin-left:0; margin-right:10px;}
@media screen and ( min-width:1420px){ .item-back { position: relative; float:left; margin-left:-100px; margin-right:0;} }
.p-code{ font-family: Consolas, monaco, monospace; background-color: #ddd; padding:10px 5px 6px; display: inline-block; line-height:100%; }
#event-calendar h3 { margin-bottom:1em; }
.event-helper p a { text-decoration: underline; }
.event-helper p a:hover { opacity: .5; }

/* Lightbox */

.content-lightbox { margin-left: 270px; }

.lightbox { position:fixed; overflow-y:scroll; overflow-x:hidden; width:100%; height:100%; background-color:rgba(245,245,245,0.95); box-sizing:border-box; z-index:15; 
	overflow-y: scroll;  /*has to be scroll, not auto */
  	-webkit-overflow-scrolling: touch;

}
.lightbox .content-wrapper { width:660px; }

.lightbox { 
	left:-100%; 
	-webkit-transition: ease left .3s;
	-moz-transition: ease left .3s;
	-ms-transition: ease left .3s;
	-o-transition: ease left .3s;
	transition: ease left .3s;

}

.lightbox .op-close { 
	-webkit-transition: .6s opacity ease .3s;
	-moz-transition: .6s opacity ease .3s;
	-ms-transition: .6s opacity ease .3s;
	-o-transition: .6s opacity ease .3s;
	transition: .6s opacity ease .3s;
}

.lightbox.off { z-index:0; }
.lightbox.off .op-close { opacity: 0; }


.lightbox.on { 
	left:0; 
}

.lightbox.on .op-close { position: absolute; opacity: 1; }

.lightbox .lightbox-item.on .search-form,
.lightbox .lightbox-item.on.content-wrapper .content { margin-top:135px; }

.lightbox .lightbox-item:not(.on) { display: none; height:0; opacity:0; }
.lightbox .lightbox-item.on { top:50px; opacity:1; }

#apply-lightbox .item { padding-bottom: 15px; }


/* Search on lightbox */
.search-form input[type="text"] { border:0 none; width:100%; color:#FFF; padding:14px 14px 14px 40px; font-size:1.25em;
-webkit-font-smoothing: antialiased; 
box-sizing:border-box;
}
.search-form input[type="text"]:focus { background:rgba(10,47,81,.80); }

.search-form i.icon { position: absolute; left:14px; top:16px;}
.search .url { display: inline-block; }
.search .url:hover { opacity:.5; }
.list-searched .item:first-child { margin-top:70px; }
.list-searched .item { border-bottom:0 none; }

.list-searched .item.people img { margin-top: 10px; }
.list-searched .item.people img + .entry-content { margin-left:215px; }

#search-inner .entry-content h3 a { text-decoration:none; }


.touch .main-side-wrapper { height:auto; }
.touch #main-side { position: absolute; min-height: 650px; }
.touch #main-side .bottom { position: static; padding-top:35px; }


/* Media queries */
/* Media queries - mobile */
@media only screen and (max-height: 650px) {
	
}

@media only screen and (min-height: 651px){
	/*body.main-side-on { overflow-y: hidden;}*/
}

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


}

/* Media queries - Maximum - Desktop */
@media only screen and (max-width:1280px) {

	/* adjust width */
	.content-wrapper { width:810px; }
	.content-news-events,
	.content { width:520px; }

	.top-slider .item { background-position: center center; }

	.ml100 { margin-left:30px; }
	.content-prospectus h3 { top:0; margin-left:0; }
	.prospectus-p { position: relative; left:0; bottom:0; margin-left:-8px; }

}

@media only screen and (max-width:1190px) {

	/* hidding sidebar */
	#main-side { left:-270px; }
	#main { margin-left:0; }
	.top-slider .item { background-position: center center; background-attachment:local; border-right:no-repeat; }

	/* showing mobile menu for sidebar */
	#to-main-side { position: absolute; top:29px; left:30px; z-index:10; font-size:2em; display: block; }
	
	/* custom lightbox */
	.content-lightbox { padding:30px; margin-left: 0; }
	.lightbox .content-wrapper { max-width:660px; }
	.lightbox .lightbox-item.on .search-form,
	.lightbox .lightbox-item.on.content-wrapper .content { margin-top:75px; }


	/*.logged .lightbox .lightbox-item.on .search-form,
	.logged .lightbox .lightbox-item.on.content-wrapper .content { margin-top:105px; }*/

	/*.lightbox .content-wrapper { margin-top:0;}*/

	/*news and events, search*/
	.lightbox .content-wrapper,
	.search-form,
	.list-entries { width:100%;}

	.right.content-events { float: none; }

}
@media only screen and (max-width:1024px) {
	iframe.youtube,
	.top-slider .item,
	.top-slider { height:605px; }

}

@media only screen and (max-width:850px) {
	
	.width480,
	.width640 { width:100%;}

	.ml100 { margin-left:0; }
	.mtm50 { top:0; }
	.mtm150 { top:0; }

	.content-wrapper { width:90%; }
	.content-news-events, .content { width:65%; }
	.sidebar { width:32%; }

	.content-box-contact .c2,
	.content-box-contact .c1 { width:100%; box-sizing:border-box; }
	
	.content-box-contact .mb5 { margin-bottom:0; }
	.content-box-contact .ml5 { margin-left:0; }
	 
	.content-box-contact .c1 { }
	.content-box-contact .c2 { }
	}


}

@media only screen and (max-width:750px) {

	.template-section > .content-wrapper > .content,
	.sidebar { width:100%; float:none; }

	.sidebar { margin-bottom:30px; }
	.sidebar .item-sqbox { height:150px; }
	.sidebar .item-sqbox > p,
	.sidebar .item-sqbox i.icon { text-align: center; }
	.sidebar .item-sqbox > p { width:100%; }
	
	.mb135 { margin-bottom:30px; }
	/*
	.p20 { padding:20px 0; }*/

	.mtm150 { top:0; }

}



@media only screen and (max-width:640px) {
	
	.search .url { 
		word-break:break-all;
		white-space: pre-line; 
	}

	h2 { font-size:1.4em; }

	.no-touch body { min-width:420px; }

	.sidebar .item-sqbox { height:auto; }
	.sidebar .item-sqbox > p { position: static; }

	iframe.youtube,
	.top-slider .item,
	.top-slider { height:350px; }
	.top-slider .slider-content.bottom { bottom:0; }
	.top-slider .slider-content.bottom .content-wrapper { width:100%; } 
	.top-slider .slider-content .title { margin-bottom: 0; }
	.top-slider .slider-content .entry-content, 
	.top-slider .slider-content p { margin-bottom: 0; }

	/*.touch .top-slider .item { background-position: 67% 60px;}*/

	/* touch screen width media queries */
	.touch .entry-content ol li, 
	.touch .entry-content ul li, p { font-size:.85rem; }

	/* Main sidebar */
	.logo img { width: 150px; display: block; margin: 0 auto; }
	#main.main-side-on { left:245px; }
	#main-side .main-side-wrapper.relative-on.fixed { width:245px; }
	#main-side { width: 245px; }
	#main-side.on { top:0; }
	.main-side-wrapper { margin-left:0; }
	#main-side .wp-menu a:after { margin-right: 0; }
	#main-side .wp-menu a { padding-right:0; }

	#to-main-side.on { left:267px;}

	/*.mb135 { margin-bottom:35px; }*/
	.content { width:100%; float: none; }
	.sidebar { width:100%; float: none; }

	.content-box .p20 { padding:20px 0}
	.content-box-contact { padding:35px 0; }

	.sidebar > .item:last-child { margin-bottom:35px; }

	.content-news-events { width:100%; clear:right;}


	/*search feature*/
	.list-searched .item.people img { float: none; margin-bottom:10px; }
	.list-searched .item.people img + .entry-content { margin-left: 0; }


	.content-people .op-close { right:17px; }

	.date-info-time i { display: none; }
	.item-back { margin-bottom:15px;}
	.date-info-download { max-width:140px; text-align: right; }

	
	.span-4 .info .image .image-desc,
	.span-4 .item .image .image-desc { width:100%; left:0; bottom:0; padding:10px 15px; }

	.span-4.content-box { margin-bottom: 0; }

	.content-papers .info-content .image img { display: block; }
	.content-term.span-4.dbox .item > .image { width:100%; }

}

/* Media queries - No-mobile */
@media only screen and (min-width:641px) {
	.mobile { display: none!important:; }

}

@media only screen and (max-width: 640px) {
	.nomobile { display: none!important; }

}

/* modernizr */
/*.touch .top-slider .item { background-attachment:local; height: inherit; background-repeat: no-repeat; background-position: 63% 0%; background-size: cover; } */
/*.touch #main-side { position: absolute; }*/
/*.touch #main-side .bottom { position: static; margin-top:35px; }*/


/* contact form 7 */
.screen-reader-response { display: none; }

a.fc-event.weekend .fc-event-skin { color:#fff; }