.btnAddTextBox {
    background: -webkit-gradient(linear,left bottom, left top,color-stop(0,#c34c2c),color-stop(1,#ffdb99));
    /*border-bottom: 2px solid #2980B9;*/
    text-shadow: 0px -2px #c34c2c;
    top: 0px;
    left: 0px;
    font-family: Verdana;
    font-size: 15px;
    color: #FFF;
    text-decoration: none;
    border-radius: 7px;
    border: 2px solid #f57508;
}

    .btnAddTextBox:hover {
        opacity: 1;
        transform: scale(1.4, 1.4); /** default is 1, scale it to 1.5 */
        transition: all 0.1s ease-in-out;
    }

    .btnAddTextBox:active {
        transform: translate(0px,3px);
        -webkit-transform: translate(0px,3px);
        border-bottom: 1px solid;
    }

.textBox {
    width: 100%;
    border: 1.5px solid #aaa !important;
    border-radius: 4px;
    /*margin:8px 0;*/
    outline: none;
    padding: 12px;
    box-sizing: border-box;
    transition: width 0.4s ease-in-out;
}
.textBox45 {
    width: 45%;
    border: 1.5px solid #aaa !important;
    border-radius: 4px;
    /*margin:8px 0;*/
    outline: none;
    padding: 12px;
    box-sizing: border-box;
    transition: width 0.4s ease-in-out;
}

.dropDonwList {
    width: 100%;
    border: 1.5px solid #aaa !important;
    border-radius: 4px;
    /*margin:8px 0;*/
    outline: none;
    padding: 9px;
    box-sizing: border-box;
    transition: width 0.4s ease-in-out;
}

.textBoxSmall {
    border: 1.5px solid #aaa !important;
    border-radius: 4px;
    /*margin:8px 0;*/
    width: 200px;
    outline: none;
    padding: 5px;
    box-sizing: border-box;
    transition: width 0.4s ease-in-out;
}


.textBox:focus {
    border-color: dodgerBlue;
    box-shadow: 0 0 8px 0 dodgerBlue;
}

.textBox:hover {
    border-color: dodgerBlue;
    box-shadow: 0 0 8px 0 dodgerBlue;
}

.textBox:disabled {
    background: #dddddd;
}

.textBoxSmall:focus {
    border-color: dodgerBlue;
    box-shadow: 0 0 8px 0 dodgerBlue;
}

.textBoxSmall:hover {
    border-color: dodgerBlue;
    box-shadow: 0 0 8px 0 dodgerBlue;
}

.textBoxSmall:disabled {
    background: #dddddd;
}


.date {
    width: 180px !important;
    padding-bottom: 11px;
}

.textBoxErrorControl /*generic control*/ {
    width: 100%;
    background-color: #FBE3E4;
    border: solid 1.5px Red !important;
    border-radius: 4px;
    margin: 1px 0;
    outline: none;
    padding: 12px;
    box-sizing: border-box;
}

.ChkBoxErrorControl /*generic control*/ {
    width: 100%;
    background-color: #FBE3E4;
    border: solid 1.5px Red !important;
    border-radius: 4px;
    margin: 1px 0;
    outline: none;
    box-sizing: border-box;
}

.textBoxSmallErrorControl /*generic control*/ {
    border-radius: 4px;
    /*margin:8px 0;*/
    width: 200px;
    outline: none;
    padding: 5px;
    box-sizing: border-box;
    transition: width 0.4s ease-in-out;
    background-color: #FBE3E4;
    border: solid 1.5px Red !important;
    margin: 1px 0;
}

.textBoxErrorControlSimple /*generic control*/ {
    background-color: #FBE3E4;
    border: solid 1.5px Red !important;
    border-radius: 4px;
    margin: 1px 0;
    outline: none;
    box-sizing: border-box;
}


.textBoxErrorControl[type=text] {
    width: 100%;
    background-color: #FBE3E4;
    border: solid 1.5px Red !important;
    border-radius: 4px;
    margin: 1px 0;
    outline: none;
    padding: 12px;
    box-sizing: border-box;
    transition: width 0.4s ease-in-out;
}

.textBoxSearchErrorControl[type=text] {
    width: 100%;
    background-color: #FBE3E4;
    border: solid 1.5px Red;
    border-radius: 4px;
    margin: 1px 0;
    outline: none;
    padding: 12px;
    box-sizing: border-box;
    transition: width 0.4s ease-in-out;
    background-image: url(https://cdn1.iconfinder.com/data/icons/hawcons/32/698627-icon-111-search-48.png);
    background-position: -5px -5px;
    background-repeat: no-repeat;
    padding: 12px 12px 12px 50px;
}

.textBoxCalendarErrorControl[type=text] {
    width: 100%;
    background-color: #FBE3E4;
    border: solid 1.5px Red !important;
    border-radius: 4px;
    margin: 1px 0;
    outline: none;
    /*padding:8px;*/
    box-sizing: border-box;
    background-image: url(http://salemcc.edu/sites/default/files/styles/announcements_300x300/public/default_images/calendar%20event.png);
    background-position: 1px 1px;
    background-repeat: no-repeat;
    background-size: 43px 40px;
    padding: 12px 12px 12px 50px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

.textLittle {
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: #3D414C;
    /*float: left;*/
    width: 100px;
}

.textMedium {
    font-family: Arial, sans-serif;
    font-size: 13px; /*1m like labels*/
    color: #3D414C;
    /*float: left;*/
    width: 100px;
}

.Newtext {
    font-size: 14px;
    color: #3D414C;
    /*float: left;*/
    width: 200px;
    font-weight: 700;
    text-transform: capitalize;
}

.NewtextSinistri {
    font-size: 14px;
    color: #3D414C;
    /*float: left;*/
    width: 200px;
    font-weight: 700;
}

.NewtextSinistriYellow {
    font-size: 14px;
    width: 200px;
    font-weight: 700;
    background-color: rgba(255, 220, 80, 0.25);
    border: 1px solid rgba(220, 180, 0, 0.5);
    color: #665500;
}

/* Telefono preferenziale (MNG_Worker): stessi colori di NewtextSinistriYellow */
.textBox.telPreferito {
    background-color: rgba(255, 220, 80, 0.25);
    border-color: rgba(220, 180, 0, 0.5) !important;
    color: #665500;
}

.NewtextBig {
    font-size: 20px;
    color: #3D414C;
    /*float: left;*/
    width: 200px;
    font-weight: 700;
    text-transform: capitalize;
}

.NewtextLabel {
    font-size: 14px;
    color: #3D414C;
    /*float: left;*/
    width: 200px;
    text-transform: capitalize;
}

.textBoxErrorControlFle /*generic control*/ {
    width: 200px;
    background-color: #FBE3E4;
    border: solid 1.5px Red;
    border-radius: 4px;
    margin: 1px 0;
    outline: none;
    box-sizing: border-box;
}

.textBlock {
    display: block;
}

.dateSmall {
    width: 140px !important;
    padding-bottom: 11px;
}

.dateXSmall {
    width: 80px !important;
    padding-bottom: 11px;
}
.tt-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    max-width: 860px;
    margin: 1.5rem auto;
    font-family: inherit;
}

.tt-header {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tt-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #edf4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .tt-header-icon svg {
        width: 18px;
        height: 18px;
        stroke: #3a7bd5;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.tt-header-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.tt-header-sub {
    font-size: 12px;
    color: #888;
    margin: 2px 0 0;
}

.tt-msg {
    padding: 0.6rem 1.5rem;
}

.tt-body {
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.tt-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tt-grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.tt-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tt-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tt-label-req::after {
    content: " *";
    color: #d0453a;
    font-weight: 700;
}

.tt-ctrl {
    height: 36px !important;
    width: 100% !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 6px !important;
    padding: 0 10px !important;
    font-size: 14px !important;
    color: #1a1a1a !important;
    background: #fff !important;
    box-sizing: border-box !important;
    transition: border-color .15s, box-shadow .15s;
}

    .tt-ctrl:focus {
        border-color: #3a7bd5 !important;
        box-shadow: 0 0 0 3px rgba(58,123,213,.12) !important;
        outline: none !important;
    }

.tt-textarea-ctrl {
    width: 100% !important;
    min-height: 90px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 6px !important;
    padding: 9px 10px !important;
    font-size: 14px !important;
    color: #1a1a1a !important;
    background: #fff !important;
    box-sizing: border-box !important;
    resize: vertical;
    line-height: 1.55;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}

    .tt-textarea-ctrl:focus {
        border-color: #3a7bd5 !important;
        box-shadow: 0 0 0 3px rgba(58,123,213,.12) !important;
        outline: none !important;
    }

.tt-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 0.3rem 0;
}

.tt-footer {
    padding: 1rem 1.5rem;
    background: #f7f7f7;
    border-top: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tt-legend {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tt-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d0453a;
    display: inline-block;
}

.tt-spacer {
    flex: 1;
}

.tt-btn {
    height: 34px;
    padding: 0 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #d0d0d0;
    background: #fff;
    color: #333;
    font-family: inherit;
    transition: background .15s;
}

    .tt-btn:hover {
        background: #f2f2f2;
    }

.tt-btn-primary {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

    .tt-btn-primary:hover {
        background: #333;
    }

.tt-hidden {
    display: none !important;
}
/* select2 override inside form */
.tt-card .select2-container .select2-selection--single {
    min-height: 36px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 6px !important;
}

.tt-card .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
}

.tt-card .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px !important;
}


@media screen and (max-width: 1540px) {
    .Newtext {
        font-size: 12px;
        color: #3D414C;
        /*float: left;*/
        width: 150px;
        font-weight: 700;
        text-transform: capitalize;
    }

    .NewtextSinistri {
        font-size: 12px;
        color: #3D414C;
        /*float: left;*/
        width: 150px;
        font-weight: 700;
    }

    .NewtextLabel {
        font-size: 12px;
        color: #3D414C;
        /*float: left;*/
        width: 150px;
        text-transform: capitalize;
    }

    .textBoxErrorControlFle /*generic control*/ {
        width: 150px;
        background-color: #FBE3E4;
        border: solid 1.5px Red;
        border-radius: 4px;
        margin: 1px 0;
        outline: none;
        box-sizing: border-box;
    }
}


@media screen and (max-width: 1200px) {
    .Newtext {
        font-size: 12px;
        color: #3D414C;
        /*float: left;*/
        width: 100px;
        font-weight: 700;
        text-transform: capitalize;
    }

    .NewtextSinistri {
        font-size: 12px;
        color: #3D414C;
        /*float: left;*/
        width: 100px;
        font-weight: 700;
    }

    .NewtextLabel {
        font-size: 12px;
        color: #3D414C;
        /*float: left;*/
        width: 100px;
        text-transform: capitalize;
    }

    .textBoxErrorControlFle /*generic control*/ {
        width: 100px;
        background-color: #FBE3E4;
        border: solid 1.5px Red;
        border-radius: 4px;
        margin: 1px 0;
        outline: none;
        box-sizing: border-box;
    }
}
