/*  
Theme Name:     Relsites
Theme URI:      http://relsites.com
Description: 	Relsites Theme
Author:         Ariel Hein
Author URI: 	http://relsites.com
Version:        5.6.4
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video,textarea,text {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
	box-sizing: border-box;
}
.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0; 
     } 
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

/* General */
html,body{
	min-height:100%;
} 
body{
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	line-height: 1;
	font-size: 32px;
	color: #ffffff;
	background-color: #a2c73b;
	text-align: center;
	height: 100vh;
	overflow: hidden;
}
h1, h2, h3, h4, h5, h6, strong {
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;
}
a {
	text-decoration:none;
}
a, a:hover, a:focus, input[type="submit"] {
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display:block;
}
/* animate css */
.animated {
    visibility: hidden;
    animation-fill-mode: none;
    -webkit-animation-fill-mode: none;
    -moz-animation-fill-mode: none;
    -o-animation-fill-mode: none;
    -ms-animation-fill-mode: none;
}
.visible {
    visibility: visible;
}
/* Grid */
.grid-wrapper{
	width:100%;
	max-width: 1507px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}
.flex{
	display:flex;
}
.flex-jc{
    display: flex;
    justify-content: space-between;	
}

/* header */
.header-wrapper {
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
    padding-bottom: 6vh;
    background-image: linear-gradient(0deg, transparent 24%, rgba(18,109,219, .20) 25%, rgba(18,109,219, .20) 26%, transparent 27%, transparent 74%, rgba(18,109,219, .20) 75%, rgba(18,109,219, .20) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(18,109,219, .20) 25%, rgba(18,109,219, .20) 26%, transparent 27%, transparent 74%, rgba(18,109,219, .20) 75%, rgba(18,109,219, .20) 76%, transparent 77%, transparent);
    background-size: 34px 34px;
    position: relative;
    z-index: 2;
    /* margin-bottom: -33vh; */
    height: 22vh;
}
header#masthead {
    height: auto;
    width: 100%;
    padding: 5px 0;
}
header#masthead > .flex {
    justify-content: end;
}
#logo {margin: 20px 0;max-width: 12vw;}
#logo a {
    display: inline-block;
}


/* Page General */
#main-content{}
.flex-for-desktop > div {
    width: 33.3333%;
}
.not-grid-wrapper {
    position: relative;
    top: -10vh;
}
.live-txt {
    text-align: right;
    width: fit-content;
    margin: 20px auto;
    font-size: 22px;
}
.entry-content > img {
    margin: 0 auto;
    max-width: 360px;
}
.entry-content h1 {
    font-weight: 800;
    font-size: 130%;
    margin-bottom: 1vh;
}
.entry-content h3 {  
    color: #000;
    font-weight: 400;
    background-color: #fff;
    box-shadow: 0.15em 0 0px #fff, -0.15em 0 0 #fff;
    display: inline; 
    line-height: 1.47em;
    padding: 0; 
}  
.slider {
    background-color: #fff;
    margin: 0;
    /*border-top: 10px solid #5034c7;
    border-bottom: 10px solid #5034c7;*/
    border-left: 16px solid #5034c7;
    border-right: 16px solid #5034c7;
    max-width: 25%;
} 
.slider .sl-itm {
    /*border-left: 5px solid #5034c7;
    border-right: 5px solid #5034c7;
    padding: 20px;
    box-sizing: border-box;*/
    border-top: 8px solid #5034c7;
    border-bottom: 8px solid #5034c7;
    padding: 0;
    box-sizing: border-box;
}
.slider .sl-itm img{
    margin: 0 auto;
}
.dt-l {
    position: relative;
}
.dt-l > img {
    position: absolute;
    width: 160%;
    z-index: -1;
    left: 0;
    top: -50%;
    max-width: initial;
}
.cf7-wrapper {
    background-color: #5034c7;
    width: 75%;
    margin: 0 auto;
    padding: 5px 10px 0;
    border-radius: 25px;
    max-width: 545px;
    position: relative;
}
form.wpcf7-form > div {
    margin-bottom: 5px;
}
.wpcf7-form-control-wrap input[type="text"] {
    width: 100%;
    font-size: 72%;
    border: 0 none;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    padding: 2px 10px;
    box-sizing: border-box;
}

.cf7-wrapper h3 {
    margin-bottom: 5px;
    font-size: 75%;
    padding: 10px 0;
}

.cf7-wrapper input[type="submit"] {
    color: #5034c7;
    font-size: 80%;
    display: block;
    margin: 20px auto 0;
    width: 70%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    background-color: #fff;
    border: 0 none;
    cursor: pointer;
}
.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 15px;
    font-weight: normal;
    display: block;
    position: absolute;
    left: 5px;
    top: 13px;
}
.wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 0;
    border: 0 none;
    font-size: 17px;
    position: absolute;
    width: 100%;
    right: 0;
    bottom: 10px;
}
.wpcf7 form.sent .wpcf7-response-output {
    position: fixed;
    right: 0;
    top: 0;
    width: 45vw;
    height: 45vh;
    z-index: 99;
    background-color: rgba(255,255,255,0.89);
    font-size: 50px;
    line-height: 45vh;
    color: #5034c7;
    bottom: 0;
    left: 0;
    margin: auto;
    box-shadow: 0px 0px 7px 2px rgba(0,0,0,0.2);
}
a#close-msg {
    position: absolute;
    right: 10px;
    top: -20vh;
    transform: rotate(45deg);
    color: #a2c73b;
}
.company-details-wrapper {
    margin: 10px auto 0;
    max-width: 55%;
    width: 470px;
}    
.comp_det {
    text-align: right;
    font-size: 63%;
    color: #000;
    font-weight: 700;
}
.comp_det a {
    color: #000;
}

img.deco1 {
    margin-bottom: 15px;
}
img.deco2 {
    max-width: 26%;
}
.company-details-wrapper .flex {
    justify-content: space-between;
    align-items: center;
}
.closer {
    position: relative;
    background: #fff;
    clip-path: polygon(100% 100%, 0% 100%, 0% 100%, 100% 0%);
    padding-top: 6vh;
    background-image: linear-gradient(0deg, transparent 24%, rgba(18,109,219, .20) 25%, rgba(18,109,219, .20) 26%, transparent 27%, transparent 74%, rgba(18,109,219, .20) 75%, rgba(18,109,219, .20) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(18,109,219, .20) 25%, rgba(18,109,219, .20) 26%, transparent 27%, transparent 74%, rgba(18,109,219, .20) 75%, rgba(18,109,219, .20) 76%, transparent 77%, transparent);
    background-size: 34px 34px;
    position: relative;
    z-index: 2;
    height: 22vh;
} 
.closer > a {
    position: absolute;
    right: 2vw;
    font-size: 59px;
    background-color: #1bd741;
    border-radius: 100%;
    width: 90px;
    height: 90px;
    line-height: 84px;
    color: #fff;
    text-align: center;
    bottom: 02vw;
}
.flex-for-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: calc(100vh - 44vh);
}
.ecm{display: none;}
.ecd{display: block;}
@media only screen and (max-width: 945px){
	.flex-for-desktop {
        display: block;
        height: auto;
    }
	.flex-for-desktop > div{
		width:100%;
		max-width: 100%;
		top: 0;
	}
	body {
		font-size: 15px;
		height: auto;
		overflow: auto;
	}
    .entry-content > img {
        margin: 10px auto 20px;
        max-width: 210px;
    }
	#logo {
		max-width: 35vw;
	}
	.header-wrapper {
		clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
		padding-bottom: 2vh;
		margin-bottom: 1vw;
		background-image: linear-gradient(0deg, transparent 24%, rgba(18,109,219, .20) 25%, rgba(18,109,219, .20) 26%, transparent 27%, transparent 74%, rgba(18,109,219, .20) 75%, rgba(18,109,219, .20) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(18,109,219, .20) 25%, rgba(18,109,219, .20) 26%, transparent 27%, transparent 74%, rgba(18,109,219, .20) 75%, rgba(18,109,219, .20) 76%, transparent 77%, transparent);
		background-size: 15px 26px;
		height: auto;
	}
    .slider {
        border-top: 2px solid #5034c7;
        border-bottom: 2px solid #5034c7;
        border-left: 0;
        border-right: 0;
        margin-bottom: 20px;
    }
    .slider .sl-itm {
        border-left: 4px solid #5034c7;
        border-right: 4px solid #5034c7;
        padding: 5px;
    }
	.slider .sl-itm img{
		max-height: 100px;
		width: auto;
	}
	form.wpcf7-form.init > div {
		margin-bottom: 5px;
	}   
    .closer {
        background-image: url(images/deco_footer.jpg);
        height: 30vw;
        background-position: 50% 0;
        background-color: #fff;
        background-repeat: repeat-x;
        margin: 20px 0 0;
        position: relative;
        background-size: cover;
        clip-path: none;
    }
    .closer > a {
        position: fixed;
        left: 3vw;
        bottom: 2vw;
        font-size: 10vw;
        background-color: #1bd741;
        border-radius: 100%;
        width: 15vw;
        height: 15vw;
        line-height: 15vw;
        color: #fff;
        text-align: center;
    }
    .wpcf7-not-valid-tip {
        color: #dc3232;
        font-size: 11px;
        font-weight: normal;
        display: block;
        position: absolute;
        left: 3px;
        top: 3px;
    }
    .wpcf7 form .wpcf7-response-output {
        font-size: 15px;
        position: relative;
    }
    .ecm{display: block;}
    .ecd{display: none;}
    header#masthead > .flex {
        justify-content: center;
    }
    #logo a{
        margin: 0 auto;
    }
    .wpcf7 form.sent .wpcf7-response-output {
        position: fixed;
        right: 0;
        top: 0;
        width: 95vw;
        height: 30vh;
        z-index: 99;
        background-color: rgba(255,255,255,0.89);
        font-size: 28px;
        line-height: 30vh;
        color: #5034c7;
        bottom: 0;
        left: 0;
        margin: auto; 
        box-shadow: 0px 0px 7px 2px rgb(0 0 0 / 20%);
    } 
    a#close-msg {
        right: 5px;
        top: -13vh;
    } 
    .wpcf7-form-control-wrap input[type="text"] {
        font-size: 90%;
        padding: 4px 10px;
    }
    .cf7-wrapper h3 {
        margin-bottom: 5px;
        font-size: 100%;
        padding: 10px 0;
    }
    .cf7-wrapper input[type="submit"] {
        font-size: 125%;
    }
}  

.grecaptcha-badge { 
    visibility: hidden;
}  


