/*
	Theme Name: WebTeam Child
	Description: WebTeam WordPress Theme
	Version: 1.0.0
	Template: webteam
    Text Domain: webteam-child


	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/


/* Azure site 2024 */


/* ROOT STYLES */

/* END */

.mix {
  display: none;
}

a.post-edit-link {
    display: none;
}

/*==================================== 
  NAV
=====================================*/

.is-transparent .current-menu-item a {
	color:#fff!important;
}

.is-transparent.stuck .current-menu-item a {
	color:#333!important;
}

.current-menu-item {
    background-color: transparent!important;
}

.nav.navright {
	display:none!important;
}


/*==================================== 
  CUSTOM LOGIN PAGE
=====================================*/
body.login-password-protected {
    background: url(/wp-content/uploads/2018/10/login-bk.jpg) no-repeat center center fixed;
    background-size: cover;
	
}

#login form p {
    margin-bottom: 20px;
    margin-top: 30px;
}

#loginform:before {
    content: 'Teipiwch y cyfrinair e-bostiodd Tîm y We atoch / Please enter the password that the Webteam emailed you'!important;
}

.login h1:after {
    content: 'Croeso i bortffolio ar-lein Tîm Gwe Cyngor Caerdydd / Welcome to Cardiff Council Webteam online portfolio';
    line-height: 28px;
}

.login h1 a {
    background-image: none,url(/wp-content/themes/webteam-child/img/logo.png);
    background-size: 250px;
    height: 80px;
    width: 100%;
}
/* end */


.logo, .logo-white {
	padding-top: 5px!important;
    padding-bottom: 10px!important;
}

/*==================================== 
  WELSH PLUGIN
=====================================*/

.wpml-ls-legacy-list-horizontal .wpml-ls-item {
    float: right;
}

span.wpml-ls-native {
    color: #fff;
    font-size:12px!important;
	font: inherit;	
}

.stuck .wpml-ls-native {
    color:#333;
    font-size:12px!important;
	font: inherit;
}

.page-id-166 span.wpml-ls-native, .page-id-940 span.wpml-ls-native {
	color: #333;
}

/*==================================== 
  SLIDER IN IE 11
=====================================*/
/*
.mainslider .slide.iefix:nth-child(1) {
  background: url(/wp-content/uploads/2018/10/login-bk.jpg) no-repeat!important;
	animation-delay: 15s;
	min-height:100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
	-ms-behavior: url(/wp-content/themes/webteam-child/js/backgroundsize.htc);
}

.mainslider .slide.iefix:nth-child(2) {
  background: url(/wp-content/uploads/2018/10/homepage1.jpg) no-repeat!important;
	animation-delay: 15s;
	min-height:100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
	-ms-behavior: url(/wp-content/themes/webteam-child/js/backgroundsize.htc);
}

.mainslider .slide.iefix:nth-child(3) {
  background: url(/wp-content/uploads/2018/10/homepage2.jpg) no-repeat!important;
	animation-delay: 15s;
	min-height:100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
	-ms-behavior: url(/wp-content/themes/webteam-child/js/backgroundsize.htc);
}

.mainslider .slide.iefix:nth-child(4) {
   background: url(/wp-content/uploads/2018/10/homepage3.jpg) no-repeat!important;
	animation-delay: 15s;
	min-height:100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
	-ms-behavior: url(/wp-content/themes/webteam-child/js/backgroundsize.htc);
}
*/

/*==================================== 
  SECTIONS
=====================================*/

#home-intro h1 {
    padding: 0px;
    font-size: 48px;
    color: #333;
}

#home-services h2.title {
    text-align: left;
}

#home-portfolio h2.title {
    margin-bottom: 40px;
}


.title_top {
	padding-top: 40px;
}

/*==================================== 
  PORTFOLIO
=====================================*/

section#portfolio-filter {
    background: #2c3f52;
    margin: 0px auto;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

#portfolio-filter button.btn.active {
    background: #ccc;
}

.portfolio-filter-group {
	display:none;
}

.portfolio-filter-dropdown .btn {
    padding: 10px 15px;
    background: transparent;
    border-radius: 2px;
    color: #fff;
    border: 0px solid #fff;
}

#portfolio-filter button.btn.active {
    background: transparent;
    text-decoration: underline;
}

ul.portfolio-filter-dropdown {
    margin: 0px;
    list-style: none;
    padding: 0px;
}

#portfolio-filter-active {
	display:block;
	color:#333;
	font-size:20px;
	height:20px;
	margin-bottom:30px;
	text-align:center;
}

#portfolio-filter .more_button {
    margin: -15px 0px 0 0;
}

.new-filter {
    margin: 0px auto;
    text-align: center;
    margin-bottom: 50px;
}

.boxes {
	display: contents;
}

button.btn2 {
    background: #eee;
}

button.btn2.active {
    background: #00458B;
    color: #fff;
}

#home-callout {
    margin: 50px 0 100px 0;
}

#home-team p {
    margin-top: 5px;
}
#home-team h3 {
    margin-bottom: 0px;
	color: #00458B;
}

#home-team .container-fullwidth {
    padding: 20px;
}

.grid-2col figure img, .grid-3col figure img, .grid-4col figure img {
    margin: 0px auto;
}

h2 {
    margin: 40px 0px;
    text-align: center;
}

h2.title {
    font-size: 48px;
}

/*==================================== 
  BUTTONS
=====================================*/

button.blue, .blue-button {
    background: #2c3f52;
    color: #fff;
}

button.green, .green-button {
    background: #184A3A;
    color: #fff;

}

.thankyou-button {
	background:#2c3f52;
	padding:10px;
	color:#f4f4f4;
	border-radius:3px;
	opacity:0.8
}

.thankyou-button:hover {
	color:#f4f4f4;
}

.blue-button, .green-button {
	padding:18px;
	float: left;
	margin-top: 20px;
	margin-right: 8px;
	opacity: 0.95;
}

.blue-button:hover, .green-button:hover, .thankyou-button:hover {
	opacity: 1;	
}


.silver_divide {
	border-bottom: 0px solid silver;
	float: left;
	width: 100%;
}



button.blue a:hover, button.green a:hover, .blue-button a:hover, .green-button a:hover, .blue-button a:visited:hover, .green-button a:visited:hover  {
    color: #fff!important;
}

a:hover.green-button, a:hover.blue-button {
    color: #fff!important;
}

span.service-title {
    font-size: 24px;
	color: #333;
}

div#home-intro {
    background: #eee;
}

/*==================================== 
  SHOW MORE
=====================================*/

#more {
	display:none;
}

.more_button {
	display:block;
	text-align:center;
	margin:30px 0px;
}

#toggle, .button, #toggleCym, .button {
	border:1px solid #333;
}

button#toggle:hover, button#toggleCym:hover, .button:hover {
    background: #2c3f52;
    border:1px solid #2c3f52;
    color: #fff;
	transition: all 0.3s ease-in-out;
}

.button {
	padding:15px;
	margin:0px auto;
}

/*==================================== 
  CUSTOM GRIDS
=====================================*/

.column {
  border-radius: 5px;
  padding: 20px;
  color: #fff;
}

.grid-2col .column, .grid-3col .column, .grid-4col .column {
	color:#666!important;
}


#home-services .grid-3col .column {
	background-color:#2c3f52;
	color:#f4f4f4!important;
}

.column-nopad {
	padding:20px;
}

/*NEW PORTFOLIO */
.new-portfolio .column-nopad {
    padding: 20px;
    display: inline;
}

.column-nopad figcaption {
	position:absolute;
	top:50;
	left:50;
}

.grid-2col {
  width:100%;
	display:inline-block;	
  /*display: -ms-grid;	
  display: grid;
  -ms-grid-columns: (1fr)[2];
      grid-template-columns: repeat(2, 1fr);*/
  grid-column-gap: 0px;
  margin: 0 0 0px 0;	
  height: 100%;
	padding: 30px;
}

.grid-3col {
  width:100%;
	display:inline-block;
  /*display: -ms-grid;	
  display: grid;
  -ms-grid-columns: (1fr)[3];
      grid-template-columns: repeat(3, 1fr);*/
  grid-column-gap: 10px;
  margin: 0 0 10px 0;	
  height: 100%;
}

.grid-4col {
  width:100%;	
	display:inline-block;
  /*display: -ms-grid;	
  display: grid;
  -ms-grid-columns: (1fr)[4];
      grid-template-columns: repeat(4, 1fr);*/
  grid-column-gap: 10px;
  margin: 0 0 10px 0;	
  height: 100%;
}


.grid-2col.cs-style-3 .column-nopad, .grid-2col .column, .grid-2col .column-nopad  {
    width: 49%;
	vertical-align: top;
	display:inline-block;
}

.grid-3col.cs-style-3 .column-nopad, .grid-3col .column, .grid-3col .column-nopad {
    width: 33%;
	vertical-align: top;
	display:inline-block;
}

.grid-4col.cs-style-3 .column-nopad, .grid-4col .column, .grid-4col .column-nopad {
    width: 24.5%;
	vertical-align: top;
	display:inline-block;
}

.top {
	vertical-align: top;
}

/*.grid-3col.cs-style-3 {
	grid-column-gap: 0px;
}
*/
.offset-right {
    margin-right: -100px;
}

.offset-left {
    margin-left: -100px;
}

/* SLIDER */
.parallax {
    min-height: 850px!important;
}

.slide {
    height: 850px!important;
}

.slide-content {
    padding: 16%!important;
}

/*==================================== 
  CALLOUT
=====================================*/

#home-callout {
    background: #2c3f52!important;
	margin-bottom: 0px;
}

#home-callout .container-fullwidth {
    padding: 50px 0px 100px 0;
    color: #fff!important;
}

#home-callout a.button {
    border: 1px solid #fff!important;
    color: #fff!important;
}

#home-callout a.button:hover {
	background: white;
	color: black!important;
}


/*==================================== 
  CONTACT
=====================================*/

#home-contact {
	/*background-image:url('/wp-content/uploads/2017/06/Scene_4.jpg');
	background-size:cover;	*/
}

#home-contact input, #home-contact textarea, .dev-form input, .dev-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
}

#home-contact label, .dev-form label {
	color:#333!important;
}

#home-contact .column {
    vertical-align: text-top;
}

/*==================================== 
  CUSTOM POSTS
=====================================*/

.cp_story_icon:before {
    content: "\f101";
}
.cp_wrapper {
    width: 22.5%;
    display: inline-flex;
}
.cp_wrapper:hover {}
.cp_img_wrap {
    height: 240px;
    width: 100%;
    overflow: hidden;
    margin: 0px auto;
}
.cp_image {
    height: 225px;
    width: 100%;
    background-size: cover;
    margin-bottom: 20px;
    position: relative;
    background-size: cover;
    border-radius: 3%;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
	transform: scale(0.92);
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.33), 0 6px 20px 0 rgba(0, 0, 0, 0.53);
}
.cp_img_wrap:hover .cp_image,
.cp_img_wrap:focus .cp_image {
    -ms-transform: scale(0.91);
    -moz-transform: scale(0.91);
    -webkit-transform: scale(0.91);
    -o-transform: scale(0.91);
    transform: scale(0.91);
    overflow: hidden;
    border-radius: 5%;
}
.cp_image img {
    max-width: 100%;
    height: auto;
    display: block;
}
.cp_image img:hover {}
.cp_overlay {
    position: absolute;
    opacity: 0;
	left: 0;
    background: #00458B;
    width: 100%;
    height: 100%;
    border-radius: 5%!important;
}
.cp_overlay:hover {
    opacity: 0.9;
    border-radius: 5%;
    overflow:hidden;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
/* .cp_image i.fa.fa-align-left, .cp_image h3, .cp_image p {
    display: block;
    width: 96%;
    padding: 2%;
    height: 66px;
    position: absolute;
    left: 25%;
    top: 25%;
    margin: 30px 0 0 -85px;
    border-radius: 50%;
    text-align: center;
    line-height: 68px;
    font-size: 16px;
    color: #ffffff;
    font-weight: 400;
    line-height: 28px;
}*/

.cp_portfolio_header, .cp_portfolio_moreinfo, .cp_portfolio_sitelink {
    display: block;
    height: 30px;
    width: 100%;
	margin:5% 0%;
    position: relative;
}

.cp_portfolio_header {
    margin-top: 12%;
    color: #fff;
    text-align: center;
}

.cp_portfolio_moreinfo {
    margin-top: 5%;
    display: block;
    text-align: center;
    color: #fff;
	padding: 0px 30px;
}

.cp_portfolio_sitelink {
    text-align: center;
}

.cp_portfolio_moreinfo a, .cp_portfolio_sitelink a, .cp_portfolio_moreinfo a:hover, .cp_portfolio_sitelink a:hover {
	color:#fff;
}



/*==================================== 
  NEW PROJECT & NEW WORK FORMS
=====================================*/

.dev-form {
    max-width: 960px;
    margin: 0px auto;
	background: #eee;
    padding: 3%;
}

.dev-form span.wpcf7-list-item {
    margin: 0 0 1em 1em;
	display:block;
}

.dev-form input[type="checkbox"], input[type="radio"] {
    width: 5%;
    margin-top: 5px;
}

.dev-form .formsection {
    font-size: 24px;
    margin-bottom: 40px;
    background: #2c3f52;
    padding: 10px;
	color:#fff;
}

.dev-form input, .dev-form textarea .dev-form select {
    margin-top: 10px;
}

.dev-form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
}


.page-id-166 .header, .page-id-166 .footer, .page-id-940 .header, .page-id-940 .footer{
	/* display:none; */
}

.page-id-1058 .designed_by, .page-id-1069 .designed_by, .page-id-1089 .designed_by, .page-id-1091 .designed_by  {
	display:none!important;
}

.page-id-166 main.fullwidth, .page-id-940 main.fullwidth {
    max-width: 960px;
    margin: 0px auto;
    background: #f4f4f4;
    margin-top: 120px!important;
    padding-top: 50px;
    border-radius: 5px;
}

body.page-template.page-template-page_fullwidth_notitle.page-template-page_fullwidth_notitle-php.page.page-id-166.logged-in.new-project-development-form .wrapper, body.page-template.page-template-page_fullwidth_notitle.page-template-page_fullwidth_notitle-php.page.page-id-940.logged-in.ffurflen-datblygu-prosiect-newydd .wrapper  {
    background: url(/wp-content/uploads/2017/06/Scene_4.jpg) no-repeat center center fixed;
}

.formfull.extrapadding {
    padding-bottom: 30px;
}

.wpcf7 .watermark {
    color: #cccccc !important;
    font-family: arial !important;
}
::-webkit-input-placeholder {
    color: #cccccc !important;
    font-family:'arial', sans-serif;
}
:-moz-placeholder {
    color: #cccccc !important;
    font-family:'arial', sans-serif;
}
::-moz-placeholder {
    color: #cccccc !important;
    font-family:'arial', sans-serif;
}
:-ms-input-placeholder {
    color: #cccccc !important;
    font-family:'arial', sans-serif;
}

.welsh-upload input.wpcf7-form-control.wpcf7-file:before {
    content: "Dewiswch ffeil";
    position: absolute;
    background: #eeeeee;
    padding: 3px;
    text-align: center;
    width: 130px;
    border: 1px solid #333;
}

.welsh-upload input.wpcf7-form-control.wpcf7-file:after {
    content: "Dim ffeil wedi’i dewis ";
    background: #eee;
    width: 300px;
    display: inline-block;
    padding: 5px 0 0 10px;
    margin-left: 30px;
}

.CF7-thankyou {
    min-height: 550px;
    max-width: 960px;
    width: 90%;
    margin: 0 auto;
    padding: 5%;
    color: #2c3f52;
    background: #f4f4f4;
    border-radius: 5px;
}

.CF7-thankyou p {
    line-height: 36px;
}

.page-id-166 .wpcf7-mail-sent-ok, .page-id-940 .wpcf7-mail-sent-ok, .page-id-18 .wpcf7-mail-sent-ok, .page-id-666 .wpcf7-mail-sent-ok {
    display: none!important;
}

body.page-template.page-template-page_fullwidth_notitle.page-template-page_fullwidth_notitle-php.page.page-id-1058, body.page-template.page-template-page_fullwidth_notitle.page-template-page_fullwidth_notitle-php.page.page-id-1069, body.page-template.page-template-page_fullwidth_notitle.page-template-page_fullwidth_notitle-php.page.page-id-1089, body.page-template.page-template-page_fullwidth_notitle.page-template-page_fullwidth_notitle-php.page.page-id-1091 {
    background: url(/wp-content/uploads/2017/06/Scene_4.jpg) no-repeat center center fixed;
}

.page-id-1058 .wrapper, .page-id-1069 .wrapper, .page-id-1089 .wrapper, .page-id-1091 .wrapper {
    max-width: 100%!important;
    background-color: transparent!important;
}


.page-id-1103 main.fullwidth {
    max-width: 960px;
    margin: 0px auto;
}

.page-id-110 .fullwidth h1 {
    padding:0%!important;
}


.footer {
	display:none;
}

@media only screen and (max-width: 1600px){

/* customposts */
.cp_wrapper {
    width: 30%;
    display: inline-flex;
}
	
.cp_img_wrap {
    height: 265px;
}
	
.cp_image {
    height: 250px;
}	
	
}


@media only screen and (max-width: 1199px) and (min-width: 960px) {

/* customposts */
.cp_wrapper {
    width: 29%;
    display: inline-flex;
}	
	
#home-intro h1 {
    font-size: 36px!important;
}

.parallax-section, .parallax-section2 {
    min-height: 400px!important;
}
	
.grid-2col figcaption h3, .grid-3col figcaption h3, .grid-4col figcaption h3 {
    font-size: 22px!important;
}	

.OpenMyModal {
    left: -130px!important;
    width: 100px;
}		
	
}

@media only screen and (max-width: 959px) and (min-width: 768px) {
/*.grid-2col {
  grid-template-columns: repeat(2, 1fr);
  grid-row-gap: 10px;	
}
.grid-3col {
  grid-template-columns: repeat(2, 1fr);
  grid-row-gap: 10px;	
}	
.grid-4col {
  grid-template-columns: repeat(2, 1fr);
  grid-row-gap: 10px;	
}*/
	
/* customposts */
.cp_wrapper {
    width: 45%;
    display: inline-flex;
}
	
.grid-2col.cs-style-3 .column-nopad, .grid-2col .column, .grid-2col .column-nopad  {
    width: 100%;
	vertical-align: top;
	display:inline-block;
}
.grid-3col.cs-style-3 .column-nopad, .grid-3col .column, .grid-3col .column-nopad {
    width: 100%;
	vertical-align: top;
	display:inline-block;
}
.grid-4col.cs-style-3 .column-nopad, .grid-4col .column, .grid-4col .column-nopad {
    width: 49%;
	vertical-align: top;
	display:inline-block;
}

/* display links on mobile */
.cs-style-3 figcaption {
		opacity:1!important;
		-webkit-transform: none!important;
    	-moz-transform: none!important;
    	-ms-transform: none!important;
    	transform:none!important;
    	-webkit-transition: none!important;
    	-moz-transition: none!important;
    	transition: none!important;
	}

.grid-2col figcaption, .grid-3col figcaption, .grid-4col figcaption {
    position: initial!important;
	padding: 30px;
	}
	
.grid-2col figcaption h3, .grid-3col figcaption h3, .grid-4col figcaption h3 {
    font-size: 22px!important;
}
	
	.OpenMyModal {
		right: -30px;
	}

/*.cs-style-3 figcaption a {
    bottom: 10px;
    right: 0px!important;
    width: 100%;
}

.OpenMyModal {
    bottom: 10px;
    left: 0px!important;
    width: 100%;
    bottom: 50px!important;
}*/	
	
.cs-style-3 figcaption {
    display: none!important;
	}
#home-portfolio .column-nopad {
    margin-bottom: 40px;
	}
.modalbg:target .dialog {
    top: -20px;
	}	
	
.page-id-166 main.fullwidth, .page-id-940 main.fullwidth {
    margin-top: 0px!important;
}	

}


@media only screen and (max-width: 767px) {
/*.grid-2col {
  grid-template-columns: 100%;
  grid-row-gap: 10px;	
}
.grid-3col {
  grid-template-columns: 100%;
  grid-row-gap: 10px;	
}	
.grid-4col {
  grid-template-columns: 100%;
  grid-row-gap: 10px;	
}
*/
	
	
/* Custom posts */
.cp_wrapper {
    width: 95%;
    display: inline-flex;
}	
	
.cp_img_wrap {
    height: 370px;
}
	
.cp_image {
    height: 349px;
}	
	
.grid-2col.cs-style-3 .column-nopad, .grid-2col .column, .grid-2col .column-nopad  {
    width: 100%;
	vertical-align: top;
	display:inline-block;
}

.grid-3col.cs-style-3 .column-nopad, .grid-3col .column, .grid-3col .column-nopad {
    width: 100%;
	vertical-align: top;
	display:inline-block;
}

.grid-4col.cs-style-3 .column-nopad, .grid-4col .column, .grid-4col .column-nopad {
    width: 100%;
	vertical-align: top;
	display:inline-block;
}

/* display links on mobile */
.cs-style-3 figcaption {
		opacity:1!important;
		-webkit-transform: none!important;
    	-moz-transform: none!important;
    	-ms-transform: none!important;
    	transform:none!important;
    	-webkit-transition: none!important;
    	-moz-transition: none!important;
    	transition: none!important;
	}

.grid-2col figcaption, .grid-3col figcaption, .grid-4col figcaption {
    position: initial!important;
	}
	
.slide-content {
	font-size:34px!important;
}
	

.parallax {
    min-height: 550px!important;
}
	
.cs-style-3 figcaption {
    display: none!important;
	}
#home-portfolio .column-nopad {
    margin-bottom: 40px;
	}
.modalbg:target .dialog {
    top: -20px;
	}
	
	.slide-content h1 {
		font-size:50px;
	}	
	
.page-id-166 main.fullwidth, .page-id-940 main.fullwidth {
    margin-top: 0px!important;
}		
	
}

/*==================================== 
  CUSTOM HOVER EFFECTS
=====================================*/
/* Effect 12: circle */
.cl-effect-12 a::before,
.cl-effect-12 a::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100px;
	height: 100px;
	border: 2px solid rgba(0,0,0,0.1);
	border-radius: 50%;
	content: '';
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	-moz-transition: -moz-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
	-webkit-transform: translateX(-50%) translateY(-50%) scale(0.2);
	-moz-transform: translateX(-50%) translateY(-50%) scale(0.2);
	transform: translateX(-50%) translateY(-50%) scale(0.2);
}

.cl-effect-12 a::after {
	width: 90px;
	height: 90px;
	border-width: 6px;
	-webkit-transform: translateX(-50%) translateY(-50%) scale(0.8);
	-moz-transform: translateX(-50%) translateY(-50%) scale(0.8);
	transform: translateX(-50%) translateY(-50%) scale(0.8);
}

.cl-effect-12 a:hover::before,
.cl-effect-12 a:hover::after,
.cl-effect-12 a:focus::before,
.cl-effect-12 a:focus::after {
	opacity: 1;
	-webkit-transform: translateX(-50%) translateY(-50%) scale(1);
	-moz-transform: translateX(-50%) translateY(-50%) scale(1);
	transform: translateX(-50%) translateY(-50%) scale(1);
}

.menu-item a:hover {
    background-color: transparent!important;
	color:#666!important;
}

/*==================================== 
  CUSTOM CAPTION STYLES
=====================================*/

.grid-2col li, .grid-3col li, .grid-4col li {
	display: inline-block;
	width: 100%;
	margin: 0;
	padding: 0px;
	text-align: left;
	position: relative;
}

.grid-2col figure, .grid-3col figure, .grid-4col figure {
	margin: 0;
	position: relative;
}

.grid-2col figure img, .grid-3col figure img, .grid-4col figure img {
	max-width: 100%;
	display: block;
	position: relative;
}

.grid-2col figcaption, .grid-3col figcaption, .grid-4col figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	background: #eee;
	color: #333;
}

.grid-2col figcaption h3, .grid-3col figcaption h3, .grid-4col figcaption h3 {
	margin: 0;
	padding: 0;
	color: #333;
	font-size:36px;
}

.grid-2col figcaption span:before, .grid-3col figcaption span:before, .grid-4col figcaption span:before {
	content: '';
}

.grid-2col figcaption a, .grid-3col figcaption a, .grid-4col figcaption a {
	text-align: center;
	padding: 5px 10px;
	border-radius: 2px;
	display: inline-block;
	background: #2c3f52;
	color: #fff;
}

/* Caption Style 3 */
.cs-style-3 figure {
	overflow: hidden;
	border: 1px solid #ccc;
}

.cs-style-3 figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-3 figure:hover img,
.cs-style-3 figure.cs-hover img {
	-webkit-transform: translateY(-10px);
	-moz-transform: translateY(-10px);
	-ms-transform: translateY(-10px);
	transform: translateY(-10px);
}

.cs-style-3 figcaption {
	height: 100%;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	/* -webkit-transform: translateY(100%); */
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	/* transform: translateY(100%); */
	-webkit-transition: -webkit-transform 0.8s, opacity 0.5s 0.1s;
	-moz-transition: -moz-transform 0.8s, opacity 0.5s 0.1s;
	transition: transform 0.8s, opacity 0.5s 0.1s;
}

.no-touch .cs-style-3 figure:hover figcaption,
.cs-style-3 figure.cs-hover figcaption {
	opacity: 0.92;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.8s, opacity 0.5s 0.1s;
	-moz-transition: -moz-transform 0.8s, opacity 0.5s 0.1s;
	transition: transform 0.8s, opacity 0.5s 0.1s;
}

.cs-style-3 figcaption a {
	position: absolute;
	bottom: 10px;
	right: 20px;
	padding: 7px 10px;
}


.cs-style-3 figcaption a:hover {
	    background: #2c5278;
}


/*==================================== 
  CUSTOM SLIDER
=====================================*/

.parallax-section, .parallax-section2 {
	min-height:600px;
}

.slider-section, .slider-section2 {
  margin: 0 auto;
  background-color: #eee;
  border: 0px solid #eee;
  position: relative;
}

.slider-section .slide, .slider-section2 .slide {
  width: 100%;
  height: 100%;
  /*position: absolute;*/
  opacity: 0;
  top: 0;
  left: 0;
  animation: fade 16s infinite;
}

.slider {
	border: 0px!important;
}

/*==================================== 
  INTRO SLIDER
=====================================*/

.slider-section .slide:nth-child(1) {
  background: url(/wp-content/uploads/2020/11/iphone10.png) no-repeat;
	background-size:contain;
}

.slider-section .slide:nth-child(2) {
  background: url(/wp-content/uploads/2020/11/iphone6.png) no-repeat;
	animation-delay: 3s;
	background-size:contain;
}

.slider-section .slide:nth-child(3) {
  background: url(/wp-content/uploads/2020/11/iphone7.png) no-repeat;
	animation-delay: 6s;
	background-size:contain;
}

.slider-section .slide:nth-child(4) {
  background: url(/wp-content/uploads/2020/11/iphone8.png) no-repeat;
	animation-delay: 9s;
	background-size:contain;
}

.slider-section .slide:nth-child(5) {
  background: url(/wp-content/uploads/2020/11/iphone9.png) no-repeat;
  animation-delay: 12s;
  background-size:contain;	
}

.slider-section .slide:nth-child(6) {
  background: url(/wp-content/uploads/2020/11/iphone5.png) no-repeat;
  animation-delay: 15s;
  background-size:contain;	
}

.slider-section .slide:nth-child(7) {
  background: url(/wp-content/uploads/2020/11/iphone11.png) no-repeat;
  animation-delay: 18s;
  background-size:contain;	
}

/* welsh */

.slider-section.cym .slide:nth-child(1) {
  background: url(/wp-content/uploads/2018/12/iPhone4_welsh.png) no-repeat;
	background-size:contain;
}

.slider-section.cym .slide:nth-child(2) {
  background: url(/wp-content/uploads/2018/12/iPhone3_welsh.png) no-repeat;
  animation-delay: 4s;
  background-size:contain;	
}

.slider-section.cym .slide:nth-child(3) {
  background: url(/wp-content/uploads/2018/12/iPhone2_welsh.png) no-repeat;
  animation-delay: 8s;
  background-size:contain;	
}

.slider-section.cym .slide:nth-child(4) {
  background: url(/wp-content/uploads/2018/12/iPhone1_welsh.png) no-repeat;
  animation-delay: 12s;
  background-size:contain;	
}

/*==================================== 
  SERVICES SLIDER
=====================================*/

.slider-section2 .slide:nth-child(1) {
  background: url(/wp-content/uploads/2018/09/Portfolio-devices2.png) no-repeat;
	background-size:contain;
}

/*
.slider-section2 .slide:nth-child(2) {
  background: url(/wp-content/uploads/2018/09/Portfolio-Iphone.png) no-repeat;
  animation-delay: 4s;
  background-size:contain;	
}

.slider-section2 .slide:nth-child(3) {
  background: url(/wp-content/uploads/2018/09/Portfolio-Iphone-commwaste.png) no-repeat;
  animation-delay: 8s;
  background-size:contain;	
}

.slider-section2 .slide:nth-child(4) {
  background: url(/wp-content/uploads/2018/09/Portfolio-Iphone-storeyarms.png) no-repeat;
  animation-delay: 12s;
  background-size:contain;	
}
*/
.slider-section .slide:after, .slider-section2 .slide:after {
	display:none;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
 /* 
  5% {
    opacity: 1;
  }
  
  25% {
    opacity: 1;
  }
  
  30% {
    opacity: 0;
  }
*/
}

/*==================================== 
  ACCORDIONS
=====================================*/

.accordion {
  background-color: #fefffa;
  max-width: 85%;
  margin: 50px auto;
  border-top: 3px solid #2c3f52;
  border-bottom: 3px solid #2c3f52;	
  line-height: 1.6;
  padding:0%;	
}
.accordion__item {
  border-top: 1px solid #dce7eb;
  border-right: 1px solid #dce7eb;
  border-left: 1px solid #dce7eb;
}
.accordion__title {
  padding: 0px 15px 0px 60px;
  display: block;
  position: relative;
  font-weight: 300;
}
.accordion__title:before {
  font-family: FontAwesome;
  content: "\f055";
  font-size: 28px;
  position: absolute;
  left: 15px;
  top: 20px;
  color: #2c3f52;
}
.accordion__title h5 {
  border-bottom: 1px solid #fefffa;
  display: inline-block;
  font:inherit;	
}
.accordion__title:hover, .accordion__title:focus {
  cursor: pointer;
  outline: none;
}
.accordion__title:hover h5, .accordion__title:focus h5 {
  border-bottom-color: #a8bdc4;
  display: inline-block;
}
.is-expanded .accordion__title:before {
  content: "\f056";
}
.accordion__content-inner {
  padding: 0 40px 10px 0px;
}
.accordion__content {
  transition: height 0.3s ease-out;
  height: 0;
  overflow: hidden;
}


/*==================================== 
  CUSTOM MODAL WINDOW
=====================================*/
.modal {
  background: #fff;
  display: inline-block;
  padding: 1em;
}

@media (min-width: 43.75em) {
  .modal {
    padding: 1.5em;
  }
}
.modal > label {
  background: #2c3f52;
  border: 1px solid #2c3f52;
  border-radius: .2em;
  color: #eee;
  cursor: pointer;
  display: inline-block;
  padding: 0.75em 1.5em;
  transition: all 0.55s;
}

.modal > label:hover {
  /*-webkit-transform: scale(0.97);
          transform: scale(0.97);*/
}

.modal__overlay {
  background: #2c3f52;
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  text-align: center;
  text-shadow: none;
  top: 0;
  z-index: 1100;
}

.modal__wrap {
  padding: 1em 0;
  position: relative;
  margin: 0 auto;
  max-width: 720px;
  width: 95%;
}

@media (min-width: 50em) {
  .modal__wrap {
    padding: 1.75em;
  }
}
@media (min-height: 37.5em) {
  .modal__wrap {
    /*left: 50%;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -80%);
            transform: translate(-50%, -80%);*/
  padding: 1em 0;
  position: relative;
  margin: 0 auto;
  max-width: 720px;
  width: 95%;  
  }
}
.modal__wrap label {
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    height: 1.5em;
    line-height: 1.5;
    position: fixed;
    right: 15px;
    top: 10px;
    width: 1.5em;
    font-size: 56px;
    font-weight: 100;
}

.modal__wrap h2 {
  color: #eee;
  margin-bottom: 1em;
  text-transform: uppercase;
}

.modal__wrap p {
  color: #eee;
  text-align: justify;
}

.modal input:focus ~ label {
  /*-webkit-transform: scale(0.97);
          transform: scale(0.97);*/
}

.modal input {
  position: absolute;
  top: -1000px;
}

.modal__overlay {
  opacity: 0;
  -webkit-transform: scale(1);
          transform: scale(1);
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
  z-index: -100;
}

input:checked ~ .modal__overlay {
  opacity: 0.9;
  -webkit-transform: scale(1);
          transform: scale(1);
  z-index: 90000;
  overflow-y: scroll;
}

/* stop body scrolling when modal is open */
body.noscroll, header.noscroll {
	border-right:17px solid #eee;
	overflow-y:hidden;
	position:fixed;
}

html.noscroll {
	position:fixed;
	overflow-y:hidden;
}

/* remove scrollbar on modal window */
.modal__overlay::-webkit-scrollbar { width: 0 !important }	
.modal__wrap::-webkit-scrollbar { width: 0 !important }	

.modal__overlay {-ms-overflow-style: none;}
.modal__wrap {-ms-overflow-style: none;}

.modal__overlay { overflow: -moz-scrollbars-none; }
.modal__wrap { overflow: -moz-scrollbars-none; }



/*==================================== 
  RESPONSIVE MAPS
=====================================*/
.google-maps, .youtube {
        position: relative;
        padding-bottom: 75%;
        height: 0;
        overflow: hidden;
    }
.google-maps iframe, .youtube iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }


.portfolio-detail{
   background: transparent;
   visibility:hidden;	
}

.portfolio-detail .show {
	visibility:visible;
	margin: 5% 10%;
}


/*==================================== 
  NEW MODAL BOX
=====================================*/

.OpenMyModal {
	float:left; 
	background:red; 
	position:absolute; 
	bottom:10px; 
	left:20px; 
	width:125px
}

.button.OpenMyModal {
    border: 0px;
}

.modalbg {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 99999;
  -moz-transition: all 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  display: block;
  pointer-events: none;
}
.modalbg .dialog {
    width: 98%;
	font-family: 'Roboto', sans-serif;
    font-weight: 300;
    position: relative;
    top: -1000px;
    margin: 5% auto;
    padding: 5px 20px 35px 20px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: #eee;
    opacity: 0;
	-moz-transition: opacity 0.3s ease-out;
  -webkit-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
	max-height: 97%;
	/*min-height:80%;*/
    overflow: visible;
}

.dialog h2 {
    background-color: #2c3f52;
    padding: 10px;
    color: #fff;
}

.modalbg .dialog .ie7 {
  filter: progid:DXImageTransform.Microsoft.Shadow(color='#000', Direction=135, Strength=3);
}
.modalbg:target {
  display: block;
  pointer-events: auto;
  background: rgba(4, 10, 30, 0.8);
  -moz-transition: all 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
.modalbg:target .dialog {
  top: 50px;
  -moz-transition: opacity 0.5s ease-out;
  -webkit-transition: opacity 0.5s ease-out;
  -o-transition: opacity 0.5s ease-out;
  transition: opacity 0.5s ease-out;
  opacity: 1;
}

.modalimage, .modalimage img, .modaltext {
	vertical-align:text-top;
	transform: none!important;
}

.modallink {
    margin-top: 50px;
}

.close {
    background: transparent;
    color: #333;
    line-height: 25px;
    font-size: 1em;
    position: absolute;
    right: -7px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.5s ease-out; 
    background: #2c3f52;
    padding: 5px;
    border-radius: 50%;
    width: 39px;
    height: 37px;
    z-index: 100;
    overflow: visible;
    border: 2px solid #fafafa;
    color: white;
}
.close .ie7 {
  filter: progid:DXImageTransform.Microsoft.Shadow(color='#000', Direction=135, Strength=3);
}
.close:hover {
  -moz-transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;	
	background: #3a5b7a!important;
	color: white;
	
}
.fineprint {
  font-style: italic;
  font-size: 10px;
  color: #646;
}
a {
  color: #333;
  text-decoration: none;
}


.hide {
	display:none!important;
}


/*==================================== 
  IE 10 % 11 STYLES
=====================================*/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

/* header */
header.header.is-transparent {
    position: absolute!important;
	}	

header.header.is-transparent.stuck {
    background-color: transparent!important;
	}		
}



@media only screen and (min-width: 1170px) and (max-width: 1420px) {
	.grid-3col figcaption h3 {
		font-size: 22!important;
	}
	
	.column-nopad {
		padding: 10px;
	}
	
	.OpenMyModal {
		left: -40px;
	}
	
}


@media only screen and (min-width: 840px) and (max-width: 1169px) {
	.grid-3col figcaption h3 {
		font-size: 25px!important;
	}
	
	.column-nopad {
		padding: 10px;
	}
	
	.OpenMyModal {
		left: -100px!important;
	}
}

