/*
Theme Name: Divi-child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Version: 3.0
Author: Lisianne.com
Author URI: http://lisianne.com
*/
/* Theme customization
-----------------------*/
/* START customization Diablo Ballet */
/*--------------------------  */
body {
    -webkit-font-smoothing: auto;  /* LM */
    font-weight: 400;
}
.container {width: 92%;}
/* Footer */
#main-footer .footer-widget h4 {padding-bottom: 15px; letter-spacing: 1px; font-weight: 600;}
#footer-bottom {background-color: #232425;
}
#footer-bottom a {
    color: #a8a9ad;
}
#footer-bottom a:hover {
    color: #9a1c24;
}
#footer-widgets .footer-widget li a:hover , #footer-widgets .footer-widget  a:hover{
    color: rgba(255, 255, 255, 0.7);
}
/* Button Styles */
.et_pb_button {
    padding: 0.9em 2.2em;
    border: 2px solid;
    font-weight: 400;
    letter-spacing: 1px;
}
/* Button Hover */
.et_pb_module .et_pb_button:hover,
.et_pb_button:hover {
    padding: 0.9em 3em 0.9em 1.7em !important;
    border: 2px solid transparent;
}
.et_pb_button:hover {
    background: rgba(255, 255, 255, 0.2);
}
/* Headers */
h1,
h2,
h3,
h4,
h5,
h6 {
    padding-bottom: 10px;
    font-weight: 600;
    line-height: 1.3em;
    letter-spacing: 0px;
    font-family: 'Montserrat', serif !important;
}

h1  {   
    font-size: 50px;
    letter-spacing: 1px;    
    color: #a8a9ad !important;
    font-weight: 400;
}


h2 {
    font-size: 33px;padding-bottom: 18px;
    font-weight: 300;
}

h3 {
    font-size: 28px;
    font-weight: 600;
    color: #a8a9ad !important;
}
h4 {
    font-size: 22px;
}   
h5 {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
}

h6 {
    font-size: 14px;
}


/* Mega Menu - LM  */
#top-menu li > ul { width: 320px;
}
#top-menu li.mega-menu > ul {  /* ex: tickets */
   top: 96px;
   padding: 15px 15px 20px 15px;
   width: 800px;
   left: 0; right: 0;  /* to center*/
   margin-left: auto; margin-right: auto; /* to center*/
}

#top-menu li a{
    letter-spacing: 1.5px;
}
#top-menu li.mega-menu>ul>li>a:first-child {
        margin-bottom: 10px;
        border-bottom: 1px dotted #a8a9ad;
        color: #a8a9ad;
        font-weight: 400;
}
#top-menu li li a {width: 280px; padding: 6px 0;}

/* LM animated underline */

#top-menu>li>a::after, #top-menu li.mega-menu.mega-menu-parent > a::after ,#top-menu li.menu-item.menu-item-has-children > a::after{
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  position: absolute;
  bottom: 5px;
  top: 20px;
  left: 50%;
  display: inline-block;
  overflow: hidden;
  margin-left: -14px;
  width: 0px;
  height: 0px;
  background-color: #aaa;
  content: 'a';
  text-indent: -999em;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
}
#top-menu > li > a:hover:after  , #top-menu > li:hover > a:after ,
#top-menu li.mega-menu.mega-menu-parent:hover > a::after, 
#top-menu li.menu-item.menu-item-has-children:hover > a::after
 {width: 30px; height: 2px;}

.et_mobile_menu li a:hover, .nav ul li a:hover {background-color: rgba(0,0,0,.3);}
#et-secondary-nav .menu-item-has-children>a:first-child, #top-menu .menu-item-has-children>a:first-child {padding-right: 0;}
#et-secondary-nav .menu-item-has-children>a:first-child:after, #top-menu .menu-item-has-children>a:first-child:after {
    display: none;
}
/* Divi Collapsable mobile menu  https://www.elegantthemes.com/blog/community/divi-mobile-menu-hack-collapsing-nested-sub-menu-items */
#main-header .et_mobile_menu .menu-item-has-children > a { background-color: transparent; position: relative; }
#main-header .et_mobile_menu .menu-item-has-children > a:after { font-family: 'ETmodules'; text-align: center; speak: none; font-weight: bold; font-variant: normal; text-transform: none; -webkit-font-smoothing: antialiased; position: absolute; }
#main-header .et_mobile_menu .menu-item-has-children > a:after { font-size: 20px; content: '\4c'; top: 13px; right: 10px; }
#main-header .et_mobile_menu .menu-item-has-children.visible > a:after { content: '\4d'; }
#main-header .et_mobile_menu ul.sub-menu { display: none !important; visibility: hidden !important;  transition: all 1.5s ease-in-out;}
#main-header .et_mobile_menu .visible > ul.sub-menu { display: block !important; visibility: visible !important; }
/* Slider */
.et_pb_fullwidth_header_subhead {
    font-size: 18px;
    letter-spacing: 1px;
    color: #fff;
}

/* adjust grid - two and three columns on tablets */
@media only screen  and ( min-width: 480px )and (max-width: 1075px){
.db-layout .et_pb_column.et_pb_column_1_2 {
width: 47.25% !important;
margin-right: 5.5% !important;
}
.db-layout .et_pb_column.et_pb_column_1_2:last-child {margin-right: 0 !important;}
}
@media only screen  and ( min-width: 480px )and (max-width: 1075px){
.db-layout .et_pb_column.et_pb_column_1_3 {
 text-align: center;
}
.db-layout .et_pb_column.et_pb_column_1_3 .et_pb_module {
 max-width: 510px;
 margin: 0 auto;
}
}

/* divider - rounded corners */
.db-divider  {margin-bottom: 90px;
        border-radius: 0 0 0 90px;}
.db-divider:before {position: absolute;
        content: '';
        pointer-events: none;
        left: 0;
        z-index: -1;
        height: 90px;
        background: #eff0f0;
        top: 100%;
        width: 100%;
        border-radius: 0 90px 0 0;
      }
.db-divider:after {position: absolute;
        content: '';
        pointer-events: none;
        left: 0;
        height: 90px;
        background: #eff0f0;
        bottom: 0;
        z-index: -1;
        width: 50%;
}
/* newsletter signup */
.footer-widget .dbnews {background-color: #ddd; color: #55555e !important;}
.footer-widget .dbnews:hover {background-color: rgba(255,255,255,0.7);}

/* Homepage modules - Align Blurb on Blog Post */
.et_pb_blurb_content, .home .et_pb_post {border: 1px solid #ccc; padding-bottom: 20px;}
.et_pb_main_blurb_image {margin-bottom: 0;}
.et_pb_main_blurb_image a {display: block;}
.et_pb_main_blurb_image img {vertical-align: bottom;}
.et_pb_blurb_container >h4 {margin-top: 30px; padding-bottom: 18px; font-weight: 600;} 
.et_pb_blurb_container,  .home .et_pb_post .post-content { padding: 0 10px ;}
.home .et_pb_post h2 {padding: 0 10px 18px 10px; font-weight: 600; font-weight: 18px;}
.home .et_pb_post a.more-link , .et_pb_blurb_container a.more-link, a.more-link{
text-transform:uppercase;
color:#9a1c24;
font-weight: 600;
float:right;
letter-spacing: 0.5px;
font-size: 13px;
padding: 0px 15px 0 0 ;
}
a.more-link:hover {text-decoration: underline;}
.et_pb_blurb_container:after, .db-blurb:after {display: block;
        visibility: hidden;
        clear: both;
        height: 0;
        font-size: 0;
        content: " ";
      }
.db-blurb-img img {vertical-align: bottom;}
.db-blurb {padding: 10px ; border: 1px solid #ccc;}     
.db-blurb h4   {margin-top: 10px; padding-bottom: 18px; font-weight: 600;} 
/* special typography homepage*/
.db-h2-title h2 {font-weight: 300; font-size: 22px; text-transform: uppercase; padding-bottom: 12px; letter-spacing: 1px; border-bottom: 1px solid #a8a9ad; margin-bottom: 20px;}

/* icons */
.db-icon {
  font-family: 'ETmodules'; 
  speak: none; 
  font-style: normal; 
  font-weight: normal; 
  font-variant: normal; 
  text-transform: none; 
  line-height: 1;
   -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a:hover .db-icon, .db-icon:hover {color: #999;}
.db-icon.small {font-size: 16px;
    color: #fff; margin-right: 8px;}
.db-icon.large {font-size: 25px;margin-right: 14px;}
.db-icon.tiny {font-size: 14px;
    color: #9a1c24; }
.icon-cta:before {
    content: "\e03c";
    position: relative;
    margin-left: 5px;
}
.icon-arrow:before {
    content: "\24";
    position: relative;
    top: 2px;
}
.icon-calendar:before {
    content: "\e023";
    position: relative;
    color: #9a1c24;
    top: 4px;
}
.icon-facebook:before {
    content: "\e0c1";
}
.icon-twitter:before {
    content: "\e0c5";
}
.icon-instagram:before {
    content: "\e0c8";
}
.icon-pinterest:before {
    content: "\e0c3";
}
.icon-youtube:before {
    content: "\e0d1";
}
/* Sidebar Widget */
.et_pb_widget {margin-bottom: 14% !important;}
.et_pb_widget_area .widgettitle, .db-widget h4 {font-weight: bold;
        text-transform: uppercase;
        font-size: 15px;
        line-height: 1.3;
        background-color: #f6f7f7;
        padding: 12px 15px;
        color: rgb(154, 28, 36);
        border-bottom: 1px solid #aaa;
        text-shadow: none;
        letter-spacing: 1px;}
 .db-widget div.content,  .widget_recent_entries  ul , .widget_categories  ul {padding: 20px 15px !important;
        background-color: #eff0f0;}
.et_pb_widget_area .textwidget h5, .db-widget h5{font-size: 15px;
        font-weight: 600; padding-bottom: 5px;}
.et_pb_widget_area  .et_pb_widget a, .db-widget a {color: #9a1c24;}
.et_pb_widget_area  .et_pb_widget a:hover, .db-widget a:hover {color:rgba(154,28,36,0.7);}
.et_pb_widget_area  .widget_recent_entries a, .et_pb_widget_area  .widget_categories a {color: #51555e;}
a.widget-newsletter {display: block; text-align: center; background-color: #51555e ; border-color: #51555e !important; color: #fff !important;}
a.widget-donate {display: block; text-align: center; background-color: #9a1c24 ; border-color: #9a1c24 !important; color: #fff !important;}

.widget-donate-image {min-height: 300px; background-image: url("https://diabloballet.org/wp-content/uploads/2017/10/Diablo_Ballet-Donate-300.jpg");
background-repeat: no-repeat; position: relative; background-position: center;}
.widget-donate-image .et_pb_button {position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%); background-color: rgba(12,12,12,0.24); text-align: center; border-color: #fff; color: #fff !important; }
.widget-donate-image .et_pb_button:hover { background-color: #fff;}
/* Master Slider */
.ms-info h2 { padding: 20px 0 15px 0; margin-bottom: 22px ; border-bottom: 1px dotted #9a1c24;
 color: #9a1c24; text-transform: uppercase;}

/* Board of directors */
.db-board h2 {font-size: 17px; font-weight: 600;}
.db-board .et_pb_text {padding-bottom: 15px; border-bottom: 1px dotted #ccc;}

/* Performances Page */
.db-background:nth-child(2n) {}
.db-background:nth-child(2n+1) {background-color: #eff0f0;}
.db-performances-page   .et_pb_button_module_wrapper {display:  inline-block;}
.db-performances-page .et_pb_text + .et_pb_button_module_wrapper {float: left;}
.db-performances-page   .et_pb_button_module_wrapper:last-child {float:  right;}
.db-performances-page   .et_pb_button_module_wrapper:last-child .et_pb_button {background-color: #9a1c24; color: #fff;}
.db-performances-page   .et_pb_button_module_wrapper .et_pb_button:hover {background-color: #51555e; color: #fff !important;}
.db-performances-page h4 {padding-bottom: 4px;}
.db-performances-page h5 {margin-bottom: 25px;}

/* individual performance page */
.db-performance h2 {border-bottom: 2px solid #51555e; margin-bottom: 15px; padding-bottom: 10px;}
.db-performance-detail {border-bottom: 1px dotted #ddd;}
.db-performance-list {background-color: #eff0f0; }
.db-performance-list h3, .db-performance-list h4 {font-weight: bold;
        text-transform: uppercase;
        font-size: 15px;
        line-height: 1.3;
        color: rgb(154, 28, 36) !important;        
        text-shadow: none;
        letter-spacing: 1px; padding: 12px 15px;
        border-bottom: 1px dotted #a8a9ad;}
.db-performance-list div.content {padding: 12px 15px;}
.db-performance-list span {font-size: 12px; font-weight: bold; display: block; padding: 5px 0; text-align: center;}
.db-performance-list ~ .et_pb_button_module_wrapper {background-color: #eff0f0; padding: 0px 15px 15px 15px; margin-bottom: 0 !important;}
.db-performance-list ~ .et_pb_button_module_wrapper .et_pb_button  {  display: block; text-align: center;
 margin-bottom: 5px;background-color: rgb(154, 28, 36) !important; 
 border-color: rgb(154, 28, 36) !important; color: #fff !important;}
 .db-performance-list ~ .et_pb_button_module_wrapper .et_pb_button:hover {background-color: #51555e !important;}

 /* individual Event Page  */
.db-performance-list ~ .et_pb_code {background-color: #eff0f0; padding: 0px 15px 15px 15px; margin-bottom: 0 !important;}
.db-performance-list ~ .et_pb_code .et_pb_button  {display: block;
        text-align: center;
        margin-bottom: 5px;
        background-color: rgb(154, 28, 36) !important;
        border-color: rgb(154, 28, 36) !important;
        color: #fff !important;
        width: 100%;
}
.db-performance-list ~ .et_pb_code .et_pb_button:hover { background-color: #51555e !important; color: #fff !important; }

 .et_pb_post .et_pb_button  {
        text-align: center;
        margin: 25px auto;
        background-color: rgb(154, 28, 36) !important;
        border-color: rgb(154, 28, 36) !important;
        color: #fff !important;
        width: auto;
}
 .et_pb_post .et_pb_button:hover { background-color: #51555e !important; color: #fff !important; }

 .et_pb_fullwidth_header form .et_pb_button{margin-top: 15px;}
 .et_pb_fullwidth_header form .et_pb_button.db-button-red {background-color: #9a1c24; color: #fff;border-color: #9a1c24;}
 .et_pb_fullwidth_header form .et_pb_button.db-button-red:hover {background-color: #fff; color: #9a1c24;border-color: #fff;}
 /* Blog page  */
/*------------ */

.blogdb article.regular {
    clear: both;
        margin-right: 5%;
        margin-bottom: 50px;
        border-bottom: 1px solid #f1f1f1;
        padding-bottom: 25px;
        overflow: hidden;
    /* border: 1px solid #e0e0e0;
    border-bottom: 3px solid #f0f0f0; */
}

.blogdb article.regular .image-wrapper {float: left; width: 280px; max-width: 280px;}
.blogdb article.regular .post-content { overflow: hidden; padding: 0 0 0 20px;}
.blogdb article.regular .post-content h2 {margin:  0; font-size: 22px;
	font-weight: 600; color: #51555e; line-height: 25px;}
.blogdb article .moretag {display: block; padding-top: 15px;  font-weight: normal;}

.et_pb_post h1.entry-title{ font-size: 40px; line-height: 48px; }
.et_post_meta_wrapper {margin-bottom: 18px; border-bottom: 1px solid #ddd;}

.db-archive-title, .db-page-title {padding-bottom 5px; border-bottom: 1px dotted #ccc; margin-bottom: 25px;
font-size: 28px; font-weight: 600; color: #a8a9ad !important;}


.et_monarch .et_pb_section .et_social_inline {margin-top: 30px; border-top: 1px solid #ddd;}
.et_monarch .et_social_networks:before {
	line-height: 1;
	content: 'SHARE THIS ARTICLE';
	padding-top: 30px;
	padding-bottom: 8px;
	display: inline-block;
	font-weight: bold;
	font-size: 12px;
}
/* subscription page */
.db-subscription { padding: 15px;  border :1px solid #ccc;}
.db-subscription h4 {border-bottom: 1px dotted #ddd; margin-bottom: 12px;}
.db-subscription  .price {padding: 8px; background-color:#eff0f0 ;margin-bottom: 5px;font-weight: bold;}
.db-subscription  .price span {padding-left: 10px; font-weight: normal; font-size: 13px; }
.db-subscription .et_pb_button {display: block;
        text-align: center;
        margin-bottom: 5px;
        background-color: rgb(154, 28, 36) !important;
        border-color: rgb(154, 28, 36) !important;
        color: #fff !important;
        width: 100%;
}
.db-subscription .et_pb_button:hover { background-color: #51555e !important; color: #fff !important; }

/* Donation page */
.db-donation:nth-child(odd) {background-color: #f0f2f3;}
.db-donation .et_pb_button {display: block;
        text-align: center;
        margin-top: 40px;
        background-color: rgb(154, 28, 36) !important;
        border-color: rgb(154, 28, 36) !important;
        color: #fff !important; width: 210px;
}
.db-donation .et_pb_button.db-gift-amount {margin-top: 15px;}
.db-donation .et_pb_button:hover { background-color: #51555e !important; color: #fff !important; }
.db-donation input[type=text] {padding: 10px; width: 210px; font-size: 15px;}

/* Photo Gallery */
.et_pb_gallery_title, .mfp-title {
display: none;
}
p.et_pb_gallery_caption {padding-top: 10px; font-size: 13px; line-height: 19px; font-style: italic;}
/* Press release */
.db-pr-page h1 {font-size: 28px; font-weight: bold; padding-bottom: 6px; margin-bottom: 18px; border-bottom: 1px solid #a8a9ad;}
.db-pr-page h2 {font-size: 20px; }
.db-pr-page h3 {font-size: 18px; color: #51555e !important; }

/* News and Reviews Page */
.db-news, .db-press {margin-bottom: 35px; }
.db-news h4.entry-title  {padding-bottom: 0;}
.db-press h4.entry-title  {display: inline-block;}
.db-news .entry-title span {color: #a8a9ad;}
.news-content {margin: 20px 0 10px 0; }

a.more-link.press-more-link{float:none;}

/* School */
/* registration page */
.dbschool h2 {text-align: center; font-weight: bold; font-size: 20px; color: #9a1c24; padding: 0;}
.dbschool h2 + span {text-align: center; text-transform: uppercase; font-size: 12px; display: block; font-weight: bold;}
.dbschool h2 + span a:hover {color: #999;}
.dbschool  .notetop {padding-top: 1em; margin-bottom: -1em;  font-size: 13px;}
.dbschool .notebottom { padding-bottom: 3em; margin-top: -1em; font-size: 13px;}
.dbschool .responsive-table {border-collapse: collapse;}
.dbschool .responsive-table th, .responsive-table td {border: 1px solid #c1c1c1; font-size: 13px; }
.dbschool .responsive-table thead th {border-bottom-width: 2px; text-transform: uppercase; letter-spacing: 1px;}
a.calendar {text-transform: uppercase; text-align: center; font-size: 12px; font-weight: bold; display: inline-block;}
.dbschool .responsive-table  th[data-title="Class"]{text-transform: uppercase;}
a.calendar:hover {color: #999;}
/* Class description */
.dbclass h4 {padding-bottom: 0;}
.dbclass .age {display: inline-block; padding-bottom: 10px;font-weight: bold;}
/* calendar */
.tribe-events-notices {
}
.tribe-events-calendar td a {
    font-weight: bold;
}
.tribe-events-calendar td a:hover {
    color: #f2f2f2 !important;
    text-decoration: underline !important;
}
.tribe-events-tooltip h3 {
    font-size: 18px;
    color: #fff !important;
    padding: 10px !important;
}
.tribe-events-tooltip .tribe-events-event-body {
    padding: 10px;
    font-size: 14px;
}

.archive #tribe-events-content a {color: #fff;} /* list and weekly views */
 #tribe-events-content  .tribe-events-viewmore a {color: #821916;} /* link view more */
 #tribe-events-content  .tribe-events-viewmore a:hover {color: #aaa !important;}
.single-tribe_events .tribe-events-schedule {
    background: #fafafa;
    border: 1px solid #eee;
    margin: 18px 0 8px;
    padding: 12px;
}
.single-tribe_events .tribe-events-single-event-title {
    font-size: 1.2em;
    font-size: bold;
}
.single-tribe_events .tribe-events-single-event-title {
    padding-bottom: 0;
}
#tribe-events-header .tribe-events-nav-pagination {display: none;}

/* Dress Code */
.tablepress-id-3 .column-1 , .tablepress-id-4 .column-1{
  width: 200px;
}
@media screen and (max-width: 782px) {
	.blogdb article.regular .image-wrapper {float: none; padding-bottom: 35px;}
	.blogdb article.regular .post-content {padding: 0;}
}
@media (max-width: 1075px) {
    #et_mobile_nav_menu {display: block;}
    #top-menu {display: none;}
    .db-desktop-menu {display:none !important;}
}
@media (min-width: 1076px) {
    .db-mobile-menu {display:none !important;}
}

