/*
 Theme Name:     M2O Child Theme (Divi)
 Theme URI:      http://www.elegantthemes.com/divi/
 Description:    M2O Child Theme (Divi)
 Author:         Johnny Yeip
 Author URI:     http://www.jmyweb.com
 Template:       Divi
 Version:        1.0.0
*/

/* CODE FOR TOP ALERT BANNER */

.page-id-1314 #myModal { display:none; visibility: hidden; }

a.btn-feed-refresh {     cursor: pointer;}

body #page-container .et_pb_button_0.btn-dotvision {
    background-image: url(images/ico-dotvision-white.png);
    background-repeat: no-repeat;
    padding-left: 45px;
}

body #page-container .et_pb_button_0.btn-dotvision:hover { padding-left:45px; }

.at-banner {
  z-index: 999999;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background: #e32726;
  width: 100%;
  border-bottom: 1px solid #EEEEEE;
  padding: 5px 10px;
  box-sizing: border-box;
  -webkit-transform: translateY(-150%);
  transform: translateY(-150%);
  color: #FFFFFF;
  font-family: "Open Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-animation: at-banner-slide-in 0.8s ease forwards;
  animation: at-banner-slide-in 0.8s ease forwards;
}
.at-banner__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 90%;
  margin: 0 auto;
  padding: 10px 40px;
  box-sizing: border-box;
}
.at-banner__title {
  font-size: 18px;
}
.at-banner__text {
  margin: 0 20px 0 0;
}
.at-banner__button {
  display: inline-block;
  background: #ffffff;
  height: 40px;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 0 40px;
  color: #e32726;
  font-size: 14px;
  font-weight: 700;
  line-height: 40px;
  text-decoration: none;
  white-space: nowrap;
}
.at-banner__close {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 20px;
  height: 20px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  cursor: pointer;
}
.at-banner__close:before, .at-banner__close:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  background: #FFFFFF;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  -webkit-transform-origin: center;
          transform-origin: center;
}
.at-banner__close:before {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}
.at-banner__close:after {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}

.at-banner__close.nothanks {
  position: absolute;
  top: 70%;
  right: 20px;
  width: 90px;
  height: 20px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 11px;
}
.at-banner__close.nothanks:before, .at-banner__close.nothanks:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  background: #FFFFFF;
  width: 20%;
  height: 0px;
  border-radius: 2px;
  -webkit-transform-origin: center;
  transform-origin: center;
}

@-webkit-keyframes at-banner-slide-in {
  0% {
    -webkit-transform: translateY(-150%);
            transform: translateY(-150%);
  }
  100% {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
}

@keyframes at-banner-slide-in {
  0% {
    -webkit-transform: translateY(-150%);
            transform: translateY(-150%);
  }
  100% {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
}



body {
	color: #666;
	background-color: #fff;
	font-family: "Europa", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.6em;
}

a.anchor {
    display: block;
    position: relative;
    top: -250px;
    visibility: hidden;
}

/* Headers */
h1,
h2,
h3,
h4,
h5,
h6 {
	padding-bottom: 10px;
	color: #333;
	font-weight: 700;
	line-height: 1em;
	text-transform: uppercase;
}

sup {
	bottom: 0.4em;
	font-size: smaller;
}

/* List Styles */

#left-area ul,
.entry-content ul,
.comment-content ul,
body.et-pb-preview #main-content .container ul {
	padding: 0 0 23px 1em;
	line-height: 26px;
	list-style-type: disc;
	margin-left: 1em;
}

#left-area ol,
.entry-content ol,
.comment-content ol,
body.et-pb-preview #main-content .container ol {
	padding: 0 0 23px 0;
	line-height: 26px;
	list-style-position: inside;
	list-style-type: decimal;
	margin-left: 1em;
}


/* ET Tabs */
ul.et_pb_tabs_controls.clearfix {
    margin-left: 0;
}

/* Forms */

input[type=text],input[type=search], select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=submit] {
    width: 100%;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}


/* Navigation */

#top-menu li {
	text-transform: uppercase;
}

#top-menu li li {
	margin: 0;
	padding: 0px 10px;
}

#top-menu li li a {
    width: auto;
    padding: 6px 20px;
}

.nav li li {
    position: relative;
    line-height: 1.2em;
}

.nav li ul {
  width: 275px;
 }

/* Fixed header styles, only applied for non-responsive resolutions */
#main-header, #main-header.et-fixed-header {
	-webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.8) !important;
	-moz-box-shadow: 0 0 7px rgba(0, 0, 0, 0.8) !important;
	box-shadow: 0 0 7px rgba(0, 0, 0, 0.8) !important;
}

#logo {
	max-height: 100%;
}

/* Containers */


.col-10 .et_pb_module {width: 10%; float: left;}
.col-9 .et_pb_module {width: 11.11%; float: left;}
.col-8 .et_pb_module {width: 12.5%; float: left;}
.col-7 .et_pb_module {width: 14.28%; float: left;}
.col-6 .et_pb_module {width: 16.66%; float: left;}
.col-5 .et_pb_module {width: 20%; float: left;}


.et_pb_pagebuilder_layout .et_pb_row.longform {
	position: relative;
	width: 80%;
	max-width: 720px;
	margin: auto;
}

.et_pb_pagebuilder_layout h3 {
	text-align: center;
}

/* Shortcodes */

.et-shadow .et-box-content {
    padding: 27px 27px 17px 27px;
}



/*Fullwidth Header */

.et_pb_fullscreen .et_pb_fullwidth_header_container {
	width: 100%;
}

.et_pb_fullwidth_header_subhead {
	display: block;
	font-family: 'adobe-garamond-pro',Arial,sans-serif;
	font-style: italic;
	line-height: 0.8em;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
	width: 98%;
	max-width: 1280px;
}

/* Fullwidth Post Title Module */
.et_pb_fullwidth_section .et_pb_post_title {
	padding: 58px 0 0;
}

.et_pb_title_container h1 {
	font-size: 30px;
}

/* Pagebuilder Page Header */
.et_pb_pagebuilder_layout .et_pb_sidebar_0,.et_pb_pagebuilder_layout .et_pb_column_0 {
    padding-top: 54px;
}

/* Homepage */


/* Reduce size of secondary sponsors 
#sponsors .et_pb_column_4 .et_pb_image_wrap,
#sponsors .et_pb_column_5 .et_pb_image_wrap,
#sponsors .et_pb_column_7 .et_pb_image_wrap,
#sponsors .et_pb_column_8 .et_pb_image_wrap
{width: 70%;}

*/


/* Bios */

.m2o-bio .et_pb_blurb_content {
	position: relative;
	max-width: inherit;
	margin: 0 auto;
}

/* Positioned Left */
.m2o-bio.et_pb_blurb_position_left .et_pb_main_blurb_image,
.m2o-bio.et_pb_blurb_position_right .et_pb_main_blurb_image {
	display: table-cell;
	width: 28.56367557377283%;
}

.m2o-bio.et_pb_blurb_position_left .et_pb_main_blurb_image img,
.m2o-bio.et_pb_blurb_position_right .et_pb_main_blurb_image img {
	width: 100%;
}



/* Footer */

#footer-widgets .footer-widget .cat-post-widget li.cat-post-item:before {
	border-style: none;
}

#footer-widgets .footer-widget li.cat-post-item {
	position: relative;
	padding-left: 5px;
}

#footer-widgets ul.sub-menu {
    display: none;
}

#footer-widgets .et_pb_widget {
    float: none;
}

#footer-widgets .et_pb_widget a {
	color: #7EBEC5;
	text-decoration: none;
}


.footer__social-item {
	display: block;
	width: 50px;
	height: 50px;
	border-radius: 100%;
	border: 2px solid #6d6e70;
	padding: 10px
}

.footer__social-item path,.footer__social-item circle {
	fill: #6d6e70
}

.footer__social-item:hover {
	border-color: #7ebec5;
	background-color: transparent;
}

.footer__social-item:hover path,.footer__social-item:hover circle {
	fill: #7ebec5;
}


.footer__social {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	width: 100%;
	max-width: 280px;
	margin: 0 auto 40px;
}

.cat-post-widget li.cat-post-item {
	display: inline-flex;
} 

/* Instafeed */

.m2o-instagram-instagram-logo {
    background-image: url('images/icon_instagram.png');
}

.m2o-instagram-facebook-logo, .m2o-instagram-instagram-logo, .m2o-instagram-social-logo {
    background-repeat: no-repeat;
    display: inline-block;
    height: 24px;
    margin-right: 5px;
    width: 24px;
}

.m2o-instagram-social-username {
    font-size: 16px;
    font-weight: 300;
    color: #444;
    display: inline-block;
    margin-bottom: 8px;
    margin-top: 5px;
    vertical-align: top;
}

#instafeed-sidebar a img {
    max-width: 50%;
    border: 2px solid #ffffff;
    border-top: 0;
    border-bottom: 0;
}



/* Styled Horizontal Rules */

.hr-wrap{
	position:relative;
	height:20px;

}
.hr-inner {
	background-color: #fcfcfc;
	width: 64%;
	left: 50%;
	margin-left: -32%;
	border-color: #e1e1e1;
	position: absolute;
	height: 1px;
	top: 50%;
	margin-top: -1px;
	border-top-width: 1px;
	border-top-style: solid;
}
.hr-inner-style{
	background-color: #fcfcfc;
	border-radius: 20px;
	height: 9px;
	width: 9px;
	border-width: 2px;
	border-style: solid;
	display: block;
	position: absolute;
	left: 50%;
	margin-left: -5px;
	margin-top: -5px;
	padding: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	border-color: #e1e1e1;

}

/* Captions */

.wp-caption {
    max-width: 96%;
    margin-bottom: 10px;
    padding: 0;
    padding-top: 4px;
    border: none;
    background-color: #ffffff;
    text-align: right;
}

.wp-caption p.wp-caption-text {
    margin: 0;
    padding: 0 4px 5px;
    font-size: 14px;
    font-weight: 700;
    font-style: italic;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {

/* Fullwidth header scroll icon */

	.et_pb_fullwidth_header .header-content h1 { font-size: 30px;}
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container .header-content { font-size: 20px;padding: 5px;}
		
	.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll a .et-pb-icon {
	    color: #fff;
	    font-size: 2.5em;
	}

	.col-6 .et_pb_module {width: 33.3%; float: left;}
	.col-5 .et_pb_module {width: 50%; float: left;}

	/* Bio Styles */
	.m2o-bio.et_pb_blurb_position_left .et_pb_main_blurb_image,
	.m2o-bio.et_pb_blurb_position_right .et_pb_main_blurb_image {
		display: block;
		width: 100%;
	}

	.m2o-bio.et_pb_blurb_position_left .et_pb_blurb_container {
	    padding-left: 0px;
	}

}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
/* Styles */
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {

	.col-6 .et_pb_module {width: 33.3%; float: left;}
	.col-5 .et_pb_module {width: 20%; float: left;}

	.et_pb_title_container h1 {
		font-size: 21px;
	}

}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
/* Styles */
}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {

	.et_pb_fullwidth_header .header-content h1 { font-size: 60px;}
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container .header-content { font-size: 40px;}
	#page-container {padding-top: 114px!important;}


}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {

	#sidebar {
		float: left;
		width: 30.55555555555556%;
	}

	#left-area {
		width: 69.44444444444444%;
		padding-bottom: 23px;
	}

	.et_right_sidebar #main-content .container:before {
		right: 30.64814814814815% !important;
	}

	.et_pb_fullwidth_header .header-content h1 { font-size: 80px;}
    .et_pb_fullwidth_header .et_pb_fullwidth_header_container .header-content { font-size: 60px;}


}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}