/* Tablet style */
@import url("cmcc-custom-page-template-tablet.css");

/* Mobile style */
@import url("cmcc-custom-page-template-mobile.css");

 /***** Header/Logo *****/
.single-cmcc_custom_page_tpl .cmct2banner {
  display: none;
}

/***** Wrapper for the main content area *****/
#cmcc-custom-page-template-wrap{
  width: 100%;
  overflow: hidden;
}

/***** Main *****/
#cmcc-custom-page-template-wrap #main{
  overflow: hidden;
}
#cmcc-custom-page-template-wrap.one-column.solid #main,
#cmcc-custom-page-template-wrap.two-column.solid #main{
  background-color: #fff;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 15px;
}
/* if the layout has a bg, we need to add padding */
#cmcc-custom-page-template-wrap.one-column.solid.background-on #main{
  width: 945px;
  padding-right: 20px;
}
#cmcc-custom-page-template-wrap.semi-transparent #main{
  margin-top: 0;
}

/*** Main - War Museum ***/
#cmcc-custom-page-template-wrap.war.one-column.solid #main{
  background-color: #e6e6e6;
}
#cmcc-custom-page-template-wrap.war.two-column.solid #main{
  background-color: #e6e6e6;
}

/***** Banner *****/
#cmcc-custom-page-template-wrap .cmct2banner_default{
  clear: both;
}

/***** Custom Banner *****/
#cmcc-custom-page-template-wrap #cmcc-custom-page-template-banner{
  margin-bottom: 15px;
  padding: 0 10px 0 10px;
}
#cmcc-custom-page-template-wrap #cmcc-custom-page-template-banner img{
  width:100%;
  display: block;
  margin: 0 auto;
}
#cmcc-custom-page-template-wrap.one-column #cmcc-custom-page-template-banner{
  width: 945px;
}
#cmcc-custom-page-template-wrap.one-column.semi-transparent #cmcc-custom-page-template-banner{
  width: 100%;
}
#cmcc-custom-page-template-wrap.solid #cmcc-custom-page-template-banner{
  margin-bottom: 20px;
}
#cmcc-custom-page-template-wrap.full-width #cmcc-custom-page-template-banner{
  width: 100%;
  padding: 0;
  background: transparent;
}
#cmcc-custom-page-template-wrap.semi-transparent #cmcc-custom-page-template-banner{
  margin-bottom: 0;
  padding: 0;
}

/***** Container *****/

#cmcc-custom-page-template-wrap.one-column  #container {
 float: none;
 width: 940px;
}
#cmcc-custom-page-template-wrap.one-column.solid.background-on #container {
  width: 945px;
}
#cmcc-custom-page-template-wrap.one-column.full-transparent #container{
  width: 960px;
  margin-left: -8px;
}
#cmcc-custom-page-template-wrap.two-column  #container {
  width: 680px;
}

#cmcc-custom-page-template-wrap.semi-transparent #container{
  background-color: #fff;
  margin: 20px auto 20px auto;
  padding: 0 20px 30px 0;
}
/*** Container -  War Museum ***/
#cmcc-custom-page-template-wrap.war.semi-transparent #container{
  background-color: #e6e6e6;
}

/***** Main Content ******/
#cmcc-custom-page-template-wrap #container h1 {
    color: #000000;
}
#cmcc-custom-page-template-wrap.semi-transparent h1.title{
  padding-top: 16px;
}

#cmcc-custom-page-template-wrap #cmcc-cpt-content{
  padding: 0 0 20px 0;
}

/***** Right Sidebar ******/
 #cmcc-custom-page-template-wrap.one-column #right-panel{
  float: none;
  overflow: hidden;
  width: 960px;
}
#cmcc-custom-page-template-wrap.one-column.solid #right-panel{
  width: 965px;
}
#cmcc-custom-page-template-wrap.two-column.solid #right-panel{
  margin-right: 10px;
}
#cmcc-custom-page-template-wrap.two-column.semi-transparent #right-panel{
  padding-left: 12px;
  padding-right:12px;
}
#cmcc-custom-page-template-wrap.one-column #container #right-panel h2{
  margin-top: 0;
}
#cmcc-custom-page-template-wrap.one-column #container #right-panel h3{
  margin-top: 0;
  color: #fff;
}
#cmcc-custom-page-template-wrap.semi-transparent #right-panel{ 
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 10px;
  padding-top: 20px;
  background-color: #fff;
}
#cmcc-custom-page-template-wrap.full-transparent #right-panel h2  {
  padding: 10px 4px 6px 6px;
  margin-top: 0;  
  background: #fff;
}

#cmcc-custom-page-template-wrap.full-transparent #container .entry-content p a {
	color: #00f;
}

/*** Right Sidebar - War Museum ***/
.single-cmcc_custom_page_tpl #cmcc-custom-page-template-wrap.war.semi-transparent #right-panel{
  background-color: #e6e6e6;
}

#cmcc-custom-page-template-wrap #right-panel .cmcc-cpt-bottom-widgets{
  width: 920px; 
  overflow: hidden;
  margin: 0 auto;
}

/***** Widgets *****/

#cmcc-custom-page-template-wrap #right-panel-post .cmc-twitter-widget h2, 
#cmcc-custom-page-template-wrap #right-panel .cmc-twitter-widget h2, 
#cmcc-custom-page-template-wrap #right-panel .cmc-twitter-widget h2 a {
 text-transform: none;
}
#cmcc-custom-page-template-wrap #right-panel .cmc-twitter-widget .content,
#cmcc-custom-page-template-wrap #right-panel-post .cmc-twitter-widget .content{
  padding: 10px 4px 6px 6px;
}
#cmcc-custom-page-template-wrap #right-panel-post h2, 
#cmcc-custom-page-template-wrap #right-panel h2, 
#cmcc-custom-page-template-wrap #right-panel h2 a{
  margin-bottom: 0;
  padding-bottom: 10px;
}

/* Widgets in this template don't use the widget-container class so we have to duplicate the css declarations here. */
.widget {
  line-height: 15px;
  margin-bottom: 16px;
}  
.widget a, a:hover, a:active {
	color: #333;
}
#cmcc-custom-page-template-wrap.one-column #right-panel .widget{
  float: left;
  width: 220px;
  margin: 0 13px 16px 0;
}
#cmcc-custom-page-template-wrap.one-column #right-panel .widget.four-col-1{
  clear: both;
}
#cmcc-custom-page-template-wrap.one-column #right-panel .widget.four-col-4{
  margin: 0 0 16px 0;
}
#cmcc-custom-page-template-wrap.full-transparent #right-panel .widget{
  width: 220px;
}

#cmcc-custom-page-template-wrap.one-column #right-panel .cmc-current-events-widget,
#cmcc-custom-page-template-wrap.one-column #right-panel .cmc-twitter-widget {
  clear: none;
}
#cmcc-custom-page-template-wrap.full-transparent #right-panel .cmc-twitter-widget .content{
  border-radius: 0;
}
#cmcc-custom-page-template-wrap.one-column #right-panel .widget_text .textwidget,
#cmcc-custom-page-template-wrap.full-transparent #right-panel .widget_text .textwidget{
  padding: 6px 5px 8px 5px;
}
#cmcc-custom-page-template-wrap.full-transparent .textwidget{
  background: #fff;
  box-shadow: 0 0 0;
}
#cmcc-custom-page-template-wrap.full-transparent #right-panel .cmc-sb-feature-widget .text{
  background: #fff;
}
#cmcc-custom-page-template-wrap.full-transparent .cmc-twitter-widget .content {
  behavior: none;
  -pie-background: #fff;
  background: #fff;
  box-shadow: 0 0 0 0;
}
#cmcc-custom-page-template-wrap.full-transparent #right-panel .cmc-twitter-widget .content{
  border-top: none;
}


/*** Main Parent Override ***/
#container .post{
  overflow: hidden;
}

/*** Dates ***/
#cmcc-custom-page-template-wrap div.cmcc-cpt-dates{
  font-weight: bold;
  margin: 0 0 20px 0;
}
/** Featured Image ***/
.cpt-ft-img{
  width: 100%;
}

/*** Image Gallery ***/
.cmcc-cpt-photo-gallery{
  overflow: hidden;
  margin: 0 0 10px 0;
}

.cmcc-cpt-photo-gallery  img:hover{
  background-color: #a9a9a9;
} 
.cmcc-cpt-photo-gallery .gallery-mode-slideshow  img:hover{
  background-color: transparent;
}

/*** Video Gallery ***/
.cmcc-cpt-video-gallery{
  overflow: hidden;
  margin: 0 0 10px 0;
}
.cmcc-cpt-video-gallery .cmcc-cpt-vid{
  display: block;
  float: left;
  margin: 16px 0 0 5px;
}
.cmcc-cpt-video-gallery #cmcc-cpt-video-nav{
  clear: both;
  float: left;
  margin: 0;
  padding: 0;
}
.cmcc-cpt-video-gallery #cmcc-cpt-video-nav li{
  float: left;
  margin: 0!important;
  margin-right: 5px!important;
  padding: 0!important;
  list-style: none;
  text-align: center;
}
.cmcc-cpt-video-gallery  li img {
  float: left;
  display: block;
  width: 100px;
  border: 1px solid #A9A9A9;
  margin: 4px 0 4px 5px;
  padding: 4px;
  background-color: #fff;
}
.cmcc-cpt-video-gallery  li img:hover{
   background-color: #a9a9a9;
} 

/*** Related Events ***/

/* Related Events - Events Calendar Overrides ***/

.single-cmcc_custom_page_tpl #container .event-info th{
  border-bottom: 1px solid #E5E3D5;
  padding: 10px 0;
  background: none;
  font-weight: normal;
  text-align: left;
  vertical-align: top;
}
.single-cmcc_custom_page_tpl #cmcc-custom-page-template-wrap.war #container .event-info th{
  border-bottom-color: #DBDBDB;
}
.single-cmcc_custom_page_tpl #container .event-info td{
  padding: 10px;
  vertical-align: top;
  width: 75%;
}
.single-cmcc_custom_page_tpl #container .event-info td p{
  margin: 0 0 5px 0;
}
.single-cmcc_custom_page_tpl #container .event-info td p:last-child{
  margin: 0 0 0 0;
}

#container td.eventtime {
  padding: 10px 0;
}
#container .events-calendar-post h3 {
  margin: 10px 0 0 0;
}

/* Related Events - General */
#container .cmcc-cpt-related-events{
  margin-top: 26px;
}
#container .cmcc-cpt-related-events .events-calendar-post h2:first-child{
  margin-top: 10px;
}
#container .cmcc-cpt-related-events .events-calendar-post h2{
  padding-top: 0;
  font-family: Helvetica,Arial,sans-serif;
  font-weight: 100!important;
}
#container .cmcc-cpt-related-events .events-calendar-post h2 a{
  font-weight: 100!important;
}
#cmcc-custom-page-template-wrap .section-title{
  font-size: 180%;
}
#cmcc-custom-page-template-wrap .full-event-listing{
  text-align: right;
  padding-bottom: 10px;
  border-bottom: 1px solid #E5E3D5;
}
#cmcc-custom-page-template-wrap.full-transparent .full-event-listing,
#cmcc-custom-page-template-wrap.full-transparent #container th, 
#cmcc-custom-page-template-wrap.full-transparent #container td{
  border: none;
}


/* War */
#cmcc-custom-page-template-wrap.war  .full-event-listing{
  border-bottom: 1px solid #DBDBDB;
}
#cmcc-custom-page-template-wrap.war.full-transparent .full-event-listing{
  border: none;
}
#container #cmcc-custom-page-template-wrap .full-event-listing p{
  margin: 0;
}
#cmcc-custom-page-template-wrap  .events-calendar-post{
  clear: both;
  margin: 0 0 20px 0;
  padding: 0 0 0 0;
}
#cmcc-custom-page-template-wrap  .events-calendar-post-imax{
  border: none;
}

/* Related Events - Full Listing */
#cmcc-custom-page-template-wrap .events-calendar-post .long-content{
  margin-top: 30px;
}
#cmcc-custom-page-template-wrap #container .events-calendar-post  .bttticketscalendar,
#cmcc-custom-page-template-wrap #container .events-calendar-post  .bttticketscalendar:hover{
  top: -22px;
}
#cmcc-custom-page-template-wrap .events-calendar-post.full .cmcc_cpt-title-view-full{
  display: none;
}
#cmcc-custom-page-template-wrap table.event-info{
  width: 100%;
}
#cmcc-custom-page-template-wrap table.event-info tr{
  width: 100%;
}
#cmcc-custom-page-template-wrap table.event-info tr.border-top{
  border-top: 1px solid #E2DFD1;
  border-bottom: 1px solid #E2DFD1;
}
#cmcc-custom-page-template-wrap.full-transparent  table.event-info tr.border-top,
#cmcc-custom-page-template-wrap.full-transparent  table.event-info th,
#cmcc-custom-page-template-wrap.full-transparent  table.event-info td{
  border: none;
}

#cmcc-custom-page-template-wrap table.event-info tr td.col-1{
  width: 25%;
  padding: 10px 0;
}
#cmcc-custom-page-template-wrap table.event-info tr td.col-2{
  padding: 10px 0;
  width: 75%;
}

/* Related Events - Short Listing */
#cmcc-custom-page-template-wrap .events-calendar-post.short .content,
#cmcc-custom-page-template-wrap .events-calendar-post.short .long-content{
  display: none;
}
#cmcc-custom-page-template-wrap .events-calendar-post.short{
  margin-bottom: 15px;
}
#cmcc-custom-page-template-wrap .events-calendar-post.short .cmcc_cpt-title-view-full{
  font-size: 80%;
  color: #000;
}

/*** Sponsors and Credits ***/
#cmcc-cpt-sponsors-credits-wrap{
  clear: both;
  overflow: hidden;
  width: 100%;
  border-top: 1px solid #E5E3D5;
  margin: 20px 0 0  0;
  padding: 20px 0 0 0;
}

/*** Custom Link Button ***/
#container .entry-content .mobile_priority_yes{
  display: none;
}
div.cmcc-cpt-custom-button{
  width: calc(100% - 10px);
  width: -moz-calc(100% - 10px); /* Support older version of Moz and Safari */
}
div.cmcc-cpt-custom-button a{
  display: block;
  margin: 0 0 0 0;
  padding: 26px 8px;
  text-align: center;
  color: #fff!important;
  font-size: 136%;
  text-transform: uppercase;
  background-color: #4D4D4D;
}
div.cmcc-cpt-custom-button a:hover{
  background-color: #A7A7A7;
}
div.cmcc-cpt-custom-button.blue a{
  background-color: #053969;
}
div.cmcc-cpt-custom-button.blue a:hover{
  background-color: #005393;
}
div.cmcc-cpt-custom-button.red a{
  background-color: #AC1700;
}
div.cmcc-cpt-custom-button.red a:hover{
  background-color: #D51C00;
}


/*** Current Events - Full Transparent background setting ***/
#cmcc-custom-page-template-wrap.full-transparent #right-panel .cmc-current-events-widget div.simpleTabsContent {
  background: #fff;
}


/***** Gallery Popup *****/

.white-popup.white-popup-cmcc_custom_page_tpl{
  padding-top: 0!important;
  padding-bottom: 0!important;
}
.single-cmcc_custom_page_tpl .mfp-container{
  height: auto;
}
.mfp-image-holder .white-popup-cmcc_custom_page_tpl .mfp-close, 
.mfp-iframe-holder .white-popup-cmcc_custom_page_tpl  .mfp-close{
  color: #333;
  right: 6px;
  width: auto;
}
.white-popup-cmcc_custom_page_tpl .mfp-bottom-bar{
  width: 100%;
  margin-top: -38px;
  background: #a5a5a5;
}
.white-popup-cmcc_custom_page_tpl .mfp-title.content-popup{
  padding: 10px 40px;
}
.white-popup-cmcc_custom_page_tpl .mfp-counter{
  display: none;
  color: #fff;
  line-height: 1.5em;
  padding: 10px 40px;
}
