/*typography */

@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,300,700);

html {
  font-size: 105%;
  line-height: 1.5;
}

body,
input,
textarea {
  font-size: 1rem;
  font-family: 'helvetica neue', 'Open Sans', sans-serif;
  color:#111;
}

input,
textarea {
  font-size: .857rem;
}

img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
}

a, 
a:visited {
  color:#006faf;
  text-decoration: none;
  -webkit-transition: all .4s linear;
  -moz-transition: all .4s linear;
  -ms-transition: all .4s linear;
  -o-transition: all .4s linear;
  transition: all .4s linear;
  }
  
a:hover {
  color: #006097;
  text-decoration: underline;  
  }
  
.field-name-field-registration a {
  background: #267a8e; 
  padding: .2em 1em;
  text-decoration: none;
  color: #fff;
  font-weight: 300;
  margin-bottom: 1em;
  border-radius: 2px;
  text-transform: uppercase;
}  


.field-name-field-registration a:hover {
  background: #003d4c; 
}
  
h1,h2,h3,h4 {
  margin: 0 0 1em 0;
}

h1,
#secondary .block h2 {
  color: #339900 !important;
  font-weight: 400;
  font-size: 1.2rem;
  }

h2,
h2.block-title,
.sidebar-list li,
#secondary label {
  margin-bottom: 1em;
  font-weight: 400;
  }
  
h1.title {
ck-title,
ck-title,
ck-title,
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: .25em;
  }

h1.title.with-tabs {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: .25em;
  }


.node-type-conference h1.title {
  margin-bottom: 0;
ck-title,
}

.page-node h1.title {
  font-size: 1.3rem;
  font-weight: 500;
}

.node-type-person h1.title {
  margin: 0;
}

h3,
.field-name-field-title-position {
  font-weight: bold;
  font-size: 1.1em;
}

p, 
.field {
  margin: .5em 0 1em 0;
}

p.read-more {
  text-align: right;
}

h3.category,
p.category {
  margin: 0;
  font-size: .9em;
}

h3.category {
  margin-top: 1.2em;
  margin-bottom: .5em;
}

h3.category {
  font-size: 1em;
}

.metadata {
  margin: 0;
}

.secondary-info {
  display:block;
}

ul li.leaf,
ul li.expanded,
ul li.collapsed {
  list-style: none;
  margin-left: 0;
  padding: 0;
}


.nav-toggle {
  float: right;
  display:none;
  width: 24px;
  height: 18px;
  opacity: .3;
  background: url('../images/menu.png') no-repeat 0 0 transparent;
  text-indent: -999em;
  }

#secondary .nav-toggle {
  float: none;
  background-image: url('../images/close-panel.png');
  width: 17px;
  height: 17px;
  margin-bottom: 3px;
  }
  
.nav-toggle:hover {
  opacity: 1;
  }

.breadcrumb {
  font-size: .8rem;
}

.sidebar-list {
  padding-top: 0;
  -webkit-margin-before: 0;
  -webkit-padding-start: 0;
}

#branding {
  float: left;
  margin: 16px 0 16px 20px;
}

#branding span.logo,
#branding span.text {
  display:inline-block;
  vertical-align: middle;
  }

#branding span.logo {
  background: url('../images/cga-blue-green-original.png') no-repeat 0 0 transparent;
  background-image: url('../images/cga-blue-green-original.svg'), none;
  background-size: 100% 100%;
  width: 66px;
  height: 62px;
  margin-right: 7px;
  }

#branding,
#branding:visited {
  text-decoration: none;
  color: #f3f3f3;
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1em;
  text-transform: uppercase;
}

#branding > span.text {
  white-space: nowrap;
}

#branding > span > span {
  display:block;
  font-size: .8em;
}

.front #branding,
.front #branding:visited {
  color: #222;
  }

/* header background */

header {
  background: #252525;
}

.front header {
  background-color: #fff;
}

/* Sidebar styles */

#secondary,
#secondary a,
#secondary a:visited,
#secondary .block h2,
#secondary h3,
#secondary h4,
#secondary ul,
#secondary li {
  font-size: 1rem;
  list-style: none;
  color: #1a1a1a;   
}

#secondary a:hover {
  text-decoration: underline;
  color: #0088DD;
}

#secondary a.active,
#secondary a.active-trail {
  font-weight: 700;
}

#secondary ul {
  padding: 0;
}

#secondary ul ul {
  padding-left: .75em;
}

.front #secondary .menu-block-wrapper li a {
  font-size: 1.3rem;
}

#secondary label {
  margin-bottom: .5em;
  font-weight: 700;
}

#secondary .block h2 {
  font-size: 1.4em;
  font-weight: 400;
  margin-bottom: .5em;
  line-height: 1.3;
}

#secondary a.contact-us,
.node-readmore a {
  background: #006faf;
  padding: 3px 16px;
  border-radius: 3px;
  color: #fff;
  }

.node-readmore a {
  background: #fff;
  border:1px solid #006faf;
  color: #006faf;
  font-size: .9em;
  padding: 3px 15px;
  }

#secondary a.contact-us:hover,
.node-readmore a:hover {
  background: #fff;
  border:1px solid #006faf;
  color: #006faf;
  text-decoration: none;
  }


.views-field.views-field-title {
  margin-bottom:9px; 
  font-family: 'Open Sans', sans-serif;
  font-size:.9em;
  font-weight:500;
}


.no-spam {
  background: #006faf;
  padding: 3px 16px;
  border-radius: 3px;
  color: #fff;
  }
.no-spam:hover {
  background: #fff;
  border:1px solid #006faf;
  color: #006faf;
  text-decoration: none;
  }

.node {
  margin-bottom:-18px;
} 
.node-readmore a:hover {
 background: #006faf;
 color: #fff;
 }

h2.node-title,
.field-name-field-session .field-label {
  font-size: 1.2em;
  line-height: 1.2;
  margin-bottom: .3em;
  font-weight: 400;
  }

.node-person h2.node-title {
  margin-bottom: 0;
} 

.node-person .field-type-image img {
  float: right;
  margin: 0 0 15px 20px;
}


h2.node-title a:hover {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #ea7a00;
  }

#secondary .block h2.element-invisible {
  margin: 0;
}

.imgcaption {
  font-size: .8em;
  margin-bottom: 1em;
  }

.submitted {
  color: #8E8984;
  text-transform: uppercase;
  font-size: .8em;
  margin-bottom: .4em;
  }

.views-item {
    clear:both;
}

header nav  {
  float: right;
  margin-top: 33px;
}

#main-menu {
 clear: both;
 padding: 0;
 margin: 0; 
}

#main-menu li {
  list-style: none;
  display: inline-block;
  }
  

#main-menu li a {
 padding: 0 10px;
 color:#fff;
 text-decoration: none;
 text-transform: uppercase;
 font-size: 16px;
 font-weight: 400;
 display:block;
}


#main-menu li a:hover {
  color: #fff;
  background-color:#006faf;
}

.front #main-menu li a {
  color: #666;
  }

.front #main-menu li a:hover {
  color: #fff;
  background-color:#006faf;
  }


#main-menu li a.active {
  color: #fff;
  background-color:#006faf;
}

#main-menu .active-trail {
  color: #fff;
  background-color:#006faf;
}

footer p {
  font-size: .75em;
  margin: 0;
}

.caption {
  font-size: .7em;
  color: #666;
  line-height: 1.2;
}

/*
.page-taxonomy-term h1.title:before {
  content: 'Categorized by: ';
}
*/

.field-name-field-dates,
.date-display-single {
  font-weight: 600;
  font-size: .9em;
  margin-bottom: .5em;
  margin-left:2px;
}

.field-name-field-dates,
.field-name-field-registration {
  display: inline-block;
  margin-right: 1em;
}

.field-name-field-session {
  margin-top: .5em;
} 

.image-gallery a {
  display: inline-block;
  width: 49%;
}

.image-gallery a:first-child {
  width: 100%;
}

.image-gallery a:nth-child(even){
  margin-right: 2%;
}

.field-name-field-link .field-item:after {
  content:",";
}

.field-name-field-link .field-item:last-child:after {
  content: "";
  }
}

/* tabs */

.tabs > ul.primary {
  padding: 0;
  border: none;
  margin: 0;
}

.tabs > ul.primary li a {
  font-size: .9em;
  border: 1px solid #ccc;
  border-radius: 3px;
  color: #333;
}

.tabs > ul.primary li a.active,
.tabs > ul.primary li a.active:hover {
  color: #000;
  font-weight: 600;
  background: #fff;
}


/* basic structures */


body {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0;
}

.wrap,
#featured .slides .wrap {
  margin: 0 auto;
  max-width: 1200px;
  padding: .5% 2%;  
  }

  
#header-top .wrap {
  text-align: right;
  font-size: .9em;
  margin-bottom: 5px;
}


#featured .wrap {
  max-width: 1600px;
} 


.node img,
.node-link img,
.sidebar-list img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  display:block;
  margin: 0 auto;
}


.node .file-icon {
  display:inline;
  margin: 0;
}

header .wrap {
  position: relative;
  padding: 0;
}

#main-content .wrap {
  padding: 1.2em 0 1em 0;
}

.front #main-content .wrap {
  padding-top: 0;
}

#secondary .block {
  margin-bottom: 1.5em;
}

header,
#main-content,
#primary,
footer {
  clear: both;
  }

#branding-logo,
#branding-type {
  float: left;
}

#branding-logo {
  margin: 16px 20px;
}

#branding-logo img {
  display:block;
}

header nav {
  float:right;
}

footer .wrap {
  padding: 2em 1em;
  border-top: 1px solid #c7c5c4;
  padding-top: 17px;
  color: #808080;
}

.flL {
  float: left;
  }

.flR {
  float: right;
  margin-left: .8em;
  }
  
input.form-text,
textarea,
input.form-submit {
  background: #fff;
  border:1px solid #aaa;
  border-radius: 3px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#edit-submit.form-submit {
  background: #ccff99;
  border:1px solid #006600;
  border-radius: 3px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.item-list ul li {
  margin-left: 0;
}

.grid {
  margin: 0;
  padding: 0.5em 0 0 0.5em;
}

.grid > li {
  width: 25%;
  display:inline-block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 0.5em 0.5em 0;
  list-style: none;
  margin: 0 -.3em 0 0;
  font-size: 14px;
  text-align: center;
  vertical-align: top;
}

.grid-2 > li {
  width: 50%;
  padding: 0 4% 1em 0;
  text-align: left;
  }

.grid-3 > li {
  width: 33.33333%;
  padding: 0 1em 1em 0;
  }

.grid-7 > li {
  width: 14.28%;
  padding: 1em;
  line-height: 1.2;
}

.grid > li img {
  height: auto !important;
  width: auto !important;
  max-width: 100%;
  display:block;
}

.grid-2 > li .flR {
  width: 30%;
}

.grid span.node-title {
  display:block;
  padding: .25em 0;
}

.grid > li a.node-link {
  display: block;
  height: 215px;
  width: 100%;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  font-weight: 300;
  font-size: .9em;
  color: #000;
}



/*search */


#search-block-form .form-item {
  margin-top: 0;
  margin-bottom: 1em;
}

#search-block-form .container-inline {
  position: relative;
  padding-right: 23px;
}

#search-block-form .form-type-textfield,
#search-block-form .form-actions {
  float: left;
}

#search-block-form .form-type-textfield {
  width: 100%;
}

#search-block-form .form-actions {
  margin-right: -100%;
  width: 20px;
  padding-left: 3px;
}


#search-block-form input.form-text {
  height: 30px;
  width: 100%;
  padding: 1px 25px 1px 3px;
  }

#search-block-form input.form-submit {
  background: url('../images/search.png') no-repeat 0 4px #fff;
  height: 26px;
  width: 20px;
  text-indent: -999em;
  border: none;
  cursor: pointer;
}


/* Sidebar */

#primary,
#secondary {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#primary,
.top {
  padding: 0 1em;
}

#primary {
  padding-bottom: 1em;
}

.sidebar-first #primary {
  width: 70%;
  float: left;
  border-right: 1px dashed #ccc;
}


#secondary {
  float: right;
  width: 30%;
  padding: .5em 1em;
  }

.slideshow #primary,
.slideshow #secondary {
  width: 50%;
}

.views-row {
  margin-bottom: 6px;
  }


.views-row-1 .flR {
  width: 348px;
  }

.view-header {
  font-size: 1em;
}

.node-teaser,
.field-collection-container {
  border-top: 1px dashed #ccc;
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  }
  
.last > .node-teaser {
  border-bottom: none;
}

.field-collection-view {
  margin: 0;
  padding: 0;
}

.node-teaser p {
  margin-bottom: 7px;
}

.node-teaser img {
  border: 5px solid #ccc;
}

ul.links.inline {
  text-align: right;
  font-size: .8em;
  display:block;
  }

.service-links {
  margin-top: 20px;
  margin-left: 8px;
  text-align: left;
  font-size: .8em;
  font-weigth: 600;
  display:block;
}


.service-links-twitter-widget {
  list-style-type:none;
}


.service-links-google-plus-one {
  list-style-type:none;
}

.service-links-facebook-like {
  list-style-type:none;
}


.views-slideshow-cycle-main-frame img,
.flexslider .slides img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
}


.views-field-field-photo .imgcaption {
  position: absolute;
  bottom: 10px;
  background:#5a5a5a;
  left: 0;
  width: 80%;
  padding: 1em;
  z-index: 99999;
  color: #fff;
}


td,
th {
  padding: .3em .5em;
  font-size: .9em;
}


th.views-field-field-region,
td.views-field-field-region {
  display:none;
  }

  
tr.odd {
  background: #F3EFE8;
}

tr.odd {
  background: #fff;
}

td.active {
  background: transparent;
}

.views-field-edit-node a {
  z-index: 9999;
}

.wrap:after {
  content: '';
  display:block;
  clear:both;
  height: 0;
}

.vertical-image {
  background: #f3f3ef;
}

.imgcaption {
  background: #fff;
}

/* slide show */

#featured {
  position: relative;
}

#featured .slides .text {
  position: absolute;
  width: 100%;
  top: 7%;
  }

.flexslider {
  margin: 0;
  border: none;
  border-radius: none;
  -webkit-box-shadow: none;
    box-shadow: none;
}

.slides li {
  position:relative;
}

.slides li p {
  background: rgba(65, 73, 128, .7);
  color: #fff;
  width: 658px;
  padding: 1.4em 1.6em 1.4em 1.6em;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  }

.flex-control-nav {
  bottom: 0;
  }

/* horizontal radio-buttons */

.form-radios > .form-type-radio {
  display:inline-block;
  }


/* views slideshow css hacks */

.page-node-893 .breadcrumb {display:none;}

.page-node-893 .title.with-tabs {font-size: 1.1em;}

#views_slideshow_cycle_teaser_section_projects-block_2 {
        font-weight: bold;
        font-size: 1.5em;
}


/*arrow left/previous control*/
 #views_slideshow_controls_text_previous_projects-block_2.views-slideshow-controls-text-previous.views_slideshow_controls_text_previous.views-slideshow-controls-text-previous-processed {
background: url(../images/backbutton.jpg) no-repeat;
display: inline-block;  /*set display*/
position:relative;     /*set position*/
left: 6px;           /*left position*/
width: 20px;           /*width of your img to change*/
height: 20px;          /*height of your img*/
font-size: 0px;        /*this is better than 1px*/
color:#444;            /*blue color*/
padding: 0 0 8px 0;
  }

/*arrow next control*/
 #views_slideshow_controls_text_next_projects-block_2.views-slideshow-controls-text-next.views_slideshow_controls_text_next.views-slideshow-controls-text-next-processed {
background: url(../images/forwardbutton.jpg) no-repeat;
display: inline-block;  /*set display*/
position:relative;     /*set position*/
left: 6px;           /*left position*/
width: 20px;           /*width of your img to change*/
height: 20px;          /*height of your img*/
font-size: 0px;        /*this is better than 1px*/
color:#444;            /*blue color*/
padding: 0 0 8px 0;
  }


/*pause control*/
 #views_slideshow_controls_text_pause_projects-block_2.views-slideshow-controls-text-pause.views_slideshow_controls_text_pause.views-slideshow-controls-text-pause-processed.views-slideshow-controls-text-status-play {
background: url(../images/pausebutton.jpg) no-repeat;
display: inline-block;  /*set display*/
position:relative;     /*set position*/
left: 6px;           /*left position*/
width: 20px;           /*width of your img to change*/
height: 20px;          /*height of your img*/
font-size: 0px;        /*this is better than 1px*/
color:#444;            /*blue color*/
padding: 0 0 8px 0;
 }

/*play control*/
 #views_slideshow_controls_text_pause_projects-block_2.views-slideshow-controls-text-pause.views_slideshow_controls_text_pause.views-slideshow-controls-text-pause-processed.views-slideshow-controls-text-status-pause {
background: url(../images/playbutton.jpg) no-repeat;
display: inline-block;  /*set display*/
position:relative;     /*set position*/
left: 6px;           /*left position*/
width: 20px;           /*width of your img to change*/
height: 20px;          /*height of your img*/
font-size: 0px;        /*this is better than 1px*/
color:#444;            /*blue color*/
padding: 0 0 8px 0;
  }

/*
#secondary select,
#secondary input {
  max-width: 150px !important;
  overflow: hidden;
  }
*/

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

  #main-menu li a {
    padding: 0 15px;
  }

}

@media only screen and (max-width:1097px){
  .slides li p {
  width: 63%;
  }
}

@media only screen and (max-width:1084px){
  
  #main-menu li a {
    padding: 0 10px;
  }

  
  #featured .slides .text {
    top: 3%;
  }
  
  .slides li p {
  width: 100%;
  padding: 1em 2em;
  font-size: 26px;
  }
}


@media only screen and (max-width: 1150px) {  
  
  #branding {
    float: none;
    display: block;
    width: 500px;
    margin: 0 auto;
    padding: 10px 0;
  }
  
  header nav {
   float:none;
   text-align: center;
   margin-top: 0;
   padding-bottom: .5em;
  }
  
}

  
@media only screen and (max-width:768px){
  
  .sidebar-first #primary,
  #secondary {
   float: none;
    width: 96%;
    border: none;
    padding: 3%;
  }
  
  .nav-toggle {
    display:block;
    }
  
  #secondary {
   position: fixed;
   overflow-y: auto;
   padding: 0;
   top:0;
   right: 0;
   height:100%;
   width: 0;
   background: #fff;
   -moz-transition: width 0.3s ease;
   -webkit-transition: width 0.3s ease;
   -o-transition: width 0.3s ease;
   -ms-transition: width 0.3s ease;
   transition: width 0.3s ease;
   z-index:100;
   }
  
  #main-content .wrap {
  padding-top: 1em;
  }
  
  .grid-2 li {
   width:100%;
  }
  
  #secondary:target {
   width:50%;
   box-shadow: 0 0 3em #000;
   padding: 1% 3%;
  }

}


@media only screen and (max-width:702px){
  
  .wrap, #featured .slides .wrap {
    padding: 0;
  }
  
  .flexslider p {
    height: 233px;
  }
  
  #featured .slides .text {
    position: static;
  }
  
}


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

  #secondary:target {
   width:80%;
   }
  
  
  #branding {
    width: auto;
  }
  
  
  #branding,
  .header-content,
  header nav {
    text-align: center;
    display:block;
    margin: 0 auto;
    font-size: 1rem;
  }
  
  
  #branding,
  header nav {
    text-align: left;
    display:block;
    margin: 0;
  }
  
  .not-front header #branding {
   float: left;
   }
  
  .not-front header nav {
    width: 200px;
    float: right;
    }
  
  .front header nav {
    clear: both;
    }
  
  .not-front #main-menu {
    -moz-column-count:2;
    -webkit-column-count:2;
    column-count:2;
    -moz-column-gap: 0;
    -webkit-column-gap: 0;
    column-gap: 0;
    height: 4em;
    margin: 10px 0 0 0;
    }
  
  .not-front #main-menu li {
    display:block;
    }
  
  .not-front #main-menu li a {
    padding: 2px 0;
    font-size: 14px;
    line-height: 1.3em;
    }
  
  .not-front #branding span.text {
   display:none;
   }
  
  #branding span.text {
    width: auto;
    font-size: 1rem;
    line-height: 1.2em;
    white-space: normal;
    float: left;
    margin-top: 8px;
    }
  
  #branding span.logo {
    width: 88px;
    height: 60px;
    margin: 0 0 0 8px;
    display:block;
  }
  
  .front #branding span.logo {
   float: left;
   width: 66px;
   margin-right: 8px;
   }
    
  .flexslider p {
    height:auto;
  }
  
  .slides li p {
    font-size: 24px;
    padding: 1em;
    }

  #block-search-form {
    float:none;
    margin-top: 7px;
    text-align: center;
  }

  .flL {
    width:25%;
    margin: 0 .5em .3em 0;
  }
  
  .view-news .node-teaser .node-inner {
    margin-left: 0;
  }

}

@media only screen and (max-width:590px){
 .front #main-menu li a {
    font-size: 14px;    
    }
}

@media only screen and (max-width:590px){
 .front #main-menu li a {
    font-size: 12px;    
    }
}

@media only screen and (max-width:436px){
  
  
  .front nav {
    background: #000;
    }
  
  .front #branding {
    padding-top: 4px;
    }
  
  .front #branding span.logo {
    margin: 0 5px;
    }
  
  #branding span.text {
    font-size: 13px;
    line-height: 1.2em;
    margin-top: 10px;
    width: 237px;
    }
    
  #branding > span > span {
    font-size: .95em;
    }
 
 .front #main-menu {
    -moz-column-count:2;
    -webkit-column-count:2;
    column-count:2;
    -moz-column-gap: 0;
    -webkit-column-gap: 0;
    column-gap: 0;
    height: 4em;
    width: 80%;
    margin: 0 0 0 17%;
    padding-top: 1em;
    }
  
  .front #main-menu li {
    display:block;
    }
  
  .front #main-menu li a {
    padding: 2px 0;
    font-size: 15px;
    line-height: 1.3em;
    color: #fff;
    }

}

/*  calendar */

.calendar-calendar tr td.today, .calendar-calendar tr.odd td.today, .calendar-calendar tr.even td.today {
  background-color: #F8CF66;
}

.calendar-calendar td.has-events {
  background-color: #C6FAE5;
}

/* format for the week number in the first cell */
.calendar-calendar td.week {
  width:1%;
  min-width:1%;
  }
.calendar-calendar .week {
  clear:both;
  font-style: normal;
  color: #555;
  font-size: 0.8em;
}

/* more tweaks Dec 2013 */

.field-type-link-field .field-items .field-item:before {
  content: "   - ";
  color: #006faf;
  font-weight: 600;
}
