﻿/*  
    ----------------------
    DEFAULT TAGS
    ----------------------
*/

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #191c1f;
  background-color: #f5f5f5;
  overflow-x: hidden;
}

::selection {
	background: #D1EB18;
	color: #fff;
}

h1,h2,h3 {
    line-height: 35px;
}
h1,h2,h5,h6 {
    color: #383838;
}

h1 { font-size: 20px; text-align: center; margin-bottom: 40px;}
h2,.fauxH2 { font-size: 30px; text-align: center; margin-bottom: 30px;}
h3 { font-size: 16px; font-weight:bold; color: #3d7185;}
h4 { font-weight:bold; color: #3d7185;line-height: 35px;}
h4,h5,h6 { font-size: 14px; }
.fauxH2 { margin-top: 100px; }
a {
    color: #58C0E5;
    font-size: 14px;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    line-height: 22px;
}

strong, b {
    font-weight: bold;
}

em, i {
    font-style: italic;
}

table,
table tr td {
    border: 1px solid;
}

input[type=text], textarea, select {
    background: #d5d5d5; /* Old browsers */
    border: none;
    box-shadow: inset 1px 1px 0 0 #aaa;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    padding: 10px;
    font-size: 15px;
    line-height: 20px;
    box-sizing: border-box;
    color: #191c1f;
    outline: none;
    width: 100%;
    border-radius: 6px;
    max-width: 400px;
    margin-bottom: 10px;
}
    ::-webkit-input-placeholder { color: #999; font-style: italic; }
    ::-moz-placeholder { color: #999; font-style: italic; }
    input:-moz-placeholder { color: #999; font-style: italic; }
    ::-ms-input-placeholder { color: #999; font-style: italic; }

.submit {
    max-width: 400px;
    width: 100%;
    padding: 20px;
    line-height: 20px;
    margin-bottom: 30px;
    border-radius: 6px;
    background-color: #62D5FF;
    font-size: 20px;
    color: #fff;
    display: block;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none !important;
}

    .submit:after {
        margin-left: 10px;
        font-family: fontawesome;
        content: '\f1d8';
    }

    .submit:hover{
        cursor: pointer;
        background-color: #58C0E5;
    }
textarea {
    min-height: 150px;
}

.form {
    display: inline-block;
    margin: 0 auto;
    max-width: 400px;
    text-align: left;
    width: 100%;
}

img[style*='float:right'] { clear: right; }



/*  
    ----------------------
    GENERIC CLASSES
    ----------------------
*/

.error {
    color: #fb3803;
    font-size: 14px;    
}

.button,
.button .fa {
    transition: all 50ms ease-in-out;
}

.button {
    border: 2px solid #231f20;
    border-radius: 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    color: #191c1f;
    display: inline-block;
    font-weight: 600;
    min-height: 40px;
    line-height: 40px !important;
    margin: 0;
    outline: none;
    padding: 0 30px;
    position: relative;
    top: 0;
    cursor: pointer;
    text-align: center;
    transition: background-color 350ms, color 50ms, top 200ms cubic-bezier(0.64, 0.57, 0.67, 1.53);
    text-decoration: none !important;
}
    .button:hover {
        background-color: #231f20;
        color: #fff;
    }
    .button:active {
        top: -5px;
        outline: none;
    }

.iconButton {
    padding: 5px;
    width: 30px;
    display: inline-block;
    text-align: center;
    line-height: 0 !important;
    height: 30px; 
    min-height: 0;
}

.divider {
    clear: both;
    width: 100%;
    display: block;
    float: none;
    height: 5px;
    margin: 30px 0 0 0;
    border-top: 1px solid #595959;
}
    .divider.black { border-color: #231f20; }
    .divider.lightGrey { border-color: #dbdbdb; }
    
.bordered {
    padding: 3px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.spacingRight {
    margin-right: 20px !important;
}

/*  
    ----------------------
    HEADER
    ----------------------
*/

#header {
    width: 100%;
    background-color: #fff;
    position: fixed;
    z-index:999;
    height: auto;
    top: 0;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}    

#header .logo {
    display: block;
    margin-top: 25px;
    height: 45px;
    line-height: 45px;
    max-width: 376px;
}

#header .logo img {
    vertical-align: middle;
}

/*  
    ----------------------
    NAVIGATION
    ----------------------
*/

#navigation.fixed {
    position: fixed;
    width: 100%;
}

.menuIcon {
    display: block;
    cursor: pointer;
    width: 38px;
    height: 27px;
    float:right;
    margin-top: 35px;
    background: url("../img/icons/ico-menu.png") no-repeat center center;
}

#menu {
    display: none;        
    text-align: center;
    position: relative;
    z-index: 99999;
    display: none;
}
#menu ul {
    width: auto;
    margin-top: 35px;
    margin-bottom: 20px;        
}
#menu ul li {
    position: relative;
    margin: 0;
    transition: all 0.3s linear;
    text-align: left;
}
 #menu ul li.hasUL:before {
    font-family: 'FontAwesome';
    content: '\f054';
    float: right;
    margin: 5px 10px 0 0;
    color: #fff;
}

#menu ul li:hover ul {
    left: 0;
}
#menu ul li.active.hasUL:before {
    font-family: 'FontAwesome';
    content: '\f078';
    float: right;
    margin: 5px 10px 0 0;
    color: #fff;
}

 #menu ul li.active a{
    background-color: #383838;
    color: #fff;
}

#menu ul li a {
    color: #383838;
    display: block;
    height: 100%;
    box-sizing: border-box;
    padding: 20px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s linear;
}                  
    #menu ul li a:hover {
        /*background-color: #383838;*/
        background-color: #D1EB18;
        color: #fff;
    }

#menu ul li ul {
    display: none;
    background-color: #231f20;
    height: auto;                    
}
    #menu ul li ul li {
        border: 0;                        
        float: none;
        text-align: left;
        display: block;
        padding-left: 10px;
    }
            #menu ul li ul li:first-child { 
            border: 0;                            
        }

            #menu ul li ul li:first-child a {
            border: 0;
        }

        #menu ul li ul li a {
            border: 0;
            display: block;
            width: 100%;
            text-align: left;
        }
            #menu ul li ul li a:hover {

            }


/*  
    ----------------------
    MODAL / OVERLAY
    ----------------------
*/

.overlay {
    background: rgba(0,0,0, 0.5);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    z-index: 1000000;
}

#modalOverlay {
    display: block;
}

#modal {
    background-color: #fff;
    position: fixed;
    width: 50%;
    padding: 20px;
    top: 50%;
    left: 50%;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 1000001;
    box-shadow: 2px 2px 10px 0 #444;
}

    #modal .buttons {
        text-align: center;
        margin: 10px 0 0 0;
    }

        #modal .buttons .button {
            margin: 0 5px 0 0;
        }

/*  
    ----------------------
    HERO
    ----------------------
*/

#hero #heroSlider {
    position: relative;
    margin-top: 100px;
    border-bottom: 5px solid #62D5FF;
}

#hero #heroSlider .slick-slide {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-position: center center;
    background-size: cover;    
}
    #hero #heroSlider .slick-slide img {
        width: 100%;
    }

    #hero #heroSlider .slick-slide p {
        display: none;
        background-color: rgba(0,0,0,0.5);
        box-sizing: border-box;
        padding: 15px;
        color: #fff;
        position: absolute;
        bottom: 20px;
        right: 8%;
        border-radius: 10px;
        font-size: 26px;
        max-width: 400px;
        line-height: 35px;
        font-weight: 300;
        text-align: center;
    }

#heroSlider .slick-dots {
    bottom: 15px;
    display: inline-block;
    width: 100%;
}
    #heroSlider .slick-dots button:before {
        font-size: 70px;
        color: #fff;
    }


/*  
    ----------------------
    HERO - WIDE
    ----------------------
*/


#hero.wide #heroSlider .itemText {
    position: absolute;
    bottom: 20px;
    width: 100%;
}

#hero.wide #heroSlider .container {
    position: relative;
}

#hero.wide #heroSlider .slick-slide p {
    width: auto;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    position: static;
    font-size: 16px;
    font-weight: bold;
}

#hero.wide #heroSlider .slick-dots {
    background-color: #fff;
    padding: 10px;
    bottom: 0;
    width: 200px;    
}

#hero.wide #heroSlider .slick-dots li {
    width: 24px;
}

#hero.wide #heroSlider .slick-dots button {
    padding: 0;
}

#hero.wide #heroSlider .slick-dots button:before {
        font-size: 72px;
        color: red;   
        line-height: 22px;             
        border-radius: 50%;
        padding: 0;
    }



/*  
    ----------------------
    CONTENT
    ----------------------
*/

#content {
    padding: 30px 0;
    position: relative;
    background-color: #f5f5f5;
}
    #content p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    #content p,
    #content a {
        line-height: 22px;
    }

    #content table {
        width: 100% !important;
    }

    #content table tr th,
    #content table tr td{
        padding: 5px;
    }
	
	#contentArea img[style*=float] {
		float: none !important;
		display: block;
		margin: 20px auto;
	}

    ul.list {
        list-style: disc;
        margin-bottom: 25px;
        padding-left: 25px;
    }
        ul.list li {
        line-height: 22px;
        font-size: 14px;
    }

/* === Video Pods === */

.videoPod {
    margin: 10px auto 10px auto;
    max-width: 350px;
    height: 370px;
}

.videoPod img {
    display: block;
    margin: 0 auto 10px auto;
    max-height: 200px;
    border-radius: 4px;
}

.videoPod h3 {
    color: #3d7185;
    font-size: 14px;
    text-align: center;
    line-height: 20px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
}

.videoPod p {
    padding: 0 15px;
    color: #969696;
    display: inline-block;
}
.videoPod .videoLink {
    font-size: 16px;
    color: #58C0E5;
    text-decoration: none;
}
.videoPod .videoLink:hover {
    text-decoration: underline;
}

.popup-modal {
    outline: none;
    text-decoration: none !important;
}

/* === Form === */

.form .colRow .col {
  margin-bottom: 12px;
}
    .form .colRow .col .label,
    .form .colRow .col.label {
        position: relative;
        top: 10px;
        left: 5px;
        line-height: 20px;
    }

    .form .fa + input[type=text] {
        float: left;
        width: calc(100% - 42px);
        border-left: 0;        
    }

    .form .fieldIcon {
        float: left;
        border: 1px solid #ccc;
        display: block;
        height: 28px;
        background-color: #eee;
        width: 40px;
        font-size: 18px;
        text-align: center;
        padding: 9px 0 0 0;
    }

    .form .error {
        font-size: 14px;
    }

    .form .error[style*=inline] {
        float: left;
        font-size: 0;
    }

    .form .error[style*=inline] + input,
    .form .error[style*=inline] + .fa + input,
    .form .error[style*=inline] + .error + input,
    .form .error[style*=inline] + .error + .error + input,
    .form .error[style*=inline] + select,
    .form .error[style*=inline] + textarea {
        border: 1px solid #fb3803;
    }

    .label {
        padding: 0 10px 10px 0;
        color: #fff;
        font-size: 14px;
    }

/* === Sitemap === */

#siteMap ul li {
    padding: 0 0 8px 20px;
    text-indent: -1em;    
    line-height: 22px;
    margin: 0 0 0 15px;
}



/*  
    ----------------------
    SOCIAL FOOTER
    ----------------------
*/

#social {
    padding-bottom: 20px;
}

#social h3 {
    font-size: 25px;
    text-align: center;
}

.connectIcon {
    width: 80px;
    height: 80px;
    border-radius: 50px;
    border: 3px solid #ddd;
    position: relative;
    display: inline-block;
}

.connectIcon:after {
    content:"";
    width: 72px;
    height: 72px;
    margin: 4px;
    border-radius: 40px;
    background-color: #ddd;
    display:block;
    position: absolute;
    top: 0;
}

.connectIcon:hover:after {
    background-color: #fff;
}
.connectIcon:hover {
    border-color: #fff;
}

.connectIcon i {
    color: #383838;
    font-size: 60px;
    display: block;
    z-index: 10;
    position: absolute;
}
.connectIcon .fa-twitter {
    top: 25px;
    left: 14px;
}
.connectIcon .fa-facebook {
    top: 24px;
    left: 21px;
}
.connectIcon .fa-vimeo {
    top: 26px;
    left: 10px;
}

.connectLink {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 30px;
    width: 120px;
}

.connectLink p {
    margin: 20px 0;
}

.connectLink a {
    font-weight:600;

}

/*  
    ----------------------
    FOOTER
    ----------------------
*/

#footer {
    background: #383838;
    padding: 20px 0 0 0;
}

    #footer p{
        font-size: 14px;
        line-height: 20px;
        color: #fff;
    }

    #footer #footerLower a {
        color: #fff;
        font-size: 14px;
    }

    #footer #footerLower {
        padding: 10px 0 10px 0;
        border-top : 1px solid #595959;
        background: #282828;
        margin-top: 40px;
    }

hr {
    padding: 0;
    margin: 20px 0 40px 0;
    border: none;
    border-top: 3px solid #555;
}

.strapline p {
    font-size: 20px !important;
    text-align: center;
    margin-bottom: 40px;   
    color: #383838;   
    line-height: 35px !important;
}

#team {
    padding-bottom: 20px;
}

#team img {
    border-radius: 4px;
}
.teamPos {
    color: #969696;
    font-style:italic;
    display: inline-block;
    margin-bottom: 20px;
    width: 100%;
}

.teamLeft {
    padding: 0 30px 0 40px;
}

.teamRight {
    padding: 0 40px 0 30px;
}

.postText {
    margin: 0 0 5px 0 !important;
    font-size: 14px !important;
}

.postDate {
    font-size: 12px;
    font-style: italic;
    color: #969696;
    clear: both;
}

.postIconTwitter:before {
    font-family: 'FontAwesome';
    content: '\f099';
    font-size: 20px;
    line-height: 22px;
}

.postIconFacebook:before {
    font-family: 'FontAwesome';
    content: '\f230';
    font-size: 20px;
    line-height: 22px;
}

.postImage {
    max-width: 350px;
    height: 200px;
    margin: 5px 0 10px 0;
    background-size:cover;
    background-position: center;
    border-radius: 4px;
}

div.socialBreak{ 
    height:100%;
    padding-top: 10px;
    width:100%;
    box-sizing: border-box;
    position: absolute
}

span.socialBreak{    
    margin: 0 auto;
    display: block;
    background-color: #969696;
    height:100%;  
    width: 1px;  
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.post li:after {
    content: '';
    width:50%;
    display:block;
    border-bottom: 1px solid #969696;
    margin: 0 auto;
    margin-top: 15px;
}

.post li:last-child:after{
    display: none;
}

.popup-block {
    background: #FFF;
    text-align: left;
    width:90%;
    height: 90%;
    margin: 40px auto;
    position: relative;
}

.popup-video {
    width: 50%;
    height:100%;
    float:left;
    clear:left;
    background-color: #000;
}
.popup-text {
    width: 50%;
    height:100%;
    float:left;

    box-sizing: border-box;
    padding: 0 20px 20px 20px;
    overflow-y: auto;
    border-top: 45px solid transparent;
}
.popup-text p {
    font-size: 14px;
}
.mfp-content {
    height: 100% !important;
    overflow:hidden;
}

/*.mfp-close {
    width:40px;
    height:40px;
    background-color: #B7E6FA !important;
    opacity: 1 !important;
}*/

.mfp-close {
    width:40px;
    height:40px;
    background-color: #B7E6FA !important;
    opacity: 1 !important;
    border-radius: 0 0 7px 7px;
    line-height: 40px;
    font-size: 40px;
    right: 10px;
    color: #555 !important;
    transition: background ease 300ms;
}

    .mfp-close:hover {
            background-color: #D1EB18 !important;
    }

.mfp-close:active {
    top: 0 !important;
}

.popup-modal-dismiss:hover {
    background-color: #a4cfe1;
}

.my-mfp-zoom-in .popup-block {
	opacity: 0;
	-webkit-transition: all 0.2s ease-in-out; 
	-moz-transition: all 0.2s ease-in-out; 
	-o-transition: all 0.2s ease-in-out; 
	transition: all 0.2s ease-in-out; 
	-webkit-transform: scale(0.8); 
	-moz-transform: scale(0.8); 
	-ms-transform: scale(0.8); 
	-o-transform: scale(0.8); 
	transform: scale(0.8); 
}
.my-mfp-zoom-in.mfp-ready .popup-block {
	opacity: 1;
	-webkit-transform: scale(1); 
	-moz-transform: scale(1); 
	-ms-transform: scale(1); 
	-o-transform: scale(1); 
	transform: scale(1); 
}
.my-mfp-zoom-in.mfp-removing .popup-block {
	-webkit-transform: scale(0.8); 
	-moz-transform: scale(0.8); 
	-ms-transform: scale(0.8); 
	-o-transform: scale(0.8); 
	transform: scale(0.8); 
	opacity: 0;
}
.my-mfp-zoom-in.mfp-bg {
	opacity: 0;
	-webkit-transition: opacity 0.3s ease-out; 
	-moz-transition: opacity 0.3s ease-out; 
	-o-transition: opacity 0.3s ease-out; 
	transition: opacity 0.3s ease-out;
}
.my-mfp-zoom-in.mfp-ready.mfp-bg {
	opacity: 0.8;
}
.my-mfp-zoom-in.mfp-removing.mfp-bg {
	opacity: 0;
}