/*
Theme Name: ABC Milking
Theme URI: http://dubzz.co.nz
Author: Dubzz Digital Marketing
Author URI: Dubzz.co.nz
Description: Custom theme build for ABC milking
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: mobile-first, basic, grid, bootstrap
Text Domain: dubzz.co.nz


*/
/* Header font */
@import url(https://fonts.googleapis.com/css?family=Titillium+Web);
/* body font */
@import url(https://fonts.googleapis.com/css?family=Muli);

/* Colours:
# Blue: #3a8ddb
# White: #fff8ed
# Orange: #FFAD35
# Gray: #383939
# Black: #010101 
*/


/* Test Styles */

/* .service__h3 {
    border-bottom: 3px solid #3a8ddb;
    color: white;
}

.service__h3 span {
	background: #3a8ddb;
	padding: 3px;
} */


/******************************
********** GENERAL ************
******************************/  

img, iframe {
	max-width: 100%;
}

a{
	color: #383939;
	text-decoration: underline;
}

a:hover, li a, .home__cta_wrap a, .carousel-caption a, .break-down-tag a {
	text-decoration: none;
}

a:hover {
    color: #FFAD35;
}

.content {
	background: rgba(255,248,237,.8);
}

.btn-info {
    background: #3a8ddb;
	color: white;
	font-size: 20px;
	margin-bottom: 10px;
}

.btn-info:hover {
    color: #fff;
    background-color: #878888;
}

.btn {
	text-decoration: none;
	font-size: 28px;
	border:none;
}

h1, h2, h3 {
	font-family: 'Titillium Web', sans-serif;
}

@media screen and (max-width: 768px) {
	h1 {
	    font-size: 50px;
	}
}


/******************************
********** BODY ***************
******************************/

body { 
	padding-top: 4px !important;
    background-image: url('http://abcmilkingsolutions.co.nz/wp-content/uploads/2016/07/background-1200px.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: right top;
    background-color: #fff8ed;
    font-family: 'Muli', sans-serif;
}


/******************************
******** HEADER ***************
******************************/

.header__main_logo {
	padding: 0 15%;
}

.break-down-tag {
    font-size: 32px;
    color: #3a8ddb;
    font-family: 'Titillium Web', sans-serif;
    font-weight: bold;
}

.break-down-tag a:hover {
	color: #010101
}

@media (max-width: 768px) {
	.break-down-tag {
	    font-size: 16px;
    	text-align: center;
	}
}


/******************************
************ NAVBAR ***********
******************************/ 

@media (min-width: 1200px){
	.navbar-fixed-top, .navbar-fixed-bottom {
	    font-size: 30px;
	}

	.nav>li>a {
		border-left: 3px solid #010101;
	}
}

.navbar {
    margin-bottom: 10px !important;
}

.navbar-fixed-top, .navbar-fixed-bottom {
    position: static;
    font-family: 'Titillium Web', sans-serif;
    text-transform: uppercase;
}


@media (min-width: 768px){
	#menu-menu-main {
	    width: 106%;
	    text-align: center;
	    margin-left: -5%;
	}

	.navbar-inverse {
	    background-color: transparent;
	    border-color: transparent;
	}

	.current-menu-item > a, .current-menu-parent > a {
	    background: none !important;
	}

	.navbar-fixed-top, .navbar-fixed-bottom {
	    /* font-size: 30px; */
	    font-weight: 500;
	}

	.navbar-nav>li {
	    float: left;
	    width: 16.66%;
	}

	.nav>li>a {
	    padding: 0;
        padding: 10px;
    	border-left: 2px solid #010101;
    	color: #010101 !important;
	}

	.nav>li>a:hover {
    	color: #3a8ddb !important;
	}

	#menu-item-20 > a {
		border-left: none;
	}

}


/******************************
********** HOME ***************
******************************/

.home p {
	font-size: 18px;
}

.break-down-tag span {
    color: #FFAD35;
}

.home h1 {
    font-size: 66px;
}

/******************************
******** Slider ***************
******************************/

.carousel-caption {
    top: 25px;
}

.caption__text_wrap {
    padding: 20px;
    color: #fff;
    font-size: 50px;
    text-shadow: 2px 5px 10px rgba(1, 1, 1, 1);
    font-weight: 700;
    background: rgba(1,1,1,.6);
}

.carousel-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: 450px;
}

@media screen and (max-width: 768px) {
	.caption__text_wrap {
	    font-size: 22px;
	    padding: 5px 0;
	}

	.carousel-caption {
	    top: 10px;
	}
}






/******************************
********** PAGES   ************
******************************/ 

.pages__container {
    padding-bottom: 40px;
    font-size: 16px;
}

.pages__container .row {
    padding: 0 10px;
}

.content>h2 {
	background: #3a8ddb;
    padding-left: 22px;
    font-size: 32px;
    line-height: 80px;
    margin-bottom: 40px;
    font-weight: 500;
    color: #FFF;
}


.alert-warning {
    background-color: #D7E2E9;
    color: #383939;
    border-radius: 1px;
    padding-top: 25px;
    margin: 5px;
}

.home .alert-warning {
    margin: 15px;
}

.alert-warning h3 {
	font-size: 34px;
}

.alert-warning p {
	font-size: 22px;
}

form {
    padding: 0 5px 0 7px;
}

.alert-warning {
    border-color: transparent !important;
}

.pages__cta_contact_us {
    background: #D7E2E9;
    margin: 10px 5px 0px;
    font-size: 20px;
    padding-top: 10px;
    border: 1px solid #fff8ed;
    border-radius: 4px;
    text-align: center;
}

#wpcf7-f23-p13-o1 > form > p > input {
	font-size: 20px;
}

.home .pages__cta_contact_us {
    margin: 10px 14px 40px;
}

.color__orange {
	color: #FFAD35;
}

.btn_contact {
	background: #3a8ddb;
	color: white;
	font-size: 20px;
    margin-bottom: 10px;
}

.btn {
	padding: 0px 12px 5px !important;

}


/******************************
******** projects page ********
******************************/ 

.project__video {
    cursor: pointer;
}


/******************************
********     FOOTER    ********
******************************/ 

footer {
	background: #3a8ddb;
	color: #fff8ed;
}

footer .carousel-caption{
    position:static;
}

footer p {
	font-size: 14px !important;
}

.footer__facebook_box .textwidget, .footer__contact_box .textwidget {
	margin-top: 27px;
}

footer a {
	color: #fff8ed;
}

.footer__info_wrap h3 {
	font-size: 36px;
}

.footer__contact_box a:hover { 
    color: #FFAD35;
}

footer .text-center img {
    border: 2px solid white;
    margin-top: 5px;
    border-radius: 4px;
}

@media screen and (min-width: 768px) {
	.carousel-caption {
	    left: 20%;
	    right: 20%;
	    padding-bottom: 0;
	    min-height: 100px;
	}
}

@media screen and (max-width: 992px) {
	.footer__p  {
	    text-align: center !important;
	    float: none !important;
	}
}


.carousel-caption {
    text-shadow: none !important;
}


/******************************
***** modal box - projects ****
******************************/ 

.modal-content {
    background: transparent !important;
}

.close {
    font-size: 33px !important;
    font-weight: 900 !important;
    color: white !important;
    text-shadow: 2px 2px 0 #010101 !important;
    opacity: 1 !important;
}

.modal-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.modal-body iframe {
    box-shadow: 0 5px 15px rgba(0,0,0,.5) !important;
}

.modal-header {
    border-bottom: none !important;
}











/* Default Styles */


.admin-bar .navbar-fixed-top {
	margin-top: 30px;
}

@media (min-width:768px) {
	.sub-menu {
		display: none;
		position: absolute;
		background: #222;
		padding: 10px 15px;
		width: 200px;		
	}

	li:hover .sub-menu {
		display: block;
	}

}

.sub-menu li {
	margin-bottom: 10px;
	list-style: none;
}

.sub-menu li:last-child {
	margin-bottom: 0;
}

.sub-menu a  {
	color: #999;
	text-decoration: none;
}

.sub-menu a:hover  {
	color: #fff;	
}	

.current-menu-item > a, .current-menu-parent > a {
	background: #000;	
}
.current-menu-parent li a {
	background: inherit;
}
.current-menu-parent .current-menu-item a {
	color: #fff;
	font-weight: bold;
}

.sidebar { 
	margin-top: 40px;
	color: #444;
}

.sidebar h3 {
	color: #888;
}

.widget {
	margin: 10px 0 30px;
}

article.post {
	margin: 20px 0 40px;
}

@media (max-width:540px) {
	.portfolio-piece h4 {
		font-size: .8em;
	}
	.prev-next {
		margin-top: 15px;
		font-size: 18px;
	}
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

