/*
Theme Name: Dunvant Building Services
Theme URI: 
Author: MPL Webd Design
Author URI: https://www.mplwebdesign.com/
Description: Theme for Dunvant Building Services
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 
Text Domain: dbs

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Main Settings */
/*@import url('https://fonts.googleapis.com/css2?family=Lexend+Exa&display=swap');8?
*/

body
{
	font-family: 'Lato', sans-serif;
    font-size: 16px;
}
            
h1
{
   /*parent element is body*/
   font-size: 2em;
   color: #3B2A98;
}

h2
{
   font-size: 1.5em;
}

h3
{
   font-size: 1.3em;   
}

h4
{
   /*parent element is body*/
   font-size: 1.1em;
}

h5
{
   font-size: 0.9em;
}

h6
{
   font-size: 0.7em;   
}

p {
	font-size: 1.2em;
}

p label {
	font-size: 0.8em;
}

.clearfix30 {
	height: 30px;
}

.padding3perc {
	 padding: 3%;
}

.padding1perc {
	 padding: 1%;
}

.padding_zero {
	padding:0px !important;
}

.padding_logo {
	padding: 1% 1% 0 3%;
}

.padding_contact_top {
	padding: 3% 1% 0 6%;color: #999;
}

.padding_footer {
	 padding: 2% 2% 2% 0;
}

.footer {
	background-color: #EBEBEB;
	color: #525252;
}

.copy {
	background-color: #000000;
	color: #FFFFFF;
}

.header_footer {
	font-size: 1.5em;
	color: #3B2A98;
}

textarea.wpcf7-textarea {
    height: auto;
}

.wpcf7-form-control {
	max-width: 100%;
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;	
}

.wpcf7-submit {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    width: auto;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
#menu-footer-services {
	list-style-type:none;
	padding: 0px;
	margin: 0px;
}
/* unvisited link */
.footer_link a:link {
    color: #525252;
    font-size: 1.2em;
    text-decoration: none;
}

/* visited link */
.footer_link a:visited {
    color: #525252;
     font-size: 1.2em;
    text-decoration: none;
}

/* mouse over link */
.footer_link a:hover {
    color: #1C1C1C;
     font-size: 1.2em;
    text-decoration: underline;
}

/* selected link */
.footer_link a:active {
    color: #525252;
     font-size: 1.2em;
}

h2.panel_link {
	font-size: 1.2em;
	margin: 1%;
}

a.panel_link:link {
    color: #FFFFFF;
    text-decoration: none;
}

/* visited link */
a.panel_link:visited {
    color: #FFFFFF;
    text-decoration: none;
}

/* mouse over link */
a.panel_link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* selected link */
a.panel_link:active {
    color: #FFFFFF;
}

.dark_blue {
	 color: #3B2A98;
}

/* navbar just change colour of text when hover */
/*.nav > li > a:hover{
    background:transparent;
    color: #FF0000;
}*/

/* If Brand is logo:
 *  style="padding: 0 15px;"
 * .navbar-fixed-top .navbar-brand {
    padding: 0 15px;
}
 */

/* Start Standard NAVBAR CSS */

.dropdown-menu>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.navbar {
    border-radius: 0;
    padding: 1% 0 1% 0;
    margin: 0;
}

.navbar-new {
    font-size: 1.0em;
    text-transform: uppercase;
/* gradient here and hover and active http://twitterbootstrap3navbars.w3masters.nl/ */
}

.navbar-new .navbar-brand,
.navbar-new .navbar-brand:hover,
.navbar-new .navbar-brand:focus {
    color: #999;
    font-size: 1.2em;
    padding-top: 9px !important;
}

.navbar .divider-vertical-none {
height: 40px;

border-left: 1px solid #ffffff;
border-right: 1px solid #ffffff;

}

.navbar .divider-vertical {
height: 40px;
border-left: 1px solid #f2f2f2;
border-right: 1px solid #ffffff;
}
.navbar-new .navbar-nav {
	
} 

.navbar-new .navbar-nav > li > a {
    color: #999;
   font-size: 1.0em;
    border-bottom: 3px solid #FFF;
	padding-top: 9px !important;
    height: 50px;
  }

/*
.navbar-new .navbar-nav > li > a:hover > span,
.navbar-new .navbar-nav > li > a:focus > span {
border-bottom: 3px solid #00A3D3; 
padding-bottom: 2%;

}
*/

.navbar-new .navbar-nav > li > a:hover,
.navbar-new .navbar-nav > li > a:focus {
   border-bottom: 3px solid #00A3D3; 
  background-color: #FFFFFF;
  color: #00A3D3;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

.navbar-new .navbar-nav > .active > a,
.navbar-new .navbar-nav > .active > a:hover,
.navbar-new .navbar-nav > .active > a:focus,
.dropdown-menu > .active {
   border-bottom: 3px solid #00A3D3; 
  background-color: #FFFFFF;
  color: #00A3D3;
}

.navbar-new .navbar-text {
    color: #FFF;
}

.navbar-new .navbar-toggle {
    border-color: #0FA6A1;
}

.navbar-new .navbar-toggle:hover,
.navbar-new .navbar-toggle:focus {
    background-color: #0FA6A1;
}

.navbar-new .navbar-toggle .icon-bar {
    background-color: #0FA6A1;
}
/* End Standard NAVBAR CSS */

/* Carousel Styles */
.carousel-indicators .active {
    background-color: #2980b9;
}


.carousel-inner img {
    width: 100%;
    max-height: 640px;
}

.carousel-inner-portfolio img {
    margin: auto;
    width: 100%;
}

img.orsize {
        object-fit: contain;
}
.carousel-control {
    width: 0;
}

.carousel-control.left,
.carousel-control.right {
	opacity: .8;
	filter: alpha(opacity=80);
	background-image: none;
	background-repeat: no-repeat;
	text-shadow: none;
	padding: 0;
}


.carousel-control .glyphicon-chevron-left, 
.carousel-control .glyphicon-chevron-right, 
.carousel-control .icon-prev, 
.carousel-control .icon-next {
	position: absolute;
	top: 45%;
	z-index: 5;
	display: inline-block;
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .icon-prev {
	left: 30px;
}

.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next {
	right: 30px;
}

.carousel-control.left span,
.carousel-control.right span {
            width: auto !important;
            height: auto !important;
            border-radius: 50%;
            padding: 5px;
            background-image: -webkit-radial-gradient(circle at center, rgba(0,0,0,.5) 0,rgba(0,0,0,.5) 100%);
            background-image: -o-radial-gradient(circle at center, rgba(0,0,0,.5) 0,rgba(0,0,0,.5) 100%);
            background-image: radial-gradient(circle at center, rgba(0,0,0,.5) 0,rgba(0,0,0,.5) 100%);100%);
	
}

.carousel-control.left span:hover,
.carousel-control.right span:hover {
	opacity: .7;
	filter: alpha(opacity=70);
}

/* Carousel Header Styles */
.header-text {
    position: absolute;
    top: 20%;
    left: 1.8%;
    right: auto;
    width: 96.66666666666666%;
    color: #fff;
}

.header-text-portfolio {
    position: absolute;
    top: 70%;
    left: 1.8%;
    right: auto;
    width: 96.66666666666666%;
    color: #fff;
}

.header-text h2 {
    font-size: 2.5em;
}

.header-text-portfolio h2 {
    font-size: 1.5em;
}

.header-text h2 span {
    background-color: #2980b9;
	padding: 10px;
}

.header-text-portfolio h2 span {
    background-color: #2980b9;
	padding: 10px;
}

.header-text h3 span {
	background-color: #000;
	padding: 15px;
}

.btn-min-block {
    min-width: 170px;
    line-height: 26px;
}

.btn-theme {
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
    margin-right: 15px;
}

.btn-theme:hover {
    color: #000;
    background-color: #fff;
    border-color: #fff;
}

	/* Container holding the image and the text */
.container-img {
  position: relative;
  text-align: center;
  color: white;
}

/* Bottom left text */
.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

/* Top left text */
.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

/* Top right text */
.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

/* Bottom right text */
.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

/* Centered text */
.subheader {
  position: absolute;
  background-color: #000000;
  top: 62%;
  left: 50%;
color: #ffffff;
font-size: 125%;
    text-shadow: none;
    line-height: 1.5;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    text-align: inherit;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    font-weight: 400;
  padding: 15px 15px 15px 15px;
  transform: translate(-50%, -50%);
}
.centered {
  position: absolute;
  background-color: #2980b9;
  top: 38%;
  left: 50%;
color: #ffffff;
    font-size: 225%;
    text-shadow: none;
    line-height: 1.5;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    text-align: inherit;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    font-weight: 400;  
  padding: 10px 10px 10px 10px;
  transform: translate(-50%, -50%);
}
@media (max-width: 767px) {
	.subheader {
	    display: none!important;
	}
}
/* Carousel Styles */

/* viewport-width >= 992px and viewport-width <= 1199px */
   @media screen and (min-width: 992px) and (max-width: 1199px)
   {
       body
       {
           font-size: 14px;
       }
   }
   
   /* viewport-width >= 768px and viewport-width <= 991px */
   @media screen and (min-width: 768px) and (max-width: 991px)
   {
       body
       {
           font-size: 12px;
       }
   }
   
   /* viewport-width <= 767 */
   @media screen and (max-width: 767px)
   {
       body
       {
           font-size: 12px;
       }

		.header-text {
		    top: 6%;
		}
		
		.header-text h2 {
		    font-size: 1.5em;
		}

		.header-text h3 {
		    font-size: 1.0em;
		}
		
       .navbar-new .navbar-nav > li > a:hover,
		.navbar-new .navbar-nav > li > a:focus {
		   border-bottom: none; 
		}
		.carousel-inner-portfolio img {
		    max-height: 300px;
		}

   }
   
   
/* Tablet short end menu */
@media (max-width: 800px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }

	.header-text {
	    top: 6%;
	}

}


/* Tablet short end menu */   




