
/*********** INFORMATION *****************************

- document:  SlideIt - CSS3 fixed sliding elements
- element:   Social Connect - Bottom Right
- author:    Capelle @ Codecanyon
- profile:   http://codecanyon.net/user/Capelle

*****************************************************/


/*  ==================
    1. FONTS
    ==================  */

/** 1.1. Fonts ***************/

/* Delete this import if you're changing the font family */
/* Font Awesome icons */

/*  ==================
    2. RESET
    ==================  */

@import "/css/c4f949e182b190b13f2f3ad47e46fab2/fa.min.css";
	/***** Body reset *****/


/* === Note === Delete this body reset - it's for demo purpouses only */

/***** Item reset *****/

#slideit {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: 300;
	font-style: normal;
	font-size: 100%;
	font-family: 'Lato', sans-serif; /* Edit this if you want to match the font with your template design */
	vertical-align: baseline;
	line-height: normal;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
#slideit a {
	text-decoration: none;
}
#slideit label {
	cursor: pointer;
}
#slideit input[type="radio"] {
	display: none;
}
/* === Note === If you experience issues with reset above, please adjust the selectors and values according to your template/website.
When adjusting the reset is adviced to check up the elements on your page, as they might distort. */


/*  ==================
    3. MAIN STYLES
    ==================  */

#slideit {
	z-index: 99999; /* Keep the item above all other elements on the page */
	position: fixed;
	width: 300px; /* Width of the wrapper of the section. Adjust this value if you want wider elements */
	bottom: 0; /* Vertical position of the elements */
	right: 4%; /* Horizontal position of the elements */
}

/***** Main styles *****/

#slideit section {
	margin: 0;
	overflow: hidden;
	width: 100%;
	height: auto;
	left: 0;
	bottom: 0;
	position: absolute;
	z-index: 10;
	background: #ffffff;
	border-radius: 12px 12px 0 0;
	border-top: 1px solid #999B9E;
	border-bottom: 4px solid #999B9E;
	border-left: 1px solid #999B9E;
    border-right: 1px solid #999B9E;
	-webkit-backface-visibility: hidden; /* Webkit transition hack */
}
#slideit section,
#slideit input#close-item:checked ~ section {
	/* Section position when closed */
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	-o-transform: translateY(100%);
	transform: translateY(100%);
}
#slideit input#open-item:checked ~ section {
	/* Section position when opened */
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
	transform: translateY(0);
}
#slideit section .wrap {
	padding: 30px;
	position: relative;
	float: left;
	width: 100%;
}
#slideit span.title {
	font-size: 24px;
	padding: 10px 30px;
	
	color: #fff;
	background: #142846;
	text-transform: uppercase;
	display: block;
	width: 100%;
}
#slideit .w-45 {
	width: 45%;
	display: inline-block;
	float: left;
}
#slideit .m-10 {
	margin-right: 10%;
}

/***** Social links *****/

#slideit .links a {
	color: #bbb;
	font-size: 12px;
	display: block;
	margin: 18px 0;
}
#slideit .links a:first-of-type,
#slideit .links a:last-of-type {
	margin: 0;
}
#slideit .links a:hover {
	color: #222;
}
#slideit .icon {
	font-family: "FontAwesome";
	font-style: normal;
	font-weight: normal;
}
#slideit .links a span {
	background: #ddd;
	color: #fff;
	font-size: 12px;
	text-align: center;
	display: inline-block;
	width: 22px;
	height: 22px;
	line-height: 22px;
	margin-right: 6px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}
#slideit a.fb:hover span {
	background: #3b5998;
}
#slideit a.tw:hover span {
	background: #479bcf;
}
#slideit a.gp:hover span {
	background: #333;
}
#slideit a.fc:hover span {
	background: #0063DC;
}
#slideit a.ig:hover span {
	background: #4e7ca1;
}
#slideit a.pt:hover span {
	background: #cb2027;
}
#slideit a.gh:hover span {
	background: #222;
}
#slideit a.dr:hover span {
	background: #ea4c89;
}
#slideit a.yt:hover span {
	background: #cc181e;
}
#slideit a.bb:hover span {
	background: #205081;
}

/***** Labels *****/

#slideit label.open,
#slideit label.close {
	text-align: center;
	position: absolute;
}
#slideit label.open {
    font-size: 20px;
    color: #ffffff;
    background: #142846;
    width: 210px;
    bottom: -50px;
    left: 0;
    right: 0;
    top: auto;
    margin: 0 auto;
    padding: 12px 0px 12px 0px;
    text-transform: uppercase;
    z-index: 1;
    border-radius: 14px 14px 0 0;
	border-left: 1px solid white;
    border-top: 1px solid white;
    border-right: 1px solid white;
}
#slideit input#close-item:checked ~ label.open {
	bottom: 0;
}
#slideit label.open:hover,
#slideit label.open:focus {
	background: #222;
	color: #fff;
}
#slideit label.close {
    right: 30px;
    left: auto;
    top: 0;
    bottom: auto;
    font-size: 20px;
    background: #546278;
    color: #fff;
    width: 24px;
    z-index: 999;
    border-radius: 0 0 5px 5px;
    padding-bottom: 1px;
    opacity: .7;
}
#slideit label.close:hover,
#slideit label.close:focus {
	background: #A9B0BB;
}

/***** Transitions *****/

#slideit label,
#slideit a,
#slideit a span {
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}
#slideit section {
	-webkit-transition: all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
	-moz-transition: all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
	-ms-transition: all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
	-o-transition: all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
	transition: all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
}
#slideit input#close-item:checked ~ label.open {
	-webkit-transition: bottom 0.3s ease 0.4s, background 0.1s ease, color 0.1s ease;
	-moz-transition: bottom 0.3s ease 0.4s, background 0.1s ease, color 0.1s ease;
	-ms-transition: bottom 0.3s ease 0.4s, background 0.1s ease, color 0.1s ease;
	-o-transition: bottom 0.3s ease 0.4s, background 0.1s ease, color 0.1s ease;
	transition: bottom 0.3s ease 0.4s, background 0.1s ease, color 0.1s ease;
}


/*  ==================
    4. MEDIA QUERIES
    ==================  */

/***** Max width 420px *****/

@media screen and (max-width:420px){
	#slideit {
		width: 100%;
		left: 0;
	}
}

/***** Skin Scroll Up Button Adjustments *****/

	div#to_top {
    	bottom: 5px;
	}

@media only screen and (max-width: 768px){
	div#to_top {
    	right: 5px;
    	bottom: 5px;
	}
}

/***** Mobile-Tablet Height Adjustments *****/

#slideit section .wrap {
	max-height: 90vh;
	overflow-y: auto;
}

@media screen and (max-height:888px){
	#slideit section .wrap {
        overflow-y: scroll;
	}
	        #slideit section .wrap::-webkit-scrollbar {
  width: 15px;
}
 
#slideit section .wrap::-webkit-scrollbar-thumb {
  background: #9a9a9a;
}

#slideit section .wrap::-webkit-scrollbar-track {
  background: #ddd;
}

#slideit section .wrap::-webkit-scrollbar-button {
  background: #9a9a9a;
  height: 15px;
  border-radius: 50%;
}
}

@media only screen and (max-height: 888px) and (min-height: 737px){
	#slideit section .wrap {
	    height: 592px;
	}
}

@media only screen and (max-height: 737px) and (min-height: 668px){
	#slideit section .wrap {
	    height: 492px;
	}
}

@media only screen and (max-height: 668px) and (min-height: 568px){
	#slideit section .wrap {
	    height: 446px;
	}
}

@media only screen and (max-height: 568px) and (min-height: 480px){
	#slideit section .wrap {
	    height: 378px;
	}
}

@media only screen and (max-height: 480px) and (min-height: 400px){
	#slideit section .wrap {
	    height: 320px;
	}
}

@media only screen and (max-height: 400px){
	#slideit section .wrap {
	    height: 280px;
	}
}
