/**************************************************************
    CALCULATORS PAGE CSS
**************************************************************/
.research_nav a {
    color: #fff;
    background-color: #9b9b9b;
}

.calculator ul {
    padding:0;
}

.calculator ul li {
    list-style:none;
}

.calculator {
    border-top: 4px solid #8e8e8e;
    border-bottom: 4px solid #8e8e8e;
    height: 514px;
    background: url('/images/calculators/calculator-background.jpg') no-repeat right 0,#efeff0;
    margin-bottom: 50px;
}

.calculator h2 {
    font-weight:bold;
    margin-top: 50px;
}

.calculator h2 + p {
    height:285px;
}

.calculator .switch-tabs {
    margin-bottom:0;
}

.calculator .switch-tabs li {
    width:170px;
    vertical-align:top;
    display:inline-block;
    text-decoration:underline;
    font-weight:bold;
    font-weight:bold;
    cursor:pointer;
    margin-bottom: 10px;
}

.calculator .switch-tabs li::before {
    border: 6px solid transparent;
    border-left-color: #7d7d7d;
    content: '';
    display: inline-block;
    vertical-align: top;
    margin-top: 4px;
    height: 0;
    width: 0;
}

.calculator #profit-text,
.calculator #margin-text,
.calculator #pip-text,
.calculator #profit-form,
.calculator #margin-form,
.calculator #pip-form,
.calculator .currency-tab {
    display:none;
}

/* form */
.calculator form {
    width: 363px;
    height: 506px;
    padding: 90px 60px 0 60px;
    background-color: rgba(255, 255, 255, 0.9);
}

.calculator form .form-control {
    margin-bottom:20px;
    height:36px;
}

.calculator form .form-control[readonly] {
    border:1px solid #cacaca;
    background-color:#efeff0;
}

.calculator form button {
    display: block;
    width:142px;
    height:38px;
    margin-left: auto;
}

/* profit-form */
.calculator #profit-form form {
    padding-top:65px;
}

.calculator #profit-form li:nth-child(6) {
    display:inline-block;
    width:175px;
}

.calculator #profit-form li:nth-child(7) {
    display:inline-block;
    width:55px;
    margin-left: 9px;
}
/* /profit-form */
/* /form */

/**************************************************************
    media queries style
**************************************************************/
@media (max-width: 1199px) {
    .calculator form {
        margin-left: auto;
    }
}

@media (max-width: 991px) {
    .calculator {
        background-position:50% 0;
    }

    .calculator .switch-tabs li {
        display: block;
    }
}

@media (max-width: 780px) {
    .calculator form {
        width:inherit
    }
}