/**
 * SalesGull
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade to newer
 * versions in the future.
 *
 * @category    SalesGull
 * @package     SalesGull_ContactFormExtra
 * @copyright   Copyright (c) 2016 SalesGull, Lda (http://salesgull.pt)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

/* Reset previous css - Start */
.open_pcform { -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; background:none; }
.pcform_right,
.pcform_left { top:initial; }
.pcform_right .open_pcform,
.pcform_bottom_right .open_pcform,
.pcform_left .open_pcform,
.pcform_bottom_left .open_pcform { cursor: auto; height: 38px; line-height: 38px; }
.pcform_right .open_pcform,
.pcform_bottom_right .open_pcform { right:0; left: initial; top: initial; }
.pcform_left .open_pcform,
.pcform_bottom_left .open_pcform { left: 0; right: initial; top: initial; }
.pcform_slide .slideout_scroll_wrapper { max-height: 95vh; }
.slideout_scroll_wrapper .pccf_loader { display:none!important; }
/* Reset previous css - End */

.pcform_slide { background-color:#ffffff; }
.open_pcform { position: fixed; width: auto; }
.open_pcform .open_pcform_round { border-radius: 5px; }

.open_pcform .pcc_titlewrap {
    position: absolute;
    top: 0;
	left:inherit;
    width: auto;
    height: auto;
    font-size: 20px;
    font-size: 0.7em;
    text-align: left;
    transform: inherit;
    -ms-transform: inherit;
    -webkit-transform: inherit;
    -moz-transform: inherit;
	white-space:nowrap;
}

.open_pcform_left,
.open_pcform_bottom_left { left: 0; }
.open_pcform_right,
.open_pcform_bottom_right { right: 0; }

.open_pcform_bottom_left,
.open_pcform_bottom_right { bottom: 10px; }

.open_pcform_left .pcc_titlewrap,
.open_pcform_bottom_left .pcc_titlewrap { left: 0; }
.open_pcform_right .pcc_titlewrap,
.open_pcform_bottom_right .pcc_titlewrap { right:0; }

.open_pcform .pcc_titlewrap .open_icon { display:inline-block; cursor: pointer; }
.open_pcform .pcc_titlewrap .open_icon.icon_left > i { padding-left:10px; padding-right:3px; }
.open_pcform .pcc_titlewrap .open_icon.icon_right > i { padding-left:3px; padding-right:10px; }
.open_pcform .pcc_titlewrap .open_icon > i.fa { text-align: center; position: relative; }
.open_pcform .pcc_titlewrap .open_icon::before,
.open_pcform .pcc_titlewrap .open_icon::after { background-color:inherit; }
.open_pcform .pcc_titlewrap .open_icon.icon_right::before { content: attr(data-title); padding:0 2px 0 10px; }
.open_pcform .pcc_titlewrap .open_icon.icon_left::after { content: attr(data-title); padding:0 10px 0 2px; }

/* Change to close icon when form is open */
.pcform_slide.expanded .open_pcform .open_icon > i.fa::before { content: "\f00d"; }
.pcform_slide.expanded .open_pcform.orientation_vertical .open_icon > i.fa::before { position: relative; }

/* Vertical text */
.open_pcform.orientation_vertical .pcc_titlewrap .open_icon { position: relative; width: 38px; text-align:center; }

.open_pcform.orientation_vertical .pcc_titlewrap .open_icon::after,
.open_pcform.orientation_vertical .pcc_titlewrap .open_icon::before {
    position: absolute;
    white-space: nowrap;
}
.open_pcform_left.orientation_vertical .pcc_titlewrap .open_icon::before,
.open_pcform_left.orientation_vertical .pcc_titlewrap .open_icon::after {
    transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
}
.open_pcform_right.orientation_vertical .pcc_titlewrap .open_icon::before,
.open_pcform_right.orientation_vertical .pcc_titlewrap .open_icon::after {
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
}
.open_pcform.orientation_vertical .pcc_titlewrap .open_icon::before{
    -webkit-transform-origin: right top 0;
    -moz-transform-origin: right top 0;
    -ms-transform-origin: right top 0;
    -o-transform-origin: right top 0;
    transform-origin: right top 0;
}

.open_pcform.orientation_vertical .pcc_titlewrap .open_icon::after{ 
    -webkit-transform-origin: left top 0;
    -moz-transform-origin: left top 0;
    -ms-transform-origin: left top 0;
    -o-transform-origin: left top 0;
    transform-origin: left top 0;
}
.open_pcform_left.orientation_vertical .pcc_titlewrap .open_icon::before{ right: 0; top: 0; }
.open_pcform_left.orientation_vertical .pcc_titlewrap .open_icon::after{ left: 38px; top: 38px; }
.open_pcform_right.orientation_vertical .pcc_titlewrap .open_icon::before{ right: 38px; top: 38px; }
.open_pcform_right.orientation_vertical .pcc_titlewrap .open_icon::after{ left: 0; top: 0; }

.open_pcform.orientation_vertical .pcc_titlewrap .open_icon i { padding:0; }
.open_pcform_left.orientation_vertical .open_pcform_round.icon_left,
.open_pcform_right.orientation_vertical .open_pcform_round.icon_right{ border-radius: 5px 5px 0 0; }
.open_pcform_left.orientation_vertical .open_pcform_round.icon_right,
.open_pcform_right.orientation_vertical .open_pcform_round.icon_left{ border-radius: 0 0 5px 5px; }
.open_pcform.orientation_vertical .open_pcform_round::after{ border-radius: 0 5px 5px 0; }
.open_pcform.orientation_vertical .open_pcform_round::before { border-radius: 5px 0 0 5px; }

/* No text buttons */
.open_pcform_left.orientation_vertical.no-title .open_pcform_round,
.open_pcform_right.orientation_vertical.no-title .open_pcform_round{ border-radius: 5px; }
.open_pcform_left.orientation_vertical.no-title .pcc_titlewrap .open_icon::after,
.open_pcform_right.orientation_vertical.no-title .pcc_titlewrap .open_icon::before { height: 0; }

/* Sidebar - Start */
.pcform_sidebar.expanded .open_pcform_left,
.pcform_sidebar.expanded .open_pcform_bottom_left { left: 500px; }
.pcform_sidebar.expanded .open_pcform_right,
.pcform_sidebar.expanded .open_pcform_bottom_right { right: 500px; }
/* Sidebar - End */

/* Slideout - Start */
.pcform_slideout .open_pcform { z-index: 10002; }
.pcform_slideout.expanded .open_pcform_left,
.pcform_slideout.expanded .open_pcform_bottom_left { left: 500px; }
.pcform_slideout.expanded .open_pcform_right,
.pcform_slideout.expanded .open_pcform_bottom_right { right: 500px; }
/* Slideout - End */

/* Float - Start */
.pcform_float.pcform_bottom_left.expanded:after { right:inherit; left:11px; }
/* Float - End */

/* Positions */
.pcform_slide .open_pcform_left,
.pcform_slide .open_pcform_right { top: 0; }
.pcform_slide .open_pcform.second { top: 15%; }
.pcform_slide .open_pcform.third { top: 30%; }
.pcform_slide .open_pcform.fourth { top: 45%; }
.pcform_slide .open_pcform.fifth { top: 60%; }
.pcform_slide .open_pcform.sixth { top: 75%; }
.pcform_slide .open_pcform.seventh { top: initial; bottom:0; }
