/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {


}
html { overflow-x: hidden; }
body { overflow-x: hidden; }

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	#menu ul {
		background-color: #3797bf;
		display: none;
		position: absolute;
		width: 100%;
		z-index: 999;
	}
	#menu ul li {
		display: block;
	}
	.servicesblog {
		margin: 50px auto;
		float: none;
	}
	.prblog {
		margin: 30px auto;
		float: none;
		font-size: 1em;
		width: 100%;
	}
	.prblog2 {
		margin: 30px auto;
		float: none;
		font-size: 1em;
		width: 100%
	}
	
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

.portbutton {
    width: 211px;
    outline: 0px solid #cc0000;
    margin: 2px 0px;
}

.recommendimg{
	outline: 0px solid #cc0000;
	margin: 0 auto;
	padding:25px 0px;
	width:768px;
	float: left;	
}
.recommendimg img {
 -webkit-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
-moz-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
    margin: -6px 10px 20px 43px;
    width: 50%;
    float: left;



	
}


.portfolioimg img {
 -webkit-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
-moz-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
width:100%;
height:100%;
	
}


.projectopisanie {
    float: right;
    border: 0px solid #000;
    width: 450px;

    position: relative;
    top: 0;
    left: 0;
    padding: 5px 55px 5px 5px;
}

.portfolioimg {
    outline: 0px solid #cc0000;
    margin: 0 0 0 249px;
    padding: 25px 0px;
    width: 442px;
    float: left;
}

.projectname {
    float: right;
    border: 0px solid #000;
    width: 444px;
    height: 170px;
}

.portfolio {
    outline: 0px solid #cc0000;
    margin: 0 0px 0 123px;
    padding: 21px 0px;
}

.header {
    background-image: url(../img/phoneheader1.jpg);
    background-repeat: repeat-x;
    background-position: top center;
    width: 100%;
    background-size: cover;
    position: relative;
    padding-bottom: 200px;
}
	
	
	.headercontact {
		margin: auto;
		float: right;

	}
	.contactsblog {
		margin: 15px auto;
		float: none;
	}
		.zaivkacontent span input {
	    width: 214px;
	    padding: 13px 31px;
	    font-family: "HelveticaNeue";
	    color: #fff;
	    font-size: 17px;
	    text-transform: uppercase;
	    box-shadow: none;
	    box-shadow: 1px 3px 7px -5px rgba(0, 0, 0, 0.88);
	    background: linear-gradient(to top, #2390dc, #2673a7);
	    background: -moz-linear-gradient(#2390dc, #2673a7);
	    margin: 10px 3% 0;
	}
	 .container1 {
		    width: 215px;
		    height: 49px;
		    float: right;
		    margin-top: 5px;
		    margin-right:0;
		    cursor: pointer;
		    margin-left: 10px;
		    float: left;
		}
		
		
		.logo img{
	
		
		
		}
		

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
.recommendimg {
    outline: 0px solid #cc0000;
    margin: 0 5px;
    padding: 15px 0px;
    width:747px;
    float: left;
}

.projectopisanie {
    float: right;
    border: 0px solid #000;
    width: 450px;
    position: relative;
    top: 0;
    left: 50px;
    padding: 5px 55px 5px 5px;
}

.projectopisanie p{
font-size:12px;
padding:10px 0 0 0;
font-family:Arial;
margin-left:-43px;
width:296px;

}


.portfolio {
    outline: 0px solid #cc0000;
    margin: 0 0px 0 -43px;
    padding: 21px 0px;
    width:414px;

}

.portfolioimg img {
 -webkit-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
-moz-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
width:65%;
height:65%;
	
}

.projectname {
    float: right;
    border: 0px solid #000;
    width: 401px;
    height: 130px;
	font-size:12px;
}

h2, h4, h5, h6 {
    padding: 0;
    margin: 10px 0px 0 -42px;
	width:300px;
}

	.headercontact {
		float: left;
		width: 250px;
		font-size: 1em;
	}
	.headercontact p {
		font-size: 1.5em;
	}
	.logo img {
		width: 99%
	}
	.header h1 {
		font-size: 24px;
	}
	.privileges h1 {
		font-size: 1.5em;
	}
	.soticons h2 {
		font-size:17px;
	}
}



	.companyblog {
		margin: auto;
		float: none;
	}
	.companyblog2 {
		margin: auto;
		float: none;
	}
	.algoritmblog {
		margin: 15px auto;
		float: none;
	}
	.algoritmblog1 {
		margin: 15px auto;
		float: none;
	}
	header h1 {
		font-size: 28px;
	}
	.privileges h1 {
		font-size: 1.5em;
	}
	.soticons h2 {
		font-size:19px;
	}
	#menu {
		margin:auto;
		padding:0;
		width:100%;
		text-align:center;
	}
	.zaivkacontent span input {
	    width: 318px;
	    padding: 13px 15px;
	    font-family: "HelveticaNeue";
	    color: #fff;
	    font-size: 17px;
	    text-transform: uppercase;
	    box-shadow: none;
	    box-shadow: 1px 3px 7px -5px rgba(0, 0, 0, 0.88);
	    background: linear-gradient(to top, #2390dc, #2673a7);
	    background: -moz-linear-gradient(#2390dc, #2673a7);
	    margin: 10px 3% 0;
	}
	
	.zaivkacontent input {
    font-family: "HelveticaNeue";
    font-size: 18px;
    padding: 12px 10px;
    width: 318px;
    border-radius: 6px;
    margin: 5px 10px;
    border: none;
    box-shadow: -7px 12px 16px -12px rgba(0, 0, 0, 0.52) inset;
}

.upload > .btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 318px;
    height: 100%;
    background: #efefef;
    color: #555;
    border: solid 1px #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 1.5em;
    line-height: 43px;
    z-index: 0;
    cursor: pointer;
}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

.portbutton {
    width: 211px;
    outline: 0px solid #cc0000;
    margin: 2px 0px;
}
.portbutton a {
    padding: 17px 33px;
    background: linear-gradient(to top, #2390dc, #2673a7);
    background: -moz-linear-gradient(#2390dc, #2673a7);
    font-family: "HelveticaNeue";
    color: #fff;
    font-size: 17px;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 7px 7px 17px -8px #000000;
}
.portbutton a:hover {
	background: linear-gradient(to top, #0f5c91, #2673a7);
    transition: 5s;
    color: #C7C6C6;
}


.recommendimg {
    outline: 0px solid #cc0000;
    margin: 0 auto;
    padding: 15px 0px;
    width: 415px;
    float: left;
}

.projectopisanie {
    float: right;
    border: 0px solid #000;
    width: 450px;
    position: relative;
    top: 0;
    left: 50px;
    padding: 5px 55px 5px 5px;
}

.projectopisanie p{
font-size:12px;
padding:10px 0 0 0;
font-family:Arial;
margin-left:-43px;
width:296px;

}


.portfolio {
    outline: 0px solid #cc0000;
    margin: 0 0px 0 0px;
    padding: 0 0px;
    height: auto;

}

.portfolioimg img {
 -webkit-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
-moz-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
width:65%;
height:65%;
	
}

.projectname {
    float: right;
    border: 0px solid #000;
    width: 401px;
    height: 130px;
	font-size:12px;
}

h2, h4, h5, h6 {
    padding: 0;
    margin: 10px 0px 0 -42px;
	width:300px;
}

	.headercontact {
		float: left;
		width: 250px;
		font-size: 1em;
	}
	.headercontact p {
		font-size: 1.5em;
	}
	.logo img {
		width: 99%
	}
	.header h1 {
		font-size: 24px;
	}
	.privileges h1 {
		font-size: 1.5em;
	}
	.soticons h2 {
		font-size:17px;
	}
}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 360px) {


.portbutton {
    width: 211px;
    outline: 0px solid #cc0000;
    margin: 2px 0px;
}
.portbutton a {
    padding: 17px 33px;
    background: linear-gradient(to top, #2390dc, #2673a7);
    background: -moz-linear-gradient(#2390dc, #2673a7);
    font-family: "HelveticaNeue";
    color: #fff;
    font-size: 17px;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 7px 7px 17px -8px #000000;
}
.portbutton a:hover {
	background: linear-gradient(to top, #0f5c91, #2673a7);
    transition: 5s;
    color: #C7C6C6;
}


.recommendimg {
    outline: 0px solid #cc0000;
    margin: 0 auto;
    padding: 15px 0px;
    width: 496px;
    float: left;
}

.projectopisanie {
    float: right;
    border: 0px solid #000;
    width: 450px;
    position: relative;
    top: 0;
    left: 50px;
    padding: 5px 55px 5px 5px;
}

.projectopisanie p{
font-size:12px;
padding:10px 0 0 0;
font-family:Arial;
margin-left:-43px;
width:296px;

}


.portfolio {
    outline: 0px solid #cc0000;
    margin: 0 0px 0 0px;
    padding: 21px 0px;

}

.portfolioimg img {
 -webkit-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
-moz-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
width:65%;
height:65%;
	
}

.projectname {
    float: right;
    border: 0px solid #000;
    width: 401px;
    height: 130px;
	font-size:12px;
}

h2, h4, h5, h6 {
    padding: 0;
    margin: 10px 0px 0 -2px;
	width:300px;
}

	.headercontact {
		float: left;
		width: 250px;
		font-size: 1em;
	}
	.headercontact p {
		font-size: 1.5em;
	}
	.logo img {
		width: 99%
	}
	.header h1 {
		font-size: 24px;
	}
	.privileges h1 {
		font-size: 1.5em;
	}
	.soticons h2 {
		font-size:17px;
	}
}


}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 375px) {

.recommendimg {
    outline: 0px solid #cc0000;
    margin: 0 auto;
    padding: 15px 0px;
    width: 496px;
    float: left;
}

.projectopisanie {
    float: right;
    border: 0px solid #000;
    width: 450px;
    position: relative;
    top: 0;
    left: 50px;
    padding: 5px 55px 5px 5px;
}

.projectopisanie p{
font-size:12px;
padding:10px 0 0 0;
font-family:Arial;
margin-left:-43px;
width:296px;

}


.portfolio {
    outline: 0px solid #cc0000;
    margin: 0 0px 0 0px;
    padding: 21px 0px;

}

.portfolioimg img {
 -webkit-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
-moz-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.49);
width:65%;
height:65%;
	
}

.projectname {
    float: right;
    border: 0px solid #000;
    width: 401px;
    height: 130px;
	font-size:12px;
}

h2, h4, h5, h6 {
    padding: 0;
    margin: 10px 0px 0 -42px;
	width:300px;
}

	.headercontact {
		float: left;
		width: 250px;
		font-size: 1em;
	}
	.headercontact p {
		font-size: 1.5em;
	}
	.logo img {
		width: 99%
	}
	.header h1 {
		font-size: 24px;
	}
	.privileges h1 {
		font-size: 1.5em;
	}
	.soticons h2 {
		font-size:17px;
	}
}


}


/* Extra Small Devices, Phones */
@media only screen and (max-width : 414px) {



}
/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
	.header {
    background-image: url(../img/phoneheader1.jpg);
    background-repeat: repeat-x;
    background-position: top center;
    width: 77%;
    background-size: cover;
    position: relative;
    padding-bottom: 200px;
}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
	#menu ul {
		display: block !important;
	}
}

 /* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}