/*
Theme Name: John Calub
Theme URI: 
Author: 
Author URI:
Description: This is the template of John Calub website
*/

p {
	margin: 10;
	padding: 10;
}

a {
	color: #000;
	text-decoration: none;
}

a:hover {
	color: #000;
	text-decoration: underline;
}

@font-face {
	font-family: 'Myriad-Regular';
	src: url('fonts/MyriadPro-Regular.otf'); 
}

@font-face {
	font-family: 'Myriad-Bold';
	src: url('fonts/MyriadPro-Bold.otf'); 
}

@font-face {
	font-family: 'Nyala';
	src: url('fonts/nyala.ttf'); 
}

.clear {
	clear: both;
}

/* Desktops and laptops ----------- */
@media only screen and (min-width : 960px) {
/* Styles */
	
	body {
		margin:0;
		padding: 0;
		background: #115e0d;
		height: auto;
		font-family: 'Myriad-Regular', Arial;
	}

	header {
		background: #ffdf00;
		width: 100%;
		height:115px;
	}

	.header-wrapper {
		width: 940px;
		margin: 0 auto;
	}

	.header-wrapper-inner {
		width: 100%;
		height: 70px;
	}

	.header-logo {
		background: url(http://www.johncalubtraining.com/wp-content/uploads/2018/08/cropped-NewJCTI_Logo-01.jpg) no-repeat;
		width: 199px;
		height: 56px;
		float: left;
		margin-top: 10px;
	}

	.header-tag {
		float: left;
		font-family: 'Myriad-Regular', Arial;
		font-size: 20px;
		margin-top: 23px;
		margin-left: 20px;
	}

	.header-right-container {
		float: right;
		width: 200px;
		margin-top: 15px;
	}

	.search-box {
		width: 169px;
		height: 21px;
	}

	.searchform {
		text-align: left;
		width: 169px;
		height: 21px;
	}
	
	.search-box input.s-input {
		width:135px;
		padding: 0px;
		height: 17px;
	}

	.search-box input.searchsubmit {
		background: url(images/search-btn.png) no-repeat top center;
		width: 24px;
		height: 21px;
		border: none;
		padding: 0;
		position: absolute;
	}

	.site-links {
		width: 169px;
		margin-top: 5px;
	}

	.site-links li {
		font-size: 10px;
		float: left;
		list-style: none;
		padding: 0 3px;
	}

	.site-links li a {
		text-decoration: none;
		color: #000;
	}

	.site-links li a:hover {
		text-decoration: underline;
		color: #000;
	}
	
	#access {
		width: 100%;
		height: 30px;
		text-transform: uppercase;
		margin: 0 auto;
		font-family: 'Myriad-Regular', Arial;
	}

	#access ul {
		font-size: 14px;
		list-style: none;
		margin: 0;
		padding: 0;
	}
	#access li {
		background: #f49324;
		float: left;
		color: #fff;
		list-style: none;
		padding: 8px 0px;
		margin-top: 12px;
		font-size: 14px;
		margin-right: 2px;
		text-transform: uppercase;
		font-family: 'Myriad-Regular', Arial;
	}
	#access a {
		color: #fff;
		padding: 0px 15px;
		font-family: 'Myriad-Regular', Arial;
		text-decoration: none;
	}
	#access ul ul {
		background: #f9f9f9; /* Show a solid color for older browsers */
		background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
		background: -o-linear-gradient(#f9f9f9, #e5e5e5);
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
		background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
		color: #373737;
	    display: none;
	    float: left;
	    left: 16.5em;
	    margin: 0;
	    position: absolute;
	    top: 8.2em;
	    width: 247px;
	    z-index: 99999;
	}
	#access ul ul li {
		background: transparent;
		width: 100%;
		float: left;
		color: #fff;
		list-style: none;
		margin-top: 12px;
		font-size: 13px;
		margin-right: 2px;
		text-transform: uppercase;
		font-family: 'Myriad-Regular', Arial;
	}
	#access ul ul ul {
		left: 100%;
		top: 0;
	}
	#access ul ul a {
		color: #444;
		font-size: 13px;
		font-weight: normal;
		height: auto;
		line-height: 1.4em;
		width: 100%;
	}
	#access ul ul li:hover > a,
	#access a:focus {
		background: #f49324;
		color: #fff;
		width: 100%;
	}
	#access li:hover > a,
	#access a:focus {
		background: #f9f9f9; /* Show a solid color for older browsers */
		background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
		background: -o-linear-gradient(#f9f9f9, #e5e5e5);
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
		background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
		color: #373737;
		padding: 8px 15px;
	}
	#access ul li:hover > ul {
		display: block;
	}
	#access .current-menu-item > a,
	#access .current-menu-ancestor > a,
	#access .current_page_item > a,
	#access .current_page_ancestor > a {
		background: #f9f9f9; /* Show a solid color for older browsers */
		background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
		background: -o-linear-gradient(#f9f9f9, #e5e5e5);
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
		background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
		color: #373737;
		padding: 8px 15px;
		width: 100%;
	}

	/** #menu {
		width: 100%;
		height: 30px;
		margin: 0 auto;
	}

	#submenu {
		margin: 0;
		padding: 0;
	}

	#menu ul {
		margin: 0 auto;
	}

	#menu li {
		background: #f49324;
		float: left;
		color: #fff;
		list-style: none;
		padding: 7px 15px;
		margin-top: 12px;
		font-size: 14px;
		margin-right: 1px;
		text-transform: uppercase;
	}

	#menu li a {
		color: #fff;
		padding: 5px;
	} */

	#wrapper {
		width: 100%;
		height: auto;
		background: #115e0d url(images/body-bg.jpg) repeat-x;
		background-size:cover;
	}

	.container {
		width:960px;
		padding: 0px 10px 10px;
		height: auto;
		margin: 0 auto;
		margin-top: 5px;
	}

	.breadcrumbs {
		width: 940px;
		height: 20px;
		background: #fff;
		margin-bottom: 10px;
	}

	.left-container {
		width:620px;
		float: left;
		margin-right: 10px;
	}

	.header-title {
		color: #959595;
		font-size: 18px;
		font-family: 'Myriad-Bold', Arial;
		padding: 10px;
	}

	.entry-title {
		color: #157610;
		font-family: 'Myriad-Bold', Arial;
		font-size: 18px;
		text-align: center;
		height:auto;
	}

	.entry-title a {
		color: #157610;
		text-decoration: none;
		
	}

	.entry-title a:hover {
		color: #157610;
		text-decoration: underline;
	}

	.slideshow-container {
		width: 620px;
		height: 350px;
		margin: 0 0 10px 0px;
		background: #fff;
	}

        .slideshow-container img {
                width: 620px;
                height: 300px;
        }

	.article-container {
		width: 620px;
		min-height: 380px;
		margin: 0 0 10px 0px;
		background: #fff;
	}

	.article-content {
		width: 100%;
		padding: 15px;
	}
	
	.article-content a {
		font-size: 15px;
		
	}

	.article-thumb {
		width:135px;
		height: 135px;
		border: 1px solid #ccc;
		padding: 5px;
		float: left;
	}

	.article-thumb img {
		border: 1px solid #000;
		width: 133px;
		height: 133px;

	}

	.article-entry {
		width: 430px;
		float: left;
		margin-left: 15px;
	}

	.entry-sub {
		color: #000;
		font-size: 15px;
		font-family: 'Myriad-Bold', Arial;
		margin: 10px 0px;
	}

	.entry-details {
		color: #555;
		font-size: 12px;
		font-family: 'Myriad-Regular', Arial;
		margin: 10px 0px;
	}

	.entry-content {
		color: #555;
		font-size: 13px;
		font-family: 'Myriad-Regular', Arial;
		margin: 10px 15px 10px 0;
		padding: 0px 15px 0px 0;
		line-height: 20px;
	}

	.border {
		width: 590px;
		border-top: 1px solid #ccc;
		margin-top: 5px;
		height: 10px; 
	}

	.right-container {
		width:300px;
		float: left;
		margin-left: 10px;
	}

	.about-container {
		background: #ccc;
		width: 100%;
		height: 380px;
	}

	.about-inner {
		padding: 10px;
		width: 100%;
		height: 170px;
	}

	.about-thumb {
		width: 120px;
		height: 170px;
		float: left;
	}

	.about-short {
		width: 150px;
		height: 170px;
		float: left;
		margin-left: 10px;
	}

	.about-short h2 {
		font-family: 'Myriad-Regular', Arial;
		font-size: 22px;
	}

	.about-short p {
		font-family: 'Myriad-Regular', Arial;
		font-size: 14px;
		width: 140px;
		margin-left: 5px;
	}

	.sidebar-title {
		font-size: 22px;
		font-family: 'Myriad-Bold', Arial;
		margin-top: 5px;
		color: #fe3d23;
		margin-left: 10px;
	}

	.sidebar-content {
		font-size: 13px;
		font-family: 'Myriad-Regular', Arial;
		line-height: 18px;
		width: 275px;
		margin-left: 10px;
		color: #252525;
	}

	.prof-link {
		margin: 20px 0 0 10px;
		font-size: 13px;
		font-family: 'Myriad-Regular', Arial;
		color: #252525;
	}

	.prof-link a {
		text-decoration: none;
		color: #000;
	}

	.prof-link a:hover {
		text-decoration: underline;
		color: #000;
	}

	.register-btn {
		width: 300px;
		height: 143px;
		margin: 15px 0;
	}

	.newsletter-container {
		width: 300px;
		    height: 727px;
		background: #ebebeb;
		margin-top: 10px;
		
	}


		

	


	.newsletter-container div.text {
		font-size: 25px;
		font-family: 'Myriad-Bold', Arial;
		color: #4a2d0b;
		text-align: center;
		padding: 10px 0px 0px 0px;
		height: 30px;
		display:none;
		
	}

	.newsletter-container p {
		font-size: 18px;
		font-family: 'Myriad-Regular', Arial;
		color: #4a2d0b;
		width: 240px;
		margin: 10px 30px;
	}

	.form-nl {
		margin: 0 30px;
	}

	.link,
	.link a,
	.signupframe {
		color: #000000;
		font-family: 'Myriad-Regular', Arial;
		font-size: 12px;
		margin: 0;
		padding: 0;
	}
	
	.link,
	.link a {
		text-decoration: none;
	}
	
	table.signupframe {
		border: 0;
		background: transparent;
		height: 150px;
		width: 100%;
	}
	
	table.signupframe input[type="text"] {
		height: 25px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		border: 1px solid #757575;
		padding: 5px;
		width: 220px;
		margin-bottom: 5px;
	}

	.signupframe .required {
		font-size: 10px;
	}
	
	td.nl-btn input[type="submit"] {
		background: #fa9b25;
		padding: 5px 30px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		border: 1px solid #935313;
		color: #fff;
		font-family: 'Myriad-Bold', Arial;
		font-size: 20px;
		cursor: pointer;
	}

	.sms-container {
		background: #d3d3d3;
		width: 300px;
		height: 345px;
		border-top: 1px solid #afafaf;
		text-align:center;
		margin-top: 10px;
		display:none;
	}

	.sms-container div {
		font-size: 25px;
		font-family: 'Myriad-Bold', Arial;
		color: #4a2d0b;
		text-align: left;
		padding: 10px 0px 0px 30px;
		height: 30px;
	}

	.sms-container p {
		font-size: 18px;
		font-family: 'Myriad-Regular', Arial;
		color: #4a2d0b;
		width: 240px;
		margin: 10px 30px;
	}

	.sms-container div.sms-form {
		border: 0;
		background: transparent;
		height: 150px;
		width: 100%;
		margin: 0 auto;
		margin-left: -50px; 
	}

	.sms-container div.sms-form form {
		width:240px;
		margin: 0 auto;
	}

	.sms-container div.sms-form table{
		height: 150px;
		width: 100%;
		margin: 0 auto;
	}

	td.input-sms input[type="text"] {
		height: 25px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		border: 1px solid #757575;
		padding: 5px;
		width: 220px;
		margin-bottom: 5px;
	}

	td.send-sms input[type="submit"] {
		background: #fa9b25;
		padding: 5px 30px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		border: 1px solid #935313;
		color: #fff;
		font-family: 'Myriad-Bold', Arial;
		font-size: 20px;
		cursor: pointer;
		margin-left:50px;
	}

	div.wpcf7-response-output {
    margin: -11em 0.5em 1em;
    padding: 0.2em -3em;
}

		
	.sms-container div.wpcf7-response-output {
		font-size: 12px;
		font-family: 'Myriad-Regular', Arial;
		width: 100%;
		margin-top: -3px;
		margin-left: -10px;
		color: #920000;
		padding:5px;
	}

	.bottom-container {
		width: 100%;
		margin-top: 10px;
                background: #115e0d
		

	}

	.bottom-first {
		width: 940px;
		background: #ebebeb;
		padding: 10px;
		height: 180px;
	}

	.bottom-first li {
		width: 150px;
		height: 180px;
		margin: 10px 3px;
		list-style: none;
		float: left;
	}

	.bottom-first li img {
		width: 130px;
		height: 130px;
		border: 1px solid #111;
		padding: 3px;
	}

	.bottom-first li div {
		font-family: 'Myriad-Bold', Arial;
		font-size: 14px;
		color: #000;
		padding-left: 20px;
	}

	.bottom-first li div a {
		color: #000;
		text-decoration: none;
	}

	.bottom-first li div a:hover {
		color: #000;
		text-decoration: underline;
	}

	.bottom-links {
		width: 940px;
		margin: 10px 0px 0px 10px;
		font-size: 11px;
		color: #fff;
		background: #115e0d;
	}

	.link1 {
		float: left;
		width:120px;
	}

	.link1 li {
		list-style: none;
		line-height: 24px;
	}

	.link1 li a {
		color: #fff;
		text-decoration: none;
	}

	.link1 li a:hover {
		color: #fff;
		text-decoration: underline;
	}

	.link2 {
		float: left;
		width:120px;
	}

	.link2 li {
		list-style: none;
		line-height: 24px;
	}

	.link2 li a {
		color: #fff;
		text-decoration: none;
	}

	.link2 li a:hover {
		color: #fff;
		text-decoration: underline;
	}

	.link3 {
		float: left;
		width:150px;
	}

	.link3 li {
		list-style: none;
		line-height: 24px;
	}

	.link3 li a {
		color: #fff;
		text-decoration: none;
	}

	.link3 li a:hover {
		color: #fff;
		text-decoration: underline;
	}

	.link4 {
		float: left;
		width:180px;
	}

	.link4 li {
		line-height: 20px;
	}

	.link4 li a {
		color: #fff;
		text-decoration: none;
	}

	.link4 li a:hover {
		color: #fff;
		text-decoration: underline;
	}

	.link5 {
		float: left;
		width:150px;
		margin-left: 40px;
	}

	.link5 li {
		line-height: 20px;
	}

	.link5 li a {
		color: #fff;
		text-decoration: none;
	}

	.link5 li a:hover {
		color: #fff;
		text-decoration: underline;
	}

	.link6 {
		float: left;
		width:150px;
		margin-left: 30px;
	}

	.link6 li {
		line-height: 20px;
	}

	.link6 li a {
		color: #fff;
		text-decoration: none;
	}

	.link6 li a:hover {
		color: #fff;
		text-decoration: underline;
	}

	.footer {
		width: 100%;
		border-top:5px solid #3e6f3b;
		background: #0e4b0a;
		height: 60px;
		margin-top: 10px;
	}

	.footer-content {
		width: 960px;
		margin-bottom: 14px;

	}

	.copyrights {
		text-align: center;
		margin-top: 15px;
                margin-left: 30%;
		font-size: 13px;
		color: #fff;
		font-family: 'Myriad-Regular', Arial;
	}

	.navigation {
		padding: 10px;
	}
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
/* Styles */
}

/* 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) {
/* Styles */
}

/* 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 */
}

/* Large screens ----------- */
@media only screen and (min-width : 1824px) {
/* Styles */
}

/* iPhone 4 ----------- */
@media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}

/* ============================================================
  CUSTOM PAGINATION
============================================================ */
.custom-pagination span,
.custom-pagination a {
  display: inline-block;
  padding: 2px 10px;
}
.custom-pagination a {
  background-color: #ebebeb;
  color: #ff3c50;
}
.custom-pagination a:hover {
  background-color: #ff3c50;
  color: #fff;
}
.custom-pagination span.page-num {
  margin-right: 10px;
  padding: 0;
}
.custom-pagination span.dots {
  padding: 0;
  color: gainsboro;
}
.custom-pagination span.current {
  background-color: #ff3c50;
  color: #fff;
}
