﻿.Tool_Container
{
    width: 160px;
    height: 175px;
    background-color: #00568b;
    color: white;
    font-family: 'GHTF Bold';
    font-size: 12px;
    border-radius: 40px;
    box-shadow: -20px 20px 10px 0px #d8d9d8;
    position: relative;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    margin-left: 30px;
    float: left;
    display: block;
}


.ToolPopup
{
    font-family: 'GHTF Book' !important;
    color: #00568b;
    text-align: center;
    border: 2px solid #00568b;
    max-width: 478px;
    width: 100%;
    height: 100%;
    margin-top: 0;
    background-color: white;
    border-radius: 25px;
    position: relative;
}

.ToolPopupHeader
{
    border-radius: 20px;
    background-image: linear-gradient(top, #ffffff, #c7c8ca);
    background-image: -webkit-linear-gradient(top, #ffffff, #c7c8ca);
    background-image: -moz-linear-gradient(top, #ffffff, #c7c8ca);
    background-image: -o-linear-gradient(top, #ffffff, #c7c8ca);
    background-image: -ms-linear-gradient(top, #ffffff, #c7c8ca);
    height: 132px;
    display: flex;
    align-items: center;
    align-content: center;
}

.ToolPopupImage
{
    margin-left: 20px;
    margin-top: 20px;
}

.ToolPopupTitle
{
    font-size: 20px;
    line-height: 22px;
    margin-top: 20px;
}

.ToolPopupHeader .ToolPopupImage
{
    margin-top: 0;
}

.ToolPopupHeader .ToolPopupTitle
{
    word-break: break-word; 
    width: calc(100% - 140px); 
    text-align: left;
    color: #00568b;
    font-family: 'GHTF Bold';
    font-size: 17px;
    margin-top: 0;
}

.ToolPopupContent
{
    margin-top: 20px;
    padding: 0 20px 0 20px;
    text-align: left;
    font-size: 15px;
    background-color: white;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    text-transform: none;
}

.ToolPopupContent input,
.ToolPopupContent input[type='text'],
.ToolPopupContent select
{
    font-family: 'GHTF Book' !important;
    font-size: 15px !important;
    height: 40px; 
    width: 100%;
    border: 1px solid grey;
    padding: 3px 0 3px 4px;
}

.Tool_Mobile_Container
{
    max-width: 320px;
    width: 100%;
    height: 130px;
    background-color: #00568b;
    color: white;
    font-family: 'GHTF Bold';
    font-size: 17px;
    line-height: 20px;
    border-radius: 20px;
    box-shadow: -20px 20px 10px 0px #d8d9d8;
    position: relative;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    display: none;
    margin: 30px auto auto auto;
}

.Tool_Mobile_Base_Container
{
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    align-content: center; 
    height: 130px;
}

.ToolPopupMobile
{
    margin: -130px auto auto auto;
    border-radius: 20px;
    border: 0;
    box-shadow: -20px 20px 0px 10px #ffffff;
    z-index: 100;
}

.ToolInfo
{
    display: block;
}

.ToolInfoMobile
{
    display: none;
}

.Tool_Mobile_Base_Container_Img_Left
{
    position: absolute; 
    top: 36px; 
    left: 0;
}

.Tool_Mobile_Base_Container_Img_Right
{
    position: absolute; 
    top: 38px; 
    right: 0;
}


@media (max-width: 1000px) {

    .Tool_Container
    {
        display: none;
    }    


    .Tool_Mobile_Container
    {
        display: block;
    }
    
    .ToolInfo
    {
        display: none;
    }

    .ToolInfoMobile
    {
        display: block;
    }

}


@media (max-width: 500px) {

    .Tool_Mobile_Container
    {
        max-width: 270px;
        height: 100px;
        font-size: 14px;
        line-height: 16px;
    }
    
    .Tool_Mobile_Base_Container
    {
        height: 100px;
    }
    
    .ToolPopupHeader
    {
        height: 102px;
    }
    
    .ToolPopupMobile
    {
        margin: -100px auto auto auto;
    }
    
    .ToolPopupHeader .ToolPopupTitle
    {
        font-size: 14px;
        line-height: 16px;
    }
    
    .Tool_Mobile_Base_Container_Img_Left
    {
        top: 21px; 
    }

    .Tool_Mobile_Base_Container_Img_Right
    {
        top: 23px; 
    }
    
    .ToolPopupBeforeImage img,
    .ToolPopupImage img
    {
        width: 60px;
        height: auto;
    }
}
