/*----------------- หน้า Homepage ----------------------*/
.triangle1 {
    width: 0;
    height: 0;
    border-bottom: 20px solid #e5e7e6;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    margin-left: 35%;
}
.triangle6 {
    width: 0;
    height: 0;
    border-bottom: 20px solid #eef4f5;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    margin-left: 90%;
}
.triangle16 {
    width: 0;
    height: 0;
    border-bottom: 20px solid #f1f5f6;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    margin-left: 95%;
}
.triangle23 {
    width: 0;
    height: 0;
    border-bottom: 20px solid #4aa5c2;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    margin-left: 93%;
}
.triangle29 {
    width: 0;
    height: 0;
    border-bottom: 20px solid #1e6837;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    margin-left: 93%;
}
.triangle33 {
    width: 0;
    height: 0;
    border-bottom: 20px solid #e2bf03;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    margin-left: 88%;
}
.fix-triangle {
    padding-top: 37px;
    display: inline-flex;
}

.height-category-home {
    height: auto;
    overflow: hidden;
     margin-top: 37px !important; 
}
.for-text-icon > span {
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    height: 3em;
    font-size: 16px;
    display: block;
}
@media (min-width: 992px) and (max-width: 1199px) {
    .triangle1 {
        margin-left: 29%;
    }
    .triangle6 {
        margin-left: 70%;
    }
    .triangle16 {
        margin-left: 77%;
    }
    .triangle23 {
        margin-left: 72%;
    }
    .triangle29 {
        margin-left: 72%;
    }
    .triangle33 {
        margin-left: 72%;
    }
}

/*----------------- หน้า เกี่ยวกับเรา ----------------------*/

.color-black{

    color: black;

}

/*----------------- หน้า ประวัติความเป็นมา ----------------------*/

.margintop{

    position: relative;

    top: -10px;

}

/*----------------- หน้า บริษัทในเครือ----------------------*/

.bigbox{

    border: 1px solid #a4a4a4;

/*

    height: 260px;

    max-height: 260px;

*/

    margin-top: 15px;

    overflow: hidden;

    height: 260px;
    
    font-size: 14px;

}

/*

    ขนาด 992

    border: 1px solid #a4a4a4;

    height: 260px;

    max-height: 260px;

    margin-top: 15px;

    width: 270px;

    max-width: 230px;

    font-size: 14px;*/

.bigbox >.sppb-addon-content > .sppb-addon-text > div > strong > a:hover{

    color: red;

}

.bigbox >.sppb-addon-content > .sppb-addon-text > div > a:hover{

    color: red;

}

/*----------------- โครงสร้างองค์กร ----------------------*/

.color-black >.sppb-addon-content > .sppb-addon-text > div > span{

    color: black;

}

/*----------------ข่าวสาร----------------------*/

/* mobile */

@media (max-width: 767px) {

    .blog-new .item-image {

    width: 100%;

    height: auto;

    overflow: hidden;

    }

    .new .pagination li {

    border: 1px solid #1f4478;

    border-radius: 5px;

    height: 40px;

    padding: 10px 10px 5px 10px;

    margin: 0 10px 0 0px;

    }

    .menu-left li{

        display: none;

    }

    .menu-left li.active{

        display: block;

    }
    li.alias-parent-active{
        display: block!important;
    }

}

/* teblet */

@media (min-width: 768px) and (max-width: 991px) { 

    .blog-new .item-image {

    width: 100%;

    height: auto;

    overflow: hidden;

    }

    .menu-left li{

        display: none;

    }

    .menu-left li.active{

        display: block;

    }
    li.alias-parent-active{
        display: block!important;
    }

 }

 /* notebook */

@media (min-width: 992px) and (max-width: 1199px) { 

    .blog-new .item-image {

    width: 100%;

    height: auto;

    overflow: hidden;

    }

}

/*---------ร่วมงานกับเรา หน้าแรก ---------------------*/

.bs-example {
    margin-top: 20px;
}

.panel-default {

    border-color: transparent!important;

    background-color: #f5f5f5;

    padding-left: 10px;

    padding-right: 10px;

}

.panel-body {

    padding-left: 30px;

}

.panel-body > p {

    color: black !important;

}

.join-us{

    padding-top: 2px;

    color: black;

    font-weight: bold;

}

.allcompany{

    padding-left: 15px;

    color: black;

}

.bigboxtop{

    display: flex;

    margin-bottom: 20px;

}

h4.panel-title > a {

    color: #204478;

}

h4.panel-title > a:active {

    color: red !important;

}

span.app_amount {

    float: right;

}

span.app_amount:after{

   content: "\f0d7";

   font-family: FontAwesome;

   font-weight: normal;

   font-style: normal;

   margin:0px 0px 0px 10px;

   text-decoration:none;

}

.panel-body > input.btn {

    background-color: transparent;

    color: #2e6da4;

    height: 47px;

    width: 260px;

    margin-top: 20px;

    font-size: 18px;

    border: 1px solid #2e6da4;

    border-radius: 5px;

}

.panel-body > input.btn:hover {

     background-color: #2e6da4;

    color: white;

}

/*---------ร่วมงานกับเรา  หน้าใน---------------------*/

.bigbg {

    background-color: #f5f5f5;

    padding: 30px;

    color: black;

/*    font-family: 'rsulight';*/

}

.star{

    display: none;

}

.icon-plus {

    color: #1f4478;

}

.colorblack{

    color: black;

}

.control-group > .controls > button.btn-primary {

    background-color: transparent;

    color: #2e6da4;

    height: 47px;

    width: 260px;

    margin-top: 20px;

    font-size: 18px;

    border-radius: 5px;

}

.control-group > .controls > button.btn-primary:hover {

    background-color: #2e6da4;

    color: white;

}

.botton-center {

    text-align: center;

}

.control-group > .controls > .radio > input[type="radio"]{

/*
    position: absolute;

    margin-left: -165px;

    margin-top: 34px;
*/
    position: inherit;
    
    float: left;
    
    width: 10%;
    
    margin-left: 0px;

}
fieldset#jform_sex {
    width: 100%;
}
.control-group  > .controls > .radio > label{

/*
    min-height: 20px;

    padding-left: 20px;

    margin-bottom: 0;

    font-weight: normal;

    cursor: pointer;

    padding-top: 20px;
*/
    min-height: inherit;
    margin-bottom: 0;
    font-weight: inherit;
    cursor: inherit;
    padding-top: 20px;
    margin: 0px;
    padding-top: 0px;
    margin-top: 0px !important;
    padding-left: inherit;

}

.paddingleft{

    padding-left: 15px;

}

/*
@media (max-width: 767px) {

    .control-group > .controls > .radio > input[type="radio"]{

    position: absolute;

    margin-left: -120px;

    margin-top: 34px;

    }

}

@media (min-width: 768px) and (max-width: 991px) { 

    .control-group > .controls > .radio > input[type="radio"]{

    position: absolute;

    margin-left: -310px;

    margin-top: 34px;

    }

 }

@media (min-width: 992px) and (max-width: 1199px) {

    .control-group > .controls > .radio > input[type="radio"]{

    position: absolute;

    margin-left: -130px;

    margin-top: 34px;

    }

}
*/

.control-group > .controls > input {

    height: 35px;

    padding-left: 10px;

    border: 1px solid #cccccc;

}

.control-group > .controls > input[type=file] {

    border: none;

}

.control-group > .controls > select {

    height: 35px;

    border: 1px solid #cccccc;

}

.control-group > .controls > textarea {

    border: 1px solid #cccccc;

}

.input-append> input {

    height: 35px;

}
/*------------------- แก้ Breadcramb และ Menu Projects ------------------------*/
.menu-left .deeper .nav-child li a {
    font-size: 16px;
    margin: 0 0 0px 25px !important;
    letter-spacing: -1px;
}
.breadcrumb span {
    color: #000000;
    display: inherit;
}
/*-------------------หน้าแรก------------------------*/

.box-homepage > .sppb-addon-content > .sppb-row > .sppb-col-sm-4 > .sppb-addon-article >a> img{

    width: 360px;

    height: 200px;

    overflow: hidden; 

    border: 1px solid #f5f5f5;

}

.botton-firstpage {

    background-color: transparent;

    color: #1f4278;

    width: 260px;

    height: 47px;

    border: 1px solid #1f4278;

    padding-top: 12px;

    font-size: 18px;

    margin-top: 70px;

    border-radius: 5px;

}

.botton-firstpage:hover {

    background-color: #1f4278;

    color: white;

    border: 1px solid #1f4278;

}

.box-homepage > .sppb-addon-content > .sppb-row > .sppb-col-sm-4 > .sppb-addon-article > h3 > a{

    color: #1f4278;

    font-size: 20px;

/*    font-family: 'rsubold';*/

}

.box-homepage > .sppb-addon-content > .sppb-row > .sppb-col-sm-4 > .sppb-addon-article > h3 > a:hover{

    color: red;

}

.box-homepage > .sppb-addon-content > .sppb-row > .sppb-col-sm-4 > .sppb-addon-article > h3{

    margin-top: 20px;

}

.box-homepage > .sppb-addon-content > .sppb-row > .sppb-col-sm-4 > .sppb-addon-article > .sppb-article-introtext > p {

    color: black;

    margin-top: 20px;

}



