/*************                   ******************/
/************** #info_service *******************/
/*************                   ******************/


.info_service {
    width: 100%;
    height: auto;
    padding-top: 60px;
}

.info_service h1 {
    color: #007bce;
    text-align: center;
    font-size: 1.6em;
    max-width: 1210px;
    width: 80%;
    margin: auto;
    font-weight: normal;
}

.info_service h2 {
    padding-top: 25px;
    color: #333;
}

.info_service h3 {
    color: #fff;
    font-weight: normal;
}

.info_service .info_services {
    width: 100%;
    height: auto;
    padding-top: 20px;
}

.info_service .info_services_grid {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1rem;

}

.info_service .info_services_item {
    position: relative;
    cursor: pointer;
    
}

.info_service .info_services_item a {
    text-decoration: none;
}

.info_service .info_services_item img {
    width: 100%;
    height: auto;
}

.info_service .info_img:hover {
    opacity: 0.95;
    /**transition: 0.4s;**/
    
}

.info_service h3:hover{
    background-color: rgba(90, 90, 90, 0.7);
}

.info_service .info_list {
    position: absolute;
    top: 83%;
    width: 100%;
    text-align: center;
    background-color: rgba(70, 70, 70, 0.7);
    font-size: 18px;
    padding: 0px; 
}

/*************                       ******************/
/************** เริ่มต้นการปรับแต่งหน้าจอ *******************/
/*************                       ******************/


/****** Kindle Fire HD 8.9" (800 x 1280) ย่อเมื่อจอน้อยกว่า 1280px******/ 
@media only screen and (max-width: 1280px){
}

/****** ย่อเมื่อจอน้อยกว่า 1200px พิเศษไม่ใช่ขนาดหน้าจอ******/
@media only screen and (max-width: 1200px){ 
}

/****** ย่อเมื่อจอน้อยกว่า 1100px พิเศษไม่ใช่ขนาดหน้าจอ******/
@media only screen and (max-width: 1100px){
    .info_service .info_list {
        top: 81%;
        font-size: 17.5px;
    }
}

/****** iPad Air (768 x 1024),Kindle Fire (600 x 1024) ย่อเมื่อจอน้อยกว่า 1024px*******/
@media only screen and (max-width: 1024px){
    .info_service .info_list {
        top: 80.5%;
        font-size: 17px;
    }

    .info_service h1 {
        font-size: 1.5em;
    }
}

/****** Galaxy Nexus 7 (603 x 966) ย่อเมื่อจอน้อยกว่า 966px*******/
@media only screen and (max-width: 966px){
    .info_service .info_list {
        top: 79.5%;
        font-size: 16.5px;
    }
    
}

/****** ปรับจออัตโนมัติ ในช่วง 966-853 เพื่อให้สมดุล ที่ระยะ 900px *******/ 
@media only screen and (max-width: 900px){
    .info_service .info_list {
        top: 79%;
        font-size: 16px;
    }
}

/****** Galaxy Note 4 (480 x 853),Kindle Fire HD 7" (533 x 853) ย่อเมื่อจอน้อยกว่า 853px*******/
@media only screen and (max-width: 853px){
    .info_service .info_list {
        top: 83%;
        font-size: 18px;
    }

    .info_service .info_services_grid {

        grid-template-columns: 1fr 1fr;
        grid-gap: 0.5rem;
        justify-items: center;
    }
}

/****** Galaxy Tab 2 10.1 (800 x 1280),Kindle Fire HD 8.9" (800 x 1280) ย่อเมื่อจอน้อยกว่า 800px*******/
@media only screen and (max-width: 800px){
    .info_service .info_list {
        top: 82.5%;
        font-size: 18px;
    }
}

/****** iPad Air (768 x 1024) ย่อเมื่อจอน้อยกว่า 768px*******/
@media only screen and (max-width: 768px){
    .info_service .info_list {
        top: 82%;
        font-size: 17.5px;
    }
}

/****** Iphone 6 Plus (414 x 736) ย่อเมื่อจอน้อยกว่า 736px*******/
@media only screen and (max-width: 736px){
    .info_service .info_list {
        top: 81.5%;
        font-size: 17px;
    }
}

/****** Nexus 6 (412 x 690) ย่อเมื่อจอน้อยกว่า 690px*******/
@media only screen and (max-width: 690px){
    .info_service .info_list {
        top: 80.5%;
        font-size: 17px;
    }
}

/****** Iphone 6 (375 x 667) ย่อเมื่อจอน้อยกว่า 667px*******/
@media only screen and (max-width: 667px){
    .info_service .info_list {
        top: 80%;
        font-size: 17px;
    }
}

/****** Galaxy S6 (360 x 640),Lumia 920 (384 x 640),Galaxy Note II (360 x 640) ย่อเมื่อจอน้อยกว่า 640px*******/
@media only screen and (max-width: 640px){
    .info_service .info_list {
        top: 79.5%;
    }
}

/****** Xperia Z3 (360 x 598),Kindle Fire (600 x 1024),Galaxy Nexus 7 (603 x 966) ย่อเมื่อจอน้อยกว่า 603px*******/
@media only screen and (max-width: 603px){
    .info_service .info_list {
        top: 78.5%;
        font-size: 16px;
    }
}

/****** Iphone 5 (320 x 568) ย่อเมื่อจอน้อยกว่า 568px*******/
@media only screen and (max-width: 568px){
    .info_service .info_list {
        top: 78%;
        font-size: 15px;
    }
}

/****** Kindle Fire HD 7" (533 x 853) ย่อเมื่อจอน้อยกว่า 533px*******/
@media only screen and (max-width: 533px){
    .info_service .info_list {
        top: 78%;
        font-size: 14px;
    }
}

/****** Iphone 4 (320 x 480),Galaxy Note 4 (480 x 853) ย่อเมื่อจอน้อยกว่า 480px*******/
@media only screen and (max-width: 480px){
    .info_service .info_list {
        top: 77%;
        font-size: 14px;
    }

}

/****** Nexus 6 (412 x 690),Iphone 6 Plus (414 x 736) ย่อเมื่อจอน้อยกว่า 414px*******/
@media only screen and (max-width: 414px){
    .info_service .info_list {
        top: 83%;
        font-size: 18px;
    }

    .info_service h1 {
        font-size: 1.45em;
    }
    
    .info_service .info_services_grid {

        grid-template-columns: 1fr;
        grid-gap: 0.5rem;
        justify-items: center;
    }
}

/****** Lumia 920 (384 x 640) ย่อเมื่อจอน้อยกว่า 384px*******/
@media only screen and (max-width: 384px){
    .info_service .info_list {
        top: 82%;
        font-size: 17px;
    }
    
}

/****** Iphone 6 (375 x 667) ย่อเมื่อจอน้อยกว่า 375px*******/
@media only screen and (max-width: 375px){
    .info_service .info_list {
        top: 81.5%;
        font-size: 16.5px;
    }

}

/****** Galaxy S6 (360 x 640),Xperia Z3 (360 x 598),Galaxy Note II (360 x 640) ย่อเมื่อจอน้อยกว่า 360px*******/
@media only screen and (max-width: 360px){
    .info_service .info_list {
        top: 81%;
        font-size: 16px;
    }
    
}

/****** Iphone 5 (320 x 568),Iphone 4 (320 x 480), ย่อเมื่อจอน้อยกว่า 320px*******/
@media only screen and (max-width: 320px){
    .info_service .info_list {
        top: 80.5%;
        font-size: 15px;
    }
    
}