/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
    .text_slider {
        margin-top: 40px;
        height: 250px;
        width: 38%;
    }

    .text_block {
        margin-top: 60px;
    }

    .form_slider {
        margin-top: 120px;
    }

    .properties .box {
        width: 47%;
        margin-left: 15px;
    }

    .properties .box {
        width: 47%;
        margin-left: 15px;
    }

    .expert {
        height: 212px;
    }

    .expert h4 {
        padding-top: 0;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {

    .main_navigation ul li {
        float: left;
        margin-right: 25px;
        text-transform: uppercase;
        margin-top: 10px;
    }

    .follow_button p {
        padding: 0px;
        float: left;
        margin: 0px;
        display: none;
    }

    .follow_button {
        width: 90px;
    }

    .follow_button ul li {
        margin-right: 5px;
        margin-top: 3px;
    }

    .follow_button ul li a {
        background-color: #979694;
        height: 25px;
        width: 25px;
        display: block;
    }

    .text_slider {
        padding-left: 8%;
        margin-top: 10px;
        height: 210px;
        width: 36%;
    }

    .text_block {
        margin-top: 0px;
        padding-left: 4%;
    }

    .text_block h1 {
        text-transform: uppercase;
        font-weight: 400;
        font-size: 26px;
    }

    .form_slider {
        margin-top: 80px;
        right: 4%
    }

    .form_slider select {
        width: 20%;
        height: 30px;
        font-size: 13px;
        margin-left: 5%;
    }

    .form_slider input {
        width: 40%;
        height: 30px;
        font-size: 13px;
    }

    .form_slider button {
        height: 30px;
    }

    .rslides1_tabs {
        right: 4%;
    }

    .rslides1_tabs li {
        width: 10px;
        height: 10px;
        margin-right: 3px;
    }

    .expert {
        height: 333px;
    }

    .expert h4 {
        padding-top: 40px;
    }

}

/* Small Devices, Tablets */
@media screen and (max-width: 769px) and (min-width: 767px) {

}

@media only screen and (max-width: 767px) {
    .top_header img {
        height: 80px;
        padding-top: 7px;
    }

    .top_header p {
        margin-top: 20px;
    }

    .text_slider {
        padding-left: 8%;
        margin-top: 0px;
        height: 200px;
        width: 45%;
    }

    .text_block {
        margin-top: 0px;
        padding-left: 1%;

    }

    .text_block h1 {
        text-transform: uppercase;
        font-weight: 400;
        font-size: 26px;
        margin-top: 10px;
    }

    .form_slider {
        width: 50%;
        margin-top: 70px;
        right: 1%
    }

    .form_slider select {
        width: 16%;
        height: 30px;
        font-size: 13px;
        margin-left: 4%;
    }

    .form_slider input {
        width: 40%;
        height: 30px;
        font-size: 12px;

    }

    .form_slider button {
        height: 30px;
    }

    .rslides1_tabs {
        right: 4%;
    }

    .rslides1_tabs li {
        width: 10px;
        height: 10px;
        margin-right: 3px;
    }

    .main_navigation {
        display: none;
    }

    .main_navigation1 {
        display: block;
        background-color: #efefef;
    }

    .main_navigation1 ul {
        padding-left: 1%;
        padding-right: 1%;
        margin-top: 10px;

    }

    .main_navigation1 ul li {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding-bottom: 10px;
        padding-top: 10px;
        margin-bottom: 2px;
        text-transform: uppercase;
        background-color: #fff;
    }

    .main_navigation1 ul li a {
    	display: inline-block;
    	width: 100%;
        color: #1a120f;
        font-weight: 400;
        font-size: 18px;
    }

    .main_navigation1 ul li:hover {
        background-color: rgba(249, 6, 6, 0.1);
        box-shadow: 0 0 5px rgba(205, 17, 17, 0.3);
    }

    .follow_button {
        width: 100px;
        margin-right: 43%;
        margin-top: 10px;
    }

    .follow_button p {
        display: inline;
        font-size: 12px;
        width: 110px;
        text-align: center;
    }

    .follow_button ul {
        margin: 0 auto;
        width: 110px;
        display: block;
        margin: 0px;
        height: 70px;
    }

    .follow_button ul li {
        float: left;
        width: 30px;
        height: 30px;
        padding: 1px;
    }

    .follow_button ul li a {
        width: 30px;
        height: 30px;
    }

    div .properties {
        padding: 40px 15px;
    }

    .properties .box {
        width: 100%;
        margin: 5px 0;
    }

    .clients {
        text-align: center;
    }

    .links {
        text-align: center;
    }

    .first_two {
        height: 300px;
    }

    .expert {
        height: 246px;
    }

    .products .box2 {
        padding-left: 15px;
    }

    .expert img {
        margin-right: 10px;
    }

    .colum .spec li {
        margin-left: 0;
    }

    .copiright {
        text-align: center;
    }

    .copiright ul {
        display: inline-block;
        padding-left: 0;
        float: none;
    }

    footer {
        margin: 0 auto;
        text-align: center;
    }

    footer h3 {
        width: 100%;
    }

    footer p {
        margin-left: 0px;
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    footer ul {
        display: inline-block;
        margin: 0 auto;
        margin-top: 10px;
    }

    
}

/*==========  Media for a SLIDER ==========*/
@media only screen and (max-width: 670px) {
    .slider {
        overflow: hidden;
    }

    .rslides1_tabs {
        display: none;
        z-index: 0;
    }

    .text_slider {
        width: 100%;
    }

    .text_block {
        width: 100%;
        float: left;
    }

    .text_block h1 {
        text-align: center;
    }

    .text_block p {
        width: 100%;
    }

    .form_slider {
        display: block;
        width: 96%;
    	margin-right: 2%;
        margin-top: 100px;
        right: 0%;
    }

    .form_slider select {
        width: 30%;

    }

    .main_navigation1 {
        position: relative;
        z-index: 15;
   	}
   	.clients {
    	line-height: 150px;
    }

    .clients h2 {
        text-align: center;
        display: inline;
        width: 100%;
        margin-top: 50px;
    }

    .firstico {
        border-left: none;
        padding-left: 0;
    }

    .colum ul .special {
        float: none;
    }

	.colum ul li p {
    	display: inline;
    }

    .colum ul li i {
    	display: inline-block;
    	width: 100%;
        font-size: 22px;
        float: none;
    }
    #slides {
        overflow: hidden;
        position: relative;
        width: 100%;
        height: 200px;
    }
    #slides ul {
        list-style: none;
        width: 100%;
        height: 200px;
        margin: 0;
        padding: 0;
        position: relative;
    }

    #slides li {
        width: 100%;
        height: 200px;
        float: left;
        text-align: center;
        position: relative;
        font-family: lato, sans-serif;
    }

}

@media only screen and (max-width: 517px) {
    .form_slider {
        padding-top: 3px;
        padding-bottom: 2px;
    }

    .form_slider select {
        margin-left: 2%;
        width: 25%;
    }

    .expert {
        margin: 0 auto;
        height: 580px;
    }

    .expert .houses {
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .half2 {
        text-align: center;
    }

    .half2 ul li {
        display: inline-block;
        text-align: center;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
    .text_block h1 {
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 18px;
    }

    .form_slider {
        display: block;
        margin-top: 80px;
        right: 0%;
    }

    .top_header img {
        padding-top: 10px;
        height: 90px;
        display: block;
        margin: 0 auto;
    }

    .top_header p {
        display: block;
        text-align: center;
        float: none;
    }

    .text_block p {
        line-height: 1.1em;
    }

    .top_header p i {
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .number {
        font-size: 15px;
    }

    .follow_button {
        margin-right: 40%;
    }

}

/* Custom, iPhone Retina */
@media only screen and (max-width: 390px) {
    .form_slider {
        margin-top: 40px;
    }
    .form_slider input {
    	width: 35%;
    }
    .form_slider button {
    	width: 35px;
    }
    .text_block p {
       display: none;
    }

    .top_header p i {
        font-size: 12px;
    }

    .number {
        font-size: 15px;
    }

    .follow_button {
        margin-right: 34%;
    }

    .feedback img {
        height: 40px;
    }

    .firstico {
        border-left: none;
        padding: 0px;
    }
}

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {

}

@media only screen and (min-width: 2200px) {

}