/* Calculator XXXXXXXXXXXXXXXXXXXX */

#MyCalculator p {
    font-weight: 400;
}

.cal_modal {
    padding: 10px 20px 10px 20px;
}

.cal_modal .row {
    padding: 10px 20px 10px 20px;
}

.head_foot_cal {
    background-color: #CFDCE2;
    -moz-border-radius: 42px;
    -webkit-border-radius: 42px;
    border-radius: 42px;
}

.head_foot_cal p {
    margin: 0px;
}

.cal_table {
    color: #425163;
}

.cal_table p {
    vertical-align: middle;
    margin: 0;
}

#calculate_sum {
    color: black;
    font-size: 1.125em;
    vertical-align: middle;
    float: right;
    width: auto;
    text-align: right;
}

#calculate_sum span {
    font-size: 2.250em;
}

.text-muted-main {
    float: left;
    width: 60%;
    word-wrap: break-word;
}

.text-muted {
    color: black;
    float: right;
    width: 40%;
    text-align: right;
}

.caret {
    display: none;
}

.bootstrap-select {
    width: 100% !important;
    font-weight: 300 !important;
}

.bootstrap-select .selected {
    background-color: #f5f5f5;
}

.dropdown-menu>li>a:focus {
    background-color: transparent;
}

.bootstrap-select.btn-group .dropdown-menu li a span.text {
    width: 100% !important;
}

.dropdown-menu>li>a:hover {
    background-color: #1E90FF;
    color: white !important;
}

.dropdown-menu>li>a .text-muted {
    color: #425163;
}

.dropdown-menu>li>a:hover .text-muted {
    color: white !important;
}

.bootstrap-select > .dropdown-toggle:active {
    box-shadow: none;
    -webkit-box-shadow: none;
}

.cal_header1 {
    width: 50%;
    text-align: left;
    display: inline-block;
}

.cal_header2 {
    display: inline-block;
    text-align: center;
    width: 35%;
}

.cal_header3 {
    width: 13%;
    display: inline-block;
    text-align: right;
    vertical-align: middle;
    float: right;
}

.cal_content_1 {
    width: 50%;
    display: inline-block;
}

.cal_content_2 {
    width: 35%;
    display: inline-block;
    text-align: center;
}

.cal_content_3 {
    width: 13%;
    display: inline-block;
    text-align: right;
    margin-top: 5px;
    float: right;
}

.cal_checkbox_1 {
    display: inline-table;
    vertical-align: middle;
    width: 50%;
}

.cal_checkbox_2 {
    display: inline-table;
    vertical-align: middle;
    width: 35%;
    text-align: center;
}

.cal_checkbox_3 {
    display: inline-table;
    vertical-align: middle;
    width: 13%;
    text-align: right;
    float: right;
    margin-top: 5px;
}

.hr_calculator {
    width: 100%;
    border-top: 1px solid #E0E6ED;
    margin-top: 1px !important;
    margin-bottom: 1px !important;
}

.bootstrap-select button {
    background: transparent url("../img/calculator/dropdown1.png") no-repeat right;
    background-position: -webkit-calc(100% - 10px);
    background-position: -moz-calc(100% - 10px);
    background-position: calc(100% - 10px);
    background-size: 8px 6px;
    -moz-border-radius: 42px;
    -webkit-border-radius: 42px;
    border-radius: 42px;
    padding: 5px 15px 5px 15px;
    border: 1px solid #53C4E6;
    font-weight: 400;
}

.btn-group.open>.dropdown-menu {
    top: 92%;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    max-width: 260px;
    border: 1px solid #53C4E6;
    -webkit-border-bottom-right-radius: 17px;
    -webkit-border-bottom-left-radius: 17px;
    -moz-border-radius-bottom-right: 17px;
    -moz-border-radius-bottom-left: 17px;
    border-bottom-right-radius: 17px;
    border-bottom-left-radius: 17px;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    -moz-border-top-right-radius: 0px;
    -moz-border-top-left-radius: 0px;
    -webkit-border-top-right-radius: 0px;
    -webkit-border-top-left-radius: 0px;
}

.bootstrap-select button:hover {
    background-color: transparent;
    border: 1px solid #53C4E6;
}

.btn-group.open .dropdown-toggle {
    background: transparent url("../img/calculator/dropdown2.png") no-repeat right;
    background-position: -webkit-calc(100% - 10px);
    background-position: -moz-calc(100% - 10px);
    background-position: calc(100% - 10px);
    background-size: 8px 6px;
    border: 1px solid #53C4E6;
    -webkit-border-top-left-radius: 17px;
    -webkit-border-top-right-radius: 17px;
    -moz-border-radius-top-left: 17px;
    -moz-border-radius-top-right: 17px;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    -moz-border-bottom-right-radius: 0px;
    -moz-border-bottom-left-radius: 0px;
    -webkit-border-bottom-right-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -webkit-box-shadow: 0px -6px 16px rgba(0, 0, 0, .175);
    box-shadow: 0px 0px 16px rgba(0, 0, 0, .175);
}

.btn-group.open .dropdown-toggle:hover {
    background-color: transparent;
    border: 1px solid #53C4E6;
}

.bootstrap-select .dropdown-toggle:focus {
    background-color: transparent;
    border: 1px solid #53C4E6;
}

.btn-group.open .dropdown-toggle .filter-option {
    color: #53C4E6;
    /*text-align: center !important;*/
}

.bootstrap-select.btn-group .dropdown-menu {
    max-width: 260px;
    padding: 0;
}

.bootstrap-select.btn-group .dropdown-menu li a {
    outline: 0;
}

.dropdown-toggle .filter-option {
    text-align: center !important;
    color: #53C4E6;
    white-space: normal;
    font-weight: 400;
    font-size: 1.125em;
}

.txt_cal_name {
    width: 50%;
    float: left;
    padding-right: 15px;
}

.txt_cal_email {
    width: 50%;
    float: right;
    padding-left: 15px;
}

.cal_title {
    width: 75%;
}

.myButton8 {
    background-color: transparent;
    -moz-border-radius: 42px;
    -webkit-border-radius: 42px;
    border-radius: 42px;
    display: inline-block;
    border: 1px solid #39BDDE;
    cursor: pointer;
    color: #425163;
    font-size: 1.125em;
    text-decoration: none;
    height: 39px;
    outline: 0;
    font-weight: 300;
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px 0px 10px 10px;
    min-width: 120px;
}

.myButton8:hover {
    color: #FFFFFF;
    background-color: #39BDDE;
}

.cal_modal .cal_head1 {
    margin-bottom: 20px;
}

.cal_modal .cal_head2 {
    margin-bottom: 30px;
    font-weight: 400;
}

.form_calculator fieldset {
    min-width: 100px;
}

.form_calculator input {
    border: 1px solid #E0E6ED;
}

.form_calculator textarea {
    border: 1px solid #E0E6ED;
}

.approximate_foot_cal {
    float: left;
    width: 70%;
    font-size: 1.125em;
    padding-top: 13px;
}

@media (max-width:991px) {
    .approximate_foot_cal {
        width: 45%;
        padding-top: 0px;
    }
    .cal_modal {
        padding: 0;
    }
    .cal_modal .cal_head1 {
        margin-bottom: 10px;
    }
    .cal_modal .cal_head2 {
        margin-bottom: 20px;
    }
    /* .cal_modal .cal_head1 {
        margin-bottom: 30px;
    }
    .cal_modal .cal_head2 {
        margin-bottom: 30px;
    }*/
    .head_foot_cal {
        -moz-border-radius: 0px;
        -webkit-border-radius: 0px;
        border-radius: 0px;
    }
    .cal_header1 {
        width: 40%;
    }
    .cal_header2 {
        width: 43%;
    }
    .cal_header3 {
        width: 15%;
    }
    .cal_content_1 {
        width: 40%;
    }
    .cal_content_2 {
        width: 43%;
    }
    .cal_content_3 {
        width: 15%;
    }
    .cal_checkbox_1 {
        width: 40%;
    }
    .cal_checkbox_2 {
        width: 43%;
    }
    .cal_checkbox_3 {
        width: 15%;
    }
}

@media (max-width:767px) {
    .form_searchshop {
        width: 100% !important;
    }
    #txt_nave li {
        width: 100% !important;
    }
    .cal_modal .cal_head1 {
        text-align: center;
        margin-bottom: 20px;
    }
    .cal_modal .cal_head2 {
        text-align: center;
        margin-bottom: 25px;
    }
    .cal_header1 {
        width: auto;
    }
    .cal_header3 {
        width: auto;
    }
    .cal_content_1 {
        width: 100%;
    }
    .cal_content_2 {
        width: 73%;
    }
    .cal_content_3 {
        width: auto;
        float: right;
        margin-top: 12px;
    }
    .cal_checkbox_1 {
        width: 53%;
    }
    .cal_checkbox_2 {
        width: 20%;
        text-align: right;
        padding-right: 11px;
    }
    .cal_checkbox_3 {
        width: auto;
    }
    .txt_cal_name {
        width: 100%;
        padding-right: 0px;
    }
    .txt_cal_email {
        width: 100%;
        padding-left: 0px;
    }
    .bootstrap-select button {
        background-size: 20px 10px;
        border: 1px solid transparent;
        padding: 10px 10px 10px 0;
    }
    .bootstrap-select button:hover {
        border: 1px solid transparent;
    }
    .bootstrap-select .dropdown-toggle {
        padding-right: 35px !important;
    }
    .bootstrap-select .dropdown-toggle:focus {
        background-color: white;
        border: 1px solid transparent;
    }
    .btn-group.open .dropdown-toggle:hover {
        background-color: white;
    }
    .open>.dropdown-menu {
        width: 138%;
        max-width: none !important;
        min-width: unset !important;
    }
    .bootstrap-select.btn-group .dropdown-menu li a span.text {
        width: 72% !important;
    }
    .dropdown-toggle .filter-option {
        text-align: left !important;
        word-wrap: break-word;
    }
    .btn-group.open .dropdown-toggle .filter-option {
        width: 100%;
        text-align: center !important;
        padding-left: 5px;
    }
    .btn-group.open .dropdown-toggle {
        width: 138% !important;
        background-color: white;
        background-size: 20px 10px;
    }
    .hr_cal_hint {
        display: none;
    }
}

@media (max-width:480px) {
    .myButton8 {
        width: 100%;
        margin: 10px 0px 10px 0px;
    }
    #MyCalculator .modal-body {
        padding: 10px 0px 10px 0px;
    }
    #MyCalculator .modal-content {
        overflow: hidden;
    }
    .closed_cal {
        margin-right: 10px;
    }
    .cal_checkbox_3 {
        margin-top: 10px;
    }
}


/* cal_software XXXXXXXXXXXX */

#MyCal_soft p {
    font-weight: 400;
}

.cal_usecase_soft1 {
    width: 85%;
    display: inline-block;
}

.cal_usecase_soft2 {
    float: right;
}

.cal_soft_del {
    float: right;
    color: orange;
    margin-right: 20px;
}

.cal_soft_del:hover {
    color: orange;
    text-decoration: none;
    cursor: pointer;
}

.txtbox_cal_app {
    width: 85%;
    display: inline-block;
}

.cal_usecase_soft1 span {
    width: 70%;
    float: left;
    word-wrap: break-word;
}

@media (max-width:480px) {
    #MyCal_soft .modal-body {
        padding: 10px 0px 10px 0px;
    }
    #MyCal_soft .modal-content {
        overflow: hidden;
    }
    .cal_usecase_soft1 {
        width: 74%;
    }
    .txtbox_cal_app {
        width: 74%;
    }
    .cal_soft_del {
        float: left;
    }
}


/* tooltip XXX */

a.tooltips {
    position: relative;
    display: inline;
}

a.tooltips .subtooltips {
    position: absolute;
    width: 200px;
    background: #FFFFFF;
    border: 1px solid #61CEE0;
    line-height: 16px;
    text-align: left;
    visibility: hidden;
    border-radius: 10px;
    padding: 10px 10px 10px 10px;
}

a.tooltips .subtooltips:before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 40%;
    margin-left: -12px;
    width: 0;
    height: 0;
    border-bottom: 10px solid #61CEE0;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}

a.tooltips .subtooltips:after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 39%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-bottom: 8px solid #FFFFFF;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

a:hover.tooltips .subtooltips {
    visibility: visible;
    top: 30px;
    left: 50%;
    margin-left: -76px;
    z-index: 999;
}


/* cal_App XXXXXXXXXXXX */

#MyCal_App p {
    font-weight: 400;
}

@media (max-width:480px) {
    #MyCal_App .modal-body {
        padding: 10px 0px 10px 0px;
    }
    #MyCal_App .modal-content {
        overflow: hidden;
    }
}


/* all calculator */

.cal_head_box1 {
    width: 15%;
    float: left;
    text-align: center;
    padding: 0px 10px 0px 0px;
}

.cal_head_box1 img {
    max-height: 100px;
    margin-top: 10px;
}

.cal_head_box2 {
    width: 85%;
    float: left;
}

@media (max-width:992px) {
    .cal_head_box1 {
        width: 20%;
    }
    .cal_head_box2 {
        width: 80%;
    }
}

@media (max-width:768px) {
    .cal_head_box1 {
        display: none;
    }
    .cal_head_box2 {
        width: 100%;
    }
}
