/*
Theme Name:     Bunchy Child Theme
Theme URI:      http://bunchy.bringthepixel.com
Description:    Got questions? Visit our <a href="http://bringthepixel.com/support/">support forum</a>.
Author:         bring the pixel
Author URI:     http://www.bringthepixel.com/
Template:       bunchy
Version:        1.0
Tags:           fluid-layout, custom-colors, custom-menu, featured-images, post-formats, theme-options, threaded-comments, translation-ready
*/

/* Place all your CSS modifications below */
blockquote:before {
    display: block;
    margin-bottom: 0.5em;
    font: 34px/1 "dashicons";
    cursor: default;
    vertical-align: bottom;
    content: "\f122";
}

.bd_button.btn_middle {
    padding: 20px 30px;
    font-weight: bold;
    font-size: 1.2em;
}

h3.head-widget {
    background: none repeat scroll 0 0 #111;
    color: #FFF;
    font-family: 'Open Sans Condensed' !important;
    font-size: 1.38063rem !important;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    padding: 10px;
}

.entry-content .aligncenter, .entry-summary .aligncenter {
    max-width: 100% !important;
}

.entry-content img.aligncenter {
    width: auto!important;
}
.ads-content {
    margin: auto;
    text-align: center;
}

.button-container {
    text-align: center;
    margin: 20px 0 40px 0;
}

@media only screen and (max-width: 400px) {
.bd_button.btn_middle {
    font-size: 15px;
}
  .button-container {
    margin: 0!important;
}
}


@media only screen and (min-width: 1025px) {
  .entry-tpl-tile .entry-header {
    padding: 30px 30px 35px 30px !important;
    } 
}

/* modal */
.wp-caption {
width: 100% !important;
}
/* General styles for the modal */



     .error {
    font-size: 15px;
}

.lock-message {
    color: #a5281b;
    margin: 10px;
}
      #subscribe-modal {
        font-family: "Lato",Calibri,Arial,sans-serif;
          position: relative;
      }
 
        .inputs input {

                -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
            
            
            font-size: 16px;
    width: calc(100% - 18px); /* IE 9,10 , Chrome, Firefox */
    width: -webkit-calc(100% - 18px); /*For safari 6.0*/
            border-color: #f0f0f0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    color: #2b2b2b;
            margin: 10px;
    padding: 8px 10px 7px;
        }

   .close {
    color: #c0392b;
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
    position: absolute;
    bottom: 10px;
    right: 10px;
}
        .close:hover {
             	color: #A5281B;

        }
        #subscribe-modal .underlay {
    width: 100%;
    z-index:2000;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(143, 27, 15, 0.8) none repeat scroll 0 0;
    cursor: pointer;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}
        
#subscribe-modal button {
	border: none;
        padding: 1.5em 2.2em;   
	background: #c0392b;
	color: #fff;
	font-family: 'Lato', Calibri, Arial, sans-serif;
	font-size: 1em;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-block;
	margin: 3px 2px;
	border-radius: 2px;
        display: block;
        margin: 15px auto 0 auto;
        font-size: 0.8em;
}

#subscribe-modal button:hover {
	background: #A5281B!important;
}
        @media (max-width: 770px) {
  .inputs input[type=text] {
            font-size: 14px;
        }
            .md-content h3 {
    font-size: 1.6em!important;
}
}



.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	max-width: 630px;
	min-width: 320px;
	height: auto;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(143,27,15,0.8);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}

/* Content styles */
.md-content {
	color: #fff;
	background: #e74c3c;
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
}

.md-content h3 {
    	font-family: 'Lato', Calibri, Arial, sans-serif;
	color: #fff;
	margin: 0;
	padding: 0.8em;
	text-align: center;
	font-size: 1.8em;
	font-weight: 300;
	opacity: 0.8;
	background: rgba(0,0,0,0.1);
	border-radius: 3px 3px 0 0;
}

.md-content > div {
	padding: 15px 40px 30px;
	margin: 0;
	font-weight: 300;
	font-size: 1.15em;
}

.md-content > div p {
	margin: 0;
	padding: 10px 0;
}

.md-content > div ul {
	margin: 0;
	padding: 0 0 30px 20px;
}

.md-content > div ul li {
	padding: 5px 0;
}


/* Individual modal styles with animations/transitions */

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}


#ouibounce-modal {
  display: none;
}
#ouibounce-modal .underlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.5);
  cursor: pointer;
  -webkit-animation: fadein 0.5s;
  animation: fadein 0.5s;
}
#ouibounce-modal .modal {
  z-index: 1;
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 4px;
  -webkit-animation: popin 0.3s;
  animation: popin 0.3s;
}

@-webkit-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-ms-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-webkit-keyframes popin {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }

  85% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@-ms-keyframes popin {
  0% {
    -ms-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }

  85% {
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes popin {
  0% {
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }

  85% {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}




